@charset "UTF-8";

/* =========================================================
   常奥 ToWhats — style.css
   テーマ：ポップな日の出
   藍の夜明け空から朝日が昇る。太い藍の枠線と、ずらした影で全体を揃える。
   ========================================================= */

:root {
  --navy:    #1a2456;
  --navy-2:  #283077;
  --navy-3:  #3a3f95;
  --sun:     #ffc83d;
  --orange:  #ff8f3f;
  --red:     #d70009;   /* the logo red */
  --hero-red: #e0433a;   /* a warmer red for the big hero field */
  --note:    #fff1c4;   /* hand-written labels on red */
  --sky:     #7fc8f0;
  --cream:   #fff7e8;
  --cream-2: #fdeccd;
  --ink:     #1a2456;
  --muted:   rgba(26, 36, 86, .72);

  /* ---------------------------------------------------------
     Fonts — Morisawa Fonts
     見出し : じゅん 501   丸ゴシックの極太。レトロポスターの日の出に合う
     本文   : A1ゴシック R / B   にじみのある柔らかいゴシック。手づくり感
     手書き : 那欽        ステッカーとテロップ用の、ポップな筆文字

     Morisawa の font-family 名は、管理画面の Web フォント設定に
     表示される名前と完全に一致させる必要があります。
     下の "Jun 501" などは仮の名前です。管理画面の表記に置き換えてください。
     後ろに続く Google Fonts は、Morisawa が読み込まれるまでの代替です。
     --------------------------------------------------------- */
  --display:   "Jun 501", "じゅん 501", "Dela Gothic One", "Hiragino Maru Gothic ProN", sans-serif;
  --body:      "A1 Gothic R", "A1ゴシック R", "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --body-bold: "A1 Gothic B", "A1ゴシック B", "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --hand:      "Nakin", "那欽", "Dela Gothic One", "Hiragino Maru Gothic ProN", sans-serif;
  /* English hand-written labels in the hero (Google Fonts, OFL) */
  --script:    "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --line: 3px solid var(--navy);
  --shadow: 6px 6px 0 var(--navy);
  --radius: 22px;

  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1120px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  font-feature-settings: "palt";
  font-synthesis: none;
  word-break: auto-phrase;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
mark { background: none; color: inherit; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* bold body text: Morisawa's bold is its own family (A1ゴシック B) */
.nav a, .pill, .hero__eyebrow, .label, .about__sub, .card__text,
.btn, .member__role, .info dt, .info dd, .tag, .footer__name {
  font-family: var(--body-bold);
}

/* nothing may widen the page sideways (tilted stickers, the giant word); clip without making main a scroll container */
main { overflow-x: clip; }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =========================================================
   Opening screen
   Base styles are the finished state; keyframes animate *from* the start,
   so the screen is correct even if an animation never runs.
   ========================================================= */
.opening { display: none; }

.is-opening .opening,
.opening.is-leaving {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
}
.is-opening body { overflow: hidden; }

.opening.is-leaving { animation: opening-lift .9s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes opening-lift { to { transform: translateY(calc(-100% - 60px)); } }

/* wavy bottom edge that trails the curtain as it lifts */
.opening__edge {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 48px;
  fill: var(--cream);
  margin-top: -1px;
}

.opening__stage { display: grid; justify-items: center; }

/* The logo in three pieces, laid out exactly as in the original artwork:
   the red mark on top, then 常 and 奥 (gap = 28/3227 of the width). */
.opening__logo { width: min(72vw, 380px); }
.opening__mark { width: 100%; transform-origin: 37% 100%; }
.opening__kanji { display: flex; margin-top: .87%; }
.opening__jo  { width: 52.1%; }
.opening__oku { width: 47.9%; }

/* The mark drops in, then snaps twice around the tip of its V like a jaw,
   and 常・奥 pop in after a pause (rhythm taken from shishi-w.com). */
.opening__mark { animation: opening-mark 1.6s cubic-bezier(.45, 0, .55, 1) .1s both; }
@keyframes opening-mark {
  0%   { opacity: 0; transform: translateY(-70%); animation-timing-function: var(--spring); }
  25%  { opacity: 1; transform: none; }
  37%  { transform: rotate(-8deg); }
  50%  { transform: none; }
  62%  { transform: rotate(-8deg); }
  75%  { transform: none; }
  100% { transform: none; }
}
.opening__jo  { animation: opening-pop .7s var(--spring) 1.8s both; }
.opening__oku { animation: opening-pop .7s var(--spring) 1.95s both; }
@keyframes opening-pop { from { opacity: 0; transform: translateY(35%) scale(.4); } }
@keyframes opening-up { from { opacity: 0; transform: translateY(16px); } }

.opening__hint {
  position: absolute;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--body-bold);
  font-size: 11px;
  letter-spacing: .3em;
  opacity: .45;
  animation: opening-up .7s var(--out) .5s both;
}

/* the hero waits behind the curtain, then plays as it lifts */
.is-opening .hero *,
.is-opening .hero *::before,
.is-opening .hero *::after { animation-play-state: paused !important; }

/* =========================================================
   Header — floating pill
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 0;
  pointer-events: none;
}

.header__bar {
  position: relative;
  max-width: var(--maxw);
  height: 60px;
  margin-inline: auto;
  padding: 0 10px 0 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--cream);
  border: var(--line);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--navy);
  pointer-events: auto;
}

.logo { display: flex; align-items: center; margin-right: auto; padding-left: 8px; }
.logo img { height: 40px; width: auto; transform-origin: 37% 90%; transition: rotate .5s var(--spring); }
.logo:hover img { rotate: -6deg; }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease;
}
.nav a:hover { background: var(--sun); }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 52px;
  padding: 0 14px;
  border: var(--line);
  border-radius: 999px;
  background: var(--sun);
  font-weight: 900;
  font-size: 14px;
  box-shadow: 2px 2px 0 var(--navy);
  transition: translate .15s ease, box-shadow .15s ease;
}
.pill:hover  { translate: -1px -1px; box-shadow: 3px 3px 0 var(--navy); }
.pill:active { translate: 2px 2px;   box-shadow: 0 0 0 var(--navy); }

.burger { display: none; width: 44px; height: 40px; position: relative; }
.burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .35s var(--spring), opacity .2s ease;
}
.burger span:nth-child(1) { top: 12px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero — sticker collage (after echishin recruit)
   Every piece sits on the stage at --x / --y with width --w,
   tilted by --r, and pops in after --d. JS adds scroll parallax
   through `transform`; pop/bob live on the inner image, tilt and
   hover use the individual `rotate` / `scale` properties, so none
   of them overwrite each other.
   ========================================================= */
.hero {
  position: relative;
  /* older browsers without svh / max() keep the first line that they understand */
  min-height: 700px;
  min-height: max(100vh, 700px);
  min-height: max(100svh, 700px);
  background: var(--hero-red);
  overflow: hidden;
  isolation: isolate;
}
.hero__stage { position: absolute; inset: 0; }

.hero__copy {
  position: absolute;
  left: 7%;
  top: 36%;
  z-index: 4;
  color: #fff;
  will-change: transform;
}
.hero__eyebrow {
  display: inline-block;
  font-size: clamp(13px, 1.3vw, 15px);
  letter-spacing: .14em;
  padding: 4px 16px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  margin-bottom: 20px;
  animation: pop .8s var(--spring) .15s both;
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5.8vw, 84px);
  line-height: 1.22;
  letter-spacing: .02em;
  text-shadow: .06em .06em 0 var(--navy);
}
.hero__line { display: block; animation: pop .9s var(--spring) both; }
.hero__line:nth-child(1) { animation-delay: .25s; }
.hero__line:nth-child(2) { animation-delay: .4s; }
[data-lang="en"] .hero__title { font-size: clamp(34px, 4vw, 60px); letter-spacing: 0; }
[data-lang="en"] .hero__copy { top: 34.5%; }

@keyframes pop {
  from { opacity: 0; transform: translateY(30px) scale(.8); }
  to   { opacity: 1; transform: none; }
}

/* ---- stickers ---- */
.st {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  z-index: 2;
  margin: 0;
  rotate: var(--r, 0deg);
  transition: scale .5s var(--spring);
  will-change: transform;
}
.st:hover { scale: 1.06; }
.st > img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(70, 0, 0, .28));
  animation:
    st-pop .8s var(--spring) var(--d, 0s) both,
    st-bob var(--bob, 4.6s) ease-in-out calc(var(--d, 0s) + .8s) infinite alternate;
}
.st:nth-of-type(2n) { --bob: 5.4s; }
.st:nth-of-type(3n) { --bob: 3.9s; }
@keyframes st-pop { from { opacity: 0; transform: scale(.35) rotate(-14deg); } }
@keyframes st-bob { to { transform: translateY(-9px) rotate(1.6deg); } }

