:root {
  --void: #0b0705;
  --panel: #17100a;
  --panel-line: #2a1d10;
  --brand: #f15a0c;
  --brand-hi: #ff8a3d;
  --brand-deep: #b53d05;
  --bone: #f3ebdd;
  --bone-dim: #a89984;
  --taupe: #6b5c48;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--void);
  color: var(--bone);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Background texture: subtle turbulence/woodgrain via layered radial noise */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    repeating-linear-gradient(115deg, rgba(241,90,12,0.03) 0px, rgba(241,90,12,0.03) 2px, transparent 2px, transparent 6px),
    repeating-linear-gradient(25deg, rgba(255,138,61,0.02) 0px, rgba(255,138,61,0.02) 1px, transparent 1px, transparent 8px);
  mix-blend-mode: screen;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.75) 100%);
}

.dragon-line {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.dragon-line--a { z-index: 2; }
.dragon-eye {
  fill: var(--brand-hi);
  filter: drop-shadow(0 0 4px var(--brand-hi));
}

/* Header */
.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  gap: 24px;
  flex-wrap: wrap;
}

.hanko { width: 44px; height: 44px; opacity: 0.9; }
.hanko svg { width: 100%; height: 100%; }
.hanko-kanji {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 34px;
  fill: var(--brand);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-lockup img {
  height: 40px;
  width: auto;
  display: block;
}

.primary-nav {
  display: flex;
  gap: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.primary-nav a {
  color: var(--bone-dim);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--brand);
  border-color: var(--brand);
}

.tag-nav { display: flex; gap: 18px; }

@media (max-width: 760px) {
  .site-header { justify-content: center; text-align: center; }
  .primary-nav { order: 3; width: 100%; justify-content: center; gap: 20px; flex-wrap: wrap; }
  .tag-nav { display: none; }
}

.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  display: inline-block;
  animation: pulse 1.8s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Tategaki margin text */
.tategaki {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5em;
  color: var(--taupe);
  opacity: 0.5;
  z-index: 2;
  user-select: none;
}
.tategaki--left { left: 24px; }
.tategaki--right { right: 24px; }

@media (max-width: 900px) {
  .tategaki { display: none; }
}

/* Main stage */
.stage {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 28px;
}

.error-tag {
  color: var(--brand);
  border: 1px solid var(--panel-line);
  padding: 6px 14px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: rgba(241,90,12,0.05);
}

.hero-mark {
  max-width: min(70vw, 460px);
  filter: drop-shadow(0 0 40px rgba(241,90,12,0.25));
}

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

.lede {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone-dim);
  max-width: 480px;
  margin: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--void);
  background: linear-gradient(135deg, var(--brand-hi), var(--brand));
  padding: 16px 32px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 0 24px rgba(241,90,12,0.35);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cta:hover {
  box-shadow: 0 0 40px rgba(255,138,61,0.55);
  transform: translateY(-2px);
}

.sub-tag {
  color: var(--taupe);
  border: none;
  background: none;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 3;
  padding: 64px 40px 0;
  border-top: 1px solid var(--panel-line);
  background: linear-gradient(180deg, transparent 0%, rgba(20, 12, 6, 0.6) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr 1.3fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--bone-dim);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 0 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--panel-line);
  color: var(--bone-dim);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-link:hover {
  border-color: var(--brand);
  color: var(--brand-hi);
  box-shadow: 0 0 16px rgba(241,90,12,0.2);
}

.footer-col-title {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--bone-dim);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--bone);
}

.footer-newsletter-sub {
  font-size: 13px;
  color: var(--bone-dim);
  line-height: 1.6;
  margin: 0 0 16px;
}

.footer-newsletter-input-row {
  display: flex;
  border-bottom: 1px solid var(--panel-line);
  transition: border-color 0.2s ease;
}

.footer-newsletter-input-row:focus-within {
  border-color: var(--brand);
}

.footer-newsletter-input-row input {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--bone);
}

.footer-newsletter-input-row input:focus {
  outline: none;
}

