/* ============================================================
   THE TOKYO BOTOX PARTY · BIANCA TOKYO
   Invitation LP · NOT A HOTEL language · no rounded corners
   ============================================================ */

:root {
  --bg: #0B0B0D;
  --ink: #FFFFFF;
  --ink-dim: rgba(255, 255, 255, 0.62);
  --ink-faint: rgba(255, 255, 255, 0.36);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --alert: #FF6B6B;
  --glow: rgba(109, 40, 217, 0.15);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink);
  /* canvas is painted by html · body stays transparent so the fixed
     ambient layer (.amb, z-index -1) can sit between canvas and content */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

::selection { background: rgba(255, 255, 255, 0.92); color: #0B0B0D; }

:focus { outline: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

img { max-width: 100%; display: block; }

/* ---------- ambient glow (the only trace of violet) ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 55% at 50% -12%, var(--glow), transparent 60%),
    radial-gradient(80% 34% at 50% 112%, rgba(109, 40, 217, 0.09), transparent 60%);
}

.ambient::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */

main { position: relative; z-index: 1; }

section, header.hero, footer.foot { position: relative; }

.wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 104px 24px;
}

@media (max-width: 380px) {
  .wrap { padding: 88px 20px; }
}

/* ---------- shared type ---------- */

.overline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.sec-head { margin-bottom: 56px; }

.sec-title {
  font-weight: 600;
  font-size: clamp(30px, 8.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-top: 16px;
}

.lede {
  color: var(--ink-dim);
  font-size: 14px;
  margin-top: 18px;
  max-width: 42ch;
}

.hairline { height: 1px; background: var(--line); border: 0; }

/* line breaking · browsers that know these keywords avoid a lone last word
   and a line ending on an article; the &nbsp; in the markup carry the rest */
.tog-text, .fnote, .rsvp-note, .eve-gift-sub, .foot-social-lead, .submit-hint, .privacy-note { text-wrap: pretty; }
.sec-title, .eve-gift-line, .statement-quote, .confirm-title { text-wrap: balance; }

/* reveal states · applied only when JS+GSAP alive */
/* 2026-09-01: .js-fade の初期非表示は廃止（ネガ現像イントロでは全要素が
   最初から見えている＝反転されているのが正）。クラスは他所の目印として残す。 */

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero .wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* generous air above the wordmark */
  padding-top: calc(96px + env(safe-area-inset-top));
  /* 2026-08-29: the first screen ends with the scroll cue, so the bottom
     padding is just its breathing room above the viewport edge */
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
  width: 100%;
}

/* short phones (SE class): less air on top so the four elements still
   fit one screen. The hero keeps min-height, so nothing is ever clipped */
@media (max-height: 700px) {
  .hero .wrap {
    padding-top: calc(60px + env(safe-area-inset-top));
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  /* .hero .hero-mid: the unconditional .hero-mid rule below would otherwise win (review A, H3) */
  .hero .hero-mid { padding-top: 22px; }
}

.hero-logo img {
  width: 132px;
  height: auto;
  margin: 0 auto;
  opacity: 0.97;
}

.hero-mid { text-align: center; padding: 40px 0 0; position: relative; }

/* ---------- intro overlay · neon vial（2026-09-26 第2版） ----------
   黒い幕に消灯したネオン管がうっすら見えていて、底の中心から光の粒が管に沿って駆け上がる。
   粒が通った所だけ管が灯り、その長さが進捗（000 U → 100 U）。満タンで一拍置いてパッと
   光り、続いて TOKYO BOTOX PARTY が点く。最後に黒幕だけが溶け、ロゴはそのままヒーローの
   .hero-mark になる（main.js がイントロ時のみ生成）。backdrop-filter 非依存。 */

.hero-intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  background: #000000;
  overflow: hidden;
  contain: layout paint;
  pointer-events: none;
}

.js-boot .hero-intro,
.has-anim .hero-intro { display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero-intro { display: none !important; }
}

.hero-intro .vl-wrap { position: absolute; inset: 0; }

/* 位置と大きさは main.js が .hero-mark の実測値を入れる */
.hero-intro .vl-stage { position: absolute; overflow: hidden; }

/* ネオン · ロゴ原画（2880px 四方）を .hero-mark と同じ切り出しで置く */
.hero-intro .vl-neon {
  position: absolute;
  width: 218.1818%;
  max-width: none;
  height: auto;
  left: -59.0909%;
  top: -19.2308%;
}

/* 点灯の瞬間だけ足す光。同じ原画をぼかして明るくし、加算で重ねてから引く。
   filter は固定（動かすのは opacity だけ）なので、描き直しは最初の1回で済む。
   幕は contain: paint で閉じているので、加算は幕の中だけで完結する */
.hero-intro .vl-bloom {
  filter: blur(9px) brightness(1.9) saturate(1.2);
  mix-blend-mode: screen;
}

/* 灯っていく管（原画をマスク越しに見せる）と進捗の数字。どちらも幕のバイアルと同じ枠 */
.hero-intro .vl-trace,
.hero-intro .vl-count {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* マスクの線。座標はロゴ原画の 2880px 系なので、線幅もその単位。
   芯 40 は管の芯（壁で幅約29）を覆う幅で、先端は平ら＝光の粒の位置ちょうどで切れる。
   グロー 150 は、原画のグローがほとんど消える（濃さ 6% 未満になる）±75 まで */
.hero-intro .vl-m { fill: none; stroke: #FFFFFF; stroke-linejoin: round; visibility: hidden; }
.hero-intro .vl-m-core { stroke-width: 40; stroke-linecap: butt; }
.hero-intro .vl-m-glow { stroke-width: 150; stroke-linecap: round; }
.hero-intro .vl-hd { visibility: hidden; }

/* 進捗の数字 · Archivo 500（最軽量）。3桁固定。光らせない（汎用のネオンローダーに見える） */
.hero-intro .vl-num {
  fill: #EFE6FF;
  opacity: 0.7;
  font-family: 'Archivo', var(--sans);
  font-weight: 500;
  font-size: 132px;
  letter-spacing: 24px;
  font-variant-numeric: tabular-nums;
}

/* 点灯の光が画面全体にかぶる紫。中心はロゴ（main.js が --cx/--cy を入れる）。
   落ち着いた濃さ（opacity 0.32）がヒーローの紫の光（.ambient）と同じくらい */
.hero-intro .vl-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%),
    rgba(124, 58, 237, 0.42) 0,
    rgba(124, 58, 237, 0.12) 32vmax,
    rgba(124, 58, 237, 0) 70vmax);
}