/* ---- the four members: a group photo at the bottom right ---- */
.hero__team {
  position: absolute;
  right: 1%;
  bottom: 0;
  width: 58%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.member-st { top: auto; bottom: 0; pointer-events: auto; }
.member-st > img {
  filter: drop-shadow(0 -4px 16px rgba(70, 0, 0, .25));
  transform-origin: 50% 100%;
  animation:
    st-rise .9s var(--spring) var(--d) both,
    st-sway var(--bob, 5s) ease-in-out calc(var(--d) + .9s) infinite alternate;
}
@keyframes st-rise { from { opacity: 0; transform: translateY(40%); } }
@keyframes st-sway { from { transform: rotate(-.8deg); } to { transform: rotate(.8deg); } }
.member-st--uehara    { --x: 0;   --w: 33%; --d: .75s; z-index: 3; }
.member-st--anzai     { --x: 22%; --w: 28%; --d: .9s;  z-index: 2; }
.member-st--kobayashi { --x: 44%; --w: 32%; --d: 1.05s; z-index: 3; }
.member-st--yuki      { --x: 67%; --w: 32%; --d: 1.2s; z-index: 2; }

/* ---- hand-written labels with a curly arrow ---- */
/* Text on top, arrow underneath pointing down at the person.
   Each label is anchored by its bottom edge (= the arrow tip) with
   --tip-y (how far into the sticker the tip reaches) and --tip-x.
   --flip: -1 curls the arrow the other way so it points down-left. */
.note {
  position: absolute;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  top: auto;
  bottom: calc(100% - var(--tip-y, 0%));
  left: var(--tip-x, 30%);
  font-family: var(--script);
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1;
  color: var(--note);
  white-space: nowrap;
  pointer-events: none;
  animation: note-in .6s var(--out) calc(var(--d, 0s) + .55s) both;
}
.note__arrow {
  width: 2.1em;
  height: 2.1em;
  margin-top: .05em;
  margin-left: var(--arrow-x, .3em);
  transform: scaleX(var(--flip, 1));
  fill: none;
  stroke: currentColor;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 130;
  animation: draw .8s var(--out) calc(var(--d, 0s) + .8s) both;
}
@keyframes note-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes draw { from { stroke-dashoffset: 130; } to { stroke-dashoffset: 0; } }

/* tips land on: the glove, the jumper's back, the top of each head */
.note--pitch  { --tip-x: 44%; --tip-y: 22%; --flip: -1; --arrow-x: 0em; rotate: -6deg; }
.note--jump   { --tip-x: 40%; --tip-y: 14%; --flip: -1; --arrow-x: 0em; rotate: 5deg; }
.note--member { --tip-x: 28%; --tip-y: 6%;  rotate: -5deg; }

/* ---- giant scrolling word ---- */
.hero__giant {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.12em;
  z-index: 5;
  font-family: var(--display);
  font-size: clamp(84px, 15vw, 230px);
  line-height: 1;
  color: #fff;
  pointer-events: none;
}
.hero__giant-track {
  display: flex;
  gap: .3em;
  width: max-content;
  white-space: nowrap;
  animation: marquee 48s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   Stickers
   ========================================================= */
.sticker {
  display: grid;
  place-items: center;
  width: 118px;
  aspect-ratio: 1;
  border: var(--line);
  border-radius: 50%;
  background: var(--sun);
  color: var(--navy);
  font-family: var(--hand);
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  box-shadow: 4px 4px 0 var(--navy);
}


/* =========================================================
   Shared section parts
   ========================================================= */
.section { position: relative; padding-block: clamp(96px, 12vw, 150px); }

.label {
  display: inline-block;
  padding: 4px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .1em;
  rotate: -3deg;
}
.label--light { background: var(--sun); color: var(--navy); }

.title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 1.35;
  letter-spacing: .02em;
  margin: 20px 0 clamp(44px, 6vw, 72px);
}
.title--light { color: var(--cream); }

/* =========================================================
   About
   ========================================================= */
.about { position: relative; padding-top: clamp(120px, 14vw, 180px); text-align: center; overflow: hidden; }
.about__peek,
.about__catch {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(26, 36, 86, .18));
}
.about__peek  { left: -6px; top: 16%; width: clamp(96px, 12vw, 180px); }
.about__catch { right: 3%; bottom: 10%; width: clamp(96px, 11vw, 170px); rotate: 6deg; animation: st-bob 5s ease-in-out infinite alternate; }

