/* ==========================================================================
   鍝堝伐澶т腑V鍚屽ソ浼?路 绔欑偣鏍峰紡
   Palette: #66CCFF / #00FFCC / #EE0000 / #0080FF / #006666 / #FFFF00
   ========================================================================== */

:root {
  --blue: #66ccff;
  --blue-soft: #eaf8ff;
  --blue-100: #d6f1ff;
  --blue-600: #2aa7e0;
  --blue-700: #0080ff;
  --blue-ink: #0069a8;
  --mint: #00ffcc;
  --mint-ink: #00705c;
  --red: #ee0000;
  --yellow: #ffff00;
  --teal-ink: #006666;

  --ink: #0b1b2b;
  --ink-2: #1f3a4d;
  --muted: #5e7688;
  --muted-2: #6f8c9e;

  --bg: #f6fbff;
  --surface: #ffffff;
  --line: #e1eff9;
  --line-strong: #c9e6f7;
  --dark: #062a33;
  --dark-2: #0a3a47;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 20px -12px rgba(6, 42, 51, 0.22);
  --shadow: 0 24px 60px -30px rgba(0, 102, 153, 0.35);

  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--blue);
  color: var(--dark);
}

:focus-visible {
  outline: 2px solid var(--blue-700);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 251, 255, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 36px -30px rgba(6, 42, 51, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  color: var(--dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 20px -12px rgba(0, 128, 255, 0.7);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-text small {
  margin-top: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--blue-ink);
  background: var(--blue-soft);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--ink);
}

.nav-cta {
  margin-left: 8px;
  height: 34px;
  padding: 0 16px;
  font-size: 12.5px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s;
}

.nav-toggle:hover {
  border-color: var(--blue);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Buttons / links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s,
    border-color 0.2s, box-shadow 0.2s;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.btn-primary {
  background: var(--blue);
  color: var(--dark);
  box-shadow: 0 12px 24px -14px rgba(0, 128, 255, 0.6);
}

.btn-primary:hover {
  background: var(--blue-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(0, 128, 255, 0.55);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover {
  background: #0b4656;
  transform: translateY(-2px);
}

.btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 12.5px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--blue-ink);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.link-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.link-more:hover {
  color: var(--blue-700);
  border-color: var(--blue);
}

.link-more:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 84px;
  background: linear-gradient(180deg, #effaff 0%, var(--bg) 72%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -30%;
  width: 62vw;
  height: 62vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 204, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -16%;
  bottom: -34%;
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.12), transparent 66%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(102, 204, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 204, 255, 0.13) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 15%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 15%, transparent 100%);
  opacity: 0.75;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--blue-ink);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.eyebrow-pill .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.55);
  animation: pulse 2.4s infinite;
}

.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(2.9rem, 5.6vw, 4.7rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero h1 .hl {
  display: inline-block;
  color: var(--blue-ink);
  background: linear-gradient(transparent 82%, rgba(102, 204, 255, 0.55) 82%);
  border-radius: 2px;
}

.hero-lede {
  max-width: 34em;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.9;
}

.hero-lede strong {
  color: var(--ink-2);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--muted-2);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-tags span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.hero-photo-wrap {
  position: relative;
  z-index: 1;
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 20px -18px -18px 20px;
  border-radius: 38px;
  background: linear-gradient(135deg, var(--blue-100), #fff 65%);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #fff;
  border-radius: 30px;
  background: var(--blue-soft);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  transform: scale(1.01);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(6, 42, 51, 0.38));
  pointer-events: none;
}

.photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(6, 42, 51, 0.52);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.photo-caption i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px -24px rgba(6, 42, 51, 0.45);
  font-size: 12px;
  font-weight: 700;
  animation: float 6s ease-in-out infinite;
}

.float-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.float-chip--tl {
  top: 22px;
  left: -14px;
}

.float-chip--br {
  right: -12px;
  bottom: 46px;
  animation-delay: -3s;
}

.float-chip--br .dot {
  background: var(--red);
}

