/* Help Kansai LP — flat, bold, zero gradients.
   Design rules follow assets/character/CHARACTER.md:
   uniform thick outlines, solid fills, no blur shadows, cut lines instead of adding them. */

:root {
  --shu: #E83319;      /* Tako-sensei body */
  --shu-dark: #C4290F;
  --navy: #0D2A51;     /* cheek swirls / text */
  --sumi: #111111;     /* outlines */
  --cream: #FBF6F2;    /* background */
  --cream-dot: #F0E4DA;
  --white: #FFFFFF;
  --outline: 3px solid var(--sumi);
  --radius: 20px;
  --pop: cubic-bezier(.2, .9, .3, 1.15);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- language toggle: html[data-lang] shows one of .en/.ja ---- */
html[data-lang="en"] .ja { display: none; }
html[data-lang="ja"] .en { display: none; }

img { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
/* Japanese headings: break only at punctuation and <wbr> hints */
h1 .ja, h2 .ja, h3 .ja { word-break: keep-all; }

/* Sections are full-bleed color bands; content stays centered via inline padding. */
section {
  position: relative;
  padding: 96px max(24px, calc(50vw - 590px));
}

/* polka texture on cream bands — flat dots, no gradients-as-shading */
.dotted {
  background-image: radial-gradient(var(--cream-dot) 5px, transparent 5.5px);
  background-size: 90px 90px;
}

/* ---- color bands with takoyaki-scallop top edge (noren / food-stall awning) ---- */
.band { --band: var(--white); background: var(--band); }
.band::before {
  content: "";
  position: absolute;
  top: -22px; left: 0; right: 0; height: 23px;
  background: var(--band);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 24'%3E%3Cpath d='M0 24 C 10 0 38 0 48 24 Z'/%3E%3C/svg%3E") repeat-x;
  -webkit-mask-size: 48px 23px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 24'%3E%3Cpath d='M0 24 C 10 0 38 0 48 24 Z'/%3E%3C/svg%3E") repeat-x;
  mask-size: 48px 23px;
}
.band-white { --band: var(--white); }
.band-cream { --band: var(--cream); }
.band.dotted { background-image: radial-gradient(var(--cream-dot) 5px, transparent 5.5px); }
.band-navy  { --band: var(--navy); color: var(--cream); }
.band-shu   { --band: var(--shu); color: var(--white); }

/* ============ opening: tako jumps in, then hands over to the hero ============ */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  animation: intro-hide 0.45s ease 2.25s forwards;
  pointer-events: none;
  overflow: hidden;
}
.intro-stage {
  position: relative;
  animation: stage-shake 0.35s linear 0.78s;
}
.intro-stage img {
  width: min(300px, 60vw);
  animation: intro-jump 0.85s var(--pop) both 0.1s;
}
/* the giant slammed-in greeting */
.intro-word {
  position: absolute; left: 50%; top: 18%;
  font-size: clamp(4rem, 15vw, 9.5rem);
  font-weight: 900; line-height: 1; white-space: nowrap;
  color: var(--shu);
  -webkit-text-stroke: 3px var(--sumi);
  animation: word-slam 0.5s var(--pop) both 0.72s;
}
@keyframes word-slam {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(3) rotate(-16deg); }
  55%  { opacity: 1; transform: translate(-50%, -50%) scale(0.9) rotate(-4deg); }
  80%  { transform: translate(-50%, -50%) scale(1.08) rotate(-7deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(-6deg); }
}
@keyframes stage-shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-7px, 5px); }
  40% { transform: translate(6px, -6px); }
  60% { transform: translate(-5px, -4px); }
  80% { transform: translate(4px, 5px); }
}
/* takoyaki shrapnel */
.tako-ball {
  position: absolute; left: 50%; top: 42%;
  width: 30px; height: 30px; border-radius: 50%;
  background: #F5A24B; border: var(--outline);
  opacity: 0;
  animation: ball-burst 0.9s cubic-bezier(.2,.6,.4,1) both 0.8s;
}
.tako-ball::after {
  content: ""; position: absolute; inset: 3px 4px 12px 4px;
  background: #502402; border-radius: 50% 50% 40% 40%;
}
@keyframes ball-burst {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.4) rotate(0); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(260deg); }
}
@keyframes intro-jump {
  from { transform: translateY(110vh) scale(0.6) rotate(-10deg); }
  60%  { transform: translateY(-38px) scale(1.07) rotate(3deg); }
  to   { transform: translateY(0) scale(1) rotate(0); }
}
@keyframes intro-hide {
  to { opacity: 0; visibility: hidden; }
}

