:root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-soft: #eef8fb;
  --ink: #102033;
  --muted: #607086;
  --line: #dbe8f2;
  --accent: #21c4d7;
  --accent-soft: #dcf8fb;
  --warm: #ffe5a8;
  --shadow: 0 22px 70px rgba(16, 32, 51, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(33, 196, 215, 0.14), transparent 22rem),
    radial-gradient(circle at 88% 24%, rgba(255, 229, 168, 0.46), transparent 20rem),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 48%, #f3fbfd 100%);
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.site-header,
.onepager,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.82rem clamp(1rem, 4vw, 4.2rem);
  border-bottom: 1px solid rgba(219, 232, 242, 0.88);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.brand img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 10px 18px rgba(33, 196, 215, 0.18));
}

.site-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.site-nav a,
.site-footer a {
  padding: 0.48rem 0.62rem;
  border-radius: var(--radius);
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
  background: var(--accent-soft);
}

.onepager,
.site-footer {
  width: calc(100% - 2rem);
  max-width: 1120px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5.6rem) 0 clamp(2.2rem, 5vw, 3.8rem);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.9rem;
  padding: 0 0.72rem;
  border: 1px solid rgba(33, 196, 215, 0.34);
  border-radius: var(--radius);
  color: #087587;
  background: rgba(220, 248, 251, 0.82);
  font-size: 0.78rem;
  font-weight: 920;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1,
.simple-heading h2,
.legal-page h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 920;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(3rem, 6vw, 5.45rem);
}

.hero-lead {
  max-width: 560px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 560;
  line-height: 1.62;
}

.notice-box {
  display: grid;
  gap: 0.35rem;
  max-width: 560px;
  margin-top: 1.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 203, 89, 0.52);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 229, 168, 0.74), rgba(220, 248, 251, 0.6)),
    var(--surface);
}

.notice-box strong {
  color: var(--ink);
  font-size: 1rem;
}

.notice-box span {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.hero-brand-panel {
  display: grid;
  gap: 1.15rem;
  align-content: center;
  justify-items: center;
  min-height: 25rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(220, 248, 251, 0.52)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-brand-panel img {
  width: min(22rem, 92%);
  filter: drop-shadow(0 18px 32px rgba(16, 32, 51, 0.1));
}

.hero-brand-panel div {
  display: grid;
  gap: 0.28rem;
  justify-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(33, 196, 215, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.hero-brand-panel strong {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-brand-panel span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0 0 clamp(2.6rem, 6vw, 4.5rem);
}

.quick-info div,
.date-item,
.logo-card,
.photo-card,
.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(16, 32, 51, 0.06);
}

.quick-info div {
  display: grid;
  gap: 0.24rem;
  padding: 0.95rem;
}

.quick-info strong,
.date-item strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.quick-info span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.simple-section {
  padding: clamp(2.5rem, 6vw, 4.4rem) 0;
  border-top: 1px solid rgba(219, 232, 242, 0.95);
}

.simple-heading {
  display: block;
  margin-bottom: 1.25rem;
}

.simple-heading h2 {
  max-width: 680px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 1060px;
}

.photo-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  background: var(--surface-soft);
}

.photo-card img {
  width: 100%;
  height: 8.15rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98) brightness(1.02);
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.photo-card:hover img {
  filter: saturate(1) contrast(1.02) brightness(1.04);
  transform: scale(1.015);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.18rem 1rem 1rem;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(33, 196, 215, 0.18), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 252, 254, 0.9));
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.team-card::before {
  position: absolute;
  inset: 0.8rem 0.8rem auto;
  height: 4.8rem;
  border: 1px solid rgba(33, 196, 215, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  content: "";
  pointer-events: none;
}

.team-card img {
  position: relative;
  z-index: 1;
  width: clamp(8.5rem, 12vw, 10rem);
  height: clamp(8.5rem, 12vw, 10rem);
  border: 4px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: var(--surface-soft);
  box-shadow:
    0 16px 34px rgba(16, 32, 51, 0.12),
    0 0 0 1px rgba(33, 196, 215, 0.28);
  object-fit: cover;
  object-position: center;
}

.team-card div {
  position: relative;
  z-index: 1;
  padding: 0 0.14rem 0.08rem;
}

.team-card h3 {
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.team-card strong {
  display: block;
  margin-bottom: 0.38rem;
  color: #087587;
  font-size: 0.78rem;
  line-height: 1.32;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.team-card:hover {
  border-color: rgba(33, 196, 215, 0.42);
  box-shadow: 0 20px 48px rgba(33, 196, 215, 0.12);
  transform: translateY(-2px);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.logo-card {
  display: grid;
  place-items: center;
  height: 5.45rem;
  padding: 1rem;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.logo-card img {
  width: min(10rem, 100%);
  height: 3.45rem;
  object-fit: contain;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.logo-card img.logo-monochrome {
  filter: grayscale(1) brightness(0) contrast(1.1);
}

.logo-card img.logo-pokemon-bw {
  width: min(10.5rem, 100%);
}

.logo-card:hover {
  border-color: rgba(33, 196, 215, 0.5);
  box-shadow: 0 18px 42px rgba(33, 196, 215, 0.13);
  transform: translateY(-2px);
}

.logo-card:hover img {
  transform: scale(1.02);
}

.date-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.date-item {
  display: grid;
  gap: 0.5rem;
  min-height: 7.25rem;
  padding: 1rem;
}

.date-item span {
  width: max-content;
  color: #087587;
  font-size: 0.72rem;
  font-weight: 930;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid rgba(219, 232, 242, 0.95);
}

.site-footer strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.14em;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.legal-page {
  width: calc(100% - 2rem);
  max-width: 900px;
  margin: clamp(3rem, 7vw, 5rem) auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
}

.legal-page h2 {
  margin: 2rem 0 0.7rem;
  color: var(--ink);
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.legal-page p,
.legal-page li,
.legal-page address {
  color: var(--muted);
  font-size: clamp(0.96rem, 1.18vw, 1.05rem);
  font-style: normal;
  line-height: 1.64;
  overflow-wrap: anywhere;
}

.legal-page a {
  color: #087587;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.notice {
  color: var(--ink);
  font-weight: 850;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-brand-panel {
    order: -1;
    min-height: 20rem;
  }

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

  .quick-info,
  .date-list,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .photo-card img {
    height: 6.5rem;
  }

  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .onepager,
  .site-footer {
    width: min(372px, calc(100vw - 1rem));
    margin-left: 0.55rem;
    margin-right: auto;
  }

  .site-header {
    padding-inline: 0.75rem;
  }

  .brand {
    font-size: 0.94rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    gap: 0.2rem;
    font-size: 0.74rem;
  }

  .hero {
    padding-top: 1.15rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .simple-heading h2 {
    font-size: clamp(1.9rem, 9.5vw, 2.65rem);
  }

  .logo-card {
    height: 4.8rem;
    padding: 0.78rem;
  }

  .logo-card img {
    height: 3rem;
  }

  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-card {
    gap: 0.78rem;
    padding: 1rem 0.9rem;
  }

  .team-card img {
    width: 8.4rem;
    height: 8.4rem;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }

  .legal-page {
    width: min(372px, calc(100vw - 1rem));
    margin: 2rem 0 2rem 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
