/* ============================================================
   Feelcerca Official Site — 2026 redesign
   Single stylesheet. Dark, immersive, game-studio tone.
   Design tokens first, then reset, layout, components, pages.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg:        #0b0f16;
  --bg-2:      #0e131d;
  --panel:     #131a27;
  --panel-2:   #1a2333;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  /* Ink */
  --ink:       #eef2f8;
  --ink-soft:  #b3bdce;
  --ink-mute:  #7b8598;

  /* Brand */
  --brand:      #33a1e0;
  --brand-lite: #5cc0f5;
  --brand-deep: #1c5f86;
  --gold:       #ffce4d;
  --magenta:    #ff5c8a;

  /* Effects */
  --radius:    14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow:    0 18px 50px -18px rgba(0, 0, 0, .65);
  --shadow-sm: 0 6px 20px -8px rgba(0, 0, 0, .6);
  --ring:      0 0 0 3px rgba(51, 161, 224, .45);

  /* Layout */
  --maxw:      1180px;
  --gutter:    clamp(20px, 5vw, 56px);
  --header-h:  68px;

  /* Type */
  --font-jp:      "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-display: "Outfit", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  overflow-x: hidden;
}

body {
  min-height: 100%;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient background glow — fixed, non-interactive */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 15% 0%,  rgba(51, 161, 224, .18), transparent 70%),
    radial-gradient(50% 40% at 100% 10%, rgba(255, 92, 138, .10), transparent 70%),
    radial-gradient(70% 60% at 50% 100%, rgba(28, 95, 134, .16), transparent 70%),
    var(--bg);
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: .01em;
}

p { text-wrap: pretty; }

button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

::selection { background: rgba(51, 161, 224, .35); color: #fff; }

/* ---------- Utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-lite);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
}
.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin-top: 14px;
  letter-spacing: .02em;
}
.section-lead {
  margin-top: 14px;
  max-width: 60ch;
  color: var(--ink-soft);
}
.section-head.center .section-lead { margin-inline: auto; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--brand);
  --_fg: #04121d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  background: var(--_bg);
  color: var(--_fg);
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(51, 161, 224, .6); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --_bg: transparent;
  --_fg: var(--ink);
  border-color: var(--line-2);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: none; border-color: var(--brand); }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn-arrow { transition: transform .2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 15, 22, .55);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(9, 12, 18, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 32px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 8px 12px;
  font-size: .9rem;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color .18s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-left: 10px; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  position: relative;
  z-index: 120;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateX(-50%) rotate(45deg); top: 0; }
body.nav-open .nav-toggle span::after  { transform: translateX(-50%) rotate(-45deg); top: 0; }

/* ---------- Mobile nav panel ---------- */
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 4px;
    padding: 80px var(--gutter) 40px;
    margin: 0;
    background: rgba(9, 12, 18, .96);
    backdrop-filter: blur(16px);
    transform: translateY(-100%);
    transition: transform .42s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav a {
    padding: 16px 8px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav a::after { display: none; }
  .nav .btn { margin: 20px 0 0; align-self: flex-start; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 104px);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.7rem);
  line-height: 1.16;
  letter-spacing: .02em;
}
.hero-copy h1 .accent {
  background: linear-gradient(100deg, var(--brand-lite), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--ink-mute);
}
.hero-lead { margin-top: 18px; max-width: 46ch; }
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero showcase / carousel */
.showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.showcase-track { position: absolute; inset: 0; }
.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.showcase-slide.is-active { opacity: 1; transform: scale(1); }
.showcase-slide img { width: 100%; height: 100%; object-fit: cover; }
.showcase-slide .tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  color: #04121d;
  background: var(--gold);
  border-radius: var(--radius-pill);
}
.showcase-dots {
  position: absolute;
  right: 14px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}
.showcase-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transition: background .2s, width .2s;
}
.showcase-dots button.is-active { background: #fff; width: 22px; border-radius: 4px; }
.showcase-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(4, 8, 14, .5);
  border: 1px solid var(--line-2);
  color: #fff;
  opacity: 0;
  transition: opacity .25s var(--ease), background .2s;
}
.showcase:hover .showcase-nav { opacity: 1; }
.showcase-nav:hover { background: rgba(4, 8, 14, .8); }
.showcase-nav--prev { left: 12px; }
.showcase-nav--next { right: 12px; }