/* ---------- night film · the whole first screen ----------
   2026-08-29: the film owns the first screen edge to edge (発注者「スマホの1画面に
   まず動画、スクロールで詳細」). Loaded only after the intro has run (main.js),
   so the giant type never waits on a download. The sides and top are the
   viewport edges, so nothing reads as a floating panel; only the bottom needs
   to let go, where the details begin on the plain page ground. One linear
   mask, no mask-composite, so Safari stays happy. */

.hero-film {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s ease;
  /* 2026-08-29: the film runs all the way down past the scroll cue (発注者
     「Scrollのところまで伸ばしていい」) and lets go only in the last 7%, at the fold */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 93%, transparent 100%);
}

.hero-film.is-on { opacity: 1; }

.hero-film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* club red pulled back towards the black and violet the rest of the page uses */
  filter: brightness(0.82) saturate(0.76) contrast(1.10);
}

/* Scrim under the type · the type stays the brightest thing on screen.
   Geometry on a 390x844 phone: wordmark 11 to 16%, neon mark 28 to 69%,
   tagline 70 to 73%, scroll cue 87 to 97% of this element.
   Held flat across the title on purpose: an earlier version faded out over
   the last line, so PARTY sat on visibly brighter footage than TOKYO did. */
.hero-film::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(11, 11, 13, 0.44) 0%,
    rgba(11, 11, 13, 0.44) 18%,
    rgba(11, 11, 13, 0.50) 30%,
    rgba(11, 11, 13, 0.50) 76%,
    rgba(11, 11, 13, 0.48) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-film { transition: none; }
}

.hero-mid .overline { color: var(--ink-dim); }

/* ---------- hero mark · ネオンのバイアルロゴ（2026-09-26） ----------
   見出しの文字組み（The Tokyo Botox Party）をロゴ原画に差し替え。原画は 2880px 四方で
   上下左右に余白があるので、x840-2040 / y400-2480 だけを枠で切り出して見せる（画像
   そのものは切らない）。イントロの幕のバイアルはこの枠と同じ位置・大きさに置かれ、
   最後に黒幕だけが溶けてここに着地する */
.hero-mark {
  --mark-h: clamp(280px, 46vh, 420px);
  position: relative;
  height: var(--mark-h);
  width: calc(var(--mark-h) * 1320 / 2080);
  margin: 18px auto 0;
  overflow: hidden;
}

/* 文字入りの原画は、文字なしの原画より左へ 5px（2880px 座標）ずれて書き出されている。
   ここで右へ 5px 戻して、イントロのネオン（文字なし）と外形を画素単位で重ねる */
.hero-mark img {
  position: absolute;
  width: 218.1818%;
  max-width: none;
  height: auto;
  left: -58.7121%;
  top: -19.2308%;
}

/* 横持ちのスマホなど背の低い画面では、下限 280px だと画面から下にはみ出す
   （イントロのバイアルもこの枠に合わせて置くので、はみ出すと演出ごと切れる） */
@media (max-height: 700px) {
  .hero-mark { --mark-h: clamp(220px, 42vh, 300px); }
}
@media (max-height: 520px) {
  .hero-mark { --mark-h: clamp(160px, 60vh, 280px); }
}

