:root {
  color-scheme: light;
  --ink: #0d281b;
  --ink-soft: #244536;
  --muted: #66736b;
  --paper: #fbf8ef;
  --paper-deep: #f2ead8;
  --white: #fffdf7;
  --court: #0f5d38;
  --court-2: #2b8758;
  --line: #dfd4bd;
  --line-strong: #cbbd9f;
  --sun: #f3c849;
  --clay: #b74824;
  --blue: #95c5df;
  --shadow: 0 18px 50px rgba(42, 54, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection {
  background: var(--sun);
  color: var(--ink);
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(15, 93, 56, 0.35);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  min-height: 76vh;
  background:
    linear-gradient(90deg, rgba(251, 248, 239, 0.96) 0%, rgba(251, 248, 239, 0.84) 38%, rgba(251, 248, 239, 0.08) 72%),
    url("https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--court);
  color: var(--white);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-mark svg path:first-child {
  fill: currentColor;
  opacity: 0.14;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: #102e20;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a,
.text-link,
.note-card a {
  text-decoration: none;
}

.nav-links a:hover,
.text-link:hover,
.note-card a:hover {
  color: var(--court);
}

.weather-chip {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.weather-chip::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0 38%, transparent 40%);
  box-shadow: 0 0 0 2px rgba(243, 200, 73, 0.2);
}

.hero {
  display: flex;
  align-items: center;
  max-width: 1280px;
  min-height: calc(76vh - 83px);
  margin: 0 auto;
  padding: 36px 28px 54px;
}

.hero-copy {
  max-width: 620px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 9vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.32rem;
  line-height: 1.12;
}

.hero p {
  max-width: 540px;
  margin-bottom: 28px;
  color: #183829;
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--court);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(15, 93, 56, 0.22);
}

.button-primary::after {
  content: "->";
  margin-left: 10px;
}

.button-secondary {
  border-color: var(--court);
  background: rgba(255, 253, 247, 0.74);
  color: var(--court);
  backdrop-filter: blur(8px);
}

.button-submit {
  background: var(--clay);
  color: var(--white);
}

.court-finder,
.court-results,
.map-section,
.field-notes,
.submit-band,
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding-right: 28px;
  padding-left: 28px;
}

.court-finder {
  padding-top: 46px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  color: var(--court);
  font-weight: 800;
  white-space: nowrap;
}

.text-link::after {
  content: " ->";
}

.reset-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-soft);
  min-height: 42px;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
}

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

.filters {
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) repeat(5, minmax(130px, 1fr));
  gap: 12px;
  align-items: end;
}

.filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.filters input,
.filters select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
}

.filters input:focus,
.filters select:focus {
  border-color: var(--court);
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  bottom: 13px;
  left: 14px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 2;
  pointer-events: none;
}

.search-field input {
  padding-left: 44px;
}

.court-results {
  padding-top: 20px;
}

.results-summary {
  min-height: 24px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.court-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(42, 54, 38, 0.08);
}

.photo-frame {
  position: relative;
  overflow: hidden;
}

.court-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-deep);
  transition: transform 260ms ease;
}

.court-card:hover img {
  transform: scale(1.025);
}

.photo-badges {
  position: absolute;
  inset: 12px 12px auto 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.badge {
  border-radius: 6px;
  background: rgba(15, 49, 32, 0.92);
  color: var(--white);
  padding: 6px 9px;
  font-size: 0.76rem;
  font-weight: 900;
}

.court-card-body {
  padding: 18px;
}

.court-card h3 {
  margin-bottom: 4px;
}

.court-meta,
.court-note,
.mini-row {
  color: var(--muted);
  font-size: 0.92rem;
}

.court-meta {
  margin-bottom: 15px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-bottom: 16px;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #edf4e8;
  color: var(--court);
  font-size: 0.72rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.condition-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--court-2);
  flex: 0 0 auto;
}

.condition-dot.fair {
  background: #d59a29;
}

.condition-dot.watch {
  background: var(--clay);
}

.court-note {
  margin-bottom: 14px;
  color: #3c4d43;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border-radius: 999px;
  background: #edf4e8;
  color: #21543c;
  padding: 6px 9px;
  font-size: 0.76rem;
  font-weight: 900;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
  padding: 36px;
  text-align: center;
}

.map-section,
.field-notes {
  padding-top: 62px;
}

.map-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 253, 247, 0.28), rgba(255, 253, 247, 0.28)),
    repeating-linear-gradient(34deg, transparent 0 78px, rgba(15, 93, 56, 0.08) 79px 81px),
    repeating-linear-gradient(116deg, transparent 0 96px, rgba(149, 197, 223, 0.32) 97px 100px),
    #e9efdf;
}

.map-panel::before,
.map-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.map-panel::before {
  width: 66%;
  height: 110px;
  left: -8%;
  top: 54%;
  border: 18px solid rgba(149, 197, 223, 0.52);
  transform: rotate(-18deg);
}

.map-panel::after {
  content: "Austin";
  left: 37%;
  top: 44%;
  color: rgba(13, 40, 27, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 700;
}

.map-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--court);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(42, 54, 38, 0.22);
  font-size: 0.86rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.map-list {
  border-left: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.86);
}