.float-chip small {
  display: block;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
  padding: 26px 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stat {
  padding: 4px 20px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.stat:first-child {
  border-left: 0;
}

.stat-num {
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-num .suffix {
  margin-left: 2px;
  color: var(--blue-600);
  font-size: 0.62em;
}

.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.stat-en {
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 96px 0;
}

.section--tint {
  border-block: 1px solid #edf7fe;
  background: linear-gradient(180deg, #f2faff 0%, #f7fbff 100%);
}

.section--tight {
  padding-top: 40px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.section-head .sub {
  max-width: 46em;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   Work cards
   -------------------------------------------------------------------------- */

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.work-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid #fff;
  border-radius: 20px;
  background: var(--blue-soft);
  box-shadow: 0 16px 34px -26px rgba(6, 42, 51, 0.5);
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.work-card:hover .work-cover img {
  transform: scale(1.05);
}

.work-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 42, 51, 0.4));
  opacity: 0;
  transition: opacity 0.3s;
}

.work-card:hover .work-cover::after {
  opacity: 1;
}

.badge-type {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.badge-type[data-type="姝屾洸"] {
  color: var(--blue-ink);
}

.badge-type[data-type="PV"] {
  color: var(--mint-ink);
}

.badge-type[data-type="鎻掔敾"] {
  color: #8a6d00;
}

.badge-type[data-type="鍏朵粬"] {
  color: var(--muted);
}

.work-info {
  padding: 14px 4px 0;
}

.work-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
}

.work-arrow {
  flex: 0 0 auto;
  color: var(--blue-600);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s, transform 0.25s;
}

.work-arrow svg {
  width: 19px;
  height: 19px;
}

.work-card:hover .work-arrow {
  opacity: 1;
  transform: none;
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
}

.work-meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* --------------------------------------------------------------------------
   Event cards
   -------------------------------------------------------------------------- */

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.2s;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-100);
  box-shadow: var(--shadow);
}

.event-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--blue-soft);
}

.event-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.event-card:hover .event-cover img {
  transform: scale(1.04);
}

.event-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 42, 51, 0.06), transparent 40%);
}

.event-date {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  min-width: 58px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  text-align: center;
  line-height: 1;
}

