:root {
  --ink: #171316;
  --paper: #fff;
  --soft-paper: #f7f3f5;
  --blush: #efafc1;
  --line: rgba(23, 19, 22, .62);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body {
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Mono", monospace;
}
body.intro-active { overflow: hidden; }
button, a { color: inherit; font: inherit; }

/* Centered logo intro */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  transition: transform 1.05s cubic-bezier(.76, 0, .24, 1), opacity .72s ease;
}
#intro-overlay[hidden] { display: none; }
#intro-overlay.slide-away { transform: translateY(-110%); opacity: 0; pointer-events: none; }
#logo-stage {
  position: relative;
  width: 881px;
  height: 539px;
  flex: 0 0 auto;
  overflow: visible;
  transform: scale(min(1, calc(92vw / 881px), calc(88vh / 539px)));
  transform-origin: center;
}
#cat-wrap, #text-wrap { position: absolute; top: -273px; left: -63px; width: 1024px; }
#cat-wrap {
  z-index: 2;
  opacity: 0;
  transform: scale(0) rotate(-10deg);
  transform-origin: 287px 454px;
}
#text-wrap {
  z-index: 1;
  opacity: 0;
  transform: translateX(max(1100px, 60vw));
  transition: transform 1.2s cubic-bezier(.22, 1, .36, 1), opacity .9s ease;
}
#cat-img, #text-img { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; }
#text-wrap.slide-in { opacity: 1; transform: translateX(0); }
@keyframes cat-pop {
  0% { opacity: 0; transform: scale(0) rotate(-10deg); }
  40% { opacity: 1; transform: scale(1.22) rotate(7deg); }
  60% { transform: scale(.87) rotate(-4deg); }
  75% { transform: scale(1.08) rotate(2deg); }
  88% { transform: scale(.96) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes cat-bounce {
  0%, 100% { transform: translateX(0) rotate(0); }
  16% { transform: translateX(-30px) rotate(-7deg); }
  32% { transform: translateX(24px) rotate(6deg); }
  48% { transform: translateX(-18px) rotate(-5deg); }
  64% { transform: translateX(12px) rotate(3deg); }
  80% { transform: translateX(-6px) rotate(-1.5deg); }
  92% { transform: translateX(3px) rotate(.5deg); }
}
#cat-wrap.pop-in { animation: cat-pop 1.08s cubic-bezier(.34, 1.56, .64, 1) forwards; }
#cat-wrap.bouncing { opacity: 1; animation: cat-bounce 1.45s ease forwards; }
#cat-wrap.settled { opacity: 1; transform: none; }

/* Revealed header */
.portfolio-hero { position: relative; width: 100%; min-height: 100svh; overflow: hidden; isolation: isolate; background: #eee9eb; }
.hero-video, .hero-veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { z-index: -3; object-fit: cover; filter: saturate(.62) contrast(.82) brightness(1.16); }
.hero-veil {
  z-index: -2;
  background: linear-gradient(180deg, rgba(255,255,255,.57), rgba(255,255,255,.22) 42%, rgba(255,255,255,.34) 62%, rgba(255,255,255,.74)), rgba(255,244,248,.12);
}
.viewfinder { position: absolute; z-index: 2; inset: 20px; pointer-events: none; }
.corner { position: absolute; width: 12px; height: 12px; border-color: var(--line); border-style: solid; }
.corner-tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.corner-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.corner-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.corner-br { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.side-tick { position: absolute; top: 50%; width: 12px; height: 1px; background: var(--line); }
.side-tick-left { left: 0; } .side-tick-right { right: 0; }
.site-nav {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  width: 100%;
  padding: 18px 34px;
}
.mini-logo, .hero-logo { position: relative; display: block; aspect-ratio: 881 / 539; overflow: hidden; }
.mini-logo { width: 138px; }
.mini-logo img, .hero-logo img { position: absolute; top: -50.65%; left: -7.15%; width: 116.23%; height: auto; user-select: none; }
.nav-links { display: flex; justify-content: flex-end; gap: clamp(18px, 2.4vw, 42px); }
.nav-links a {
  color: var(--ink);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 160ms ease;
}
.nav-links a:hover { opacity: .52; }
.nav-links a span { display: inline-block; width: 5px; height: 5px; margin-right: 8px; vertical-align: 1px; background: var(--blush); }
.menu-toggle { display: none; justify-self: end; border: 0; background: transparent; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.hero-logo { position: absolute; z-index: 1; top: 50%; left: 50%; width: min(56vw, 780px); transform: translate(-50%, -54%); }
.hero-scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 33px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.hero-scroll i { position: relative; display: block; width: 44px; height: 1px; overflow: hidden; background: rgba(23,19,22,.25); }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: scroll-line 1.8s ease-in-out infinite; }
@keyframes scroll-line { 0% { transform: translateX(-105%); } 55%, 100% { transform: translateX(105%); } }

/* Supplied Next.js artwork wall */
.journal-section { position: relative; width: 100%; height: 100svh; min-height: 620px; overflow: hidden; background: var(--soft-paper); }
.journal-reveal {
  position: absolute;
  inset: 0;
  opacity: .32;
  transform: translateY(10vh) scale(.91);
  filter: blur(12px);
  transition: transform 1.35s cubic-bezier(.16, 1, .3, 1), opacity 1s ease, filter 1.15s ease;
  will-change: transform, opacity, filter;
}
.journal-reveal.is-visible { opacity: 1; transform: none; filter: none; }
#journal-frame { display: block; width: 100%; height: 100%; border: 0; background: var(--soft-paper); }

/* Info */
.info-section { position: relative; min-height: 100svh; padding: clamp(90px, 12vw, 160px) 6vw 80px; overflow: hidden; background: #fff; border-top: 1px solid rgba(23,19,22,.12); }
.info-section::after { content: "EFFY"; position: absolute; right: -2vw; bottom: -8vw; color: rgba(239,175,193,.08); font: 600 clamp(9rem, 28vw, 29rem)/.8 Inter, sans-serif; letter-spacing: -.1em; pointer-events: none; }
.back-home { position: absolute; z-index: 2; right: 6vw; top: 64px; color: var(--ink); font-size: .62rem; text-decoration: none; text-transform: uppercase; transition: opacity .2s ease; }
.back-home:hover { opacity: .5; }

/* Hero / Intro */
.info-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  max-width: 1200px;
}
.info-character-wrap {
  position: relative;
  width: clamp(220px, 26vw, 380px);
  flex-shrink: 0;
  animation: info-float 4.5s ease-in-out infinite;
}
.info-character {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(23,19,22,.12));
  user-select: none;
}
@keyframes info-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.info-text { position: relative; }
.info-index { margin-bottom: 20px; color: rgba(23,19,22,.45); font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; }
.info-section h1 { position: relative; z-index: 1; max-width: 1100px; font: 500 clamp(2.6rem, 7vw, 7.5rem)/.85 Inter, sans-serif; letter-spacing: -.075em; text-transform: uppercase; margin-bottom: 8px; }
.info-letter {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--soft-paper);
  border-left: 3px solid var(--blush);
  border-radius: 0 8px 8px 0;
}
.info-letter p {
  font-size: clamp(.78rem, 1vw, .95rem);
  line-height: 1.75;
  margin-bottom: 12px;
}
.info-letter p:last-of-type { margin-bottom: 0; }
.info-sign-off {
  margin-top: 20px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(23,19,22,.08);
  font-style: italic;
}
.info-sign-off strong { font-style: normal; letter-spacing: .03em; }
.info-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed rgba(23,19,22,.10);
}
.info-badge-logo {
  height: clamp(64px, 8vw, 100px);
  width: auto;
  user-select: none;
  filter: drop-shadow(0 4px 12px rgba(23,19,22,.06));
}
.info-badge-noai {
  height: clamp(48px, 6.5vw, 76px);
  width: auto;
  user-select: none;
  filter: drop-shadow(0 4px 12px rgba(23,19,22,.06));
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.info-badge-noai:hover { transform: scale(1.12) rotate(-4deg); }

/* Dividers */
.info-divider {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: clamp(50px, 7vw, 100px) 0 clamp(30px, 4vw, 50px);
}
.info-divider-label {
  flex-shrink: 0;
  font: 500 clamp(.7rem, 1vw, .82rem) "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink);
}
.info-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(23,19,22,.18), transparent);
}

