/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:  #000000;
  --white:  #ffffff;
  --gray:   #888888;
  --light:  #f5f5f5;
  --dark:   #0a0a0a;
  --accent: #ffffff;

  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Barlow Condensed', 'Inter', sans-serif;

  --nav-h: 110px;
  --transition: 0.2s ease;
}

html, body {
  height: 100%;
  overflow: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ===== PAGE SWITCHING ===== */
#scroll-container {
  height: 100vh;
  overflow: hidden;
}

#scroll-container > main { display: contents; }

#scroll-container > main > section {
  position: fixed;
  inset: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1;
}

#scroll-container > main > section.active {
  opacity: 1;
  pointer-events: all;
  z-index: 2;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo-img {
  height: 120px;
  width: auto;
  display: block;
}

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border-radius: 4px;
  transition: color var(--transition);
}
.nav-link:hover { color: var(--white); }

.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-email {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.3px;
  transition: color var(--transition);
}
.header-email:hover { color: var(--white); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 16px 40px; font-size: 14px; }
.full-width { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-primary:hover { background: transparent; color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); }

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover { background: transparent; color: var(--black); }

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover { background: transparent; color: var(--white); }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(255,255,255,0.03) 0%, transparent 70%),
    linear-gradient(135deg, #000 0%, #0f0f0f 50%, #000 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  padding-top: var(--nav-h);
}

.hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}

.hero-heading {
  font-family: var(--font-head);
  font-size: clamp(40px, 7vw, 90px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 32px;
}

.hero-heading span {
  color: rgba(255,255,255,0.18);
  -webkit-text-stroke: 1px rgba(255,255,255,0.4);
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 44px;
  letter-spacing: 0.3px;
}

.hero-slogan {
  font-family: var(--font-head);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  overflow: hidden;
  z-index: 1;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--dark) 0%, transparent 30%);
  z-index: 1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.55;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

/* ===== PAGE SECTIONS ===== */
.page-section {
  height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
}

.page-dark {
  background: var(--dark);
}

/* Split layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  height: 100%;
  width: 100%;
}

.split-layout.reverse {
  grid-template-columns: 1.4fr 1fr;
}

.split-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  overflow: hidden;
  position: relative;
}

.split-accent.dark {
  background: rgba(255,255,255,0.04);
}

.accent-word {
  font-family: var(--font-head);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 900;
  letter-spacing: -4px;
  color: rgba(0,0,0,0.06);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  user-select: none;
}

.split-accent.dark .accent-word {
  color: rgba(255,255,255,0.05);
}

.split-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  height: 100%;
}

.split-logo.dark {
  background: rgba(255,255,255,0.04);
}

.split-logo-img {
  width: 260px;
  height: auto;
  opacity: 0.9;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 80px 80px;
}

.about-scroll {
  overflow-y: auto;
  justify-content: flex-start;
  padding-top: calc(var(--nav-h) + 48px);
}

.split-layout.reverse .split-content {
  padding: calc(var(--nav-h) + 40px) 80px 80px 60px;
}

/* Typography */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}
.eyebrow.light { color: rgba(255,255,255,0.3); }

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: var(--black);
  margin-bottom: 28px;
}
.section-heading span { color: rgba(0,0,0,0.15); -webkit-text-stroke: 1px rgba(0,0,0,0.3); }
.section-heading.light { color: var(--white); }
.section-heading.light span { color: rgba(255,255,255,0.12); -webkit-text-stroke: 1px rgba(255,255,255,0.25); }

.section-body {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0,0,0,0.5);
  max-width: 480px;
  margin-bottom: 12px;
}
.section-body.light { color: rgba(255,255,255,0.45); }

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  height: 100%;
  width: 100%;
  align-items: center;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 80px 80px;
  border-right: 1px solid rgba(255,255,255,0.08);
  height: 100%;
}

.contact-right {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.4);
}

.form-group textarea { resize: none; }

/* ===== CONTACT PERSON ===== */
.contact-person {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.contact-name {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-detail-item:hover { color: var(--white); }
.contact-detail-icon { font-size: 18px; }

.contact-logo {
  width: 320px;
  height: auto;
  opacity: 0.85;
}

.contact-action-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.75;
  display: block;
}

/* ===== LOCATION ===== */
.location-block {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.loc-name {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
}

.loc-address {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
}

/* ===== CALENDAR PAGE (MAIL STYLE) ===== */
.cal-mail-page {
  background: #f0ece4 !important;
  align-items: stretch;
}

.cal-mail-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding-top: var(--nav-h);
}

.cal-mail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  background: #1a1a1a;
  flex-shrink: 0;
}