.hero-dragon {
  position: absolute;
  right: clamp(6px, 2.5vw, 32px);
  bottom: clamp(8px, 2.5vw, 24px);
  width: clamp(84px, 11vw, 148px);
  opacity: .92;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .4));
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translateY(2px) rotate(-2deg); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}

/* Marquee of platforms / trust line */
.hero-badges {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  color: var(--ink-mute);
  font-size: .82rem;
  letter-spacing: .04em;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-dragon {
    width: clamp(68px, 18vw, 104px);
    right: auto;
    left: clamp(4px, 3vw, 14px);
    bottom: 6px;
  }
}

/* ---------- Game cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.game-card__art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.game-card__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.game-card:hover .game-card__art img { transform: scale(1.05); }
.game-card__status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .06em;
  border-radius: var(--radius-pill);
  background: rgba(4, 8, 14, .72);
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.game-card__status--live { background: var(--brand); color: #04121d; border-color: transparent; }
.game-card__status--soon { background: var(--gold); color: #04121d; border-color: transparent; }
.game-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  flex: 1;
}
.game-card__body h3 { font-size: 1.18rem; }
.game-card__en {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.game-card__desc { font-size: .92rem; color: var(--ink-soft); flex: 1; }
.game-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chip {
  padding: 4px 11px;
  font-size: .74rem;
  letter-spacing: .03em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
}
.game-card__links {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* ---------- News ---------- */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  padding: 18px 4px;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item time {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .05em;
  color: var(--brand-lite);
  white-space: nowrap;
}
.news-item p { font-size: .94rem; color: var(--ink-soft); }
@media (max-width: 640px) {
  .news-item { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Music rows ---------- */
.music-row {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: clamp(20px, 4vw, 48px);
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
  align-items: start;
}
.music-row:first-of-type { border-top: 0; }
.music-row h3 { font-size: 1.35rem; margin-bottom: 12px; }
.music-row .meta {
  margin-top: 14px;
  font-size: .84rem;
  color: var(--ink-mute);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.music-row iframe { border: 0; border-radius: 12px; width: 100%; }
@media (max-width: 820px) { .music-row { grid-template-columns: 1fr; } }

/* ---------- Service items ---------- */
.service {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding-block: clamp(30px, 4.5vw, 52px);
  border-top: 1px solid var(--line);
  align-items: center;
}
.service:nth-child(even) { direction: rtl; }
.service:nth-child(even) > * { direction: ltr; }
.service:first-of-type { border-top: 0; }
.service__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.service__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service h3 { font-size: 1.3rem; margin-bottom: 6px; }
.service .kicker { color: var(--brand-lite); font-size: .82rem; letter-spacing: .04em; margin-bottom: 12px; }
.service p + p { margin-top: 12px; }
.service .btn { margin-top: 18px; }
@media (max-width: 760px) {
  .service, .service:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 104px) clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: .03em;
}
.page-hero .en {
  display: block;
  margin-top: 10px;
  font-size: .9rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-lite);
}
.page-hero p { margin-top: 16px; max-width: 60ch; }
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: .8rem;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--ink-soft); }

/* ---------- Prose / rich text ---------- */
.prose { max-width: 44rem; margin-inline: auto; }
.prose p { margin-bottom: 1.4rem; color: var(--ink-soft); }
.prose p strong { color: var(--ink); font-weight: 700; }
.prose h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 2.4rem 0 1rem;
  color: var(--ink);
}
.prose .lead { font-size: 1.08rem; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1.4rem; }
.prose li { margin-bottom: .5rem; }
.prose a.link { color: var(--brand-lite); text-decoration: underline; text-underline-offset: 3px; }
.prose a.link:hover { color: var(--brand); }

/* ---------- Link list (press kit etc.) ---------- */
.link-list {
  max-width: 44rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 500;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.link-list a:hover {
  transform: translateX(4px);
  border-color: var(--brand);
  background: rgba(51, 161, 224, .08);
}
.link-list a::after { content: "→"; color: var(--brand-lite); }

/* ---------- Press kit ---------- */
.pk-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 22px;
}
.pk-facts div {
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--panel);
  font-size: .82rem;
  line-height: 1.5;
}
.pk-facts b {
  display: block;
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-lite);
  margin-bottom: 2px;
}
.pk-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.pk-block { max-width: 46rem; margin-inline: auto; }
.pk-block + .pk-block { margin-top: clamp(48px, 7vw, 88px); }
.pk-block > h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 20px;
}
.pk-block > h2 .en {
  font-family: var(--font-display);
  font-size: .55em;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: 10px;
}
.pk-prose p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.pk-prose p strong { color: var(--ink); }
a.pk-inline { color: var(--brand-lite); text-underline-offset: 3px; }
a.pk-inline:hover { color: var(--brand); text-decoration: underline; }