/* hero content enters right as the curtain lifts */
.hero-text > *, .hero-tako {
  animation: rise 0.55s var(--pop) both;
}
.hero-tako { animation-delay: 2.15s; }
.hero-text > :nth-child(1) { animation-delay: 2.35s; }
.hero-text > :nth-child(2) { animation-delay: 2.45s; }
.hero-text > :nth-child(3) { animation-delay: 2.55s; }
.hero-text > :nth-child(4) { animation-delay: 2.65s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
/* repeat visit: no curtain, content shows immediately */
.no-intro .hero-text > *, .no-intro .hero-tako { animation-delay: 0s; animation-duration: 0.35s; }

/* ============ Osaka flavor: chochin lanterns + skyline ============ */
.chochin {
  position: absolute; top: 0; width: 62px; z-index: 1;
  transform-origin: 50% 0;
  animation: chochin-swing 4.5s ease-in-out infinite;
}
.chochin-left { left: 4%; }
.chochin-right { right: 5%; width: 54px; animation-delay: 0.9s; animation-duration: 5.2s; }
@keyframes chochin-swing {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}
.skyline {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 110px;
  opacity: 0.10;
  pointer-events: none;
}

/* ============ header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 24px;
  background: var(--cream);
  border-bottom: var(--outline);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.25rem; color: var(--navy); text-decoration: none;
  white-space: nowrap;
}
.header-nav { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  font: inherit; font-weight: 700; font-size: 0.9rem;
  white-space: nowrap;
  background: var(--white); color: var(--navy);
  border: var(--outline); border-radius: 999px;
  padding: 8px 16px; cursor: pointer;
  transition: transform 0.15s;
}
.lang-toggle:hover { transform: translateY(-2px); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  white-space: nowrap;
  border: var(--outline); border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary { background: var(--shu); color: var(--white); }
.btn-small { padding: 8px 18px; font-size: 0.9rem; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--sumi); }

/* ============ hero ============ */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 32px;
  min-height: 72vh; padding-top: 56px; padding-bottom: 120px;
}
.hero-kansai {
  display: inline-block;
  font-size: 1.5rem; font-weight: 800; color: var(--shu);
  transform: rotate(-3deg);
  margin-bottom: 8px;
}
.hero h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--shu); }
.hero-sub { margin-top: 20px; font-size: 1.3rem; max-width: 30em; }
.hero-cta { margin-top: 32px; }
.hero-note { margin-top: 10px; font-size: 0.85rem; opacity: 0.7; }

.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--sumi); color: var(--white);
  border: var(--outline); border-radius: 14px;
  padding: 10px 22px; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.appstore-badge:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--shu); }
.band-shu .appstore-badge:hover { box-shadow: 4px 4px 0 var(--white); }
.apple-glyph { width: 28px; height: 28px; fill: var(--white); }
.badge-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.badge-text small { font-size: 0.7rem; font-weight: 500; }
.badge-text strong { font-size: 1.25rem; font-weight: 700; }

.hero-tako { position: relative; text-align: center; }
.hero-tako img { width: min(400px, 85%); }

/* speech bubble: flat, thick outline, triangle tail */
.speech-bubble {
  position: relative; display: inline-block;
  background: var(--white); border: var(--outline); border-radius: 16px;
  padding: 10px 18px; font-weight: 800; font-size: 1.15rem; color: var(--navy);
}
.speech-bubble::after {
  content: ""; position: absolute; bottom: -12px; left: 32px;
  width: 14px; height: 14px;
  background: var(--white);
  border-right: var(--outline); border-bottom: var(--outline);
  transform: rotate(45deg) skew(10deg, 10deg);
}
.hero-bubble {
  position: absolute; top: -4px; left: 2%;
  animation: bubble-pop 0.4s ease-out both;
  z-index: 2;
}