/* iPhone Safari のツールバーが出ているときの高さ（svh）で測る。vh は大きい方の高さ
   なので、SE 級では「Scroll」の目印が1画面目から押し出される */
@supports (height: 1svh) {
  .hero-mark { --mark-h: clamp(280px, 46svh, 420px); }
  @media (max-height: 700px) {
    .hero-mark { --mark-h: clamp(220px, 42svh, 300px); }
  }
  @media (max-height: 520px) {
    .hero-mark { --mark-h: clamp(160px, 60svh, 280px); }
  }
}

.tagline {
  margin-top: 26px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- details · date, venue, map, rsvp (below the first screen) ---------- */

/* the scroll cue above already leads the eye down, so this opens tighter than
   a section normally does (104px); the bottom keeps the old hero rhythm
   (36px hero + 104px statement) */
.hero-details .wrap { padding: 72px 24px 40px; }

@media (max-width: 380px) {
  .hero-details .wrap { padding: 64px 20px 36px; }
}

/* date / venue · definition rows.
   2026-08-29: in the details block the hairlines are backgrounds, not borders,
   so GSAP can draw them in (background-size 0 -> 100%). Labels fade, values
   rise out of a clipped cell the way the title does. With motion off, the CSS
   below is the finished state, nothing is ever hidden. */

.hero-meta {
  border-top: 1px solid var(--line);
}

.hero-details .hero-meta {
  border-top: 0;
  background: linear-gradient(var(--line), var(--line)) no-repeat left top / 100% 1px;
}

.hero-details .meta-row {
  border-bottom: 0;
  background: linear-gradient(var(--line), var(--line)) no-repeat left bottom / 100% 1px;
}

.hero-details .meta-k, .hero-details .meta-v { overflow: hidden; }
.hero-details .rise { display: block; }

.meta-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.meta-k {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.meta-v {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.meta-v small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-dim);
  margin-top: 3px;
  letter-spacing: 0;
}

/* outline map of Ginza · links to Google Maps */

.hero-map {
  display: block;
  margin-top: 28px;
  border: 1px solid var(--line);
  padding: 18px 16px 13px;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.hero-map:hover, .hero-map:active { border-color: var(--line-strong); }

.map-svg { display: block; width: 100%; height: auto; }

.map-svg text {
  font-family: var(--sans);
  text-transform: uppercase;
  /* 7px in the markup rendered at 7.2px (5.7px on 320). Bigger, brighter, with a
     dark halo so the names stay legible over the roads (design review C, H-4) */
  font-size: 8.5px;
  fill: rgba(255, 255, 255, 0.72);
  paint-order: stroke;
  stroke: #0B0B0D;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.map-svg text[fill="#FFFFFF"] { fill: #FFFFFF; }
/* labels near the left edge (GINZA-ITCHOME is end anchored at x=109) may run past
   the viewBox; the frame's 16px padding has room, the viewBox must not clip them */
.map-svg { overflow: visible; }
@media (max-width: 380px) {
  .map-svg text { font-size: 9px; }
  .map-cta { font-size: 9px; letter-spacing: 0.12em; gap: 10px; }
  .map-cta-cell { flex: 0 0 auto; white-space: nowrap; }
}

.map-cta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.map-cta-cell:last-child { color: var(--ink-dim); }
/* each caption is clipped so its text can rise in from below, like the values above */
.map-cta-cell { overflow: hidden; }

.hero-cta { margin-top: 40px; text-align: center; }

.hero-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}

.hero-foot span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--ink);
  animation: drip 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes drip {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

/* ---------- buttons ---------- */

.btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #0B0B0D;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  padding: 19px 28px 18px;
  min-width: 250px;
  cursor: pointer;
  transition: opacity 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

.btn:hover, .btn:active { opacity: 0.86; }

.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover, .btn.ghost:active { opacity: 1; background: var(--ink); color: #0B0B0D; }

.btn[disabled] { opacity: 0.4; pointer-events: none; }

.btn.block { display: block; width: 100%; min-width: 0; }

/* ============================================================
   STATEMENT
   ============================================================ */

.statement { text-align: center; }

.statement .wrap { padding-top: 118px; padding-bottom: 118px; }

.statement-quote {
  margin-top: 22px;
  font-weight: 600;
  font-size: clamp(27px, 7.4vw, 36px);
  line-height: 1.26;
  letter-spacing: -0.025em;
  color: var(--ink-dim);
}

.statement-quote b { font-weight: inherit; color: var(--ink); }

.statement-sub {
  margin-top: 30px;
  color: var(--ink-dim);
  font-size: 14px;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

/* ============================================================
   THE EVENING · イベントの説明（2026-09-26 追加。「ボトックスのイベントだとわからない」
   への対応）、THE EXPERIENCE（何をするイベントかを一目で）、その下の開閉リスト
   （BOTOX Experience / Rooftop / Music / Foods。The Room は削除）
   ============================================================ */

.evening .wrap { padding-top: 96px; padding-bottom: 100px; }

.eve-copy { margin-top: 34px; max-width: 46ch; }

.eve-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-dim);
  text-wrap: pretty;
}

.eve-copy p + p { margin-top: 18px; }

/* 締めの一文だけ一段明るく */
.eve-copy .eve-copy-close { margin-top: 26px; color: var(--ink); font-weight: 500; }

/* THE EXPERIENCE · カードにせず、地の上に文字だけで置く（背景・角・グラデーションは足さない）。
   ラベルは The evening と同じ .overline。LIVE BOTOX INJECTION がこのブロックで一番強い */
.eve-exp { margin-top: 64px; }

.eve-exp-main {
  margin-top: 14px;
  font-weight: 600;
  font-size: clamp(24px, 6.4vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

/* 改行は「·」の位置でしか起きない（各項目は折り返さない） */
.eve-exp-items {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.eve-exp-items span { white-space: nowrap; }

.eve-exp-note {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-dim);
}

.eve-exp + .tog-list { margin-top: 48px; }

.tog-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.tog { border-bottom: 1px solid var(--line); }

/* summary is the whole row · marker suppressed on every engine */
.tog-sum {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px 2px;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.tog-sum::-webkit-details-marker { display: none; }
.tog-sum::marker { content: ''; }

.tog-ico {
  width: 21px;
  height: 21px;
  flex: none;
  /* one notch brighter than --ink-faint · a hairline drawing needs it */
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.35s ease;
}

.tog-name {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink-dim);
  transition: color 0.35s ease;
}

/* plus that loses its upright stroke when the row opens */
.tog-mark { position: relative; width: 11px; height: 11px; flex: none; }

.tog-mark::before,
.tog-mark::after {
  content: '';
  position: absolute;
  background: var(--ink-faint);
  transition: opacity 0.35s ease, transform 0.35s ease, background-color 0.35s ease;
}

.tog-mark::before { left: 0; right: 0; top: 5px; height: 1px; }
.tog-mark::after { top: 0; bottom: 0; left: 5px; width: 1px; }

.tog[open] .tog-mark::after { opacity: 0; transform: scaleY(0.25); }
.tog[open] .tog-mark::before { background: var(--ink); }
.tog[open] .tog-ico { color: var(--ink); }
.tog[open] .tog-name { color: var(--ink); }

.tog-sum:hover .tog-name,
.tog-sum:hover .tog-ico { color: var(--ink); }

.tog-sum:focus-visible { outline: 1px solid var(--ink); outline-offset: -2px; }

/* body height is animated by main.js · overflow keeps it clipped mid tween */
.tog-body { overflow: hidden; }

.tog-text {
  padding: 0 34px 26px 36px;
  color: var(--ink-dim);
  font-size: 13.5px;
  line-height: 1.85;
  max-width: 48ch;
}

/* 開いた中の見出しの一文（BOTOX Experience）。本文と同じ字で、明るさと下の間隔だけ変える */
.tog-text.tog-lead { padding-bottom: 8px; color: var(--ink); }

/* DJ のプロフィール（2026-10-03）· Music を開いた中、本文の下。写真は 4:5 の切り出しを
   枠いっぱいに置く（角丸・影・背景は付けない）。本文と同じ左右の余白にそろえる */
.dj {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 34px 28px 36px;
}

.dj-photo {
  flex: none;
  display: block;
  width: 112px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.dj-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.dj-name { margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--ink); }

.dj-sub { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--ink-dim); }

.dj-ig {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.35s ease, border-color 0.35s ease;
}

.dj-ig:hover { color: var(--ink); border-bottom-color: var(--ink-dim); }

@media (max-width: 380px) {
  .dj { gap: 14px; padding-left: 34px; padding-right: 2px; }
  .dj-photo { width: 96px; }
}

@media (max-width: 380px) {
  .tog-sum { gap: 14px; padding: 19px 2px; }
  .tog-text { padding-left: 34px; padding-right: 2px; }
}

/* ============================================================
   RSVP · white block
   ============================================================ */

.rsvp {
  --ink: #0B0B0D;
  --ink-dim: rgba(11, 11, 13, 0.62);
  --ink-faint: rgba(11, 11, 13, 0.56);
  --line: rgba(11, 11, 13, 0.14);
  --line-strong: rgba(11, 11, 13, 0.32);
  --alert: #C6293B;
  background: #FFFFFF;
  color: var(--ink);
}

.rsvp .btn { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.rsvp .btn:hover, .rsvp .btn:active { opacity: 0.88; }

.rsvp-note {
  font-size: 13px;
  color: var(--ink-dim);
  /* 26px, not 16: this used to sit under the deadline row, and with that row
     gone it needs the heading's own breathing room instead */
  margin-top: 26px;
}

form.rsvp-form { margin-top: 8px; }

.field { margin-bottom: 34px; }

.flabel {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 9px;
}

.flabel b { font-weight: 500; color: var(--ink); }

.finput, .fselect {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
  padding: 9px 2px 11px;
  transition: border-color 0.4s ease;
}

.finput::placeholder { color: var(--ink-faint); }

.finput:focus, .fselect:focus { border-bottom-color: var(--ink); }

.fselect {
  cursor: pointer;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%230B0B0D' stroke-opacity='0.55' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.fselect.empty { color: var(--ink-faint); }
.fselect option { background: #FFFFFF; color: #0B0B0D; }

/* segmented yes/no */

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.seg label { display: block; cursor: pointer; }

.seg input { position: absolute; opacity: 0; pointer-events: none; }

.seg span {
  display: block;
  text-align: center;
  border: 1px solid var(--line-strong);
  padding: 15px 8px 14px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-dim);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.seg input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #FFFFFF;
}

.seg input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }

.seg.seg3 { grid-template-columns: repeat(3, 1fr); gap: 9px; }
.seg.seg3 span { padding: 14px 6px 13px; font-size: 12.5px; }

/* one guest = name + email · the pair shows and hides together.
   1人目と2人目が地続きに見えないよう、罫線と小見出しで組を切る */
.guest-block { border-top: 1px solid var(--line); padding-top: 26px; }
.guest-block[hidden] { display: none; }

/* same guard as the guest blocks: [hidden] must win even if a display lands on .field */
.field[hidden] { display: none; }
.guest-head {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 20px;
}

/* checkbox chips */

.chips { display: flex; flex-wrap: wrap; gap: 9px; }

.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }

.chips span {
  display: block;
  border: 1px solid var(--line-strong);
  padding: 11px 15px 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-dim);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.chips input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #FFFFFF;
}

.chips input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }

/* optional divider */

.form-divider {
  margin: 50px 0 38px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

.form-divider::before, .form-divider::after {
  content: '';
  height: 1px;
  background: var(--line);
  flex: 1;
}

/* the consent sentence · long enough to need its own measure, so it sits
   between the label and the yes/no pair rather than inside the label */
.fnote {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-dim);
  margin: 0 0 13px;
}

.ferr {
  display: none;
  font-size: 12px;
  color: var(--alert);
  margin-top: 8px;
}

.field.invalid .ferr { display: block; }
.field.invalid .finput, .field.invalid .fselect { border-bottom-color: var(--alert); }
.field.invalid .seg span { border-color: var(--alert); }

.form-alert {
  display: none;
  border: 1px solid var(--alert);
  color: var(--alert);
  font-size: 13px;
  padding: 14px 16px;
  margin-bottom: 26px;
}

.form-alert.show { display: block; }

.submit-wrap { margin-top: 12px; }

.submit-hint {
  text-align: center;
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 15px;
}

.privacy-note {
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-faint);
  margin-top: 10px;
}

