:root {
  --ink: #17151c;
  --muted: #67616f;
  --paper: #f7f3ec;
  --card: #fffaf2;
  --line: #ddd0be;
  --hot: #d7286b;
  --orange: #f0742f;
  --gold: #e5b743;
  --violet: #5d42a8;
  --night: #161925;
  --mint: #d7f1e5;
}

* { 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;
  letter-spacing: 0;
}
a { color: inherit; }
.site-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 5vw;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 242, .96);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--night);
  color: #fff;
  font-size: .78rem;
  font-weight: 950;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-weight: 800; }
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  color: #4f4958;
  font-weight: 850;
}
nav a { text-decoration: none; }
.language-control select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 8px;
  background: #fff;
  font: inherit;
  font-weight: 800;
}
.hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 365px);
  gap: 24px;
  align-items: end;
  padding: 15vh 5vw 7vh;
  background-image: linear-gradient(180deg, rgba(13, 11, 22, .10), rgba(13, 11, 22, .84)), url("assets/hero.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}
.hero-copy { max-width: 970px; }
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hot);
  font-size: .82rem;
  font-weight: 950;
}
.hero .eyebrow {
  display: inline-block;
  color: #441225;
  background: rgba(255, 255, 255, .88);
  border-radius: 5px;
  padding: 4px 7px;
}
h1, h2, h3 { letter-spacing: 0; }
h1 { margin: 0 0 18px; font-size: clamp(3.1rem, 7.4vw, 6.5rem); line-height: .94; max-width: 980px; }
h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; }
h3 { margin: 0; font-size: 1.16rem; line-height: 1.18; }
p { line-height: 1.55; }
.hero p { max-width: 830px; font-size: clamp(1.06rem, 2vw, 1.34rem); margin: 0 0 24px; }
.hero-actions, .card-actions, .source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.btn, .card-actions a, .source-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .52);
  padding: 10px 13px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}