.about__lead {
  font-family: var(--display);
  font-size: clamp(26px, 4.8vw, 58px);
  line-height: 1.55;
  letter-spacing: .02em;
  margin: 28px 0 32px;
}
.about__lead mark {
  padding-inline: .08em;
  background: linear-gradient(var(--sun), var(--sun)) no-repeat 0 88% / 0% 42%;
  transition: background-size 1s var(--out) .5s;
}
.about__lead.is-visible mark,
html:not(.js) .about__lead mark { background-size: 100% 42%; }

.about__sub { font-size: clamp(16px, 1.8vw, 19px); font-weight: 700; color: var(--muted); }

/* =========================================================
   Philosophy — tilted cards
   ========================================================= */
.philosophy { background: var(--cream-2); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.card {
  padding: 30px 28px 36px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--navy);
}
.card--sun   { background: var(--sun);   rotate: -2.5deg; }
.card--red { background: var(--red); rotate: 1.8deg;  color: var(--cream); }
.card--navy  { background: var(--navy);  rotate: -1.2deg; color: var(--cream); box-shadow: 8px 8px 0 var(--sun); }
.card:hover  { rotate: 0deg; scale: 1.03; box-shadow: 12px 12px 0 var(--navy); }
.card--navy:hover { box-shadow: 12px 12px 0 var(--red); }