.privacy-note a {
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* spinner inside button */

.btn .dots i {
  font-style: normal;
  display: inline-block;
  animation: blink 1.2s infinite;
}
.btn .dots i:nth-child(2) { animation-delay: 0.2s; }
.btn .dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

/* ============================================================
   CONFIRMATION
   ============================================================ */

.confirm { display: none; text-align: center; }
.confirm.show { display: block; }

.confirm-title {
  font-weight: 600;
  font-size: clamp(31px, 8.6vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 18px;
}

.confirm-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-dim);
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.qr-plate {
  display: inline-block;
  background: #FFFFFF;
  border: 1px solid var(--ink);
  padding: 26px 26px 20px;
  margin-top: 36px;
}

.qr-plate svg { display: block; width: 212px; height: 212px; }

.qr-id {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--ink);
}

.confirm-guest {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dim);
  overflow-wrap: anywhere;
}

.confirm-guest-note {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 6px;
}

.confirm-lines {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.confirm-lines .meta-row:last-child { border-bottom: 1px solid var(--line); }

.confirm-mail {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.8;
}

.confirm-mail b { font-weight: 500; color: var(--ink); }

.confirm-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-quiet {
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  align-self: center;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.link-quiet:hover { color: var(--ink); border-color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */

.foot { text-align: center; }

.foot .wrap {
  padding-top: 96px;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.foot-logo img { width: 118px; height: auto; margin: 0 auto; opacity: 0.92; }

.foot-close {
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-top: 36px;
}

.foot-addr {
  margin-top: 28px;
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 2.05;
}

.foot-addr a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-strong); }

.foot-tag {
  margin-top: 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.foot-fine {
  margin-top: 34px;
  font-size: 10.5px;
  color: var(--ink-faint);
}

/* sponsor marks · the last thing on the page. Centre line aligned rather than
   baseline aligned: the lockups differ in how many lines they have, so a
   baseline would lift one of them off the row. 0.62 is the same token the
   address line uses, which puts them a clear step below the BIANCA logo at 0.92. */
.foot-partners {
  margin-top: 34px;      /* 46px − img の上下 margin 12px。行間は row-gap でなく img の margin で取る（下の ::after 参照） */
  margin-bottom: -12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 30px;      /* 社数が増えたので 42px から詰めた。3 社の行がスマホの幅に収まる値 */
  opacity: 0.62;
}

.foot-partners img { display: block; width: auto; margin: 12px 0; }
.fp-nero { height: 27px; }
/* Lekarka · ガイドライン（LK_logo_guideline_0322）どおり、暗い地には白のネガ版。
   縦組み（マーク＋ロゴタイプ）は最小幅 70px＝高さ約104px で隣の NERO（27px）の約4倍になるため、
   単体使用が認められているロゴタイプのみ。最小幅 100px 以上（24px 高で 107px） */
.fp-lekarka { height: 24px; }
/* 2026-10-24 に足した 7 社。地が黒なので全て白版（JMEC と SOLISCA は svg の塗りを白に、Sunsorit と DREX は
   透過 png の alpha を残して白に、メイフラワーと dr365 は ai/pdf を描画して白地の濃さを alpha に、
   MASONO は提供されたビットマップをトレースして白に）。
   高さは横組みの NERO（27px）と Lekarka（24px）に見た目の量を合わせた。DREX と SOLISCA は縦組みなので高く取る */
.fp-drex { height: 44px; }
.fp-jmec { height: 31px; }
.fp-masono { height: 16px; }
.fp-sunsorit { height: 30px; }
.fp-solisca { height: 38px; }
.fp-mayflower { height: 26px; }
.fp-dr365 { height: 21.5px; }  /* 9 社の時の折り返しの調整で下げた値。今の並びは下の order の区切りで決まる */
/* ReFa は依頼主が支給した筆記体の svg の塗りを白にした。字の中の空きが大きいので JMEC 並みに取る */
.fp-refa { height: 30px; }
/* LELO は依頼主が支給した png をトレースした svg の塗りを白にした。太い字なので、字面の面積を同じく太い NERO・MASONO にそろえた */
.fp-lelo { height: 20px; }
/* 自然な折り返しに任せると行の重さが偏るので、
   ::before と ::after を折り返し専用の幅 100%・高さ 0 の行にして order で間に挟み、段を区切る
   （広い幅では、細い DREX の段と真ん中の段に多く入れて、上下の段の幅をそろえる。DOM の順＝見た目の順なので、読み上げ順も変わらない）。
   この空の行にも row-gap が付いて行間が倍になるので、行間は img の margin で取っている。
   行の幅や社数の数字は注記に書かない（値を変えるたびにずれる）。確かめ方は _work/sponsors_2026-10-24/tools/sweep_footer.py */
.foot-partners::before, .foot-partners::after { content: ""; flex-basis: 100%; height: 0; }
.foot-partners::before { order: 1; }
.fp-jmec, .fp-masono, .fp-sunsorit, .fp-solisca { order: 2; }
.foot-partners::after { order: 3; }
.fp-mayflower, .fp-dr365, .fp-lelo { order: 4; }
/* 真ん中の段が入らない幅は、区切りをずらして、上の段から下へ少しずつ広がる並びにする（最後の組は自然な折り返し）。
   区切りを外して自然に折り返すと、幅によって 1 社だけの行ができる。
   media query の幅は縦スクロールバーを含むので、バーが幅を取る PC（17px まで）でも段が入る所を境目にした */
@media (max-width: 555px) {
  .fp-lekarka, .fp-drex { order: 2; }
  .fp-masono, .fp-sunsorit, .fp-solisca { order: 4; }
}
/* それより狭い幅は、最後の組が細かく折り返す。折り返す位置が縦スクロールバーの有無で変わると
   取り残される社が出るので、列の幅に上限を置いて位置を固定する（上限の値は走査で確かめた） */
@media (max-width: 449px) {
  .foot-partners { max-width: 330px; margin-left: auto; margin-right: auto; }
}
/* JMEC までの段も入らない幅から下は、JMEC を最後の組に移して自然な折り返しに任せる。
   最後の社だけの行が残るが、ほかの段に入れる余裕が無い */
@media (max-width: 322px) {
  .fp-jmec { order: 4; }
}
/* 380px 以下は間を 24px に詰め、幅の広い MASONO とメイフラワーだけ 1px 低くする */
@media (max-width: 380px) {
  .foot-partners { column-gap: 24px; }
  .fp-masono { height: 15px; }
  .fp-mayflower { height: 24px; }
}

/* THE EVENING の締め · 来場特典。声量は意図的に statement より一段下げる
   （"This is not just a party." がページの主張で、特典がそれと同じ大きさで
   喋ってはいけない）。補足文は 13.5px のまま（説明文 .eve-copy より一段小さい） */
.eve-gift { margin-top: 52px; }

.eve-gift-line {
  font-weight: 600;
  font-size: clamp(21px, 5.4vw, 26px);
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.eve-gift-sub {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-dim);
  max-width: 46ch;
}

/* THE EVENING の締め · voucher をモノとして置く。
   影で浮かせず、カードに実際の厚みを持たせて立体にする（::before が側面）。
   角丸はグローバルの border-radius:0 が効くので指定しない */
.voucher {
  margin-top: 40px;
  perspective: 1100px;
  perspective-origin: 50% 50%;
}

.vcard {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1.62 / 1;
  margin: 0 auto;
  transform-style: preserve-3d;
}

/* inner layer · carries the slow idle motion (発注者「少しだけ動いてる、立体的に」→
   2026-09-26「真正面から左右に動いているように」). 正面（0°）を中心に左右へ同じ角度だけ
   振る。上下の傾きは付けない */
.vcard-3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

/* 開始は周期の 1/4 だけ進めた位置＝ちょうど正面（0°）。画面に入った瞬間に角度が跳ばない */
.has-anim .vcard-3d.is-idle { animation: vcard-sway 7.5s ease-in-out -1.875s infinite; }

@keyframes vcard-sway {
  0%   { transform: rotateY(-10deg); }
  50%  { transform: rotateY(10deg); }
  100% { transform: rotateY(-10deg); }
}

/* the body of the card: a back plate plus a right side and a left side, so the
   left-right sway shows real thickness (12px) on both edges instead of a sub pixel edge */
.vcard-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #050506;
  transform: translateZ(-12px);
}

.vcard-3d::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 100%;
  background: #16161A;
  transform-origin: right center;
  transform: rotateY(-90deg);
}

/* 左の側面（右の側面 .vcard-3d::after と対）。光は左上からなので右より少し明るい */
.vcard-face::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 100%;
  background: #1C1C21;
  transform-origin: left center;
  transform: rotateY(90deg);
}