.releases { display: flex; flex-direction: column; gap: 10px; }
.releases div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.releases div:last-child { border-bottom: 1px solid var(--line); }
.releases b { font-family: var(--font-display); color: var(--ink); }
.releases time { color: var(--brand-lite); font-size: .82rem; font-family: var(--font-display); }
.releases span { color: var(--ink-mute); font-size: .85rem; }

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.swatch {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.swatch i {
  display: block;
  height: 68px;
}
.swatch span {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--ink);
}
.swatch span small { display: block; color: var(--ink-mute); font-size: .9em; }

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.asset {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.asset:hover { transform: translateY(-3px); border-color: var(--brand); }
.asset img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-2);
}
.asset img.contain { object-fit: contain; padding: 14px; }
.asset span {
  display: block;
  padding: 10px 12px;
  font-size: .78rem;
  color: var(--ink-soft);
}
.asset span::after { content: " ↓"; color: var(--brand-lite); }

.people { display: flex; flex-direction: column; gap: 4px; }
.people div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.people div:last-child { border-bottom: 1px solid var(--line); }
.people b { color: var(--ink); font-family: var(--font-display); }
.people span { color: var(--ink-mute); font-size: .86rem; }
.people a { color: var(--brand-lite); font-size: .82rem; }
.people a:hover { color: var(--brand); }

/* ---------- Centered message state (thanks / 404 / 50x) ---------- */
.state {
  min-height: 52vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 18px;
  padding-block: clamp(60px, 12vw, 140px);
}
.state h1 { font-size: clamp(2rem, 6vw, 3rem); }
.state p { max-width: 44ch; margin-inline: auto; color: var(--ink-soft); }
.state .btn { justify-self: center; margin-top: 10px; }
.state .code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 14vw, 8rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--brand-lite), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Data table (company info) ---------- */
.data-table {
  width: 100%;
  max-width: 46rem;
  margin-inline: auto;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 18px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  width: 32%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-lite);
}
.data-table td { color: var(--ink); }
@media (max-width: 560px) {
  .data-table th, .data-table td { display: block; width: 100%; padding: 10px 0; border: 0; }
  .data-table td { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
}

/* ---------- Forms ---------- */
.form {
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.field .note { color: var(--magenta); font-size: .78rem; font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(51, 161, 224, .25);
}
.field textarea { resize: vertical; min-height: 160px; }
.form .btn { align-self: flex-start; border: 0; }

/* ---------- SNS row ---------- */
.sns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.sns a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .03em;
  transition: transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.sns a:hover {
  transform: translateY(-2px);
  color: var(--ink);
  border-color: var(--brand);
  background: rgba(51, 161, 224, .1);
}
.sns img { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(60px, 9vw, 120px);
  padding-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(4, 8, 14, .6));
  overflow: hidden;
}
.site-footer .wrap { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand img { height: 40px; }
.footer-brand p { font-size: .88rem; color: var(--ink-mute); max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: .9rem;
  color: var(--ink-soft);
  transition: color .18s var(--ease);
}
.footer-col a:hover { color: var(--brand-lite); }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px);
  padding-block: 24px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--ink-mute);
}
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--ink-soft); }
.footer-watermark {
  position: absolute;
  right: -4%;
  bottom: -34%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 22vw, 20rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: rgba(255, 255, 255, .022);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.trademarks {
  margin-top: 28px;
  font-size: .72rem;
  line-height: 1.7;
  color: var(--ink-mute);
}
.trademarks summary {
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: .04em;
  color: var(--ink-mute);
  list-style: none;
}
.trademarks summary::-webkit-details-marker { display: none; }
.trademarks summary::before { content: "▸ "; }
.trademarks[open] summary::before { content: "▾ "; }
.trademarks p { margin-top: 10px; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--brand); color: #04121d; }

/* ---------- Scroll reveal (only when JS is active) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