.cal-brand-logo {
  height: 52px;
  width: auto;
}

.cal-mail-nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cal-month-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
  min-width: 200px;
  text-align: center;
}

.cal-nav-arrow {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  width: 40px; height: 40px;
  cursor: pointer;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.cal-nav-arrow:hover { background: rgba(255,255,255,0.1); }

.cal-mail-legend {
  display: flex;
  gap: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.legend-dot {
  width: 10px; height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.legend-dot.practice   { background: #6ee7b7; }
.legend-dot.tournament { background: #fbbf24; }
.legend-dot.tryout     { background: #93c5fd; }

/* Grid */
.cal-grid-outer {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 32px 16px;
}

.cal-dow-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 2px solid #1a1a1a;
  flex-shrink: 0;
}

.cal-dow-row div {
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #555;
  padding: 8px 0;
  text-transform: uppercase;
}
.cal-dow-row div:first-child { color: #c0392b; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 1fr;
  flex: 1;
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
  overflow: hidden;
}

.cal-cell {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 4px 6px;
  background: #fff;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.cal-cell.empty { background: #f7f4ef; }
.cal-cell.sunday .cal-cell-num { color: #c0392b; }

.cal-cell-num {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 3px;
}

.cal-cell-events {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cal-chip {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  display: block;
  cursor: default;
  line-height: 1.4;
}
.cal-chip.practice   { background: #d1fae5; color: #065f46; }
.cal-chip.tournament { background: #fef3c7; color: #92400e; }
.cal-chip.tryout     { background: #dbeafe; color: #1e40af; }
.cal-chip[href] { cursor: pointer; }
.cal-chip[href]:hover { filter: brightness(0.93); }

.cal-july-break {
  grid-column: 1 / -1;
  background: #fff8e7;
  border: 1px dashed #f59e0b;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #92400e;
  letter-spacing: 1px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .split-content { padding: calc(var(--nav-h) + 32px) 48px 48px; }
  .split-layout.reverse .split-content { padding: calc(var(--nav-h) + 32px) 48px 48px 40px; }
  .contact-left, .contact-right { padding: calc(var(--nav-h) + 32px) 48px 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }

  /* Nav */
  .nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .logo-img { height: 60px; }

  .nav.open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    bottom: 0;
    background: var(--dark);
    padding: 32px 24px;
    flex-direction: column;
    z-index: 999;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-link {
    font-size: 22px;
    font-weight: 700;
    padding: 18px 0;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    letter-spacing: 2px;
  }
  .nav-link:hover { color: var(--white); background: none; }

  /* Hero */
  .hero-heading {
    font-size: clamp(56px, 18vw, 90px);
    letter-spacing: -1px;
  }
  .hero-content {
    padding: calc(var(--nav-h) + 32px) 24px 24px;
  }
  .hero-label { font-size: 10px; letter-spacing: 2px; }
  .hero-sub { font-size: 14px; margin-bottom: 32px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-scroll { display: none; }

  /* Pages */
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
    height: 100%;
  }
  .split-accent { display: none; }
  .split-content {
    padding: calc(var(--nav-h) + 32px) 24px 40px;
    justify-content: center;
  }
  .section-heading {
    font-size: clamp(44px, 14vw, 72px);
    margin-bottom: 20px;
  }
  .section-body { font-size: 15px; }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    overflow-y: auto;
    height: 100%;
    align-items: flex-start;
  }
  .contact-left {
    padding: calc(var(--nav-h) + 24px) 24px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    height: auto;
  }
  .contact-right {
    padding: 24px;
    height: auto;
  }
  .form-row { grid-template-columns: 1fr; }
  .contact-layout .section-heading { font-size: clamp(36px, 12vw, 56px); }

  .hero-photo { display: none; }
  .contact-right { display: none; }
  .cal-mail-top { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  .cal-brand-logo { height: 36px; }
  .cal-month-title { font-size: 20px; min-width: 150px; }
  .cal-grid-outer { padding: 0 8px 8px; }
  .cal-cell-num { font-size: 13px; }
  .cal-chip { font-size: 8px; padding: 1px 3px; }
  .cal-mail-legend { gap: 10px; }
  .legend-item { font-size: 9px; }
}