/* float + tiny wave tilt for the hero tako */
.tako-float { animation: float 3.2s ease-in-out infinite; transform-origin: 50% 85%; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-14px) rotate(1.5deg); }
}
@keyframes bubble-pop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ============ kansai word stickers (side decor) ============ */
.sticker {
  position: absolute;
  background: var(--white); border: var(--outline); border-radius: 999px;
  padding: 8px 18px;
  font-weight: 900; font-size: 1.05rem; color: var(--navy);
  white-space: nowrap;
  animation: sticker-bob 4s ease-in-out infinite;
  z-index: 1;
}
.sticker small { display: block; font-size: 0.65rem; font-weight: 700; color: var(--shu); text-align: center; line-height: 1.1; }
.sticker-shu { background: var(--shu); color: var(--white); }
.sticker-shu small { color: var(--white); }
.sticker-navy { background: var(--navy); color: var(--cream); }
.sticker-navy small { color: var(--cream); }
@keyframes sticker-bob {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, -4deg)); }
  50%      { transform: translateY(-10px) rotate(var(--tilt, -4deg)); }
}

/* ============ kansai marquee ============ */
.marquee {
  position: relative;
  background: var(--shu);
  border-top: var(--outline); border-bottom: var(--outline);
  transform: rotate(-1.2deg) scale(1.02);
  overflow: hidden;
  padding: 14px 0;
  z-index: 2;
}
.marquee-track {
  display: flex; gap: 0;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-chunk {
  display: flex; align-items: baseline; gap: 28px;
  padding-right: 28px;
  font-size: 1.35rem; font-weight: 900; color: var(--white);
  white-space: nowrap;
}
.marquee-chunk i { font-style: normal; font-weight: 700; font-size: 0.85rem; color: var(--navy); align-self: center; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px) rotate(-0.6deg);
  transition: opacity 0.55s ease-out, transform 0.55s var(--pop);
}
.reveal.visible { opacity: 1; transform: none; }

/* ============ problem ============ */
.problem { text-align: center; padding-top: 110px; }
.problem h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); font-weight: 900; }
.phrase-compare {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin: 48px auto 0; max-width: 900px;
}
.compare-card {
  background: var(--cream); border: var(--outline); border-radius: var(--radius);
  padding: 26px 16px;
  transition-property: opacity, transform;
}
.compare-card:nth-child(1) { --tilt: -1.2deg; transform: translateY(34px) rotate(-2deg); }
.compare-card:nth-child(2) { transition-delay: 0.12s; }
.compare-card:nth-child(3) { transition-delay: 0.24s; --tilt: 1.2deg; transform: translateY(34px) rotate(2deg); }
.compare-card.visible:nth-child(1) { transform: rotate(-1.2deg); }
.compare-card.visible:nth-child(3) { transform: rotate(1.2deg); }
.compare-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; }
.kansai-label { opacity: 1; color: var(--shu); }
.compare-word { font-size: 1.3rem; font-weight: 700; margin: 4px 0 10px; }
.kansai-word { color: var(--shu); font-weight: 900; font-size: 1.6rem; margin-bottom: 0; }
.compare-arrow { font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.problem-line { margin: 48px auto 0; max-width: 36em; font-size: 1.25rem; }
.problem-line strong { color: var(--shu); font-size: 1.3em; }

/* ============ features ============ */
.features { display: flex; flex-direction: column; gap: 110px; padding-top: 120px; padding-bottom: 120px; }
.feature-row {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 56px;
}
.row-reverse .feature-media { order: 2; }
.feature-text h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 14px; }
.feature-text h3 .kansai-mark { color: var(--shu); }
.feature-text p { font-size: 1.35rem; line-height: 1.5; max-width: 22em; }

.phone-frame {
  width: min(290px, 70%); margin: 0 auto;
  border: 4px solid var(--sumi); border-radius: 36px;
  background: var(--white); padding: 10px;
  overflow: hidden;
  transform: rotate(-2deg);
}
.row-reverse .phone-frame { transform: rotate(2deg); }
.phone-frame img { display: block; border-radius: 26px; width: 100%; }