.event-date .d {
  display: block;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.event-date .m {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.event-status {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.status-open {
  border-color: #b8f5e7;
  background: #e6fff9;
  color: var(--mint-ink);
}

.status-soon {
  border-color: #c9e9fa;
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.status-done {
  border-color: #e3ebf0;
  background: #f1f5f8;
  color: #7a8f9e;
}

.event-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.event-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.event-meta svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: var(--blue-600);
}

.event-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.event-type {
  color: var(--blue-ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s;
}

.event-link:hover {
  color: var(--blue-700);
}

.event-link svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Filters
   -------------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--ink);
  transform: translateY(-1px);
}

.filter-btn.is-active {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.filter-count {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 12.5px;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   About summary / collage
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 68px;
  align-items: center;
}

.about-collage {
  position: relative;
  padding: 0 34px 34px 0;
}

.about-collage .main {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-collage .small {
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1;
  border: 6px solid var(--bg);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.about-collage .stamp {
  position: absolute;
  left: -14px;
  top: 24px;
  z-index: 2;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--blue-ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  transform: rotate(-4deg);
}

.about-copy h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.about-copy > p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.feature-list {
  margin-top: 26px;
}

.feature {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--blue-100);
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-size: 15.5px;
  font-weight: 700;
}

.feature p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
  padding: 56px 60px;
  border-radius: 32px;
  background: linear-gradient(115deg, #66ccff 0%, #45bdf4 52%, #17e3c4 100%);
  color: var(--dark);
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cta-band p {
  max-width: 34em;
  margin-top: 8px;
  color: rgba(6, 42, 51, 0.72);
  font-size: 14px;
}

.cta-band .btn {
  flex: 0 0 auto;
}

.cta-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
}

.cta-ring.r1 {
  right: -70px;
  top: -110px;
  width: 300px;
  height: 300px;
}

.cta-ring.r2 {
  right: 60px;
  bottom: -150px;
  width: 260px;
  height: 260px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 0;
  background: #006666;
  color: #ddf1f8;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 1fr;
  gap: 44px;
  padding: 64px 0 44px;
}

.footer-brand .brand-mark {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.footer-brand .brand-text strong {
  color: #fff;
  font-size: 15px;
}

.footer-brand .brand-text small {
  color: #7fa9b7;
}

.footer-brand p {
  max-width: 30em;
  margin-top: 18px;
  color: #9fc3cf;
  font-size: 13px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #cbe7f0;
  font-size: 11.5px;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--blue);
  background: rgba(102, 204, 255, 0.12);
  color: #fff;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: #7fa9b7;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  display: block;
  padding: 4px 0;
  color: #cbe7f0;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col .muted {
  color: #7fa9b7;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94b8c5;
  font-size: 11.5px;
}

.footer-bottom .credit {
  max-width: 62em;
  color: #8fb3c0;
  line-height: 1.7;
}

.footer-bottom .credit a {
  color: #9fc3cf;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

body.page-404 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.page-404 main {
  display: flex;
  flex: 1;
}

body.page-404 .page-hero {
  width: 100%;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  border-bottom: 1px solid #edf7fe;
  background: linear-gradient(180deg, #eef9ff 0%, var(--bg) 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -180px;
  width: 480px;
  height: 480px;
  border: 1px solid var(--blue-100);
  border-radius: 50%;
  box-shadow: inset 0 0 0 60px rgba(102, 204, 255, 0.04);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 10%;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.14), transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 12px;
}

.breadcrumb a {
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--blue-700);
}

.breadcrumb .sep {
  color: var(--line-strong);
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.page-hero .lede {
  max-width: 48em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.page-hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.prose h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 30px 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.prose p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.95;
}

.prose strong {
  color: var(--ink-2);
  font-weight: 600;
}

.quote-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, #fff, var(--blue-soft));
  box-shadow: var(--shadow-sm);
}

.quote-card blockquote {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.9;
}

.quote-card blockquote::before {
  content: "鈥?;
  display: block;
  height: 28px;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 1;
}

.quote-card cite {
  display: block;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.06em;
}

.quote-card .mini-list {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
}

.quote-card .mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
}

.quote-card .mini-list b {
  color: var(--ink);
  font-weight: 700;
}

.timeline {
  position: relative;
  max-width: 760px;
  margin-top: 26px;
  padding-left: 30px;
}

.timeline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 64px;
  align-items: start;
}

.timeline-layout .timeline {
  max-width: none;
  margin-top: 0;
}

.timeline-aside {
  position: sticky;
  top: 104px;
}

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

.aside-note {
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.aside-note p {
  font-size: 14px;
  font-weight: 700;
}

.aside-note span {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--blue), rgba(102, 204, 255, 0.05));
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.timeline-year {
  color: var(--blue-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.timeline-item h3 {
  margin: 5px 0 5px;
  font-size: 17px;
  font-weight: 700;
}

.timeline-item p {
  color: var(--muted);
  font-size: 13.5px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.2s;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-100);
  box-shadow: var(--shadow-sm);
}

.value-card .num {
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.value-card h3 {
  margin: 14px 0 8px;
  font-size: 19px;
  font-weight: 800;
}

.value-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.value-card .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.value-card .icon svg {
  width: 22px;
  height: 22px;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dept-card {
  display: flex;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.3s;
}

.dept-card:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-sm);
}

.dept-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  border: 1px solid var(--blue-100);
  color: var(--blue-ink);
}

.dept-icon svg {
  width: 23px;
  height: 23px;
}

.dept-card h3 {
  font-size: 17px;
  font-weight: 800;
}

.dept-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.dept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.dept-tags span {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 10.5px;
  font-weight: 600;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-top: 18px;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 13.5px;
}

.check-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 4px;
  color: var(--mint-ink);
}

/* --------------------------------------------------------------------------
   Tools
   -------------------------------------------------------------------------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.tool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tool-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--blue-100);
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  color: var(--blue-ink);
}

.tool-icon svg {
  width: 23px;
  height: 23px;
}

.tool-card h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.tool-card .tool-sub {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.tool-desc {
  color: var(--muted);
  font-size: 13px;
}

.tag-soon {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1f5f8;
  color: #7a8f9e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.metronome {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

.bpm-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.bpm-display {
  min-width: 104px;
  color: var(--ink);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.bpm-display small {
  display: block;
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  flex: 1;
  min-width: 160px;
  border-radius: 999px;
  background: var(--blue-100);
  accent-color: var(--blue-700);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue-700);
  box-shadow: 0 2px 8px rgba(0, 128, 255, 0.45);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue-700);
  box-shadow: 0 2px 8px rgba(0, 128, 255, 0.45);
  cursor: pointer;
}

.beats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.beat-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #dceef7;
  box-shadow: inset 0 0 0 1px #c9e2ef;
  transition: background 0.08s, transform 0.08s;
}

.beat-dot.on {
  background: var(--blue-600);
  transform: scale(1.18);
}

.beat-dot.accent.on {
  background: var(--mint);
}

.metro-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.metro-note {
  color: var(--muted-2);
  font-size: 11.5px;
}

.calc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.calc-input {
  width: 120px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
}

.calc-input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.calc-result {
  padding: 12px 8px;
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  background: var(--blue-soft);
  text-align: center;
}

.calc-result b {
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.calc-result span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.tool-disabled {
  opacity: 0.62;
}

/* --------------------------------------------------------------------------
   Join page
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.step h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.step p {
  color: var(--muted);
  font-size: 13.5px;
}

.join-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.qr-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.qr-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px;
  border: 2px dashed var(--blue-100);
  border-radius: 20px;
  background: var(--blue-soft);
  font: inherit;
  color: inherit;
  cursor: zoom-in;
}

.qr-flag {
  position: absolute;
  right: 20px;
  top: 20px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff8cc;
  color: #7a5c00;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.qr-frame img {
  width: 100%;
  border-radius: 14px;
  cursor: zoom-in;
  transition: transform 0.3s var(--ease);
}

.qr-frame img:hover {
  transform: scale(1.02);
}

.qr-frame .zoom-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(6, 42, 51, 0.72);
  color: #fff;
  font-size: 10.5px;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.qr-frame .zoom-hint svg {
  width: 13px;
  height: 13px;
}

.qr-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 8px 4px;
}

.qr-caption strong {
  font-size: 14px;
  font-weight: 800;
}

.qr-caption span {
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

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

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.contact-row .label {
  color: var(--muted-2);
  font-size: 12px;
}

.contact-row .value {
  font-weight: 600;
}

.contact-row .value.pending {
  color: var(--muted-2);
  font-weight: 500;
}

.faq {
  max-width: 820px;
  margin-inline: auto;
}

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

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 4px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
}

.faq-q .plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), background 0.2s;
}

.faq-q .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-q .plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item.is-open .faq-q {
  color: var(--blue-ink);
}

.faq-a {
  height: 0;
  overflow: hidden;
  transition: height 0.3s var(--ease);
}

.faq-a p {
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   Reveal / modal / toast
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 25, 33, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5);
  animation: modal-in 0.25s var(--ease);
}

.modal-panel--qr {
  width: min(520px, 100%);
}

.modal-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--blue-soft);
}

.modal-panel--qr .modal-img {
  aspect-ratio: 1;
  object-fit: cover;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(6, 42, 51, 0.55);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--dark);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-body {
  padding: 26px 28px 28px;
}

.modal-kicker {
  color: var(--blue-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.modal-body h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}

.modal-body p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

.modal-extra {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--ink-2);
  font-size: 12.5px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 12.5px;
  box-shadow: 0 20px 50px -20px rgba(6, 42, 51, 0.7);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(0, 255, 204, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 204, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-inner {
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 5.6vw, 4rem);
  }

  .footer-main {
    grid-template-columns: 1.4fr 0.6fr 0.6fr 0.9fr;
    gap: 32px;
  }
}

@media (max-width: 960px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 84px;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgba(6, 42, 51, 0.4);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    background: var(--blue-soft);
    color: var(--blue-ink);
  }

  .nav-cta {
    margin: 8px 0 0;
    height: 44px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 0;
    width: min(640px, 100%);
    margin-inline: auto;
  }

  .float-chip--tl {
    left: 8px;
  }

  .float-chip--br {
    right: 8px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

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

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

  .about-grid,
  .join-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-collage {
    max-width: 520px;
    margin-inline: auto;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .timeline-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .timeline-aside {
    display: none;
  }

  .dept-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    height: 66px;
  }

  .brand-text strong {
    font-size: 14.5px;
  }

  .brand-text small {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 30px;
  }

  .hero {
    padding: 40px 0 64px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
    letter-spacing: -0.04em;
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions .btn {
    height: 46px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero-tags {
    display: none;
  }

  .stats {
    margin-top: 44px;
    padding: 20px 4px;
  }

  .stat {
    padding: 2px 10px;
  }

  .stat-num {
    font-size: 1.9rem;
  }

  .works-grid {
    gap: 16px;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 26px;
    border-radius: 26px;
  }

  .cta-band .btn {
    width: 100%;
  }

  .page-hero {
    padding: 48px 0 44px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 48px 0 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .filter-count {
    margin-left: 0;
    width: 100%;
  }

  .calc-results {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 32px;
  }

  .split {
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .eyebrow-pill {
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-label {
    font-size: 12px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .work-cover {
    aspect-ratio: 4 / 5;
  }

  .work-title {
    font-size: 15px;
  }

  .work-meta {
    font-size: 11.5px;
  }

  .float-chip {
    padding: 8px 11px;
    font-size: 11px;
  }

  .float-chip small {
    display: none;
  }

  .photo-caption {
    font-size: 10px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .tool-card {
    padding: 22px;
  }

  .bpm-display {
    font-size: 36px;
  }
}

@media (max-width: 380px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-cover {
    aspect-ratio: 1 / 1;
  }
}

/* --------------------------------------------------------------------------
   Homepage — reference layout
   -------------------------------------------------------------------------- */

.section--soft {
  background: #f7fbff;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 60px;
  background: linear-gradient(180deg, #e9f8ff 0%, #f3fbff 58%, #fbfdff 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  left: -14%;
  bottom: -42%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.13), transparent 68%);
  pointer-events: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -32%;
  width: 52vw;
  height: 52vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 204, 255, 0.2), transparent 68%);
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.home-hero-copy {
  position: relative;
  padding-left: 26px;
}

