:root {
  --ink: #f8f3e9;
  --muted: rgba(248, 243, 233, 0.72);
  --paper: #080b0d;
  --surface: rgba(17, 20, 23, 0.86);
  --surface-strong: rgba(8, 11, 13, 0.94);
  --aqua: #2a2d30;
  --aqua-dark: #d6d1c4;
  --coral: #ff8a4c;
  --sun: #ffc845;
  --leaf: #3a3d40;
  --line: rgba(255, 216, 90, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(13, 14, 14, 0.86);
  border-bottom: 1px solid rgba(255, 216, 90, 0.18);
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 216, 90, 0.34);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 520px;
}

.brand-header-logo {
  display: block;
  width: min(44vw, 520px);
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: screen;
  filter: contrast(1.06) saturate(1.05);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--sun);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 216, 90, 0.38);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(18px, 5vw, 72px) 86px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("assets/kokusai-dori-baseball5-batting-natural-hero.png"),
    linear-gradient(130deg, #050606 0%, #0b1417 42%, #17130a 100%);
  background-size: cover;
  background-position: center center;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 34%, rgba(255, 190, 92, 0.28), transparent 36%),
    linear-gradient(90deg, rgba(5, 6, 6, 0.42) 0%, rgba(5, 6, 6, 0.26) 42%, rgba(5, 6, 6, 0.02) 100%),
    linear-gradient(180deg, rgba(8, 11, 13, 0) 80%, var(--paper) 100%),
    linear-gradient(118deg, transparent 0 42%, rgba(255, 200, 69, 0.1) 42% 44%, transparent 44% 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 30px);
  content: "";
}

.hero-bg::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 42%, rgba(255, 200, 69, 0.12), transparent 28%),
    radial-gradient(circle at 18% 30%, rgba(255, 154, 74, 0.18), transparent 32%),
    radial-gradient(circle at 12% 22%, rgba(0, 167, 181, 0.05), transparent 30%);
  content: "";
  mix-blend-mode: screen;
}

.field-lines {
  position: absolute;
  display: none;
  right: clamp(-150px, -2vw, 20px);
  bottom: clamp(56px, 9vw, 120px);
  width: min(48vw, 620px);
  aspect-ratio: 1;
  border: 12px solid rgba(255, 216, 90, 0.2);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.hero-wordmark {
  position: absolute;
  z-index: 2;
  top: 142px;
  left: clamp(20px, 4vw, 64px);
  right: auto;
  width: min(36vw, 520px);
  height: auto;
  mix-blend-mode: screen;
  filter: saturate(1.1) contrast(1.12) drop-shadow(0 16px 32px rgba(0, 0, 0, 0.55));
  transform: rotate(-4deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 980px;
}

.hero .eyebrow {
  color: var(--sun);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-family: "Oswald", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 980px;
  color: #fff;
  font-size: clamp(3rem, 6.4vw, 5.9rem);
  font-weight: 900;
  line-height: 1.08;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.48), 0 16px 42px rgba(0, 0, 0, 0.32);
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin: 0;
  max-width: 860px;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 4.7rem);
  font-weight: 900;
  line-height: 1.1;
}

h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.22rem;
  line-height: 1.35;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 500;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 2px solid rgba(255, 216, 90, 0.78);
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(255, 200, 69, 0.5);
}

.button.primary {
  color: #111014;
  background: var(--sun);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.subpage-hero {
  padding-top: 150px;
}

.subpage-hero h1 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 6rem);
}

.subpage-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 700;
}

.school-hero p:not(.eyebrow) {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(0.95rem, 1.55vw, 1.15rem);
}

.history-back {
  margin-top: 28px;
}

.hero-panel dl,
.contact-box dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.hero-panel div,
.contact-box div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child,
.contact-box div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

dt {
  color: var(--sun);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

section {
  padding: 92px clamp(18px, 5vw, 72px);
  background: #000;
}

.band {
  background: #000;
}

.section-head {
  margin-bottom: 36px;
}

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

.games .section-head h2 {
  max-width: none;
  font-size: clamp(1.05rem, 4.3vw, 4.15rem);
  white-space: nowrap;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.intro-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.intro-photo {
  min-height: 360px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 200, 69, 0.25);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

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

.feature-card {
  min-width: 0;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.2);
}

.feature-card {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  color: inherit;
  text-decoration: none;
}

a.feature-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a.feature-card:hover,
a.feature-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 200, 69, 0.72);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

.feature-card.dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 200, 69, 0.22), rgba(255, 139, 76, 0.14)),
    var(--surface-strong);
}