/* ============ voice demo (navy manzai stage) ============ */
.voice { text-align: center; padding-top: 110px; padding-bottom: 110px; }
.voice h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); font-weight: 900; color: var(--white); }
.voice-sub { margin: 20px auto 0; max-width: 38em; font-size: 1.2rem; }
.voice-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin: 44px auto 0; max-width: 900px;
}
.voice-card {
  font: inherit; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--white); border: var(--outline); border-radius: var(--radius);
  padding: 22px 20px 18px; position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.voice-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--shu-dark); }
.voice-card.playing { background: var(--shu); }
.voice-card.playing .voice-word, .voice-card.playing .voice-romaji,
.voice-card.playing .voice-gloss, .voice-card.playing .play-icon { color: var(--white); }
.voice-word { font-size: 1.5rem; font-weight: 900; color: var(--shu); }
.voice-romaji { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.voice-gloss { font-size: 0.9rem; opacity: 0.75; color: var(--navy); }
.play-icon {
  position: absolute; top: 16px; right: 16px;
  font-size: 1rem; color: var(--shu);
}
.voice-tako { margin-top: 44px; }
.voice-tako img { width: 210px; transition: transform 0.2s; }
.voice-tako img.react { animation: react-bounce 0.5s ease; }
@keyframes react-bounce {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.12) rotate(-4deg); }
  70%  { transform: scale(0.96) rotate(2deg); }
  100% { transform: scale(1); }
}

/* ============ supervisor ============ */
.supervisor { padding-top: 110px; }
.supervisor h2 { text-align: center; font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 900; }
.supervisor-card {
  display: flex; gap: 28px; align-items: flex-start;
  background: var(--cream); border: var(--outline); border-radius: var(--radius);
  padding: 32px; margin: 40px auto 0; max-width: 720px;
}
.supervisor-avatar {
  flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%;
  background: var(--navy); color: var(--cream);
  border: var(--outline);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; font-weight: 900;
}
.supervisor-name { font-size: 1.3rem; font-weight: 900; }
.supervisor-title { font-size: 0.9rem; font-weight: 700; color: var(--shu); margin: 4px 0 12px; }
.supervisor-desc { font-size: 1rem; }
.supervisor-link {
  display: inline-block; margin-top: 14px;
  color: var(--navy); font-weight: 800; text-decoration: none;
  border-bottom: 3px solid var(--shu);
}

/* ============ SNS videos ============ */
.sns-row {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  align-items: center; gap: 48px;
}
.sns-text h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 900; }
.sns-sub { margin-top: 16px; font-size: 1.35rem; }
.social-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--navy);
  border: var(--outline); border-radius: 999px;
  padding: 10px 20px; font-weight: 800; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.social-btn svg { width: 22px; height: 22px; }
.social-btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--shu); }
.phone-video { position: relative; }
.phone-video video { display: block; border-radius: 26px; width: 100%; }
/* reel-style UI: iPhone-proportioned frame, video fills it, caption bar overlays the bottom,
   reactions float OUT of the screen */