/* Art Cards — compact covers, click to expand */
.info-cards-grid {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  max-width: 1000px;
  flex-wrap: wrap;
}
.info-card {
  position: relative;
  flex: 0 0 clamp(120px, 18vw, 200px);
  cursor: pointer;
}
.info-card-inner {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(23,19,22,.08);
  will-change: transform;
  transform: translateZ(0);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
}
.info-card:hover .info-card-inner {
  box-shadow: 0 12px 36px rgba(23,19,22,.14);
}
.info-card-inner img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}
.info-card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 10px;
  opacity: 0;
  mix-blend-mode: soft-light;
  transition: opacity .2s ease;
}
.info-card:hover .info-card-shine { opacity: 1; }

/* Expanded card overlay */
.info-card-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23,19,22,.55);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  cursor: pointer;
}
.info-card-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.info-card-overlay img {
  max-width: min(90vw, 520px);
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 32px 80px rgba(23,19,22,.3);
  transform: scale(.85) translateY(20px);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  user-select: none;
}
.info-card-overlay.is-open img {
  transform: none;
}

/* Style List */
.info-styles-viewport {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  overflow: visible;
}
.info-styles-scene {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  align-items: flex-start;
}
.info-style-list-image-wrap {
  position: relative;
  flex: 0 0 clamp(280px, 34vw, 420px);
}
.info-style-list-img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  filter: drop-shadow(0 12px 40px rgba(23,19,22,.08));
  border-radius: 6px;
}
.info-style-hitboxes {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.info-style-hitbox {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 5.1%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  pointer-events: auto;
}
.info-style-hitbox[data-style="kawaii"] { top: 21.2%; height: 5.4%; }
.info-style-hitbox[data-style="anime"] { top: 27%; height: 5.2%; }
.info-style-hitbox[data-style="2d3d"] { top: 32.5%; }
.info-style-hitbox[data-style="chibi"] { top: 37.7%; }
.info-style-hitbox[data-style="manga"] { top: 43%; }
.info-style-hitbox[data-style="hyperpop"] { top: 48.3%; height: 5%; }
.info-style-hitbox[data-style="darkfantasy"] { top: 53.4%; height: 5%; }
.info-style-hitbox[data-style="creepypasta"] { top: 58.6%; height: 5%; }
.info-style-hitbox[data-style="hyperkawaii"] { top: 63.8%; height: 5%; }
.info-style-hitbox[data-style="meme"] { top: 69%; height: 4.4%; }
.info-style-hitbox[data-style="gorecore"] { top: 73.6%; height: 5.1%; }

/* Style Gallery */
.info-style-gallery {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  background: var(--soft-paper);
  border: 1px solid rgba(23,19,22,.08);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(23,19,22,.06);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .18s ease, transform .22s cubic-bezier(.22, 1, .36, 1);
}
.info-style-gallery.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.info-sg-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23,19,22,.12);
  border-radius: 999px;
  background: #fff;
  font-size: .8rem;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.info-sg-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.info-sg-title {
  font: 500 clamp(1rem, 1.8vw, 1.4rem)/1.2 Inter, sans-serif;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--ink);
}
.info-sg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.info-sg-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(23,19,22,.08);
  opacity: 0;
  transform: scale(.9) translateY(8px);
  animation: info-card-pop .25s cubic-bezier(.22, 1, .36, 1) forwards;
  user-select: none;
}
.info-sg-grid img:nth-child(1) { animation-delay: 0s; }
.info-sg-grid img:nth-child(2) { animation-delay: .04s; }
.info-sg-grid img:nth-child(3) { animation-delay: .08s; }
.info-sg-grid img:nth-child(4) { animation-delay: .12s; }
@keyframes info-card-pop {
  to { opacity: 1; transform: none; }
}
.info-sg-empty {
  display: none;
  padding: 32px 0;
  text-align: center;
  font-size: clamp(.8rem, 1.1vw, .95rem);
  color: rgba(23,19,22,.5);
}
.info-sg-empty.is-shown { display: block; }