.feature-card.local-tournament-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.74)),
    linear-gradient(135deg, rgba(255, 200, 69, 0.18), rgba(255, 139, 76, 0.1)),
    url("assets/local-tournament-bg.jpg") center center / cover no-repeat;
}

.feature-card.local-tournament-card::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  content: "";
}

.feature-card.local-tournament-card > * {
  position: relative;
  z-index: 1;
}

.feature-card.local-tournament-card h3,
.feature-card.local-tournament-card p {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.8);
}

.feature-card.kids-event-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.78)),
    linear-gradient(135deg, rgba(255, 200, 69, 0.12), rgba(33, 94, 58, 0.18)),
    url("assets/kids-event-bg.jpg") center 58% / cover no-repeat;
}

.feature-card.kids-event-card::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  content: "";
}

.feature-card.kids-event-card > * {
  position: relative;
  z-index: 1;
}

.feature-card.kids-event-card h3,
.feature-card.kids-event-card p {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.82);
}

.feature-card.school-program-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.8)),
    linear-gradient(135deg, rgba(255, 200, 69, 0.12), rgba(54, 74, 35, 0.18)),
    url("assets/school-program-bg.jpg") center 58% / cover no-repeat;
}

.feature-card.school-program-card::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  content: "";
}

.feature-card.school-program-card > * {
  position: relative;
  z-index: 1;
}

.feature-card.school-program-card h3,
.feature-card.school-program-card p {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.84);
}

.feature-card span {
  color: var(--sun);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-card.dark span,
.feature-card.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-card p,
.timeline-list p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--sun);
  border-bottom: 3px solid var(--coral);
  font-weight: 900;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.timeline-list::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 82px;
  width: 3px;
  background: linear-gradient(180deg, var(--sun), rgba(255, 139, 76, 0.72));
  content: "";
}

.timeline-list article {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-list time {
  color: var(--sun);
  font-family: "Oswald", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.contact-copy p {
  max-width: 720px;
  margin-top: 22px;
}

.contact-copy h2 {
  max-width: none;
  font-size: clamp(1.45rem, 4.2vw, 4.15rem);
  white-space: nowrap;
}

.sns-photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 26px;
}

.sns-photo-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  object-position: center center;
  border: 1px solid rgba(255, 200, 69, 0.28);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.sns-icon-link {
  display: grid;
  width: 120px;
  gap: 10px;
  justify-items: center;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sns-icon-link:hover,
.sns-icon-link:focus-visible {
  transform: translateY(-4px);
  opacity: 0.9;
}

.instagram-icon-link svg,
.note-mark {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.instagram-icon-link svg {
  padding: 13px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  background:
    radial-gradient(circle at 30% 107%, #fdf497 0 12%, #fd5949 42%, #d6249f 60%, #285aeb 90%);
}

.note-mark {
  display: grid;
  place-items: center;
  color: #fff;
  background: #41c9b4;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0;
}

.partner {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 200, 69, 0.08), rgba(0, 0, 0, 0)),
    #000;
}

.partner .section-head {
  margin-bottom: 42px;
}

.partner .section-head h2 {
  max-width: none;
  font-size: clamp(2.6rem, 8vw, 6.8rem);
  letter-spacing: 0;
}

.partner-group {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.partner-label {
  margin: 0;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.partner-list {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  width: 100%;
  padding: clamp(18px, 4vw, 34px);
  background: #fff;
  border: 1px solid rgba(255, 200, 69, 0.3);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  min-height: 190px;
}

.partner-card img {
  width: 100%;
  max-height: 160px;
  display: block;
  object-fit: contain;
}

.tournament-hero h1 {
  max-width: none;
  white-space: nowrap;
}

.tournament-section {
  padding-top: 46px;
}

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

.tournament-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: inherit;
}

.tournament-card-link {
  display: block;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.tournament-card-link:hover,
.tournament-card-link:focus-visible {
  border-color: rgba(255, 203, 78, 0.75);
  transform: translateY(-3px);
}

.tournament-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.tournament-card div {
  padding: 24px;
}

.tournament-card span {
  color: var(--sun);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.tournament-card h2 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.tournament-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.tournament-back {
  margin-top: 32px;
}

.kids-hero {
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.84), rgba(5, 6, 6, 0.48)),
    url("assets/kids-event-bg.jpg") center center / cover no-repeat;
}

.nanjo-festival-hero {
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.88), rgba(5, 6, 6, 0.5)),
    url("assets/kids-nanjo-festival-9.jpg") center 42% / cover no-repeat;
}

.itoman-fastest-hero {
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.86), rgba(5, 6, 6, 0.42)),
    url("assets/kids-itoman-fastest-7.jpg") center 48% / cover no-repeat;
}

