:root {
  --navy: #0f2d4a;
  --sunset-gold: #d4a15a;
  --cream: #f8f4ee;
  --sky-grey: #7a8ba3;
  --charcoal: #1c1c1c;
  --background: #091923;
  --surface: #102838;
  --muted: #afbdcb;
  --line: rgba(248, 244, 238, 0.12);
  --radius: 18px;
  --gutter: clamp(24px, 3.33vw, 48px);
  color-scheme: dark;
  color: var(--cream);
  background: var(--background);
  font-family: var(--font-inter), Inter, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--sunset-gold);
  outline-offset: 5px;
}
img {
  max-width: 100%;
}
h1,
h2,
h3 {
  font-family: var(--font-editorial), Georgia, serif;
  font-weight: 500;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}
h2 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.16;
  margin: 0;
}
p {
  line-height: 1.65;
}
main {
  width: min(1536px, 100%);
  margin: auto;
  padding: 40px var(--gutter) 64px;
  min-height: 65vh;
}
section {
  margin: 80px 0;
}
.eyebrow {
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.muted,
.condition {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 12px;
  background: var(--cream);
  color: var(--navy);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: relative;
  z-index: 20;
  height: 88px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(15, 45, 74, 0.68);
}
.brand {
  margin-right: auto;
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-desktop {
  width: 205px;
  height: auto;
}
.brand-mobile,
.menu-toggle {
  display: none;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav a,
.locale {
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--cream);
  opacity: 0.78;
  padding: 14px 0;
}
.primary-nav a:hover,
.locale:hover {
  opacity: 1;
}
.primary-nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--sunset-gold);
  text-underline-offset: 10px;
}
.locale {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.button,
.filters button,
.year-navigation button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 13px 22px;
  border: 1px solid transparent;
  background: var(--sunset-gold);
  color: var(--navy);
  border-radius: 5px;
  font-size: 0.79rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 200ms,
    transform 200ms;
}
.button:hover {
  background: #e1b779;
}
.button-ghost {
  background: rgba(9, 25, 35, 0.5);
  color: var(--cream);
  border-color: rgba(248, 244, 238, 0.45);
}
.button-ghost:hover {
  background: rgba(248, 244, 238, 0.12);
}
.icon-button {
  border: 1px solid var(--line);
  background: transparent;
  width: 44px;
  height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.text-button {
  background: transparent;
  border: 0;
  color: var(--cream);
  font-size: 0.8rem;
  padding: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-page {
  width: 100%;
  max-width: none;
  padding: 0;
  margin-top: -88px;
}
.home-hero {
  position: relative;
  height: min(940px, 94svh);
  min-height: 680px;
  margin: 0;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
}
.home-hero > img {
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 9, 17, 0.65), transparent 80%),
    linear-gradient(0deg, rgba(0, 10, 18, 0.92), transparent 45%);
  z-index: 1;
  pointer-events: none;
}
.home-hero-copy {
  position: relative;
  z-index: 2;
  width: min(1440px, 100%);
  margin: auto;
  padding: clamp(180px, 23svh, 250px) var(--gutter) 200px;
}
.home-hero h1 {
  font-size: clamp(3.4rem, 6.7vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 11ch;
}
.home-hero .eyebrow {
  color: var(--cream);
}
.hero-intro {
  max-width: 36ch;
  font-size: 0.93rem;
  line-height: 1.75;
  opacity: 0.9;
  margin: 24px 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-context {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: max(var(--gutter), calc((100% - 1344px) / 2));
  right: max(var(--gutter), calc((100% - 1344px) / 2));
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
}
.hero-context p {
  margin: 0;
}
.hero-context .eyebrow {
  margin: 0 0 8px;
}
.hero-context span {
  font-size: 0.8rem;
  color: var(--muted);
}
.home-body {
  width: min(1536px, 100%);
  margin: auto;
  padding: 0 var(--gutter) 48px;
}
.today-strip {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.83rem;
}
.today-strip > div {
  margin-right: auto;
}
.today-strip .eyebrow {
  display: block;
  margin: 0 0 4px;
}
.today-strip p {
  margin: 0;
}
.today-strip strong {
  color: var(--cream);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
.section-heading > a,
.section-heading > span {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.day-card {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  isolation: isolate;
  transition: transform 200ms;
}
.day-card img {
  object-fit: cover;
  transition: transform 220ms;
}
.day-card:has(img)::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(0, 9, 17, 0.85));
  z-index: 1;
}
.day-card:hover img {
  transform: scale(1.02);
}
.day-card:hover {
  transform: translateY(-2px);
}
.day-card-caption {
  position: relative;
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.day-card-caption strong {
  font-family: var(--font-editorial), Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
}
.day-card-caption small {
  font-size: 0.69rem;
  color: rgba(248, 244, 238, 0.84);
}
.no-image-state {
  position: absolute;
  top: 24px;
  left: 20px;
  color: var(--muted);
  font-size: 0.75rem;
}
.history-section {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.archive-invitation {
  text-align: center;
  padding: 56px 0 24px;
}
.archive-invitation h2 {
  margin: 16px 0 28px;
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 36px var(--gutter);
  border-top: 1px solid var(--line);
  background: #07121b;
  font-size: 0.78rem;
  color: var(--muted);
}
.site-footer p {
  margin-right: auto;
}
.site-footer a {
  text-decoration: none;
}
.scores {
  display: flex;
  gap: 32px;
}
.score {
  min-width: 100px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.score > span {
  font-size: 0.69rem;
  color: var(--muted);
}
.score strong {
  font-size: 1.65rem;
  font-weight: 500;
}
.score strong small {
  color: var(--muted);
  font-size: 0.65rem;
  margin-left: 5px;
}
.score-track {
  height: 2px;
  background: rgba(248, 244, 238, 0.2);
}
.score-track i {
  display: block;
  height: 100%;
  background: var(--sunset-gold);
}
.day-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin: 12px 0 28px;
}
.day-heading h1 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  margin: 0 0 6px;
}
.day-heading .eyebrow {
  margin-bottom: 10px;
}
.day-heading p.condition {
  margin: 0;
  font-size: 0.8rem;
}
.photo-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: min(72svh, 820px);
  min-height: 440px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  touch-action: pan-y;
}
.photo-trigger img {
  object-fit: cover;
}
.photo-hint {
  text-align: right;
  color: var(--muted);
  font-size: 0.69rem;
  margin: 10px 0 28px;
}
.gallery h2 {
  font-size: 1.6rem;
  margin: 40px 0 20px;
}
.gallery-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 12px;
}
.thumbnail-button {
  position: relative;
  width: 180px;
  flex: 0 0 180px;
  aspect-ratio: 3/2;
  border: 0;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
}
.thumbnail-button img {
  object-fit: cover;
  transition: transform 220ms;
}
.thumbnail-button:hover img {
  transform: scale(1.02);
}
.videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.videos figure {
  margin: 0;
}
.videos video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  border-radius: 16px;
  background: #000;
}
.videos figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.8rem;
}
.day-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0;
  gap: 20px;
  padding: 24px 0;
  border-block: 1px solid var(--line);
}
.day-navigation > a {
  text-decoration: none;
  font-size: 0.85rem;
}
.day-navigation small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
.day-navigation > a:last-child {
  text-align: right;
}
.share {
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 5px;
  font-size: 0.75rem;
}
.weather-summary {
  display: flex;
  gap: 48px;
  color: var(--muted);
  font-size: 0.8rem;
  flex-wrap: wrap;
}
.weather-summary strong {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  margin-right: 8px;
}
details {
  padding: 16px 0;
}
summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.8rem;
}
.weather-table {
  width: 100%;
  max-width: 720px;
  text-align: left;
  font-size: 0.8rem;
  border-collapse: collapse;
  margin: 20px 0;
}
.weather-table th,
.weather-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.nearby-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
}
.nearby-days .day-card {
  min-height: 170px;
}
.weather-state {
  height: 50svh;
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}
.media-viewer {
  border: 0;
  padding: 20px 32px;
  background: #030b11;
  color: var(--cream);
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  overflow: hidden;
}
.media-viewer::backdrop {
  background: #030b11;
}
.media-viewer[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 16px;
}
.viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.viewer-header .eyebrow {
  margin: 0;
}
.viewer-header p {
  font-size: 0.8rem;
  margin: 6px 0 0;
}
.viewer-stage {
  position: relative;
  min-height: 0;
  touch-action: pan-y;
}
.viewer-stage img {
  object-fit: contain;
}
.viewer-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.viewer-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(3, 11, 17, 0.7);
}
.viewer-arrow.left {
  left: 8px;
}
.viewer-arrow.right {
  right: 8px;
}
.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--muted);
}
.viewer-toolbar > span {
  text-align: center;
}
.viewer-thumbnails {
  display: flex;
  justify-content: safe center;
  gap: 10px;
  overflow-x: auto;
  padding: 6px;
}
.viewer-thumbnails button {
  position: relative;
  flex: 0 0 80px;
  height: 52px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  padding: 0;
}
.viewer-thumbnails button img {
  object-fit: cover;
}
.viewer-thumbnails button[aria-pressed="true"] {
  border-color: var(--sunset-gold);
}
.viewer-thumbnails span {
  font-size: 0.58rem;
  line-height: 1.4;
}
.archive-page {
  padding-top: 48px;
}
.archive-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.month-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
}
.month-navigation h1 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin: 0;
  text-transform: capitalize;
}
.year-navigation,
.filters {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}
.year-navigation label,
.filters label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.69rem;
  color: var(--muted);
}
input,
select {
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--cream);
  border-radius: 5px;
  min-width: 0;
}
.year-navigation input {
  width: 90px;
}
.year-navigation select {
  width: 84px;
}
.filters input {
  width: 100px;
}
.year-navigation button,
.filters button {
  min-height: 44px;
  padding: 10px 16px;
}
.archive-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.view-toggle {
  display: flex;
  padding: 4px;
  background: var(--surface);
  border-radius: 6px;
  gap: 4px;
}
.view-toggle a {
  font-size: 0.75rem;
  text-decoration: none;
  padding: 10px 14px;
  color: var(--muted);
}
.view-toggle a[aria-current="page"] {
  background: var(--navy);
  color: var(--cream);
  border-radius: 4px;
}
.calendar,
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.calendar-weekdays {
  text-align: center;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.calendar-day,
.calendar-empty,
.calendar-padding {
  min-height: 0;
  aspect-ratio: 1.18;
  border-radius: 10px;
}
.calendar-day .day-card-caption {
  padding: 10px 12px;
  gap: 4px;
}
.calendar-day strong {
  font-family: var(--font-inter), sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
.calendar-day small {
  font-size: 0.6rem;
}
.calendar-day .no-image-state {
  top: 12px;
  left: 12px;
  font-size: 0.6rem;
}
.calendar-empty {
  background: rgba(248, 244, 238, 0.025);
  color: var(--sky-grey);
  padding: 12px;
  font-size: 0.8rem;
}
.calendar-padding {
  opacity: 0;
}
.calendar-score {
  display: none;
}
.archive-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.empty-message {
  margin-bottom: 28px;
}
.ranking-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.page-title {
  margin: 16px 0 48px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  border-block: 1px solid var(--line);
  padding: 28px 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.stat:first-child {
  padding-left: 0;
  border-left: 0;
}
.stat strong {
  font-size: 2rem;
  font-weight: 400;
}
.stat span {
  color: var(--muted);
  font-size: 0.75rem;
}
.bars {
  display: flex;
  gap: 24px;
  height: 280px;
  align-items: end;
  margin: 48px 0 28px;
  border-bottom: 1px solid var(--line);
}
.bars > div {
  flex: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: end;
  align-items: center;
}
.bars span {
  width: min(64px, 80%);
  background: var(--sunset-gold);
  min-height: 2px;
  opacity: 0.8;
}
.bars small {
  font-size: 0.68rem;
  color: var(--muted);
  padding: 16px 0;
}
.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  color: var(--muted);
}
.stats-table th,
.stats-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.empty {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.empty h1 {
  max-width: 18ch;
}
.about-page {
  padding-top: 100px;
  padding-bottom: 100px;
}
.about-page p {
  max-width: 65ch;
  color: var(--muted);
}
.about-page .lead {
  font-size: 1.2rem;
}
.loading-state {
  padding-top: 48px;
}
.skeleton-photo {
  background: var(--surface);
  height: 60svh;
  border-radius: var(--radius);
}
@media (max-width: 1020px) {
  :root {
    --gutter: 24px;
  }
  .site-header {
    gap: 20px;
  }
  .primary-nav {
    gap: 18px;
  }
  .brand-desktop {
    width: 180px;
  }
  .editorial-grid,
  .ranking-list,
  .archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid > :first-child {
    grid-column: 1/-1;
    min-height: 420px;
  }
  .archive-navigation {
    align-items: flex-start;
    flex-direction: column;
  }
  .home-hero-copy {
    padding-top: 200px;
  }
  .home-hero {
    min-height: 760px;
  }
  .stat-grid {
    gap: 16px;
  }
  .stat {
    padding-left: 12px;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 16px;
    --radius: 15px;
  }
  main {
    padding-top: 28px;
    padding-bottom: 40px;
  }
  section {
    margin: 64px 0;
  }
  .site-header {
    height: 64px;
    gap: 20px;
  }
  .brand-desktop {
    display: none;
  }
  .brand-mobile {
    display: flex;
    padding: 3px 6px;
    border-radius: 5px;
    background: var(--cream);
  }
  .menu-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    background: transparent;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 12px 24px 24px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.3);
  }
  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav a {
    padding: 16px 0;
  }
  .locale {
    padding-left: 16px;
  }
  .home-page {
    margin-top: -64px;
  }
  .home-hero {
    min-height: 680px;
    height: 94svh;
  }
  .home-hero-copy {
    padding-top: clamp(140px, 23svh, 210px);
    padding-bottom: 210px;
  }
  .home-hero h1 {
    font-size: clamp(3rem, 12vw, 4.6rem);
  }
  .hero-intro {
    max-width: 30ch;
    font-size: 0.82rem;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    padding: 12px 16px;
    font-size: 0.72rem;
  }
  .hero-context {
    bottom: 24px;
    gap: 20px;
    align-items: start;
    flex-direction: column;
  }
  .hero-context > div:first-child {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.78rem;
  }
  .hero-context .eyebrow {
    width: 100%;
    margin-bottom: -4px;
  }
  .scores {
    gap: 28px;
  }
  .score {
    min-width: 100px;
  }
  .score strong {
    font-size: 1.45rem;
  }
  .today-strip {
    padding: 24px 0;
    gap: 16px;
    flex-wrap: wrap;
  }
  .today-strip > div {
    flex-basis: 100%;
  }
  .today-strip > span {
    font-size: 0.7rem;
  }
  .section-heading {
    gap: 16px;
    align-items: start;
  }
  .section-heading > a,
  .section-heading > span {
    font-size: 0.7rem;
    white-space: normal;
    max-width: 105px;
    text-align: right;
  }
  .editorial-grid,
  .ranking-list,
  .archive-list {
    gap: 14px;
  }
  .day-card {
    min-height: 210px;
  }
  .day-card-caption {
    padding: 14px;
  }
  .day-card-caption strong {
    font-size: 1.15rem;
  }
  .day-card-caption small {
    font-size: 0.59rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature-grid > :first-child {
    min-height: 300px;
  }
  .feature-grid .day-card {
    min-height: 280px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .site-footer p {
    margin: 0;
  }
  .day-heading {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
  .day-heading h1 {
    font-size: 1.85rem;
  }
  .day-heading .scores {
    width: 100%;
  }
  .photo-trigger {
    height: 60svh;
    min-height: 380px;
    border-radius: 14px;
  }
  .photo-trigger img {
    object-position: center;
  }
  .thumbnail-button {
    width: 130px;
    flex-basis: 130px;
    border-radius: 10px;
  }
  .videos {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .day-navigation {
    gap: 12px;
  }
  .day-navigation > a,
  .share {
    font-size: 0.66rem;
  }
  .share {
    padding: 10px 8px;
  }
  .weather-summary {
    gap: 24px;
  }
  .weather-summary strong {
    font-size: 1.15rem;
  }
  .nearby-days {
    display: flex;
    overflow-x: auto;
    padding: 4px 0 12px;
  }
  .nearby-days .day-card {
    min-width: 160px;
    min-height: 160px;
  }
  .media-viewer {
    padding: 16px 8px;
  }
  .viewer-header {
    padding: 0 8px;
    gap: 12px;
  }
  .viewer-header .eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
  .viewer-arrow {
    width: 36px;
    height: 36px;
  }
  .viewer-toolbar {
    gap: 2px;
  }
  .viewer-toolbar .text-button {
    font-size: 0.6rem;
    padding: 8px 4px;
  }
  .viewer-toolbar > span {
    font-size: 0.62rem;
    max-width: 125px;
  }
  .viewer-thumbnails {
    justify-content: start;
  }
  .archive-page {
    padding-top: 28px;
  }
  .month-navigation {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .month-navigation h1 {
    font-size: 1.75rem;
  }
  .archive-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .filters {
    gap: 8px;
  }
  .filters label:first-child {
    flex: 1;
  }
  .filters select {
    width: 100%;
    max-width: 180px;
  }
  .filters input {
    width: 78px;
  }
  .filters button {
    font-size: 0.68rem;
    padding: 10px 8px;
    max-width: 88px;
  }
  .view-toggle {
    align-self: flex-end;
  }
  .calendar,
  .calendar-weekdays {
    gap: 4px;
  }
  .calendar-day,
  .calendar-empty,
  .calendar-padding {
    aspect-ratio: 0.72;
    border-radius: 5px;
  }
  .calendar .calendar-day {
    min-height: 0;
  }
  .calendar-score {
    display: block;
    position: absolute;
    z-index: 3;
    top: 4px;
    right: 4px;
    padding: 2px 3px;
    border-radius: 3px;
    background: rgba(0, 9, 17, 0.55);
    color: var(--cream);
    font-size: 0.5rem;
  }
  .calendar-day .day-card-caption {
    padding: 5px;
  }
  .calendar-day strong {
    font-size: 0.75rem;
  }
  .calendar-day small,
  .calendar-day .no-image-state {
    display: none;
  }
  .calendar-empty {
    padding: 6px;
    font-size: 0.7rem;
  }
  .calendar-weekdays {
    font-size: 0.58rem;
    margin-bottom: 10px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .stat,
  .stat:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .stat strong {
    font-size: 1.7rem;
  }
  .bars {
    gap: 10px;
    height: 220px;
  }
  .bars small {
    font-size: 0.55rem;
  }
  .about-page {
    padding-top: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@font-face {
  font-family: Inter;
  src: url("/_next/static/sky-archives/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/_next/static/sky-archives/PlayfairDisplay.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --font-inter: system-ui;
  --font-editorial: Georgia;
}
:root.brand-fonts {
  --font-inter: Inter;
  --font-editorial: "Playfair Display";
}
.home-hero > img,
.day-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-body > section {
  padding-top: 72px;
}
.public-desktop-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.public-desktop-nav a {
  text-decoration: none;
  font-size: 0.85rem;
}
.public-mobile-nav {
  display: none;
}
.day-card-copy {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
}
.day-card-copy strong,
.day-card-copy small {
  display: block;
}
.day-card-copy small {
  font-size: 0.75rem;
  margin-top: 8px;
}
.calendar-day {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  min-height: 0;
  background: var(--surface);
}
.calendar-day img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.calendar-number {
  position: absolute;
  bottom: 8px;
  left: 8px;
  text-shadow: 0 1px 5px #000;
}
.public-media {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.public-media > .photo-trigger {
  flex: 0 0 100%;
  height: min(72vh, 850px);
}
.public-media > .photo-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-thumbnail {
  width: 100px;
  height: 75px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
}
.media-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-video {
  flex: 1 1 420px;
  margin: 24px 0;
}
.media-video video {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 16px;
}
.media-video-open {
  background: none;
  border: 0;
  padding: 12px 0;
  text-decoration: underline;
}
.viewer-content {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
}
.viewer-content img,
.viewer-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.viewer-open {
  overflow: hidden;
}
.viewer-day-previous,
.viewer-day-next {
  font-size: 0.8rem;
}
@media (max-width: 760px) {
  .public-desktop-nav {
    display: none;
  }
  .public-mobile-nav {
    display: block;
  }
  .public-mobile-nav summary {
    cursor: pointer;
    font-size: 1.2rem;
    list-style: none;
  }
  .public-mobile-nav nav {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    padding: 24px;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .calendar-day {
    min-height: 0;
    border-radius: 8px;
  }
  .public-media > .photo-trigger {
    height: 60vh;
  }
}
