:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #f6eee6;
  background: #15100f;
  --ink: #f6eee6;
  --muted: #bcaea5;
  --line: #3d302d;
  --ember: #ff8159;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 75% 0%, #542c29 0, transparent 36rem), #15100f;
}
a {
  color: inherit;
}
.site-header {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  text-decoration: none;
  margin-right: auto;
}
nav {
  display: flex;
  gap: 1.3rem;
}
nav a,
.locale {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}
nav a:hover {
  color: var(--ink);
}
main {
  width: min(76rem, 100%);
  margin: auto;
  padding: clamp(1.25rem, 4vw, 4rem);
}
.hero {
  position: relative;
  min-height: 34rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #291f1d;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.hero::after {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgba(15, 8, 7, 0.92));
}
.hero-copy {
  pointer-events: none;
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 5vw, 4rem);
}
.hero h1,
.hero h3,
.page-title h1 {
  margin: 0.2rem 0 1.3rem;
  font:
    clamp(2.8rem, 8vw, 6rem)/0.95 Georgia,
    serif;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e2c7b5;
  font-size: 0.75rem;
}
.scores {
  display: flex;
  gap: 1rem;
}
.score,
.stat {
  min-width: 7rem;
  padding: 1rem;
  border: 1px solid #ffffff38;
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}
.score strong,
.stat strong {
  font:
    2rem Georgia,
    serif;
}
.score span,
.stat span {
  color: var(--muted);
  font-size: 0.75rem;
}
section {
  margin: 4rem 0;
}
h2 {
  font:
    2rem Georgia,
    serif;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.65rem;
}
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
}
.videos video {
  width: 100%;
  border-radius: 0.65rem;
  background: #000;
}
.videos figure {
  margin: 0;
}
.videos figcaption {
  color: var(--muted);
  margin-top: 0.5rem;
}
details {
  border-block: 1px solid var(--line);
  padding: 1.2rem 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
.weather-chart {
  height: 6rem;
  display: flex;
  align-items: end;
  gap: 0.5rem;
}
.weather-chart span {
  flex: 1;
  min-height: 0.5rem;
  background: var(--ember);
  border-radius: 0.2rem 0.2rem 0 0;
}
.share {
  margin-top: 2rem;
  border: 1px solid var(--ember);
  color: var(--ink);
  background: transparent;
  border-radius: 99rem;
  padding: 0.8rem 1.2rem;
}
.weather-state {
  display: grid;
  place-items: center;
  font-size: 8rem;
  min-height: 34rem;
  background: linear-gradient(#5d6770, #2d3237);
}
.empty {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
}
.empty h1 {
  font:
    clamp(2.5rem, 7vw, 5rem) Georgia,
    serif;
  max-width: 14ch;
}
.page-title {
  margin-block: 2rem 4rem;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
  margin-bottom: 2rem;
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
}
.filters select,
.filters input,
.filters button {
  min-height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #251d1b;
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}
.filters button {
  border-color: var(--ember);
  cursor: pointer;
}
.day-card {
  min-height: 9rem;
  display: flex;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  text-decoration: none;
  background: #251d1b;
}
.day-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
}
.day-card > span:last-child {
  align-self: end;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  text-shadow: 0 1px 8px #000;
}
.day-card strong {
  font:
    2rem Georgia,
    serif;
}
.day-card small {
  font-size: 0.65rem;
}
.state-icon {
  margin: auto;
  font-size: 2rem;
}
.ranking-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
}
.bars {
  height: 14rem;
  display: flex;
  align-items: end;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.bars > div {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  text-align: center;
}
.bars span {
  background: linear-gradient(var(--ember), #bb4650);
  min-height: 0.25rem;
}
.bars small {
  padding: 0.6rem 0;
}
@media (max-width: 700px) {
  .site-header {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }
  .hero {
    min-height: 29rem;
  }
  .calendar {
    grid-template-columns: repeat(3, 1fr);
  }
  .day-card {
    min-height: 7rem;
  }
}
.photo-trigger {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: zoom-in;
  display: block;
  width: 100%;
}
.photo-trigger:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
}
.photo-hint {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: #15100fd9;
  font-size: 0.8rem;
}
.photo-dialog {
  width: min(95vw, 90rem);
  max-width: calc(100vw - 2rem);
  max-height: 95vh;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #15100f;
  color: var(--ink);
}
.photo-dialog::backdrop {
  background: #000d;
}
.photo-dialog img {
  aspect-ratio: auto;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
}
.photo-close {
  display: block;
  margin: 0 0 1rem auto;
  padding: 0.7rem;
  cursor: pointer;
}
.photo-dialog p {
  margin-bottom: 0;
}
.today-status {
  margin: 1rem 0 2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}
.today-status h1 {
  font-size: 1.3rem;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