.kumejima-festival-hero {
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.86), rgba(5, 6, 6, 0.42)),
    url("assets/kids-kumejima-festival-4.jpg") center 48% / cover no-repeat;
}

.event-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.event-location-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  grid-template-rows: 230px auto auto auto;
  align-content: stretch;
  gap: 14px;
  padding: 0 28px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-location-link {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.event-location-link:hover,
.event-location-link:focus-visible {
  border-color: rgba(255, 202, 78, 0.72);
  transform: translateY(-3px);
}

.event-location-photo {
  width: calc(100% + 56px);
  height: 230px;
  display: block;
  object-fit: cover;
  object-position: center center;
  margin: 0 -28px 6px;
}

.itoman-event-card .event-location-photo {
  object-position: center 68%;
}

.nanjo-event-card .event-location-photo {
  object-position: center 58%;
}

.kumejima-event-card .event-location-photo {
  object-position: center 56%;
}

.event-location-card span {
  color: var(--sun);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.event-location-card h2 {
  max-width: none;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.event-location-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  object-position: center center;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-gallery img.photo-contain {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
}

.detail-gallery img.photo-landscape {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.detail-gallery.event-wide-gallery img {
  aspect-ratio: 4 / 3;
}

.detail-gallery.event-wide-gallery img.photo-landscape {
  aspect-ratio: 16 / 9;
}

.afterword-list {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  list-style: none;
}

.afterword-magazine {
  max-width: 1040px;
  margin: 32px auto 0;
  padding: 0 clamp(4px, 2vw, 18px);
}

.afterword-magazine h2 {
  max-width: none;
  margin-top: 8px;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
}

.afterword-magazine h3 {
  margin: 34px 0 16px;
  color: var(--sun);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
}

.afterword-magazine p {
  max-width: 860px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  line-height: 1.95;
}

.afterword-magazine .afterword-list {
  max-width: 860px;
  margin-bottom: 22px;
}

.afterword-lead {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.afterword-pull {
  max-width: 960px;
  margin: 34px 0;
  padding-left: 22px;
  color: #fff;
  border-left: 5px solid var(--sun);
  font-size: clamp(1.3rem, 2.8vw, 2.2rem);
  line-height: 1.6;
}

.afterword-photo {
  margin: 30px 0;
}

.afterword-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 8px;
}

.afterword-photo-wide img {
  aspect-ratio: 16 / 9;
}

.afterword-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.afterword-photo-pair img {
  aspect-ratio: 4 / 5;
}

.afterword-photo-pair img.photo-contain {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
}

.sponsor-name-grid {
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.sponsor-name-grid li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 202, 78, 0.22);
}

.sponsor-name-grid strong {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.sponsor-name-grid span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 200, 69, 0.08), rgba(255, 139, 76, 0.12)),
    #07090b;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 82vh;
  }

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

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

  .event-location-grid {
    grid-template-columns: 1fr;
  }

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

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

  .afterword-photo-pair {
    grid-template-columns: 1fr;
  }

  .sponsor-name-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 58px);
  }

  .brand-header-logo {
    width: min(68vw, 320px);
    max-height: 58px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 20px;
    background: rgba(13, 14, 14, 0.98);
    border-bottom: 1px solid rgba(255, 216, 90, 0.25);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 216, 90, 0.18);
  }

  .hero {
    padding: 116px 18px 42px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10.2vw, 2.55rem);
  }

  .hero-wordmark {
    top: 96px;
    left: 14px;
    right: auto;
    width: min(52vw, 280px);
    opacity: 0.88;
  }

  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(5, 6, 6, 0.82) 0%, rgba(5, 6, 6, 0.52) 58%, rgba(5, 6, 6, 0.12) 100%),
      linear-gradient(180deg, rgba(8, 11, 13, 0) 76%, var(--paper) 100%),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 26px);
  }

  .field-lines {
    width: 72vw;
    opacity: 0.32;
  }

  .section-head.inline,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .games .section-head h2 {
    font-size: clamp(1.05rem, 4.3vw, 2.55rem);
    white-space: nowrap;
  }

  .contact-copy h2 {
    font-size: clamp(1.05rem, 6.4vw, 2rem);
  }

  .sns-photo-row {
    gap: 8px;
    margin-top: 18px;
  }

  .button,
  .text-link {
    width: 100%;
  }

  section {
    padding: 64px 18px;
  }

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

  .tournament-hero h1 {
    white-space: normal;
  }

  .school-hero p:not(.eyebrow) {
    white-space: normal;
  }

  .timeline-list::before {
    display: none;
  }

  .timeline-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-panel div,
  .contact-box div {
    display: grid;
    gap: 4px;
  }

  dd {
    text-align: left;
  }
}