.vcard-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  /* 黒。ネオンのロゴを載せる（2026-09-26 白寄りのグレーから変更）。光は左上から */
  background: linear-gradient(146deg, #16161A 0%, #0B0B0D 44%, #050506 100%);
  color: #FFFFFF;
  transform-style: preserve-3d;
}

/* 面の上を斜めに走る弱い光。グラデーション1枚だけで、影は落とさない。
   幅を2倍にして background-position を揺らすと、傾きに合わせて光が動いて見える */
.vcard-face::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 66%, rgba(0, 0, 0, 0.25) 100%);
  background-size: 200% 100%;
  background-position: 0% 0;
  /* 縁の白い細線（発注者「0.25ポイントぐらいの白線」→「透明度50%ぐらいまで下げて」）。
     border の 0.25pt は使わない：Safari の3倍画面では 0px に丸められて線が消え、Chrome では
     1px に切り上がって3倍画面で3物理ピクセルの太さになる（2026-09-26 実測）。
     光の層（この ::after）の上に描くので、光で線が暗くならない。
     2026-10-03: 1物理ピクセルだと、カードが奥行きで傾いて動いている間に GPU が絵を伸縮して
     描き直す際、1画素が2画素にまたがる所と薄くなる所が交互にでき「ちぎれて二重」に見えた
     （実機のスマホで指摘）。2倍以上の画面では線を2物理ピクセルにし、その分だけ薄くする
     （太さ×濃さ＝見た目の重さは同じ） */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