.home-hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 92px;
  border-radius: 4px;
  background: linear-gradient(180deg, #3ecbff 0%, #7dffd8 100%);
}

.home-hero h1 {
  font-size: clamp(2.45rem, 4.7vw, 4rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: #0b1b2b;
}

.home-hero .lede-main {
  margin-top: 18px;
  color: #334e60;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 500;
}

.home-hero .lede-sub {
  max-width: 30em;
  margin-top: 8px;
  color: #6f8c9e;
  font-size: 13.5px;
  line-height: 1.8;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.home-actions .link-more {
  border-bottom-color: transparent;
  font-size: 13px;
}

.home-actions .link-more:hover {
  border-bottom-color: var(--blue);
}

.home-hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid #fff;
  border-radius: 18px;
  background: var(--blue-soft);
  box-shadow: 0 30px 60px -34px rgba(0, 102, 153, 0.45);
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
}

.home-stats {
  padding: 40px 0 54px;
  background: #fff;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 4px 14px;
}

.stat-item b {
  position: relative;
  display: inline-block;
  padding: 0 2px 5px;
  color: #0080ff;
  font-size: clamp(2.2rem, 3.7vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.stat-item b::after {
  content: "";
  position: absolute;
  left: 1%;
  right: 1%;
  bottom: 0;
  height: 4px;
  border-radius: 4px;
  background: #f2ff5e;
}

.stat-item span {
  display: block;
  margin-top: 11px;
  color: #4b5563;
  font-size: 13.5px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6f1f8;
  border-radius: 18px;
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #d3ebf9;
  box-shadow: 0 24px 50px -30px rgba(0, 102, 153, 0.4);
}

.feature-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--blue-soft);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.feature-card:hover .feature-media img {
  transform: scale(1.04);
}

.feature-body {
  padding: 17px 20px 20px;
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}

.tag-type {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid #8be8d8;
  border-radius: 5px;
  background: #f4fffc;
  color: #00776a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tag-type[data-type="歌曲"] {
  border-color: #a9ddff;
  background: #f2faff;
  color: #0069a8;
}

.tag-type[data-type="PV"] {
  border-color: #9fe9dc;
  background: #f2fffb;
  color: #00776a;
}

.tag-type[data-type="插画"] {
  border-color: #ffe58a;
  background: #fffbe8;
  color: #7a5c00;
}

.tag-type[data-type="其他"] {
  border-color: #dce8ef;
  background: #f6f9fb;
  color: #5e7688;
}

.feature-credit {
  color: #6f8c9e;
  font-size: 12px;
}

.feature-body h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.feature-body p {
  margin-top: 6px;
  color: #5e7688;
  font-size: 13px;
  line-height: 1.75;
}

.events-grid--ref {
  grid-template-columns: repeat(3, 1fr);
}

.event-card--ref .event-status {
  left: 14px;
  right: auto;
}

.event-card .event-status {
  left: 14px;
  right: auto;
}

.event-card .event-date {
  display: none;
}

.event-card--ref .event-body {
  gap: 8px;
  padding: 17px 20px 19px;
}

.event-card--ref .event-title {
  font-size: 18px;
}

.event-desc {
  color: #5e7688;
  font-size: 13px;
  line-height: 1.75;
}

.event-card--ref .event-meta {
  margin-top: 1px;
}

.event-card--ref .event-foot {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #f0f7fc;
}

.about-ref {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about-ref-img {
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 26px 56px -34px rgba(0, 102, 153, 0.45);
}

.about-ref-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.about-ref-copy p {
  margin-top: 12px;
  color: #5e7688;
  font-size: 14.5px;
  line-height: 1.9;
}

.about-ref-copy .btn {
  margin-top: 22px;
}

.footer-ref {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.75fr;
  gap: 48px;
  padding: 56px 0 40px;
}

.footer-brand-block h3 {
  margin-top: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.footer-brand-block p {
  max-width: 28em;
  margin-top: 8px;
  color: #bfe0e0;
  font-size: 13px;
  line-height: 1.8;
}

.footer-ref .footer-col h4 {
  color: #9fd0d0;
}

.footer-ref .footer-col a {
  padding: 4px 0;
  color: #d9eeee;
  font-size: 13px;
}

.footer-ref .footer-col a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-icons a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 960px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-hero-media {
    max-width: 640px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

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

  .about-ref {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-ref {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 36px 0 44px;
  }

  .home-hero-copy {
    padding-left: 20px;
  }

  .home-hero-copy::before {
    top: 4px;
    height: 66px;
  }

  .home-hero h1 {
    font-size: 2.3rem;
  }

  .home-actions {
    gap: 12px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid,
  .events-grid--ref {
    grid-template-columns: 1fr;
  }

  .footer-ref {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}


/* --------------------------------------------------------------------------
   Homepage side quest
   -------------------------------------------------------------------------- */

.side-quest {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  padding: 30px 34px;
  border: 1px solid rgba(126, 232, 200, 0.24);
  border-radius: 22px;
  background: radial-gradient(120% 180% at 0% 0%, rgba(126, 232, 200, 0.16), transparent 45%),
    radial-gradient(110% 160% at 100% 100%, rgba(232, 200, 122, 0.14), transparent 50%),
    #0b1430;
  color: #eaf2ff;
  transition: transform 0.3s var(--ease), border-color 0.25s, box-shadow 0.3s;
}

.side-quest::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 20%, rgba(255, 255, 255, 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 45% 75%, rgba(232, 200, 122, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 62%, rgba(126, 232, 200, 0.6) 50%, transparent 51%);
  background-size: 220px 220px, 300px 300px, 260px 260px, 340px 340px;
}

.side-quest:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 232, 200, 0.5);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.7);
}

.sq-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border: 1px solid rgba(126, 232, 200, 0.3);
  border-radius: 16px;
  background: rgba(126, 232, 200, 0.1);
  color: #7ee8c8;
  font-size: 22px;
}

.sq-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.sq-kicker {
  color: #7ee8c8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.sq-copy h2 {
  margin: 4px 0 4px;
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.35;
}

.sq-copy p {
  color: #a9bdd6;
  font-size: 13px;
  line-height: 1.75;
}

.sq-go {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: #7ee8c8;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.sq-go svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.side-quest:hover .sq-go svg {
  transform: translateX(4px);
}

.sq-orbit {
  position: absolute;
  right: -40px;
  top: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(232, 200, 122, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.sq-orbit::after {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px dashed rgba(126, 232, 200, 0.18);
  border-radius: 50%;
}

@media (max-width: 640px) {
  .side-quest {
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px;
  }

  .sq-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .sq-go {
    width: 100%;
    margin-left: 0;
    padding-top: 2px;
  }
}