.footer-newsletter-input-row button {
  background: none;
  border: none;
  color: var(--brand-hi);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-newsletter-input-row button:hover {
  transform: translateX(3px);
}

.footer-newsletter-input-row button:disabled {
  opacity: 0.5;
  cursor: default;
}

.footer-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.footer-newsletter-status {
  font-size: 12px;
  margin: 10px 0 0;
  min-height: 14px;
  color: var(--bone-dim);
}

.footer-newsletter-status--ok { color: #7fd88f; }
.footer-newsletter-status--error { color: #e0685a; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--panel-line);
  font-size: 11px;
  color: var(--taupe);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}

.footer-jp {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--bone-dim);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .site-header { padding: 20px; }
  .site-footer { padding: 48px 20px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .tag-nav { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
}

/* ---- Interior page layout ---- */

.page-hero {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 90px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.page-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 9vw, 96px);
  letter-spacing: 0.02em;
  color: var(--bone);
  text-shadow: 0 0 40px rgba(241,90,12,0.25);
  margin: 0;
  line-height: 0.95;
}

.page-title .accent, .cta-banner-title .accent { color: var(--brand); }

.page-sub {
  font-family: 'Inter', sans-serif;
  color: var(--bone-dim);
  max-width: 560px;
  margin: 0;
  line-height: 1.6;
}

.section {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 32px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--panel-line);
  padding-bottom: 18px;
  flex-wrap: wrap;
}

.section-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0;
  color: var(--bone);
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* Game / roster cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  padding: 26px 24px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.card--game {
  overflow: hidden;
  min-height: 260px;
  justify-content: flex-end;
  background: linear-gradient(200deg, #1c120a 0%, var(--void) 75%);
}

.card-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.22;
  filter: grayscale(0.6) contrast(1.05) blur(1.5px);
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.6s ease;
  pointer-events: none;
}

.card--game::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 6, 3, 0.35) 0%, rgba(10, 6, 3, 0.55) 60%, var(--void) 100%);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.card--game:hover .card-art {
  opacity: 0.85;
  filter: grayscale(0) contrast(1.05) blur(0);
  transform: scale(1.04);
}

.card--game:hover::before {
  opacity: 0.6;
}

.card--game .card-game,
.card--game .card-title,
.card--game .card-desc,
.card--game .card-status {
  position: relative;
  z-index: 1;
}

.card-game {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand);
}

.card-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 24px;
  margin: 0;
  color: var(--bone);
}

.card-desc {
  font-size: 14px;
  color: var(--bone-dim);
  line-height: 1.6;
  margin: 0;
}

.card-status {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  border: 1px solid var(--panel-line);
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Sponsors */
.sponsor-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  overflow: hidden;
  transition: border-color 0.2s ease;
  margin-bottom: 20px;
}

.sponsor-feature:last-child { margin-bottom: 0; }
.sponsor-feature:hover { border-color: var(--brand); }

.sponsor-feature-logo {
  background: radial-gradient(circle at 50% 50%, #1e140c 0%, var(--void) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  min-height: 260px;
  position: relative;
}

.sponsor-feature-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.5);
  pointer-events: none;
}

.sponsor-feature-logo img {
  max-width: 62%;
  max-height: 150px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 22px rgba(241,90,12,0.12));
}

.sponsor-feature-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.sponsor-feature--reverse .sponsor-feature-logo { order: 2; }
.sponsor-feature--reverse .sponsor-feature-body { order: 1; }

.sponsor-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand);
}

.sponsor-name {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  margin: 0;
  color: var(--bone);
}

.sponsor-desc {
  font-size: 14px;
  color: var(--bone-dim);
  line-height: 1.6;
  margin: 0;
}

.sponsor-perks {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sponsor-perks li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--bone-dim);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.sponsor-perks li::before {
  content: "▸";
  color: var(--brand);
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .sponsor-feature,
  .sponsor-feature--reverse { grid-template-columns: 1fr; }
  .sponsor-feature--reverse .sponsor-feature-logo,
  .sponsor-feature--reverse .sponsor-feature-body { order: initial; }
}

.sponsor-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.sponsor-strip-item {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 28px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sponsor-strip-item:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.sponsor-strip-item img {
  max-height: 44px;
  max-width: 80%;
  width: auto;
  object-fit: contain;
}

/* Sponsors page: stat tiles + CTA banner */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.stat-tile {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  padding: 28px 24px;
}

.stat-number {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 40px;
  color: var(--brand);
  margin: 0;
  line-height: 1;
}

.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-top: 10px;
}

.cta-banner {
  background: linear-gradient(160deg, var(--panel) 0%, #0b0705 100%);
  border: 1px solid var(--panel-line);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  padding: 56px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-banner-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 4vw, 38px);
  margin: 0;
  color: var(--bone);
}

.cta-banner-desc {
  color: var(--bone-dim);
  max-width: 520px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Roster page: division blocks */
.division {
  margin-bottom: 64px;
}

.division-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.division-game {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.5vw, 34px);
  color: var(--bone);
  margin: 0;
}