.btn.primary { background: var(--gold); color: var(--night); border-color: var(--gold); }
.hero-panel {
  background: rgba(255, 250, 242, .95);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 8px;
  padding: 18px;
}
.hero-panel strong { display: block; font-size: 1.12rem; }
.hero-panel p { color: #514b58; margin: 9px 0 0; }
.planner {
  display: grid;
  grid-template-columns: minmax(250px, .82fr) minmax(320px, 1.45fr);
  gap: 34px;
  padding: 46px 5vw;
  background: #efe7d8;
  border-bottom: 1px solid var(--line);
}
.planner p { color: #514b58; margin-bottom: 0; }
.controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.controls label { display: grid; gap: 8px; color: #382f41; font-weight: 900; }
.controls input, .controls select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #ccbca6;
  border-radius: 7px;
  background: #fff;
  padding: 0 13px;
  font: inherit;
  font-weight: 750;
}
.chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips button {
  min-height: 34px;
  border: 1px solid #d2b7bd;
  border-radius: 999px;
  background: #fff7f8;
  color: #7d2242;
  font: inherit;
  font-size: .9rem;
  font-weight: 900;
  padding: 6px 10px;
  cursor: pointer;
}
.chips button:hover,
.chips button.is-active {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}
.type-showcase {
  padding: 38px 5vw 10px;
  background: #fbf6ee;
}
.type-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.type-head h2 { margin-bottom: 0; }
.type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.type-card {
  position: relative;
  width: 100%;
  min-height: 178px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--night);
  color: #fff;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.type-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.01);
  transition: transform .18s ease, opacity .18s ease;
}
.type-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 18, .06), rgba(11, 12, 18, .78));
}
.type-card:hover img,
.type-card.is-active img { transform: scale(1.06); }
.type-card.is-active {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}
.type-card span {
  position: relative;
  z-index: 1;
}
.type-card-copy {
  min-height: 178px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 14px;
}
.type-card-copy strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.08;
}
.type-count {
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 250, 242, .9);
  color: #2b2432;
  padding: 4px 8px;
  font-size: .76rem;
  font-weight: 950;
}
.calendar-planner {
  padding: 38px 5vw 16px;
  background: #efe7d8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calendar-planner .type-head {
  align-items: start;
}
.calendar-planner .type-head p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: #514b58;
}
.small-clear {
  min-height: 38px;
  border: 1px solid #ccbca6;
  border-radius: 7px;
  background: #fffaf2;
  color: var(--night);
  padding: 8px 11px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.small-clear:hover { border-color: var(--night); }
.time-block { margin-top: 20px; }
.time-block h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}
.season-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.season-card,
.time-chip {
  border: 1px solid #d5c4ac;
  border-radius: 8px;
  background: #fffaf2;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}
.season-card {
  min-height: 128px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 13px;
  text-align: left;
}
.season-card strong,
.time-chip strong { display: block; line-height: 1.12; }
.season-card span,
.time-chip span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.25;
}
.season-card:hover,
.season-card.is-active,
.time-chip:hover,
.time-chip.is-active {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}
.season-card:hover span,
.season-card.is-active span,
.time-chip:hover span,
.time-chip.is-active span { color: rgba(255, 255, 255, .78); }
.time-grid {
  display: grid;
  gap: 8px;
}
.quarter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.month-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.time-chip {
  min-height: 66px;
  padding: 10px;
  text-align: left;
}
.trip-support {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(320px, 1.5fr);
  gap: 28px;
  padding: 38px 5vw 20px;
  background: #fbf6ee;
}
.trip-support p { color: #514b58; margin-bottom: 0; }
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.support-grid a {
  min-height: 104px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 14px;
  color: var(--ink);
  text-decoration: none;
}
.support-grid a:hover {
  border-color: var(--night);
  background: #fff;
}
.support-grid strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.12;
}
.support-grid span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.35;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 28px 5vw 10px;
}
.stats div {
  min-height: 110px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px;
}
.stats strong { display: block; font-size: 2rem; }
.stats span { color: var(--muted); font-weight: 850; }
.section { padding: 46px 5vw 62px; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.section-head p { max-width: 880px; color: var(--muted); margin-bottom: 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card {
  min-height: 510px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  background: #d8d0c8;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.card-media figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  border-radius: 5px;
  padding: 4px 6px;
  background: rgba(22, 25, 37, .72);
  color: rgba(255, 255, 255, .88);
  font-size: .68rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-media figcaption a {
  color: inherit;
  text-decoration: none;
}
.card-body { display: grid; gap: 9px; padding: 16px 18px 8px; align-content: start; }
.rank { color: var(--hot); font-weight: 950; font-size: .9rem; }
.meta { display: flex; flex-wrap: wrap; gap: 7px; }
.pill {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff0d2;
  border: 1px solid #ecd08d;
  color: #6d3d00;
  font-size: .82rem;
  font-weight: 900;
}
.card p { color: #4f4958; margin: 0; }
.card-actions { padding: 0 18px 18px; align-self: end; }
.card-actions a {
  background: #f8f1e5;
  border-color: #dccdb7;
  color: var(--night);
  font-size: .9rem;
}
.card-actions a.primary { background: var(--night); border-color: var(--night); color: #fff; }
.source-note {
  background: var(--night);
  color: rgba(255, 255, 255, .86);
  padding: 44px 5vw;
}
.source-note h2 { color: #fff; }
.source-note p { max-width: 920px; }
.source-links a { background: rgba(255, 255, 255, .10); }
footer {
  padding: 28px 5vw;
  color: rgba(255, 255, 255, .76);
  background: #0f1119;
}
footer p { margin: 0; }

@media (max-width: 1050px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .month-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trip-support { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; gap: 10px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 72px; }
  .hero-panel { max-width: 560px; }
  .planner { grid-template-columns: 1fr; }
  .controls { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .type-head { display: block; }
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type-card, .type-card-copy { min-height: 158px; }
  .quarter-grid, .month-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 15vw, 4.45rem); }
}
@media (max-width: 430px) {
  nav a { font-size: .92rem; }
  .hero, .planner, .section, .stats, .type-showcase, .calendar-planner, .trip-support, .source-note, footer { padding-left: 18px; padding-right: 18px; }
  .stats { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr; }
  .season-grid, .quarter-grid, .month-grid { grid-template-columns: 1fr; }
}
