/* =========================================================
   さかなラボ｜Sakana Lab. — clone baseline
   Design tokens extracted from the live STUDIO site.
   ========================================================= */

:root {
  --blue: #0571bc;
  --blue-2: #77bff1;
  --blue-deep: #045a97;
  --bg-soft: #f3f5f9;
  --ink: #2b2b2b;
  --ink-soft: #5b5b5b;
  --ink-mute: #808080;
  --line: #e6e9ef;
  --white: #ffffff;

  --radius: 15px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --maxw: 1180px;
  --gutter: 24px;
  --header-h: 80px;

  --font-en: "Poppins", "Noto Sans JP", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;

  --shadow-card: 0 10px 30px rgba(9, 45, 82, 0.08);
  --shadow-soft: 0 6px 18px rgba(9, 45, 82, 0.06);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  font-weight: 500; /* サイト全体を一段太く（2026-07-21 オーナー指示） */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; color: inherit; cursor: pointer; border: none; background: none; } /* color:inherit — iOS Safariはボタン文字を青にするため必須 */

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 9vw, 130px); }
.section--soft { background: var(--bg-soft); }

/* ---------- section heading pattern ---------- */
.head { margin-bottom: 56px; }
.head__icon { width: 30px; height: auto; margin-bottom: 10px; }
.head__en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #333;
  margin: 0;
}
.head__jp {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 14px;
  letter-spacing: 0.04em;
}
.head--center { text-align: center; }
.head--center .head__icon { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-pill);
  padding: 16px 28px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  transition: transform .3s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-2); }
.btn--dark { background: #000; color: #fff; }
.btn--dark:hover { background: #4f4f4f; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 30px;
  background: #fff;
  z-index: 100;
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 4px 18px rgba(9, 45, 82, .06); }
.header__logo img { width: 190px; }

.nav { display: flex; align-items: center; gap: 40px; margin-left: auto; margin-right: 36px; }
.nav a {
  font-size: 15px; font-weight: 700; color: #333;
  transition: color .25s var(--ease);
}
.nav a:hover { color: var(--blue); }

/* standalone rounded button (owner spec 2026-07-20: 角丸8px, not flush) */
.header__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  margin-right: 20px;
  background: var(--blue); color: #fff;
  font-size: 16px; font-weight: 700;
  border-radius: 8px;
  transition: background .3s var(--ease);
}
.header__cta:hover { background: var(--blue-2); }
.header__cta svg { width: 18px; height: 18px; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; width: 56px; height: var(--header-h);
  padding: 0; /* neutralise UA button padding so centering is exact */
  /* the header lays out with space-between; push the hamburger to the
     right edge (next to the CTA) instead of floating mid-header */
  margin-left: auto; margin-right: 10px;
}
.hamburger span { width: 26px; height: 2px; background: var(--blue); transition: transform .3s var(--ease), opacity .3s var(--ease); }
/* line-height:1 — the inherited 1.8 line box added phantom space under the
   label and pushed the visible lines+MENU cluster above the header middle */
.hamburger small { font-family: var(--font-en); font-size: 11px; line-height: 1; color: var(--blue); letter-spacing: .05em; }

/* =========================================================
   MOBILE MENU (overlay)
   ========================================================= */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 32px 40px;
  transform: translateY(-100%);
  opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease), opacity .45s var(--ease), visibility .45s;
}
.menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
/* nav links only — scoped to the <nav> so the CTA button below keeps its
   own .btn styling (unscoped `.menu a` used to override the button and
   break its padding/size) */
.menu nav a {
  /* 16px = menu CTA (.btn) と同サイズ（2026-07-21 オーナー指示: 22pxは大きすぎ） */
  font-size: 16px; font-weight: 700; padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.menu nav a span { font-family: var(--font-en); font-size: 12px; color: var(--blue); }
.menu__cta { margin-top: 28px; align-self: flex-start; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: var(--header-h); }
.hero__inner { padding: 24px 24px 0; }
.hero__stage {
  position: relative;
  max-width: 1300px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(420px, 56vw, 640px);
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% center;
  z-index: 0;
  /* deepen the photo — richer color & more contrast under the white copy
     (owner feedback 2026-07-20) */
  filter: brightness(.84) saturate(1.22) contrast(1.1);
}
.hero__copy {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 72px);
  max-width: 1040px;
}
.hero__title {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: clamp(24px, 5.2vw, 56px);
  line-height: 1.42;
  letter-spacing: 0.02em;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 60, 110, .25);
}
.hero__sub {
  font-family: var(--font-en);
  color: rgba(255, 255, 255, .92);
  font-size: clamp(15px, 2vw, 20px);
  margin: 18px 0 0;
  letter-spacing: .02em;
}
.hero__cta { margin-top: clamp(24px, 4vw, 40px); }