/* Roster page: Global Presence map */
.world-map {
  position: relative;
  aspect-ratio: 360 / 133;
  background: linear-gradient(200deg, #1c120a 0%, var(--void) 75%);
  border: 1px solid var(--panel-line);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  overflow: hidden;
}

.world-map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.world-map-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.world-map-kanji {
  position: absolute;
  bottom: 6px;
  right: 20px;
  font-size: 72px;
  opacity: 0.05;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  z-index: 2;
}

.map-pin-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-hi);
  box-shadow: 0 0 0 3px rgba(241, 90, 12, 0.25);
  transition: background 0.2s ease;
}

.map-pin-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  opacity: 0.6;
  animation: mapPinPulse 2.4s ease-out infinite;
}

@keyframes mapPinPulse {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.map-pin-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  white-space: nowrap;
  padding: 3px 7px;
  background: rgba(10, 6, 3, 0.75);
  border: 1px solid var(--panel-line);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.map-pin:hover .map-pin-label {
  color: var(--brand-hi);
  border-color: var(--brand);
}

.map-pin:hover .map-pin-dot {
  background: #fff;
}

.world-map-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .world-map-foot { flex-direction: column; align-items: flex-start; }
}

/* Roster page: Vitality-style hover-expand team panels */
.teams-panel-row {
  display: flex;
  gap: 4px;
  min-height: 560px;
}

.teams-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(200deg, #1c120a 0%, var(--void) 75%);
  border: 1px solid var(--panel-line);
  transition: flex-grow 0.45s cubic-bezier(0.4, 0.1, 0.2, 1), border-color 0.3s ease;
}

.teams-panel-row:hover .teams-panel { flex-grow: 1; }
.teams-panel-row .teams-panel:hover { flex-grow: 2.4; border-color: var(--brand); }

.teams-panel-crest {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.55;
  filter: grayscale(0.45) contrast(1.05);
  transition: opacity 0.45s ease, transform 0.6s ease, filter 0.45s ease;
  pointer-events: none;
}

.teams-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 6, 3, 0.55) 0%, rgba(10, 6, 3, 0.7) 55%, var(--void) 100%);
  pointer-events: none;
  transition: background 0.45s ease;
}

.teams-panel:hover::before {
  background: linear-gradient(180deg, rgba(10, 6, 3, 0.15) 0%, rgba(10, 6, 3, 0.55) 55%, var(--void) 100%);
}

.teams-panel:hover .teams-panel-crest {
  opacity: 0.9;
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.04);
}

.teams-panel-kanji {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 46px;
  font-weight: 900;
  color: var(--panel-line);
  opacity: 0.7;
  line-height: 1;
  pointer-events: none;
}

.teams-panel-num {
  position: relative;
  z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--brand);
  margin-bottom: auto;
}

.teams-panel-body {
  position: relative;
  z-index: 1;
}

.teams-panel-name {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--bone);
  margin: 0 0 8px;
  line-height: 1.05;
  writing-mode: horizontal-tb;
}

.teams-panel-desc {
  font-size: 12.5px;
  color: var(--bone-dim);
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.teams-panel:hover .teams-panel-desc {
  max-height: 100px;
  opacity: 1;
  margin-top: 8px;
}

.teams-panel-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-hi);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.teams-panel:hover .teams-panel-cta {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .teams-panel-row { flex-direction: column; min-height: 0; }
  .teams-panel { min-height: 160px; flex: none !important; }
  .teams-panel-desc, .teams-panel-cta { max-height: none; opacity: 1; margin-top: 8px; transform: none; }
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.player {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  padding: 18px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.player-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--taupe);
  letter-spacing: 0.2em;
}

.player-name {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  color: var(--bone);
  margin: 4px 0 0;
}

.player-role {
  font-size: 13px;
  color: var(--bone-dim);
  margin-top: 6px;
}

/* Team page: photo-first player cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.team-player {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.team-player:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.team-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--panel) 0%, #0b0705 100%);
  border-bottom: 1px solid var(--panel-line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-photo:not(:has(img))::before {
  content: "";
  width: 56px;
  height: 56px;
  border: 1.5px dashed var(--panel-line);
  border-radius: 50%;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.15) contrast(1.05);
}

.team-photo-label {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
}

.team-body {
  padding: 16px 18px 20px;
}

.team-name {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  color: var(--bone);
  margin: 0;
  word-break: break-word;
}

.team-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
  margin-top: 6px;
}

/* Flip cards */
.flip-card {
  position: relative;
  aspect-ratio: 3 / 4.35;
  perspective: 1200px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner,
.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.flip-card:hover .flip-face { border-color: var(--brand); }

.flip-face--front { display: flex; flex-direction: column; }
.flip-face--front .team-photo { flex: 1; aspect-ratio: auto; min-height: 0; }
.flip-face--front .team-body { flex-shrink: 0; }

.flip-face--back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, var(--brand-hi) 0%, var(--brand) 55%, var(--brand-deep) 100%);
  border-color: var(--brand-deep);
  padding: 20px 18px;
  justify-content: center;
  gap: 4px;
}

