:root {
  --black: #050505;
  --panel: #111211;
  --panel-2: #181918;
  --line: rgba(198, 168, 83, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #c8aa55;
  --gold-dark: #8b7438;
  --white: #f3f0e8;
  --muted: #cbc6ba;
  --muted-2: #aaa398;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  width: 100%;
  min-height: 82px;
  grid-template-columns: minmax(190px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 14px 40px;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.brand-word strong {
  color: var(--gold);
  font: inherit;
}

nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  color: var(--muted);
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

nav a {
  transition: color 160ms ease;
}

nav a:hover {
  color: var(--gold);
}

.header-cta {
  justify-self: end;
  border: 1px solid var(--gold);
  padding: 12px 28px;
  color: var(--gold);
  font-weight: 800;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.header-cta:hover {
  background: var(--gold);
  color: #111;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 130px 40px 80px;
  background:
    radial-gradient(circle at 50% 42%, rgba(198, 168, 83, 0.12), transparent 26%),
    linear-gradient(180deg, #030303 0%, #090a09 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.45), rgba(5, 5, 5, 0.68)),
    url("assets/court-03.jpeg") center / cover;
  opacity: 0.72;
}

.court-frame {
  position: absolute;
  inset: 17% 13% 13%;
  border: 1px solid rgba(198, 168, 83, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.line {
  position: absolute;
  display: block;
  background: rgba(198, 168, 83, 0.12);
}

.line.vertical {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.line.horizontal {
  left: 0;
  right: 0;
  height: 1px;
}

.line.horizontal.top {
  top: 33%;
}

.line.horizontal.middle {
  top: 66%;
}

.line.horizontal.bottom {
  bottom: 0;
}

.line.box {
  top: 33%;
  bottom: 33%;
  width: 1px;
}

.line.box.left {
  left: 25%;
}

.line.box.right {
  right: 25%;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(760px, 100%);
  text-align: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(198, 168, 83, 0.42);
  margin: 0 0 46px;
  padding: 11px 26px;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.tag span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 45%, rgba(255, 255, 255, 0.55) 47%, transparent 55%),
    #d7f943;
  box-shadow: 0 0 20px rgba(215, 249, 67, 0.32);
}

.hero h1 {
  margin: 0;
  font-family: "Playfair Display", "Noto Serif KR", serif;
  font-size: 126px;
  font-weight: 800;
  line-height: 0.9;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  margin: 34px 0 0;
  color: #d8d4cb;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 580px;
  margin: 34px 0 0;
  color: #ded9cf;
  font-size: 19px;
  word-break: keep-all;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-width: 180px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 0 28px;
  font-weight: 900;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}

.button:hover {
  border-color: var(--white);
}

.scroll-note {
  position: absolute;
  bottom: 24px;
  left: 50%;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-note::after {
  display: block;
  width: 1px;
  height: 54px;
  margin: 12px auto 0;
  background: var(--gold);
  content: "";
  opacity: 0.6;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.coach-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 880px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090909;
}

.coach-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line-soft);
  background:
    repeating-linear-gradient(45deg, rgba(198, 168, 83, 0.04) 0 1px, transparent 1px 22px),
    #222;
}

.coach-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.82;
  filter: saturate(0.95) brightness(1.08);
}

.coach-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.36)),
    radial-gradient(circle at 52% 42%, transparent, rgba(5, 5, 5, 0.24) 76%);
  content: "";
}

.coach-visual span {
  position: absolute;
  bottom: 120px;
  color: rgba(198, 168, 83, 0.6);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-style: italic;
}

.coach-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 10%;
}

.coach-copy h2,
.facility-copy h2,
.section-title h2,
.contact-section h2 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.coach-copy h2 em,
.facility-copy h2 em,
.section-title h2 em {
  color: var(--gold);
  font-style: normal;
}

.lead {
  max-width: 720px;
  margin: 38px 0 30px;
  color: var(--muted);
  font-size: 20px;
  word-break: keep-all;
}

.profile-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.profile-groups article {
  min-height: 190px;
  padding: 24px;
  background: #0d0d0d;
}

.profile-groups article.wide {
  grid-column: span 2;
  min-height: 0;
}

.profile-groups article > span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-groups ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-groups li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.profile-groups li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.trophy-list,
.cert-list {
  grid-template-columns: 1fr;
}

.program-section,
.gallery-section {
  padding: 110px 40px 120px;
  background: #060606;
}

.section-title {
  max-width: 880px;
  margin: 0 0 72px;
}

.section-title.center {
  margin: 0 auto 86px;
  text-align: center;
}

.section-title p:not(.section-kicker) {
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 19px;
  word-break: keep-all;
}

.program-grid {
  display: grid;
  width: min(1840px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
  gap: 1px;
}

.program-grid article {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  padding: 78px 48px 42px;
  background: var(--panel);
}

.program-grid .number {
  position: absolute;
  top: 30px;
  left: 48px;
  color: rgba(198, 168, 83, 0.18);
  font-family: "Playfair Display", serif;
  font-size: 42px;
  line-height: 1;
}

.program-grid .icon {
  display: block;
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}

.program-grid h3 {
  margin: 38px 0 16px;
  color: var(--white);
  font-size: 26px;
  line-height: 1.25;
}

.program-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  word-break: keep-all;
}

.program-grid small {
  display: block;
  margin-top: 34px;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.facility-section {
  min-height: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090909;
}

.facility-copy {
  display: flex;
  width: min(1280px, 100%);
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 110px 8%;
}

.facility-copy p {
  max-width: 740px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 19px;
  word-break: keep-all;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.feature-tags span {
  border: 1px solid var(--line);
  padding: 10px 22px;
  color: var(--muted);
  font-weight: 800;
}

.branch-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.location-box {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 28px 34px;
  background: rgba(198, 168, 83, 0.04);
}

.location-box span {
  display: block;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.location-box strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
}

.location-box p {
  margin: 8px 0 0;
  font-size: 17px;
}

.gallery-grid {
  display: grid;
  width: min(1840px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.gallery-grid figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
}

.gallery-grid figure.wide {
  grid-column: span 2;
}

.gallery-grid figure.full {
  grid-column: 1 / -1;
  min-height: 620px;
}

.gallery-grid figure.full img {
  opacity: 0.94;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.gallery-grid figure:hover img {
  opacity: 1;
  transform: scale(1.025);
}

.contact-section {
  display: grid;
  justify-items: center;
  border-top: 1px solid var(--line);
  padding: 130px 40px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.74)),
    url("assets/court-12.jpeg") center / cover;
}

.contact-section h2 {
  max-width: 900px;
}

.contact-section p:not(.section-kicker) {
  max-width: 980px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  word-break: keep-all;
}

.directions-section {
  border-top: 1px solid var(--line);
  padding: 110px 40px 120px;
  background: #070707;
}

.directions-grid {
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.directions-grid article {
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(198, 168, 83, 0.08), transparent 38%),
    #0d0d0d;
}

.directions-grid article > span {
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.directions-grid h3 {
  margin: 16px 0 12px;
  color: var(--white);
  font-size: 25px;
}

.directions-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  word-break: keep-all;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.map-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0 18px;
  color: var(--white);
  font-weight: 900;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.map-actions a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(198, 168, 83, 0.06);
}

footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 28px 40px;
  color: var(--muted);
  background: #030303;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-info {
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.6;
}

.footer-info p {
  margin: 0;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--white);
  font-weight: 800;
}

/* Screen reader only — accessible text for SEO */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Nearby area notes in directions section */
.nearby-note {
  margin-top: 8px;
  color: var(--gold-dark);
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .coach-section {
    grid-template-columns: 1fr;
  }

  .coach-visual {
    min-height: 520px;
    border-right: 0;
    border-left: 0;
  }

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

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

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

@media (max-width: 720px) {
  .site-header {
    min-height: auto;
    padding: 14px 18px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-word {
    flex-direction: column;
    gap: 2px;
    font-size: 16px;
  }

  nav {
    width: 100%;
    gap: 22px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 13px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  .header-cta {
    padding: 8px 13px;
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
    padding: 128px 18px 52px;
  }

  .court-frame {
    inset: 17% 18px 10%;
  }

  .tag {
    margin-bottom: 24px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 84px;
  }

  .hero-sub {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .coach-copy,
  .facility-copy {
    padding: 74px 22px;
  }

  .coach-copy h2,
  .facility-copy h2,
  .section-title h2,
  .contact-section h2 {
    font-size: 43px;
  }

  .lead,
  .facility-copy p,
  .section-title p:not(.section-kicker),
  .contact-section p:not(.section-kicker) {
    font-size: 17px;
  }

  .coach-visual {
    min-height: 430px;
  }

  .coach-visual span {
    bottom: 38px;
    color: rgba(244, 232, 196, 0.82);
  }

  .program-section,
  .gallery-section,
  .directions-section {
    padding: 78px 18px;
  }

  .section-title,
  .section-title.center {
    margin-bottom: 46px;
  }

  .program-grid,
  .gallery-grid,
  .profile-groups,
  .branch-locations,
  .trophy-list,
  .cert-list {
    grid-template-columns: 1fr;
  }

  .profile-groups article.wide {
    grid-column: span 1;
  }

  .program-grid article {
    min-height: 310px;
    padding: 68px 26px 32px;
  }

  .program-grid .number {
    left: 26px;
  }

  .gallery-grid figure,
  .gallery-grid figure.wide,
  .gallery-grid figure.full {
    grid-column: span 1;
    min-height: 300px;
  }

  .directions-grid article {
    padding: 30px 24px;
  }

  .map-actions a {
    flex: 1 1 100%;
  }

  .feature-tags span {
    width: calc(50% - 5px);
    padding: 10px 12px;
    text-align: center;
  }

  .location-box {
    padding: 22px;
  }

  .contact-section {
    padding: 92px 22px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 22px;
  }
}