/* big outline brand katakana overlapping hero bottom */
/* brand outline wordmark image (replaced the CSS text-stroke text —
   owner-supplied official asset, 2026-07-20).
   Wider than the hero card (near full-bleed) and straddling its bottom
   edge — owner reference 2026-07-21. */
.hero__wordmark {
  position: relative;
  width: min(92vw, 1840px);
  margin: -7% auto 0;
  pointer-events: none;
  user-select: none;
}
.hero__wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

/* floating LINE tab — white vertical card, official LINE app icon on top,
   upright stacked 公式LINE below (owner reference 2026-07-20) */
.line-tab {
  position: fixed;
  right: 0; top: 50%; transform: translateY(-50%);
  z-index: 90;
  background: #fff;
  box-shadow: -6px 4px 22px rgba(9, 45, 82, .14);
  border-radius: 14px 0 0 14px;
  padding: 16px 10px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform .3s var(--ease);
}
.line-tab:hover { transform: translateY(-50%) translateX(-3px); }
.line-tab__icon { width: 40px; height: 40px; display: block; }
.line-tab__icon svg { width: 100%; height: 100%; display: block; }
.line-tab__label {
  writing-mode: vertical-rl;
  text-orientation: upright;      /* 公式LINE stacked one glyph per line */
  font-size: 13px; font-weight: 700; letter-spacing: .22em;
  color: #1f1f1f;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: center;
}
/* 2枚の縦長写真の重なり — オーナー提供の参考スクショから採寸した比率
   （構図全体 11:20 / ドーム=78%幅・手前 / チンアナゴ=56%幅・右下奥 /
   角の重なりは縦約20%・横約35%）。器は aspect-ratio で中身に追従させ、
   固定min-heightで写真が全面重なりする事故を防ぐ。 */
.about__media { position: relative; aspect-ratio: 11 / 20; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-soft); object-fit: cover; }
.about__media .about__img-1 {
  position: absolute; left: 0; top: 0;
  width: 78%; aspect-ratio: 2 / 3;
  z-index: 1;
}
.about__media .about__img-2 {
  position: absolute; right: 0; bottom: 0;
  width: 56%; aspect-ratio: 2 / 3;
}
.about__body .head { margin-bottom: clamp(40px, 4.5vw, 64px); }
.about__body p { margin: 0 0 28px; color: var(--ink-soft); }
.about__body p:last-of-type { margin-bottom: 0; }
.about__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 32px; color: var(--blue); font-weight: 700;
}
.about__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.about__more:hover svg { transform: translateX(4px); }

/* =========================================================
   ACTIVITIES
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.card__img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius);
}
.card__tag {
  display: inline-block; margin: 20px 0 12px;
  background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 6px 16px; border-radius: var(--radius-pill);
}
.card__title { font-size: 20px; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.card__text { font-size: 15px; color: var(--ink-soft); margin: 0 0 22px; }
.card__list {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}
.section--soft .card__list { background: #fff; }
/* margin:0 …: <p> のUAデフォルト上マージンが残ると箱の上余白だけ膨らむ */
.card__list-title { font-size: 14px; font-weight: 700; color: var(--blue); margin: 0 0 8px; }
.card__list li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--ink-soft); }
.card__list li::before {
  content: ""; position: absolute; left: 2px; top: .8em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue-2);
}

/* =========================================================
   SCHEDULE
   ========================================================= */
.schedule__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.schedule__freq { margin: 4px 0 40px; }
.schedule__freq li { color: var(--ink-soft); font-size: 15.5px; padding: 6px 0; }
.schedule__freq b { color: var(--ink); font-weight: 700; }