/* Scroll entrance animations — fade in only, NO transform transition on cards */
.info-hero, .info-style-list-image-wrap {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
}
.info-hero.is-visible, .info-style-list-image-wrap.is-visible {
  opacity: 1;
  transform: none;
}
/* Cards get a separate entrance that doesn't conflict with JS tilt */
.info-card {
  opacity: 0;
  transform: translateY(30px);
}
.info-card.is-visible {
  animation: info-card-entrance .7s cubic-bezier(.22, 1, .36, 1) forwards;
}
.info-card:nth-child(1) { animation-delay: 0s; }
.info-card:nth-child(2) { animation-delay: .1s; }
.info-card:nth-child(3) { animation-delay: .2s; }
.info-card:nth-child(4) { animation-delay: .3s; }
@keyframes info-card-entrance {
  to { opacity: 1; transform: none; }
}

/* Refined info layout and interactions */
.info-section {
  padding: clamp(96px, 10vw, 144px) 6vw clamp(80px, 10vw, 140px);
  background: radial-gradient(circle at 12% 16%, rgba(239,175,193,.12), transparent 28rem), linear-gradient(180deg, #fff 0%, #fff 72%, #fffafb 100%);
}
.info-section::after { bottom: -5vw; color: rgba(239,175,193,.07); }
.info-section h1, .info-section h2, .info-section h3 { scroll-margin-top: 100px; text-wrap: balance; }
.back-home { top: 56px; }
.back-home:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.info-hero { grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); gap: clamp(40px, 7vw, 96px); max-width: 1240px; margin: 0 auto; }
.info-character-wrap { width: min(100%, 390px); justify-self: center; }
.info-text { min-width: 0; }
.info-index { margin-bottom: 18px; }
.info-section h1 { font-size: clamp(3.2rem, 7vw, 7.2rem); }
.info-letter { margin-top: 30px; padding: clamp(26px, 3.2vw, 44px); background: rgba(248,244,245,.92); border: 1px solid rgba(23,19,22,.06); border-left: 4px solid var(--blush); border-radius: 0 18px 18px 0; box-shadow: 0 20px 60px rgba(23,19,22,.05); }
.info-letter p { max-width: 68ch; text-wrap: pretty; }
.info-letter .info-letter-lead { font-size: clamp(.92rem, 1.2vw, 1.08rem); font-weight: 600; }
.info-badge-logo { width: clamp(70px, 8vw, 104px); height: auto; }
.info-badge-noai { width: clamp(52px, 6.5vw, 78px); height: auto; }