.card__num {
  display: block;
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  margin-bottom: 22px;
}
.card--sun   .card__num { color: var(--red); }
.card--red .card__num { color: var(--navy); }
.card--navy  .card__num { color: var(--sun); }

.card__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.45;
  margin-bottom: 16px;
}
.card__text { font-weight: 700; font-size: 15px; opacity: .88; }

/* =========================================================
   Works — navy band with wavy edges
   ========================================================= */
.works { background: var(--navy); z-index: 1; }

.divider { position: absolute; left: 0; width: 100%; height: 48px; fill: var(--navy); pointer-events: none; }
.divider--top    { top: -47px; }
.divider--bottom { bottom: -47px; transform: scaleY(-1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: var(--line);
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--red);
  transition: translate .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s var(--spring); }
.btn:hover  { translate: -2px -2px; box-shadow: 6px 6px 0 var(--red); }
.btn:hover svg { translate: 4px 0; }
.btn:active { translate: 3px 3px; box-shadow: 0 0 0 var(--red); }
.btn--on-dark { background: var(--sun); color: var(--navy); box-shadow: 4px 4px 0 var(--red); }

/* =========================================================
   Team
   ========================================================= */
.team { padding-top: clamp(130px, 15vw, 190px); }

.members {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 32px);
  text-align: center;
}

.member__photo {
  width: min(100%, 200px);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  border: var(--line);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: rotate .5s var(--spring), scale .5s var(--spring);
}
.member:hover .member__photo { rotate: -6deg; scale: 1.05; }
.member__link { display: block; }
.member__go { display: inline-block; margin-top: 8px; font-family: var(--body-bold); font-weight: 700; font-size: 13px; color: var(--red); }
.member__link:hover .member__name { text-decoration: underline; text-underline-offset: 4px; }
.home-blog { background: var(--cream); }
.member--sun    .member__photo { background: var(--sun); }
.member--red  .member__photo { background: var(--red); }
.member--orange .member__photo { background: var(--orange); }
.member--sky    .member__photo { background: var(--sky); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; scale: 1.08; }

.member__role {
  display: inline-block;
  padding: 1px 12px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  margin-bottom: 8px;
}
.member__name { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2vw, 23px); letter-spacing: .06em; }

/* =========================================================
   Company
   ========================================================= */
.company { background: var(--sun); }