.flip-stat-name {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 19px;
  color: var(--void);
  margin: 0 0 10px;
}

.flip-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(11, 7, 5, 0.2);
}

.flip-stat-row:last-of-type { border-bottom: none; }

.flip-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(11, 7, 5, 0.75);
  text-transform: uppercase;
}

.flip-stat-value {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--void);
}

.flip-tagline {
  margin-top: 12px;
  background: rgba(11, 7, 5, 0.15);
  padding: 9px 10px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--void);
}

.flip-tagline strong {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  margin-bottom: 3px;
  color: rgba(11, 7, 5, 0.75);
}

.flip-hint {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-dim);
  background: rgba(11, 7, 5, 0.55);
  padding: 3px 7px;
  pointer-events: none;
}

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
}

.schedule-table th {
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  padding: 12px 16px;
  border-bottom: 1px solid var(--panel-line);
}

.schedule-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--panel-line);
  color: var(--bone-dim);
  font-size: 14px;
}

.schedule-table tr:hover td {
  color: var(--bone);
}

.schedule-table .match-game {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.schedule-table .match-opponent {
  color: var(--bone);
  font-weight: 500;
}

.status-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--panel-line);
}

.status-pill.is-live { color: var(--brand); border-color: var(--brand); }
.status-pill.is-upcoming { color: var(--bone-dim); }
.status-pill.is-win { color: #7fbf6d; }
.status-pill.is-loss { color: #c85a5a; }

/* Match carousels */
.match-row { margin-bottom: 48px; }
.match-row:last-child { margin-bottom: 0; }

.match-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.match-row-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 12px;
}

.match-row-title .dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  display: inline-block;
}

.match-row-nav {
  display: flex;
  gap: 8px;
}

.match-nav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--panel-line);
  background: transparent;
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.match-nav-btn:hover {
  border-color: var(--brand);
  color: var(--brand-hi);
}

.match-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 12px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--panel-line) transparent;
}

.match-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.match-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.match-card-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.match-card-tags .match-game { color: var(--brand); }
.match-card-tags .match-type { color: var(--taupe); }

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.match-team-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--void);
  border: 1px solid var(--panel-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  color: var(--bone-dim);
  overflow: hidden;
}

.match-team-badge img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.match-team-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--bone-dim);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.match-score {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: var(--bone);
  padding: 0 6px;
  flex-shrink: 0;
}

.match-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--taupe);
  border-top: 1px solid var(--panel-line);
  padding-top: 14px;
}

/* Store grid */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.product {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-image {
  aspect-ratio: 1;
  background: linear-gradient(160deg, var(--panel) 0%, #0b0705 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--panel-line);
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 50%;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(241,90,12,0.2));
}

.product-image.is-photo {
  aspect-ratio: 3 / 4;
}

.product-image.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
}

.product-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
}

.product-name {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  margin: 0;
  color: var(--bone);
}

.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.product-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--brand-hi);
}

.product-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--brand);
  border: none;
  padding: 8px 14px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  cursor: pointer;
  transition: background 0.2s ease;
}

.product-btn:hover { background: var(--brand-hi); }

/* Homepage hero CTA row */
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Streaming page */
.stream-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  overflow: hidden;
}

.stream-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.stream-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.channel-follow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.player-stream-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.player-stream-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.player-stream-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.player-stream-watch {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone);
  border: 1px solid var(--panel-line);
  padding: 9px 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.player-stream-watch:hover {
  border-color: var(--brand);
  color: var(--brand-hi);
}

.irl-banner {
  background: linear-gradient(160deg, var(--panel) 0%, #0b0705 100%);
  border: 1px solid var(--panel-line);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.irl-banner-body { flex: 1 1 320px; }

.irl-banner-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  margin: 8px 0 10px;
  color: var(--bone);
}

.irl-banner-desc {
  color: var(--bone-dim);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 560px;
}

/* VOD carousel */
.vod-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--panel-line) transparent;
}

.vod-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.vod-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
}

.vod-thumb {
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 50% 40%, #241408 0%, var(--void) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vod-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(241,90,12,0.06) 0px, rgba(241,90,12,0.06) 2px, transparent 2px, transparent 14px);
}

