/* Uri Padel site — tokens and base styles.
   Premium / minimal / editorial / architectural. Black & white only. */

:root {
  --ink: #0a0a0a;
  --paper: #f5f3ed;
  --bone: #ebe7dc;
  --mute: rgba(10,10,10,.55);
  --hairline: rgba(10,10,10,.14);
  --max: 1440px;
  --pad: 40px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Type system ──────────────────────────────────────────── */
.display {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.005em;
}
.display.thin { font-weight: 300; }
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
.body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
}
.body.lg { font-size: 20px; line-height: 1.5; font-weight: 300; }

/* ── Containers ───────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo .wordmark {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.nav-links a:hover { border-color: var(--ink); }
.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  transition: background .15s, color .15s;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 120px;
  border-bottom: 1px solid var(--hairline);
}
.hero-row-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 80px;
}
.hero-row-top .label { max-width: 260px; }
.hero-wordmark {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 48px;
}
.hero-wordmark img { height: clamp(160px, 24vw, 320px); width: auto; }
.hero-wordmark .word {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(140px, 22vw, 300px);
  line-height: 0.82;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero-sub {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  max-width: 1200px;
  margin-top: 32px;
}
.hero-sub .lead {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* ── Section scaffolding ──────────────────────────────────── */
.section { padding: 120px 0; border-bottom: 1px solid var(--hairline); }
.section.invert { background: var(--ink); color: var(--paper); }
.section.invert .label,
.section.invert .mute { color: rgba(245,243,237,.55); }
.section.invert .rule { background: rgba(245,243,237,.16); }
.section.invert .hairline-t { border-top-color: rgba(245,243,237,.16); }

.section-head {
  display: grid; grid-template-columns: 160px 1fr; gap: 40px;
  align-items: baseline;
  margin-bottom: 80px;
}
.section-head h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  max-width: 11ch;
}

/* ── About ────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 160px 1fr 1fr; gap: 60px;
  align-items: start;
}
.about-col p { margin: 0 0 20px; }
.about-col p:last-child { margin-bottom: 0; }

/* ── Locations ────────────────────────────────────────────── */
.loc-grid {
  display: grid; grid-template-columns: 160px 1fr 1fr; gap: 60px;
  margin-bottom: 60px;
}
.loc-card { }
.loc-placeholder {
  aspect-ratio: 4/5;
  background: var(--bone);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.section.invert .loc-placeholder { background: #1a1a1a; }
.loc-city {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.loc-meta {
  display: flex; justify-content: space-between; padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.section.invert .loc-meta { border-top-color: rgba(245,243,237,.16); }

.loc-upcoming {
  display: flex; align-items: center; gap: 24px;
  padding: 36px 0; border-top: 1px solid var(--hairline);
  overflow: hidden;
}
.loc-upcoming .label { white-space: nowrap; }
.loc-upcoming .ticker {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  opacity: 0.7;
}

/* ── Courts / Facilities ──────────────────────────────────── */
.courts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(245,243,237,.16);
}
.court-card {
  padding: 48px 40px 56px;
  border-right: 1px solid rgba(245,243,237,.16);
  display: flex; flex-direction: column; gap: 20px;
  min-height: 380px;
}
.court-card:last-child { border-right: 0; }
.court-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: .55;
}
.court-card h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
  max-width: 11ch;
}
.court-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  opacity: .75;
  max-width: 34ch;
}
.court-card .spacer { flex: 1; }
.court-card .diag {
  aspect-ratio: 16/9;
  background:
    repeating-linear-gradient(135deg, rgba(245,243,237,.08) 0 1px, transparent 1px 14px);
  border: 1px solid rgba(245,243,237,.16);
}

/* ── Contact ──────────────────────────────────────────────── */
.contact {
  padding: 160px 0 180px;
  text-align: left;
}
.contact .label { margin-bottom: 40px; }
.contact h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: clamp(60px, 9vw, 160px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 60px;
}
.contact-email {
  display: inline-flex; align-items: center; gap: 20px;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: 0;
  text-transform: lowercase;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  transition: opacity .15s;
}
.contact-email:hover { opacity: .6; }
.contact-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 120px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}
.contact-meta .label { margin-bottom: 8px; }
.contact-meta .value { font-size: 15px; font-weight: 300; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  padding: 40px 0 32px;
  border-top: 1px solid rgba(245,243,237,.16);
  font-size: 11px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px;
}
.footer img { height: 28px; filter: invert(1); }
.footer .legal { opacity: .55; font-family: 'JetBrains Mono', monospace; letter-spacing: .16em; text-transform: uppercase; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --pad: 24px; }
  .nav-links { display: none; }
  .hero { padding: 60px 0 80px; }
  .hero-wordmark { gap: 14px; }
  .hero-sub { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .about-grid, .loc-grid { grid-template-columns: 1fr; gap: 32px; }
  .courts-grid { grid-template-columns: 1fr; }
  .court-card { border-right: 0; border-bottom: 1px solid rgba(245,243,237,.16); min-height: auto; }
  .court-card:last-child { border-bottom: 0; }
  .contact-meta { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
