:root {
  --navy-900: #071522;
  --navy-800: #0b1f33;
  --navy-700: #173654;
  --gold-500: #b38a52;
  --gold-300: #d7b986;
  --sand-100: #efe4d0;
  --sand-200: #f8f4ec;
  --slate-700: #2d3840;
  --slate-500: #6d746f;
  --white: #ffffff;
  --line: rgba(11, 31, 51, 0.12);
  --shadow: 0 20px 50px rgba(11, 31, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--slate-700);
  background: var(--sand-200);
  line-height: 1.6;
}

body.locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-label {
  margin-bottom: 18px;
  color: var(--gold-500);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy-800);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-copy {
  margin: 0;
  color: var(--slate-500);
  font-size: 18px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 31, 51, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  color: var(--gold-500);
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--sand-100);
  color: var(--navy-800) !important;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 120px 0 80px;
  color: var(--white);
  background:
    linear-gradient(rgba(8, 24, 39, 0.6), rgba(8, 24, 39, 0.76)),
    radial-gradient(circle at 75% 30%, rgba(179, 138, 82, 0.3), transparent 36%),
    linear-gradient(135deg, #173654 0%, #0b1f33 58%, #071522 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(239, 228, 208, 0.13);
}

.hero::before {
  right: -130px;
  bottom: -150px;
  width: 520px;
  height: 520px;
}

.hero::after {
  right: 45px;
  bottom: -70px;
  width: 320px;
  height: 320px;
  border-color: rgba(239, 228, 208, 0.1);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.hero-title {
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 610px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--sand-100);
  color: var(--navy-800);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.hero-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.monogram {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  border: 1px solid rgba(239, 228, 208, 0.2);
  border-radius: 22px;
  text-align: center;
  overflow: hidden;
}

.monogram::before,
.monogram::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(179, 138, 82, 0.3);
}

.monogram::before {
  left: -80px;
  top: -80px;
}

.monogram::after {
  right: -85px;
  bottom: -90px;
}

.monogram-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 92px;
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: var(--sand-100);
}

.monogram-sub {
  margin-top: 18px;
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.flag-mark {
  position: relative;
  width: 2px;
  height: 60px;
  margin: 24px auto 0;
  background: var(--gold-500);
}

.flag-mark::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 2px;
  width: 38px;
  height: 20px;
  background: var(--gold-500);
  clip-path: polygon(0 0, 100% 22%, 78% 100%, 0 82%);
}

.section {
  padding: 100px 0;
}

.about {
  background: var(--sand-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.story {
  font-size: 20px;
  color: #2d3840;
}

.story p {
  margin: 0;
}

.story p + p {
  margin-top: 24px;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fact {
  padding: 24px;
  border: 1px solid rgba(11, 31, 51, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.fact-label {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-500);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fact-value {
  display: block;
  color: var(--navy-800);
  font-size: 22px;
}

.schedule {
  background: var(--sand-200);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.schedule-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(11, 31, 51, 0.05);
}

.schedule-day {
  margin-bottom: 8px;
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.schedule-card h3 {
  margin: 0 0 14px;
  color: var(--navy-800);
  font-size: 26px;
}

.schedule-card p {
  margin: 0;
  color: var(--slate-500);
}

.schedule-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.schedule-card li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.format {
  background: var(--navy-800);
  color: var(--white);
}

.format .section-heading,
.format .section-copy {
  color: var(--white);
}

.format .section-copy {
  color: rgba(255, 255, 255, 0.65);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.format-item {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.format-number {
  margin-bottom: 14px;
  color: var(--gold-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1;
}

.format-item h3 {
  margin: 0 0 8px;
}

.format-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.gallery {
  background: var(--sand-200);
}

.teams {
  background: var(--sand-100);
}

.teams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.team-block {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(11, 31, 51, 0.05);
}

.team-block-name {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.team-blue .team-block-name {
  color: #215fa6;
  border-bottom-color: rgba(33, 95, 166, 0.25);
}

.team-gold .team-block-name {
  color: var(--gold-500);
  border-bottom-color: rgba(179, 138, 82, 0.3);
}

.team-roster {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.team-roster li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--sand-200);
  color: var(--slate-700);
  font-weight: 700;
}

.player-handicap {
  color: var(--slate-500);
  font-weight: 700;
  text-align: right;
}

.team-blue .team-roster li {
  background: rgba(33, 95, 166, 0.08);
}

.team-gold .team-roster li {
  background: rgba(179, 138, 82, 0.1);
}

.gallery-grid {
  display: grid;
  --gallery-tile-height: clamp(300px, 47.9vw, 536px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: var(--gallery-tile-height);
  gap: 16px;
}

.gallery-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: var(--gallery-tile-height);
  margin: 0;
  padding: 24px;
  border-radius: 20px;
  overflow: hidden;
  color: var(--white);
  font-weight: 800;
  background: #18354e;
}

.gallery-tile::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11, 31, 51, 0.78));
  content: "";
  pointer-events: none;
}

.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.gallery-tile:hover img {
  transform: scale(1.025);
}

.gallery-tile figcaption {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.gallery-tile:nth-child(n + 3) {
  grid-column: 1 / -1;
}

.cta {
  background: var(--gold-500);
  color: var(--navy-800);
  text-align: center;
}

.cta h2 {
  max-width: 760px;
  margin: 0 auto 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.cta p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(11, 31, 51, 0.75);
  font-size: 18px;
}

.cta .button {
  background: var(--navy-800);
  color: var(--white);
}

.site-footer {
  padding: 32px 0;
  background: #071522;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  color: var(--white);
}

#passwordGate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 25%, rgba(179, 138, 82, 0.2), transparent 34%), linear-gradient(135deg, #102b46 0%, #0b1f33 60%, #071522 100%);
  color: var(--white);
}

.password-box {
  width: min(430px, 100%);
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.gate-logo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  color: var(--gold-500);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.password-box h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1;
}

.password-box p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.68);
}

.password-box input {
  width: 100%;
  height: 52px;
  margin-bottom: 14px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-align: center;
  outline: none;
}

.password-box input:focus {
  border-color: var(--gold-500);
}

.password-box button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--sand-100);
  color: var(--navy-800);
  font-weight: 900;
  cursor: pointer;
}

.password-error {
  min-height: 24px;
  margin-top: 12px;
  color: #ffb5b5;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .teams-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 580px;
  }

  .schedule-grid,
  .format-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .facts,
  .schedule-grid,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