@media (min-resolution: 2dppx) {
  .vcard-face::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
}
@media (min-resolution: 3dppx) {
  .vcard-face::after { box-shadow: inset 0 0 0 0.6667px rgba(255, 255, 255, 0.28); }
}
}

.has-anim .vcard-3d.is-idle .vcard-face::after { animation: vcard-sheen 7.5s ease-in-out -1.875s infinite; }

@keyframes vcard-sheen {
  0%   { background-position: 0% 0; }
  50%  { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .vcard-3d, .vcard-face::after { animation: none !important; }
}

.vcard-neon {
  position: relative;
  flex: 0 0 auto;
  height: 68%;
  aspect-ratio: 1320 / 2080;
  overflow: hidden;
}

/* FREE BOTOX のネオン（2026-09-26 Higgsfield で生成。ヒーローのロゴの TOKYO を FREE に
   置き換えて PARTY を外したもの。書体はロゴと同じ。黒地を透過・枠と同じ縦横比で
   切り出し済み）。ヒーローのロゴとは別の絵なので、枠いっぱいにそのまま置く */
.vcard-neon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vcard-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 380px) {
  .vcard-face { gap: 6px; padding: 12px; }
}

/* browsers without aspect-ratio (Safari before 15) would give the card no
   height at all. A fixed height is a better failure than an invisible card */
