:root {
  --ink: #151718;
  --muted: #5f686b;
  --paper: #f3f0e8;
  --card: #fffdf8;
  --line: #d9d0bf;
  --accent: #185a66;
  --accent-2: #9f3d2f;
  --gold: #c79a2f;
  --deep: #24323e;
  --soft: #e9e1d2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}
a { color: inherit; }
.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 5vw;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 235px;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-weight: 950;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-weight: 760; }
nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  flex-wrap: wrap;
  color: #566064;
  font-weight: 850;
}
nav a { text-decoration: none; }
.hero {
  min-height: 74vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 375px);
  gap: 24px;
  align-items: end;
  padding: 15vh 5vw 7vh;
  background-image: linear-gradient(180deg, rgba(10, 13, 14, .04), rgba(10, 13, 14, .8)), var(--hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
}
.hero-copy { max-width: 1030px; }
.kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-2);
  font-size: .82rem;
  font-weight: 950;
}
.hero .kicker {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(255, 253, 248, .9);
}
h1, h2, h3 { letter-spacing: 0; }
h1 { margin: 0 0 18px; font-size: clamp(3rem, 7vw, 6.6rem); line-height: .95; max-width: 1060px; }
h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1; }
h3 { margin: 0; font-size: 1.18rem; line-height: 1.18; }
p { line-height: 1.55; }
.hero p { max-width: 850px; margin: 0 0 24px; font-size: clamp(1.06rem, 2vw, 1.34rem); }
.hero-actions, .source-links, .item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.btn, .source-links a, .item-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 7px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}
.btn.primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.hero-panel {
  background: rgba(255, 253, 248, .94);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 8px;
  padding: 18px;
}
.hero-panel strong { display: block; font-size: 1.15rem; }
.hero-panel p { margin: 8px 0 0; color: #445056; font-size: 1rem; }
.planner {
  display: grid;
  grid-template-columns: minmax(240px, .82fr) minmax(320px, 1.45fr);
  gap: 34px;
  padding: 48px 5vw;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.planner p { color: #414c50; margin-bottom: 0; }
.controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.controls label { display: grid; gap: 8px; color: #2f383b; font-weight: 900; }
.controls input, .controls select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbbfae;
  border-radius: 7px;
  background: #fff;
  padding: 0 13px;
  font: inherit;
  font-weight: 760;
}
.image-band {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
  padding: 42px 5vw 0;
}
.image-band img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ddd;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 28px 5vw 12px;
}
.stats div {
  min-height: 112px;
  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: 48px 5vw 64px; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.section-head p { max-width: 940px; color: var(--muted); margin-bottom: 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card {
  min-height: 555px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #ddd4c4;
}
.card-body { display: grid; gap: 9px; padding: 0 18px 4px; align-content: start; }
.rank { color: var(--accent-2); font-weight: 950; font-size: .9rem; }
.meta { display: flex; flex-wrap: wrap; gap: 7px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e6f1f0;
  border: 1px solid #b7d7d3;
  color: #174f58;
  font-size: .82rem;
  font-weight: 900;
}
.why { color: #465357; margin: 0; }
.card p { margin: 0; color: #4c575a; }
.item-actions {
  padding: 0 18px 18px;
  align-self: end;
}
.item-actions a {
  color: var(--ink);
  background: #f7f2e8;
  border-color: var(--line);
  min-height: 38px;
  padding: 8px 10px;
  font-size: .9rem;
}
.item-actions a:first-child { background: var(--deep); color: #fff; border-color: var(--deep); }
.sources {
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(320px, 1fr);
  gap: 28px;
  padding: 52px 5vw;
  background: var(--deep);
  color: #fff;
}
.sources .kicker { color: #f1ca62; }
.sources p { color: #d9e2e3; margin-bottom: 0; }
.source-links { align-content: start; justify-content: end; }
footer { padding: 24px 5vw 34px; color: var(--muted); font-weight: 760; }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; }
  .hero, .planner, .sources { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 12vh; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-band { grid-template-columns: 1fr; }
  .image-band img { height: 220px; }
  .source-links { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    padding: 12px 18px;
    display: grid;
  }
  .brand { min-width: 0; }
  nav { justify-content: flex-start; gap: 10px 13px; font-size: .95rem; }
  h1 { font-size: clamp(2.7rem, 16vw, 4.2rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.55rem); }
  .hero { padding: 72px 18px 34px; }
  .planner, .section, .sources { padding-left: 18px; padding-right: 18px; }
  .controls, .stats, .card-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .item-actions a { flex: 1 1 105px; }
}
