/* ---------- Fonts (self-hosted; Barlow stands in for Wix's licensed "DIN Next Light") ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(/fonts/barlow-latin-ext-300-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(/fonts/barlow-latin-300-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/barlow-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/barlow-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens (taken from the Wix theme) ---------- */
:root {
  --serif: Georgia, Palatino, "Book Antiqua", "Palatino Linotype", serif;
  --sans: "Barlow", "DIN Next", "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
  --text: #605e5e;       /* color_14 */
  --ink: #000;
  --dark: #242323;       /* corner triangles */
  --player: #2f2e2e;     /* color_15 */
  --hover: #943516;      /* color_19 */
  --accent: #de5021;     /* color_18 – footer */
  --card: rgba(204, 204, 204, .77);
  --content: 980px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-weight: 300; overflow-x: hidden; }
h1, h2, h4, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Fixed page background video ---------- */
.page-bg { position: fixed; inset: 0; z-index: -1; background: #ddd url(/media/hero-poster.jpg) center / cover no-repeat; }
.page-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px; max-height: 1000px;
  display: flex; flex-direction: column; align-items: center;
}
.logo {
  margin-top: 22px;
  width: 85px; height: 85px; border-radius: 50%;
  background: #000; color: #fff; text-decoration: none;
  display: grid; place-items: center;
}
.logo h1 { font: 500 50px/1 var(--sans); letter-spacing: -1px; transform: translateY(1px); }

.nav { width: min(var(--content), 100%); margin-top: 77px; }
.nav ul { display: flex; }
.nav li { flex: 1; text-align: center; }
.nav a {
  display: inline-block; padding: 0 12px;
  font: 400 40px/56px var(--serif); color: #000; text-decoration: none;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--hover); }

.scroll-down {
  position: absolute; left: 50%; top: 53%; transform: translateX(-50%);
  width: 85px; height: 27px; color: #000; display: block;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-down svg { width: 100%; height: 100%; display: block; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-down { animation: none; } }

/* ---------- Sections ---------- */
main { background: #fff; }
.section { width: min(var(--content), 100%); margin: 0 auto; padding: 0 20px; }
.section-title { font: 400 85px/1.15 var(--serif); text-align: center; color: #000; }
.section-title.small { font-size: 70px; }
.articles, .podcast, .about { scroll-margin-top: 0; }

/* Articles */
.articles { padding-top: 80px; }
.cards {
  display: grid; grid-template-columns: 366px 366px; grid-template-rows: repeat(3, auto); grid-auto-flow: column; justify-content: space-between;
  column-gap: 40px; row-gap: 32px;
  padding: 20px 7px 0 27px; max-width: 980px; margin: 0 auto;
}
.card {
  background: var(--card); border-radius: 70px;
  min-height: 158px; padding: 30px 40px;
  display: flex; align-items: center;
}
.card:nth-child(1), .card:nth-child(2), .card:nth-child(4), .card:nth-child(5) { min-height: 206px; }
.card h4 { font: 300 33px/1.4 var(--sans); color: var(--text); }
.card a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
.card a:hover { color: var(--hover); }

/* Podcast + reportage */
.podcast { padding-top: 70px; padding-bottom: 50px; }
.episode { width: min(731px, 100%); margin: 0 auto 30px; }
.episode .section-title.small { line-height: 80px; }
.episode-desc { font: 300 18px/1.3 var(--sans); color: #000; text-align: center; margin: 4px 12px 16px; }

.player-frame { position: relative; padding: 14px 24px; }
.corner { position: absolute; width: 32px; height: 32px; background: var(--dark); pointer-events: none; }
.corner.tl { top: 0; left: 0;  clip-path: polygon(0 0, 100% 0, 0 100%); }
.corner.tr { top: 0; right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.corner.bl { bottom: 0; left: 0;  clip-path: polygon(0 0, 100% 100%, 0 100%); }
.corner.br { bottom: 0; right: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }

/* Audio player (replica of Wix "classic" music player: play button + progress bar) */
.player { display: flex; align-items: center; gap: 14px; height: 40px; color: var(--player); background: #fff; }
.player button {
  flex: none; width: 28px; height: 28px; padding: 0; border: 0; background: none;
  color: var(--player); cursor: pointer; display: grid; place-items: center;
}
.player button:hover { color: var(--hover); }
.player button svg { width: 16px; height: 16px; fill: currentColor; }
.player .bar {
  position: relative; flex: 1; height: 20px; cursor: pointer; touch-action: none;
}
.player .track, .player .fill { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; }
.player .track { right: 0; background: #d4d4d4; }
.player .buffer { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; background: #b5b5b5; }
.player .fill { background: var(--player); width: 0; }
.player .knob {
  position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: var(--player); transition: transform .15s;
}
.player .bar:hover .knob, .player.dragging .knob { transform: scale(2); }
.player .time { flex: none; font: 300 13px/1 var(--sans); color: var(--player); font-variant-numeric: tabular-nums; text-align: right; display: none; }
.player.started .time { display: block; }

/* Image strip with "reveal" effect */
.strip { position: relative; height: 180px; clip-path: inset(0); background: #222; }
.strip-img { position: fixed; inset: 0; background: url(/media/strip.jpg) center / cover no-repeat; }
.strip + .about { border-top: 72px solid #fafafa; }

/* About */
.about { padding-top: 0; padding-bottom: 160px; width: 100%; }
.about .section-title { padding-top: 0; }
.about-text { width: min(890px, 100%); margin: 26px auto 0; font: 300 20px/28px var(--sans); color: var(--text); }
.about-text p + p { margin-top: 28px; }
.about-text strong { font-weight: 500; }

/* Footer */
.footer { height: 41px; background: var(--accent); }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; padding: 20px 0 0; column-gap: 28px; }
  .card { padding: 26px 34px; }
  .card h4 { font-size: 28px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  .hero { min-height: 480px; }
  .logo { margin-top: 28px; width: 72px; height: 72px; }
  .logo h1 { font-size: 42px; }
  .nav { margin-top: 48px; }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav a { font-size: 32px; line-height: 46px; }
  .scroll-down { top: auto; bottom: 48px; width: 60px; height: 19px; }

  .section { padding: 0 16px; }
  .section-title { font-size: 52px; }
  .section-title.small { font-size: 44px; }
  .episode .section-title.small { line-height: 1.15; margin-bottom: 8px; }

  .articles { padding-top: 56px; }
  .cards { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; row-gap: 16px; padding-top: 24px; }
  .card, .card:nth-child(n) { min-height: 0; padding: 28px 30px; border-radius: 48px; }
  .card h4 { font-size: 22px; line-height: 1.4; }

  .podcast { padding-top: 56px; padding-bottom: 30px; }
  .episode { margin-bottom: 40px; }
  .episode-desc { font-size: 17px; margin: 4px 0 16px; }
  .player-frame { padding: 10px 16px; }
  .corner { width: 22px; height: 22px; }
  .player { gap: 10px; }
  .player .time { font-size: 12px; }

  .strip { height: 140px; }
  .strip + .about { border-top-width: 40px; }
  .about { padding-bottom: 80px; }
  .about-text { font-size: 18px; line-height: 26px; margin-top: 18px; }
  .about-text p + p { margin-top: 22px; }
}

@media (max-width: 380px) {
  .section-title { font-size: 44px; }
  .section-title.small { font-size: 38px; }
  .card h4 { font-size: 20px; }
}