@supports not (aspect-ratio: 1 / 1) {
  .vcard { height: 240px; }
}

/* Instagram / WhatsApp · フッターと完了画面で同じものを使う。
   色は currentColor なので、白地の完了画面でも追加CSSなしで反転する */
.social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

/* outlined blocks everywhere they appear, footer and confirm screen alike:
   a 19px text row was too small a target (design review C, H-7) */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 10px 15px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.35s ease, color 0.35s ease;
}

.social-link:hover, .social-link:active { border-color: var(--ink); }

.social-ico { width: 20px; height: 20px; flex: none; }

.social-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* footer · the two channels are the last thing people can act on, so here they
   are outlined blocks with a lead line, not a quiet text row (発注者 2026-08-29
   「もっと目立つようにしていい」). The confirm screen keeps the quiet row. */
.foot-social { margin-top: 34px; }

.foot-social-lead {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink);
}


/* 完了画面側だけの器 · .confirm-lines の mt34 と .guest-block の pt26 の合成 */
.confirm-follow {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.confirm-follow-note { font-size: 13px; color: var(--ink-dim); }
.confirm-follow .social-row { margin-top: 16px; }

/* ============================================================
   PHOTO BANDS · full bleed clinic imagery
   ============================================================ */

.photo-band {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.photo-band video {
  display: block;
  width: 100%;
  height: min(64vw, 520px);
  object-fit: cover;
  transform: scale(1.14);
  will-change: transform;
}

/* text laid over the brand film */

.band-overlay {
  background: linear-gradient(to bottom, rgba(11, 11, 13, 0.10) 0%, rgba(11, 11, 13, 0.46) 60%, rgba(11, 11, 13, 0.62) 100%);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 13px;
  text-align: center;
  padding: 20px;
  background: rgba(11, 11, 13, 0.30);
  pointer-events: none;
}

.band-overline {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.band-word {
  font-weight: 600;
  font-size: clamp(27px, 7.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #FFFFFF;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}


/* ============================================================
   SITE HEADER · BIANCA wordmark bar · slides in after the hero
   ============================================================ */

.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: calc(52px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 15px 0 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(11, 11, 13, 0.74);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

/* pre-paint: boot.js parks the chrome off screen before main.js arrives */
.js-boot .site-head { transform: translateY(-101%); }
.js-boot .rsvp-bar { transform: translateY(101%); visibility: hidden; }

/* 2026-09-01: ネガ現像イントロは difference で下を透かすため、js-boot 除去〜
   js-head 付与の間にヘッダー/バーが反転して一瞬映る隙間があった。has-anim でも
   同じ退避を維持する（.js-head .*.is-on は詳細度で勝つのでスクロール後の出現は不変）。 */
.has-anim .site-head { transform: translateY(-101%); }
.has-anim .rsvp-bar { transform: translateY(101%); visibility: hidden; }

.js-head .site-head {
  transform: translateY(-101%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-head .site-head.is-on { transform: translateY(0); }

.site-head-logo { height: 13px; width: auto; display: block; }

.site-head-sep {
  width: 1px;
  height: 13px;
  background: var(--line-strong);
  flex: none;
}

.site-head-title {
  font-family: 'Archivo', var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

/* ============================================================
   RSVP BAR · fixed bottom CTA · mirrors the site header
   ============================================================ */

.rsvp-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: calc(54px + env(safe-area-inset-bottom));
  padding: 0 18px env(safe-area-inset-bottom);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(11, 11, 13, 0.74);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.js-head .rsvp-bar {
  transform: translateY(101%);
  /* off screen = out of the tab order and the a11y tree too */
  visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.55s;
}

.js-head .rsvp-bar.is-on {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.rsvp-bar-date {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
}

.rsvp-bar-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.rsvp-bar-arrow {
  position: relative;
  width: 26px;
  height: 1px;
  background: #D6BC94;
}

.rsvp-bar-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #D6BC94;
  border-right: 1px solid #D6BC94;
  transform: rotate(45deg);
  transform-origin: 100% 0;
}

/* ============================================================
   AMBIENT · slow violet gradient drifting behind the page
   ============================================================ */

.amb {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.amb i {
  position: absolute;
  display: block;
  width: 130vmax;
  height: 130vmax;
  will-change: transform;
}

.amb-a {
  top: -58vmax;
  right: -52vmax;
  background: radial-gradient(closest-side, rgba(123, 47, 214, 0.26), rgba(123, 47, 214, 0.09) 46%, transparent 72%);
}

.amb-b {
  bottom: -62vmax;
  left: -55vmax;
  background: radial-gradient(closest-side, rgba(161, 0, 255, 0.13), transparent 70%);
}

.has-anim .amb-a { animation: amb-drift-a 26s ease-in-out infinite alternate; }
.has-anim .amb-b { animation: amb-drift-b 34s ease-in-out infinite alternate; }

@keyframes amb-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-7vmax, 6vmax, 0) scale(1.12); }
}

@keyframes amb-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(6vmax, -5vmax, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .amb i { animation: none !important; }
}

/* ============================================================
   MOTION SAFETY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-line::after { animation: none; }
}