.info {
  max-width: 820px;
  background: var(--cream);
  border: var(--line);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--navy);
  padding: 8px clamp(22px, 4vw, 44px);
}
.info__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding-block: 20px;
  border-bottom: 2px dashed rgba(26, 36, 86, .25);
}
.info__row:last-child { border-bottom: 0; }
.info dt { font-weight: 900; }
.info dd { font-weight: 700; }
.info dd small { display: block; font-size: 13px; color: var(--muted); letter-spacing: .06em; }

.tag {
  display: inline-block;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-size: 14px;
  font-weight: 900;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 70px var(--gutter) calc(36px + env(safe-area-inset-bottom, 0px));
}
.divider--footer { top: -47px; }

/* the full logo (with 常奥) on a cream sticker, so the black kanji show on navy */
.footer__logo {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 auto 30px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--red);
  rotate: -3deg;
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -8px; } }

.footer__copy {
  font-family: var(--display);
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.4;
  margin-bottom: 18px;
}
.footer__name { font-weight: 700; font-size: 14px; letter-spacing: .1em; opacity: .8; }
.footer__small { font-size: 12px; opacity: .55; margin-top: 6px; }

/* =========================================================
   Reveal (spring)
   ========================================================= */
.js .reveal {
  opacity: 0;
  translate: 0 50px;
  transition: opacity .8s var(--out), translate 1s var(--spring);
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }
.members .reveal:nth-child(2) { transition-delay: .1s; }
.members .reveal:nth-child(3) { transition-delay: .2s; }
.members .reveal:nth-child(4) { transition-delay: .3s; }

/* cards keep their hover spring; only the entrance is staggered */
.card,
.js .card.reveal {
  transition: rotate .5s var(--spring), scale .5s var(--spring), box-shadow .3s ease, opacity .8s var(--out), translate 1s var(--spring);
}
.js .card.reveal:nth-child(2) { transition-delay: 0s, 0s, 0s, .1s, .1s; }
.js .card.reveal:nth-child(3) { transition-delay: 0s, 0s, 0s, .2s, .2s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .burger { display: block; }
  .header__bar { gap: 8px; }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px;
    background: var(--cream);
    border: var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    translate: 0 -10px;
    scale: .96;
    transform-origin: top right;
    transition: opacity .25s ease, visibility .25s ease, translate .4s var(--spring), scale .4s var(--spring);
  }
  .nav.is-open { opacity: 1; visibility: visible; translate: 0 0; scale: 1; }
  .nav a { font-family: var(--display); font-weight: 400; font-size: 20px; padding: 10px 16px; }

  .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .logo img { height: 34px; }
  .about__peek { top: auto; bottom: 4%; }
  .about { padding-bottom: 170px; }
  .about { text-align: left; }
  .about__lead br { display: none; }
  .info__row { grid-template-columns: 1fr; gap: 2px; }
  .member__photo { width: min(100%, 150px); }
}

/* ---- hero collage on smaller screens ---- */
@media (max-width: 1000px) {
  .hero__copy { top: 30%; }
  .hero__team { width: 72%; }
  .st--pitch { --y: 15% !important; }
  .st--silhouette { display: none; }
}

@media (max-width: 700px) {
  .hero { min-height: 660px; min-height: max(100vh, 660px); min-height: max(100svh, 660px); }
  .hero__copy { left: 6%; right: 6%; top: 16%; }
  .hero__title { font-size: clamp(32px, 9.6vw, 46px); }
  [data-lang="en"] .hero__title { font-size: clamp(28px, 8vw, 40px); }
  .st--duo, .st--silhouette { display: none; }
  .st--pitch { --x: 4% !important;  --y: 42% !important; --w: 20vw !important; }
  .st--jump  { --x: 56% !important; --y: 40% !important; --w: 36vw !important; }
  .note--pitch { --tip-x: 40%; --tip-y: 18%; }
  .note--jump  { --tip-x: 22%; --tip-y: 12%; }
  .hero__team { width: 100%; right: 0; }
  .member-st--uehara    { --x: 0;   --w: 36%; }
  .member-st--anzai     { --x: 21%; --w: 31%; }
  .member-st--kobayashi { --x: 42%; --w: 35%; }
  .member-st--yuki      { --x: 64%; --w: 36%; }
  .note--member { font-size: 15px; --tip-x: 18%; --tip-y: 8%; }
  .hero__giant { font-size: 24vw; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; translate: 0 0; }
  .about__lead mark { background-size: 100% 42%; }
  .hero__giant-track { transform: none; }
}