.map-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding: 18px 24px 0;
  font-weight: 800;
}

.map-tabs span {
  padding-bottom: 12px;
  color: var(--muted);
}

.map-tabs .active {
  color: var(--court);
  border-bottom: 3px solid var(--court);
}

.map-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.map-list li {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
}

.map-list img {
  width: 76px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
}

.map-list h3 {
  margin-bottom: 4px;
  font-family: inherit;
  font-size: 0.98rem;
}

.map-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.distance {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

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

.note-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.note-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.note-card div {
  padding: 18px;
}

.note-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.note-card p:last-of-type {
  color: var(--muted);
}

.note-card a {
  color: var(--court);
  font-weight: 900;
}

.submit-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
  margin-top: 66px;
  padding-top: 24px;
  padding-bottom: 24px;
  background: var(--sun);
}

.submit-band > * {
  max-width: 1280px;
}

.submit-band h2 {
  margin-bottom: 6px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.submit-band p {
  max-width: 640px;
  margin-bottom: 0;
  color: #563a11;
  font-weight: 650;
}

.site-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 34px;
}

.site-footer p {
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ink-soft);
  font-weight: 800;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 1050px) {
  .nav {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-content: start;
    order: 3;
  }

  .weather-chip {
    justify-self: start;
  }

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

  .search-field {
    grid-column: 1 / -1;
  }

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

  .map-layout {
    grid-template-columns: 1fr;
  }

  .map-list {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    background:
      linear-gradient(rgba(251, 248, 239, 0.95), rgba(251, 248, 239, 0.88)),
      url("https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?auto=format&fit=crop&w=1400&q=80");
    background-position: center;
  }

  .nav,
  .hero,
  .court-finder,
  .court-results,
  .map-section,
  .field-notes,
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 540px;
    padding-top: 36px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .section-heading,
  .submit-band,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .filters,
  .court-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }

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

  .map-panel {
    min-height: 360px;
  }

  .map-list li {
    grid-template-columns: 64px 1fr;
  }

  .map-list img {
    width: 64px;
    height: 52px;
  }

  .distance {
    grid-column: 2;
  }

  .submit-band {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 1.08rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-actions,
  .hero-actions .button,
  .button-submit {
    width: 100%;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: start;
    padding-bottom: 4px;
  }
}

.coming-soon-page {
  min-height: 100vh;
  background: var(--paper);
}

.coming-soon-hero {
  min-height: 74vh;
  background:
    linear-gradient(90deg, rgba(251, 248, 239, 0.98) 0%, rgba(251, 248, 239, 0.9) 43%, rgba(251, 248, 239, 0.18) 78%),
    url("https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.coming-soon-nav {
  grid-template-columns: minmax(230px, 1fr) auto;
}

.coming-soon-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 44px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 28px 76px;
}

.coming-soon-copy {
  max-width: 760px;
}

.launch-note {
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid rgba(15, 93, 56, 0.24);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.78);
  color: var(--court);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.coming-soon-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 8vw, 7rem);
}

.coming-soon-copy > p:not(.launch-note) {
  max-width: 620px;
  margin-bottom: 30px;
  color: #183829;
  font-size: 1.16rem;
}

.coming-soon-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.preview-photo {
  min-height: 220px;
  background:
    linear-gradient(180deg, transparent, rgba(13, 40, 27, 0.72)),
    url("https://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?auto=format&fit=crop&w=1000&q=82");
  background-position: center;
  background-size: cover;
  position: relative;
}

.preview-photo span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  border-radius: 6px;
  background: var(--court);
  color: var(--white);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.preview-card-body {
  padding: 22px;
}

.preview-card-body h2 {
  margin-bottom: 16px;
  font-size: 2rem;
}

.preview-card-body ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-card-body li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 750;
}

.preview-card-body li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--court-2);
  flex: 0 0 auto;
}

.coming-soon-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 28px 34px;
}

.coming-soon-strip article {
  border-top: 3px solid var(--court);
  padding-top: 18px;
}

.coming-soon-strip span {
  color: var(--clay);
  font-weight: 900;
}

.coming-soon-strip h2 {
  margin-top: 12px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.coming-soon-strip p,
.coming-soon-submit p {
  color: var(--muted);
}

.coming-soon-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 28px 64px;
}

.coming-soon-submit h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.coming-soon-submit p {
  max-width: 650px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .coming-soon-nav,
  .coming-soon-layout,
  .coming-soon-strip {
    grid-template-columns: 1fr;
  }

  .coming-soon-layout {
    padding-top: 36px;
  }

  .coming-soon-card {
    max-width: 520px;
  }

  .coming-soon-submit {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .coming-soon-nav,
  .coming-soon-layout,
  .coming-soon-strip,
  .coming-soon-submit {
    padding-right: 18px;
    padding-left: 18px;
  }

  .coming-soon-copy h1 {
    font-size: clamp(3.25rem, 16vw, 4.8rem);
  }

  .coming-soon-card,
  .coming-soon-submit .button {
    width: 100%;
  }
}