.vod-play {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.vod-card:hover .vod-play {
  background: var(--brand);
  transform: scale(1.1);
}

.vod-play::after {
  content: "";
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent var(--brand);
  margin-left: 3px;
  transition: border-color 0.2s ease;
}

.vod-card:hover .vod-play::after {
  border-color: transparent transparent transparent var(--void);
}

.vod-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--bone);
  background: rgba(11, 7, 5, 0.8);
  padding: 3px 7px;
  z-index: 1;
}

.vod-body {
  padding: 14px 16px 16px;
}

.vod-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

.vod-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--bone);
  margin: 6px 0 4px;
}

.vod-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--taupe);
}

.cta.cta--ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--panel-line);
  box-shadow: none;
}

.cta.cta--ghost:hover {
  border-color: var(--brand);
  box-shadow: 0 0 24px rgba(241,90,12,0.2);
}

.cta-icon {
  flex-shrink: 0;
}

.cta.cta--kick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta.cta--kick:hover {
  border-color: #53fc18;
  color: #53fc18;
  box-shadow: 0 0 24px rgba(83, 252, 24, 0.18);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--taupe);
  text-decoration: none;
}

.footer-links a:hover { color: var(--brand); }

/* Cart panel */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(90vw, 380px);
  height: 100%;
  background: var(--panel);
  border-left: 1px solid var(--panel-line);
  z-index: 21;
  display: flex;
  flex-direction: column;
  transition: right 0.25s ease;
  padding: 24px;
}

.cart-panel.is-open { right: 0; }

.cart-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--panel-line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.cart-panel-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--bone);
  margin: 0;
}

.cart-close {
  background: none;
  border: none;
  color: var(--bone-dim);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cart-close:hover { color: var(--brand); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  color: var(--taupe);
  font-size: 14px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--panel-line);
  padding-bottom: 12px;
  font-size: 14px;
  color: var(--bone);
}

.cart-item-name { display: block; }

.cart-item-qty {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--taupe);
  margin-top: 2px;
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-remove {
  background: none;
  border: 1px solid var(--panel-line);
  color: var(--bone-dim);
  width: 22px;
  height: 22px;
  line-height: 1;
  cursor: pointer;
}

.cart-remove:hover { border-color: var(--brand); color: var(--brand); }

.cart-summary {
  border-top: 1px solid var(--panel-line);
  padding-top: 16px;
  margin-top: 16px;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--bone);
  margin-bottom: 12px;
}

.cart-note {
  font-size: 12px;
  color: var(--taupe);
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Contact form */
.contact-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.form-field {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  color: var(--bone);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-field textarea { resize: vertical; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form .cta {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.contact-form .cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  min-height: 16px;
  margin: 0;
}

.form-status--ok { color: #7fbf6d; }
.form-status--error { color: #c85a5a; }

/* Policy pages */
.policy-body {
  max-width: 760px;
  text-align: left;
}

.policy-body h3 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--bone);
  margin: 28px 0 10px;
}

.policy-body p {
  color: var(--bone-dim);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 16px;
}

.policy-list {
  list-style: disc;
  padding-left: 22px;
  color: var(--bone-dim);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 20px;
}

.policy-list li { margin-bottom: 8px; }

.policy-callout {
  background: rgba(241, 90, 12, 0.08);
  border-left: 3px solid var(--brand);
  padding: 16px 20px;
  color: var(--bone);
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 0;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}

.policy-table th {
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  padding: 10px 14px;
  border-bottom: 1px solid var(--panel-line);
}

.policy-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--panel-line);
  color: var(--bone-dim);
}

.policy-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 8px;
}

/* Dragon crest + kanji watermark motifs */
.page-hero, .stage { position: relative; overflow: visible; }

.crest-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(60vw, 520px);
  height: min(70vw, 620px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(241, 90, 12, 0.3));
}

.crest-bg.crest-left {
  left: 20%;
  width: min(48vw, 460px);
  height: min(58vw, 540px);
}

.crest-bg.crest-right {
  left: 80%;
  width: min(48vw, 460px);
  height: min(58vw, 540px);
  transform: translate(-50%, -50%) scaleX(-1);
}

@media (max-width: 900px) {
  .crest-bg.crest-right { display: none; }
  .crest-bg.crest-left {
    left: 50%;
    width: min(70vw, 420px);
    height: min(80vw, 480px);
    opacity: 0.3;
  }
}

.kanji-watermark {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(180px, 26vw, 380px);
  color: var(--brand);
  opacity: 0.05;
  z-index: 0;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.page-hero > *:not(.crest-bg):not(.kanji-watermark),
.stage > *:not(.crest-bg):not(.kanji-watermark) { position: relative; z-index: 1; }

@media (max-width: 700px) {
  .kanji-watermark { display: none; }
  .crest-bg { width: 90vw; height: 90vw; opacity: 0.08; }
}