.phone-wrap { position: relative; width: min(280px, 72%); margin: 0 auto; }
.phone-wrap .phone-frame { width: 100%; }
.phone-video { aspect-ratio: 9 / 18.5; }
.phone-video video {
  position: absolute; inset: 10px;
  width: calc(100% - 20px); height: calc(100% - 20px);
  object-fit: cover; border-radius: 28px;
}
.reel-rail {
  position: absolute; right: -38px; bottom: 70px; z-index: 2;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.reel-act {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 1.7rem; line-height: 1;
  background: var(--white); border: var(--outline); border-radius: 999px;
  padding: 10px 10px 8px;
  animation: sticker-bob 3.6s ease-in-out infinite;
}
.reel-act small {
  font-size: 0.6rem; font-weight: 800; color: var(--navy);
  white-space: nowrap;
}
.reel-caption {
  position: absolute; left: -44px; bottom: 34px; z-index: 2;
  max-width: 82%;
  background: var(--sumi); border: var(--outline); border-radius: 14px;
  padding: 10px 14px;
  display: flex; flex-direction: column; gap: 5px; align-items: flex-start;
  --tilt: -3deg;
  animation: sticker-bob 4.2s ease-in-out infinite 0.4s;
}
.reel-user {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 900; color: var(--white);
}
.reel-user img { border-radius: 50%; background: var(--cream); }
.reel-cap {
  font-size: 0.74rem; font-weight: 700; line-height: 1.45; color: var(--white);
  text-align: left;
}
.reel-cap b { color: #7FD1FF; white-space: nowrap; }
.sound-toggle {
  position: absolute; top: 22px; right: 22px;
  font: inherit; font-size: 0.8rem; font-weight: 800;
  background: var(--sumi); color: var(--white);
  border: none; border-radius: 999px;
  padding: 7px 14px; cursor: pointer; white-space: nowrap;
  opacity: 0.9;
}

/* ============ final CTA (shu band) ============ */
.final-cta { text-align: center; padding-top: 110px; padding-bottom: 130px; }
.cta-tako { width: 230px; }
.cta-kansai {
  font-size: 1.8rem; font-weight: 900; color: var(--white);
  transform: rotate(-2deg); margin: 12px 0 4px;
}
.final-cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 900; margin-bottom: 28px; }

/* ============ footer ============ */
.site-footer {
  border-top: var(--outline);
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; font-size: 0.9rem;
  background: var(--cream);
}
.site-footer a { color: var(--navy); font-weight: 700; text-decoration: none; }
.site-footer nav { display: flex; gap: 20px; }

/* ============ scroll follower ============ */
/* Position is driven by script.js (spring-follow); CSS only handles looks & fade. */
.tako-follower {
  position: fixed; top: 0; left: 0; z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
  will-change: transform;
}
.tako-follower.show { opacity: 1; }
.tako-follower img { width: 120px; transition: transform 0.2s; }
.tako-follower img.swap { animation: react-bounce 0.5s ease; }
.follower-bubble { font-size: 0.9rem; padding: 6px 12px; }
.follower-bubble::after { left: 50%; margin-left: -7px; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .sticker { display: none; }
}
@media (max-width: 760px) {
  section { padding-top: 64px; padding-bottom: 64px; }
  .hero { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-bottom: 80px; }
  .hero-tako { order: -1; }
  .hero-tako img { width: min(250px, 62%); }
  .hero-bubble { left: auto; right: 4%; }
  .hero-sub, .problem-line { margin-left: auto; margin-right: auto; }
  .marquee-chunk { font-size: 1.1rem; }
  .phrase-compare, .voice-cards { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .sns-row { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .social-row { justify-content: center; }
  .features { gap: 72px; }
  .row-reverse .feature-media { order: 0; }
  .supervisor-card { flex-direction: column; align-items: center; text-align: center; }
  .tako-follower img { width: 84px; }
  .follower-bubble { display: none; }
  .site-footer { flex-direction: column; gap: 10px; }
}

@media (max-width: 760px) {
  .chochin { display: none; }
}

/* narrow phones: compact header so nothing wraps */
@media (max-width: 480px) {
  .site-header { padding: 10px 12px; }
  .header-nav { gap: 8px; }
  .logo { gap: 6px; font-size: 1.05rem; }
  .logo img { width: 36px; height: 36px; }
  .lang-toggle { padding: 6px 12px; font-size: 0.8rem; }
  .btn-small { padding: 6px 12px; font-size: 0.8rem; }
}
/* narrower still: the tako icon alone is the logo */
@media (max-width: 430px) {
  .logo span { display: none; }
}

/* testing hook (?instant): jump every animation/transition to its end state */
.instant *, .instant *::before, .instant *::after {
  transition-duration: 0s !important; transition-delay: 0s !important;
  animation-duration: 0s !important; animation-delay: 0s !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tako-float, .voice-tako img.react, .tako-follower img.swap,
  .sticker, .marquee-track, .chochin { animation: none; }
  .intro { display: none; }
  .hero-text > *, .hero-tako { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