.info-divider { max-width: 1240px; margin: clamp(64px, 8vw, 112px) auto clamp(28px, 3.5vw, 44px); }
.info-divider-label { margin: 0; font-size: clamp(.72rem, 1vw, .86rem); }

.info-cards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); max-width: 1240px; margin: 0 auto; }
.info-card { min-width: 0; padding: 0; border: 0; border-radius: 18px; background: transparent; color: inherit; text-align: left; touch-action: manipulation; -webkit-tap-highlight-color: rgba(239,175,193,.24); }
.info-card-inner { aspect-ratio: 682 / 1024; border: 1px solid rgba(23,19,22,.1); border-radius: 18px; background: #f8d4ef; box-shadow: 0 10px 28px rgba(23,19,22,.09); transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease, border-color .25s ease; }
.info-card:hover .info-card-inner { transform: translateY(-4px); border-color: rgba(23,19,22,.2); box-shadow: 0 22px 46px rgba(23,19,22,.16); }
.info-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.info-card-inner img { width: 100%; height: 100%; object-fit: cover; }
.info-card-action { position: absolute; right: 12px; top: 12px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(23,19,22,.82); color: #fff; font: 500 .56rem/1 "Space Mono", monospace; letter-spacing: .04em; text-transform: uppercase; opacity: 0; transform: translateY(-5px); transition: opacity .2s ease, transform .2s ease; }
.info-card:hover .info-card-action, .info-card:focus-visible .info-card-action { opacity: 1; transform: none; }

.info-card-overlay { display: grid; place-items: center; padding: 36px; background: rgba(23,19,22,.72); backdrop-filter: blur(10px); visibility: hidden; transition: opacity .2s ease, visibility .2s ease; cursor: default; overscroll-behavior: contain; }
.info-card-overlay.is-open { visibility: visible; }
.info-overlay-figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.info-card-overlay img { width: auto; max-width: min(88vw, 520px); max-height: 80vh; height: auto; border-radius: 18px; box-shadow: 0 32px 90px rgba(0,0,0,.38); transform: scale(.92) translateY(18px); }
.info-card-overlay figcaption { max-width: min(88vw, 520px); color: #fff; font-size: .72rem; line-height: 1.5; text-align: center; }
.info-overlay-close { position: fixed; top: max(24px, env(safe-area-inset-top)); right: max(24px, env(safe-area-inset-right)); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.info-overlay-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.info-overlay-close:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
body.info-modal-open { overflow: hidden; }

.info-styles-viewport { max-width: 1240px; margin: 0 auto; }
.info-styles-scene { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: stretch; }
.info-style-list-image-wrap { width: 100%; max-width: 420px; align-self: start; }
.info-style-list-img { filter: drop-shadow(0 18px 42px rgba(23,19,22,.11)); border-radius: 10px; }
.info-style-hitbox { min-height: 0; border: 0; border-left: 4px solid transparent; border-radius: 4px; touch-action: manipulation; transition: background-color .16s ease, border-color .16s ease; }
.info-style-hitbox:hover { background: rgba(255,255,255,.32); border-left-color: rgba(23,19,22,.28); }
.info-style-hitbox.is-active { background: rgba(255,255,255,.48); border-left-color: var(--blush); }
.info-style-hitbox:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; background: rgba(255,255,255,.48); }
.info-style-gallery { min-height: 100%; padding: clamp(28px, 4vw, 52px); background: rgba(248,244,245,.9); border-radius: 20px; box-shadow: 0 20px 60px rgba(23,19,22,.07); opacity: 1; transform: none; pointer-events: auto; }
.info-sg-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid rgba(23,19,22,.1); }
.info-sg-eyebrow { color: rgba(23,19,22,.5); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.info-sg-title { margin: 0; font-size: clamp(1.4rem, 2.8vw, 2.5rem); }
.info-sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.info-sg-grid img { border: 1px solid rgba(23,19,22,.08); border-radius: 14px; box-shadow: 0 10px 26px rgba(23,19,22,.1); transform: scale(.96) translateY(8px); animation-duration: .28s; }
.info-sg-empty { min-height: 260px; padding: 80px 20px; border: 1px dashed rgba(23,19,22,.16); border-radius: 14px; }
.info-sg-empty.is-shown { display: grid; place-items: center; }
.info-hero, .info-style-list-image-wrap, .info-style-gallery { transform: translateY(30px); transition: opacity .75s ease, transform .85s cubic-bezier(.22, 1, .36, 1); }
.info-hero.is-visible, .info-style-list-image-wrap.is-visible, .info-style-gallery.is-visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .viewfinder { inset: 15px; }
  .site-nav { grid-template-columns: 1fr 1fr; padding: 15px 22px; }
  .mini-logo { width: 118px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px;
    right: 20px;
    display: none;
    width: 200px;
    padding: 18px;
    flex-direction: column;
    gap: 16px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 50px rgba(23,19,22,.09);
    backdrop-filter: blur(12px);
  }
  .nav-links.is-open { display: flex; }
  .hero-logo { width: 88vw; transform: translate(-50%, -64%); }
  .hero-scroll { bottom: 27px; }
  .info-section { min-height: auto; }
  .back-home { position: relative; top: auto; right: auto; display: inline-block; margin: 0 0 44px; }
  .info-hero { grid-template-columns: 1fr; text-align: center; }
  .info-character-wrap { width: clamp(160px, 50vw, 260px); margin: 0 auto 32px; }
  .info-letter { text-align: left; }
  .info-badges { justify-content: center; }
  .info-badges { gap: 48px; }
  .info-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; margin: 0 auto; }
  .info-styles-scene { grid-template-columns: 1fr; }
  .info-style-list-image-wrap { flex: none; width: 100%; max-width: 440px; margin: 0 auto; }
  .info-style-gallery { width: 100%; }
  .info-styles-scene.is-zoomed { transform: none; }
}

@media (max-width: 480px) {
  .info-section { padding-left: 22px; padding-right: 22px; }
  .info-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; gap: 12px; }
  .info-card-action { opacity: 1; transform: none; }
  .info-style-gallery { padding: 24px 18px; }
  .info-sg-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .info-sg-grid { gap: 10px; }
  .info-card-overlay { padding: 22px; }
}

@media (max-width: 600px) {
  #logo-stage { transform: scale(min(.9, calc(96vw / 881px), calc(72vh / 539px))); }
  @keyframes cat-pop {
    0% { opacity: 0; transform: scale(0) rotate(-6deg); }
    40% { opacity: 1; transform: scale(1.08) rotate(3deg); }
    65% { transform: scale(.94) rotate(-2deg); }
    82% { transform: scale(1.03) rotate(1deg); }
    100% { opacity: 1; transform: scale(1); }
  }
  @keyframes cat-bounce {
    0%, 100% { transform: translateX(0) rotate(0); }
    20% { transform: translateX(-12px) rotate(-3deg); }
    40% { transform: translateX(10px) rotate(2deg); }
    60% { transform: translateX(-6px) rotate(-1deg); }
    80% { transform: translateX(3px) rotate(.5deg); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .journal-reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero-scroll i::after { animation: none; }
  .info-character-wrap { animation: none; }
  .info-hero, .info-style-list-image-wrap, .info-style-gallery { opacity: 1; transform: none; transition: none; }
  .info-card { opacity: 1; transform: none; animation: none !important; }
  .info-card-inner, .info-card-overlay img, .info-card-action { transition: none; }
}