.timeline { display: flex; flex-direction: column; gap: 4px; }
.timeline__row { display: grid; grid-template-columns: 128px 1fr; align-items: stretch; gap: 4px; }
.timeline__when {
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; padding: 14px 8px; text-align: center;
}
.timeline__what {
  background: var(--bg-soft); color: var(--ink);
  display: flex; align-items: center;
  padding: 14px 20px; font-size: 15px;
}
.section--soft .timeline__what { background: #fff; }

.schedule__media img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
}

/* =========================================================
   BLOG
   ========================================================= */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.blog__card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.blog__card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(9, 45, 82, .13); }
.blog__thumb { width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; }
.blog__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.blog__title { font-size: 15.5px; font-weight: 700; line-height: 1.7; color: var(--ink); margin: 0; }
.blog__meta { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.blog__meta img { width: 22px; height: 22px; border-radius: 50%; }
.blog__meta span { font-size: 13px; color: var(--ink-mute); }

/* =========================================================
   JOIN
   ========================================================= */
.join__card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  max-width: 980px; margin-inline: auto;
}
.join__dl { margin-top: 48px; }
.join__row {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.join__row::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 160px; height: 2px; background: var(--blue);
}
.join__row dt { font-size: 15px; font-weight: 700; color: var(--ink); }
.join__row dd { margin: 0; color: var(--ink-soft); font-size: 15px; }
.join__row dd p { margin: 0 0 4px; }
.join__row dd .note { color: var(--ink-mute); font-size: 14px; }
.join__cta { text-align: center; margin-top: 44px; }

/* =========================================================
   PHOTO BAND (full-bleed strip)
   ========================================================= */
.band { display: grid; grid-template-columns: repeat(4, 1fr); }
.band img { width: 100%; height: clamp(150px, 15vw, 230px); object-fit: cover; }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  background: var(--blue);
  color: #fff;
  padding-block: clamp(72px, 9vw, 130px);
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq__head { position: sticky; top: 110px; }
.faq__head .head__en { color: #fff; }
.faq__head .head__jp { color: rgba(255, 255, 255, .85); }

.faq__cat { font-size: 18px; font-weight: 700; margin: 40px 0 20px; }
.faq__cat:first-child { margin-top: 0; }

.faq__item {
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px;
  text-align: left;
  font-size: 16px; font-weight: 700;
}
.faq__q .q { color: var(--blue); font-family: var(--font-en); font-weight: 600; font-size: 15px; }
.faq__q .q-text { flex: 1; }
.faq__toggle {
  position: relative; width: 20px; height: 20px; flex: none;
}
.faq__toggle::before,
.faq__toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--blue);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq__toggle::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq__toggle::after { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__toggle::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }

.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.faq__a-inner { overflow: hidden; }
.faq__a-inner p {
  margin: 0; padding: 0 26px 24px 58px;
  color: var(--ink-soft); font-size: 15px;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  position: relative;
  padding-block: clamp(64px, 8vw, 110px);
  color: #fff;
  overflow: hidden;
}
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4, 60, 100, .72), rgba(4, 60, 100, .42));
}
.contact__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.contact__en {
  font-family: var(--font-en); font-weight: 500;
  font-size: clamp(40px, 6vw, 72px); line-height: 1; margin: 0;
}
.contact__lead { font-weight: 700; margin: 18px 0 0; font-size: clamp(14px, 2vw, 17px); }
.contact .btn { flex: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #fff; padding-block: 56px; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.footer__logo img { width: 150px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer__nav a { font-size: 14px; color: var(--ink); transition: color .25s var(--ease); }
.footer__nav a:hover { color: var(--blue); }
.footer__copy { text-align: center; color: var(--ink-mute); font-size: 13px; margin-top: 40px; font-family: var(--font-en); }

/* =========================================================
   UNDERWATER AMBIANCE — real-time canvas aquarium (js/aquarium.js)
   ========================================================= */
.fish-host { position: relative; }
/* elevate only the content wrapper so the canvas sits behind text but
   above section backgrounds — without disturbing intentional bg layers
   (e.g. .contact__bg / ::after at negative z-index). */
.fish-host > .container { position: relative; z-index: 1; }

/* one <canvas> per [data-fish] host, clipped to the host box (inset:0) so
   it can never widen the page. */
.aquarium-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}
/* hero: aquarium rides above the photo but below the copy (z-index:2) */
[data-fish="hero"] > .aquarium-canvas { z-index: 1; }

