/* ===== Theme (matched to the Style Samples screenshots) ===== */
:root {
  --gold: #f2a900;
  --orange: #d0582b;        /* links / accent */
  --orange-dark: #a9431d;
  --charcoal: #4a4a4a;      /* utility bar */
  --text: #4d4d4d;
  --heading: #3a3a3a;
  --muted: #808080;
  --line: #dedbd3;
  --beige: #f6f4ee;
  --white: #fff;
  --slab: "Roboto Slab", Rockwell, "Rockwell Nova", Georgia, serif;
  --sans: "Open Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
a { color: var(--orange); }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.slab { font-family: var(--slab); font-weight: 300; color: var(--heading); letter-spacing: -.01em; }
code, kbd { font-size: .88em; background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 3px; }

/* ===== Utility bar ===== */
.utility { background: var(--charcoal); color: #fff; font-size: 15px; }
.utility-inner { display: flex; justify-content: flex-end; align-items: center; gap: 28px; height: 46px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { color: var(--gold); }
.utility-gold { color: var(--gold); padding-right: 28px; border-right: 1px solid rgba(255,255,255,.35); }

/* ===== Main nav ===== */
.nav { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; fill: #fff; }
.brand-text { font-weight: 700; font-size: 19px; letter-spacing: .14em; text-transform: uppercase; color: #555; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #444; text-decoration: none; font-size: 17px; }
.nav-links a:hover { color: var(--orange); }
.nav-search { background: none; border: 0; padding: 4px; cursor: pointer; }
.nav-search svg, .search svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: #222; color: #fff; min-height: 560px; display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.85) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 120px 0 44px; }
.hero-eyebrow { margin: 0; font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.hero h1 { margin: 2px 0 40px; font-family: var(--slab); font-weight: 300; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,.35); }

.cat-circles { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 36px; }
.cat-circle { background: none; border: 0; color: #fff; cursor: pointer; width: 128px; display: flex; flex-direction: column; align-items: center; gap: 12px; font: 400 16px/1.25 var(--sans); text-transform: uppercase; letter-spacing: .02em; padding: 0; }
.cat-circle .ring { width: 78px; height: 78px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; font: 400 26px var(--slab); transition: background .2s, border-color .2s, color .2s; }
.cat-circle .n { display: block; font-size: 13px; opacity: .75; text-transform: none; }
.cat-circle:hover .ring { border-color: var(--gold); color: var(--gold); }
.cat-circle.active .ring { background: var(--gold); border-color: var(--gold); color: #222; }
.cat-circle.active { color: var(--gold); }
.cat-circle:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 6px; }

/* ===== Intro ===== */
.intro { padding: 76px 0 64px; }
.intro-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 56px; align-items: start; }
.intro h2 { margin: 0 0 22px; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; }
.lede { margin: 0; font-size: 20px; font-weight: 300; line-height: 1.75; color: #555; }
.gold-bar { display: block; width: 58px; height: 4px; background: var(--gold); margin-top: 36px; }
.stat-box { border: 1px solid var(--line); border-left: 6px solid var(--gold); padding: 18px 32px 24px; }
.stat-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.stat-row b { font-weight: 600; color: var(--heading); }
.link-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font-weight: 700; font-size: 18px; color: #444; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans); }
.link-more::after { content: ""; width: 9px; height: 9px; border: solid var(--gold); border-width: 3px 3px 0 0; transform: rotate(45deg); }
.link-more:hover { color: var(--orange); }

/* ===== Gallery ===== */
.gallery { background: var(--beige); padding: 56px 0 90px; }
.controls { display: flex; gap: 18px; flex-wrap: wrap; align-items: stretch; }
.search { flex: 1 1 360px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #cfcac0; padding: 0 18px; }
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,169,0,.25); }
.search input { flex: 1; border: 0; outline: 0; height: 56px; font: 400 18px var(--sans); color: var(--text); background: transparent; }
.select { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #cfcac0; padding: 0 14px 0 18px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #666; }
.select select { border: 0; outline: 0; background: transparent; font: 400 17px var(--sans); color: var(--text); height: 54px; cursor: pointer; min-width: 150px; }
.result-count { margin: 22px 0 30px; font-size: 15px; color: var(--muted); }

/* Two vertical videos per row; each card = 9:16 video with its text beside it */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.card { background: #fff; display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: box-shadow .2s; }
.card:hover { box-shadow: 0 6px 22px rgba(0,0,0,.12); }
.player { background: #111; aspect-ratio: 9 / 16; align-self: start; }
.player video { width: 100%; height: 100%; display: block; object-fit: cover; background: #111; }
.player video:fullscreen { object-fit: contain; }

.info { padding: 26px 26px 24px; display: flex; flex-direction: column; min-width: 0; }
.tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; font: 700 15px var(--sans); text-transform: uppercase; letter-spacing: .02em; color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.tag::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.tag:hover { color: var(--orange-dark); }
.info h3 { margin: 14px 0 12px; font-family: var(--sans); font-weight: 300; font-size: 28px; line-height: 1.2; color: var(--heading); overflow-wrap: anywhere; }
.desc p { margin: 0 0 10px; font-size: 16px; }
.details { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 15px; }
.details dt { font-weight: 700; color: var(--heading); }
.details dd { margin: 0; }
.meta { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.meta .file { overflow-wrap: anywhere; }
.meta-bar { width: 40px; height: 3px; background: var(--gold); margin: 20px 0 14px; }
mark { background: rgba(242,169,0,.35); color: inherit; padding: 0 1px; }

.empty { text-align: center; padding: 50px 0; }
.empty h2 { font-size: 36px; margin: 0 0 8px; }
.btn-outline { margin-top: 18px; background: transparent; border: 3px solid #444; color: #333; padding: 12px 28px; font: 700 17px var(--sans); cursor: pointer; }
.btn-outline:hover { border-color: var(--gold); }

/* ===== Footer ===== */
.footer { background: var(--charcoal); color: #ddd; padding: 30px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer .brand-text { color: #fff; font-size: 15px; }
.footer code { background: rgba(255,255,255,.12); color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .card { grid-template-columns: minmax(170px, 220px) minmax(0, 1fr); }
  .info h3 { font-size: 24px; }
}
@media (max-width: 900px) {
  .videos { grid-template-columns: 1fr; }
  .card { grid-template-columns: 260px minmax(0, 1fr); }
  .intro-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .card { grid-template-columns: 1fr; }
  .player { width: 100%; }
  .nav-links a { display: none; }
  .cat-circle { width: 96px; font-size: 13px; }
  .cat-circle .ring { width: 62px; height: 62px; font-size: 21px; }
}