/* --- water light (caustics) — pure CSS compositor animation ---------------
   transform/opacity only → runs on the GPU compositor thread, off the main
   thread, so the waves stay perfectly smooth no matter how busy JS is
   (the per-frame canvas compositing used before could jank on phones).
   Two tiled layers drift in opposing directions and interfere → the light
   net morphs. Loops are seamless because each drift distance equals the
   layer's background-size exactly. Texture is injected by js/aquarium.js. */
.caustics-css {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
[data-fish="hero"] > .caustics-css { z-index: 1; }
.caustics-css > span {
  position: absolute; inset: 0; display: block;
  animation: caustic-pulse 7s ease-in-out infinite alternate; /* gentle swell */
}
.caustics-css i {
  position: absolute; inset: -720px; display: block;
  background-repeat: repeat;
  will-change: transform;
}
.caustics-css .ca { background-size: 435px 435px; animation: caustic-drift-a 34s linear infinite; }
.caustics-css .cb { background-size: 666px 666px; animation: caustic-drift-b 76s linear infinite; opacity: .72; }
.caustics-css .glow { background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 60%); }
@keyframes caustic-drift-a { to { transform: translate3d(435px, 435px, 0); } }
@keyframes caustic-drift-b { to { transform: translate3d(-666px, 666px, 0); } }
@keyframes caustic-pulse { from { opacity: .7; } to { opacity: 1; } }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
/* Progressive enhancement: content is visible by default; only hidden
   once JS confirms it can animate (html.js), so a JS failure never hides content. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .nav { gap: 26px; margin-right: 24px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .hamburger { display: flex; margin-right: 8px; }
  /* mobile: the CTA lives inside the hamburger menu (.menu__cta), not the bar */
  .header__cta { display: none; }

  /* hero balance (owner 2026-07-21): title stays up top, the 入会フォーム
     button anchors to the lower part of the hero photo */
  .hero__stage { display: flex; flex-direction: column; }
  .hero__copy { display: flex; flex-direction: column; flex: 1; }
  .hero__cta { margin-top: auto; align-self: flex-start; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  /* モバイルも同じ重なり構図のまま縮小（比率はベースの11:20を継承）。
     width明示: auto margin＋絶対配置のみの中身だと幅0に縮むため */
  .about__media { width: min(100%, 340px); margin-inline: auto; }

  .schedule__grid { grid-template-columns: 1fr; }
  .schedule__media { order: -1; max-width: 460px; }
  .schedule__media img { aspect-ratio: 16 / 10; }

  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .blog__grid { grid-template-columns: 1fr; }

  .faq__grid { grid-template-columns: 1fr; gap: 28px; }
  .faq__head { position: static; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 540px) {
  :root { --gutter: 20px; }
  .header { padding-left: 16px; }
  .header__logo img { width: 150px; }
  .hamburger { width: 48px; height: 56px; margin-right: 4px; }

  .hero__inner { padding: 16px 16px 0; }
  .hero__copy { padding: 40px 18px 34px; }
  .hero__title { font-size: 22px; letter-spacing: 0; }

  .join__row { grid-template-columns: 1fr; gap: 6px; }
  .join__row::after { width: 90px; }

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

  .line-tab { padding: 12px 8px 14px; gap: 9px; }
  .line-tab__label { font-size: 11px; letter-spacing: .16em; }
  .line-tab__icon { width: 32px; height: 32px; }

  .contact__inner { flex-direction: column; align-items: flex-start; }
  .footer__nav { gap: 18px 24px; }
}

@media (max-width: 400px) {
  .hero__copy { padding: 36px 16px; }
  .hero__title { font-size: 21px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .blog__card, .btn, .line-tab, .about__more svg { transition: none !important; }
  .aquarium-canvas, .caustics-css { display: none !important; }
}
