@import url("tagessau-fonts.css");

:root {
  --ink: #081238;
  --navy: #061040;
  --blue: #006cf0;
  --cyan: #16b7ff;
  --pink: #ff55ad;
  --pink-soft: #ffd4e9;
  --paper: #fffafa;
  --white: #ffffff;
  --line: rgba(8, 18, 56, .16);
  --shadow: 0 14px 38px rgba(6, 16, 64, .11);
  --display: "Libre Franklin", Helvetica, sans-serif;
  --body: "Libre Franklin", Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 7%, rgba(255, 85, 173, .12), transparent 24rem),
    linear-gradient(180deg, #fff 0, var(--paper) 45rem);
  font-family: var(--body);
  font-size: 18px;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.preview-bar {
  display: flex;
  justify-content: center;
  gap: .8rem;
  padding: .45rem 1rem;
  color: #fff;
  background: var(--navy);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.preview-bar strong { color: var(--pink); }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: .7rem 2.5rem;
  background: rgba(255, 255, 255, .94);
}

.site-header::after {
  position: absolute;
  right: 2.5rem;
  bottom: 0;
  left: 2.5rem;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue) 0 56%, var(--pink) 56%);
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.brand-mark {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(0, 108, 240, .24);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.07);
}

.brand-name {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
}

.brand-name span { color: var(--pink); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: .7rem 0;
  font-size: .88rem;
}

.main-nav a:not(.support-link)::after {
  position: absolute;
  right: 0;
  bottom: .38rem;
  left: 0;
  height: 3px;
  content: "";
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.support-link {
  padding: .7rem 1rem !important;
  color: #fff;
  background: var(--blue);
  box-shadow: 5px 5px 0 var(--pink-soft);
}

.nav-toggle { display: none; }

main { overflow: hidden; }

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 2.5rem 2.6rem;
}

.hero-brandline {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: .65rem;
  padding: .45rem .7rem;
  color: #fff;
  background: var(--navy);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-brandline > span {
  padding: .25rem .7rem;
  color: var(--navy);
  background: var(--pink);
  font-family: var(--display);
  letter-spacing: 0;
}

.hero-brandline p { margin: 0; }
.hero-brandline time { opacity: .72; }

.lead-story {
  position: relative;
  display: block;
  color: #fff;
  background: var(--navy);
  border-top: 0;
  box-shadow: none;
}

.lead-media {
  grid-area: media;
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #111b4b;
}

.lead-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(3, 9, 38, .94) 0, rgba(3, 9, 38, .67) 33%, rgba(3, 9, 38, .08) 72%),
    linear-gradient(90deg, rgba(3, 9, 38, .25), transparent 45%);
}

.lead-media img,
.lead-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-media video { display: none; }
.lead-media video.is-ready { display: block; }

.media-label {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .35rem .6rem;
  color: #fff;
  background: rgba(6, 16, 64, .86);
  border-left: 4px solid var(--pink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lead-copy {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .75fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.4rem, 3vw, 3rem) clamp(1.6rem, 3vw, 2.8rem);
  pointer-events: none;
  background: transparent;
}

.lead-head { align-self: end; }

.lead-deck {
  align-self: end;
  padding-bottom: .35rem;
  border-top: 1px solid rgba(255, 255, 255, .4);
}

.story-kicker {
  display: inline-block;
  margin-bottom: .65rem;
  padding: .35rem .65rem;
  color: #fff;
  background: rgba(6, 16, 64, .84);
  border-left: 5px solid var(--pink);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lead-copy h1 {
  max-width: 19ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 4.6vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .92;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .38);
}

.lead-copy p {
  max-width: 37rem;
  margin: 1rem 0 1.25rem;
  color: rgba(255, 255, 255, .92);
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.38;
}

.read-link {
  align-self: end;
  justify-self: start;
  padding-bottom: .3rem;
  border-bottom: 3px solid var(--pink);
  font-weight: 700;
  text-transform: uppercase;
  pointer-events: auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .28);
}

.read-link span { color: var(--pink); }

.hero-nav-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: .45rem .7rem .4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-bottom: 0;
}

.hero-controls {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
}

.hero-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--navy);
  background: transparent;
  border: 0;
  font-size: 1.05rem;
}

.hero-controls button:hover,
.hero-controls button:focus-visible { color: #fff; background: var(--blue); }

.hero-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 70px;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
}

.hero-count i { width: 16px; height: 2px; background: var(--pink); }

.hero-progress {
  width: 160px;
  height: 2px;
  background: var(--line);
}

.hero-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--pink);
}

.hero-progress span.is-running { animation: hero-progress 10s linear forwards; }

@keyframes hero-progress { to { width: 100%; } }

.headline-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: stretch;
  border: 1px solid var(--line);
  border-top: 0;
  background: #fff;
}

.rail-story {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
  min-height: 150px;
  padding: 1.5rem 1.35rem;
  cursor: pointer;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.rail-story:last-child { border-right: 0; }

.rail-story::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  width: auto;
  height: 0;
  content: "";
  background: var(--pink);
  transition: height .2s ease;
}

.rail-story.is-active::before,
.rail-story:hover::before { width: auto; height: 6px; }

.rail-story.is-active { background: linear-gradient(180deg, var(--pink-soft), #fff 42%); }

.rail-story span {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rail-story strong { font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.08; }

.manifesto-strip {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 2.5rem;
  color: #fff;
  color: var(--navy);
  background: #f3f6ff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.manifesto-strip p { margin: 0; }
.manifesto-strip span { color: var(--pink); }

.formats,
.news {
  max-width: 1440px;
  margin: 0 auto;
  padding: 6rem 2.5rem 2rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--navy);
}

.section-heading span {
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: .2rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .92;
}

.section-heading p,
.section-heading > a { margin: 0; font-weight: 700; }
.section-heading > a { color: var(--blue); }

.format-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.format-card {
  position: relative;
  grid-column: span 4;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border-top: 4px solid var(--navy);
  box-shadow: none;
}

.format-card--wide { grid-column: span 7; }
.format-card--picture { grid-column: span 5; }

.format-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s ease;
}

.format-card::after { display: none; }

.format-card:hover img { transform: scale(1.025); }

.format-card--phrasen img {
  object-position: center 40%;
  background: #f4f1e9;
}

.format-copy {
  position: static;
  z-index: 2;
  padding: 1.25rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
}

.format-copy span {
  color: var(--pink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.format-copy h3 {
  max-width: 18ch;
  margin: .4rem 0 .6rem;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

.format-copy p { max-width: 36rem; margin: 0 0 1rem; color: rgba(8, 18, 56, .68); }
.format-copy b { border-bottom: 2px solid var(--pink); text-transform: uppercase; }

.news { padding-bottom: 6rem; }

.news-list { border-top: 1px solid var(--line); }

.news-list a {
  display: grid;
  grid-template-columns: 150px 1fr auto 32px;
  align-items: center;
  gap: 1.25rem;
  min-height: 92px;
  padding: 1rem .8rem;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, background .2s ease;
}

.news-list a:hover,
.news-list a:focus-visible { color: #fff; background: var(--blue); }

.news-list span {
  color: var(--pink);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.news-list a:hover span,
.news-list a:focus-visible span { color: #fff; }

.news-list strong { font-family: var(--display); font-size: clamp(1.35rem, 2.3vw, 2.25rem); font-weight: 500; line-height: 1.08; }
.news-list time { font-size: .82rem; font-weight: 700; }
.news-list i { font-size: 1.2rem; font-style: normal; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  padding: 3rem max(2.5rem, calc((100vw - 1360px) / 2));
  color: #fff;
  background: var(--navy);
  border-top: 8px solid var(--pink);
}

.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; }
.footer-brand strong { font-family: var(--display); font-size: 2.35rem; font-weight: 600; }
.footer-brand p { margin: .3rem 0 0; color: rgba(255, 255, 255, .65); }
.site-footer nav { display: flex; align-items: center; gap: 1.5rem; font-weight: 700; }
.site-footer nav a:hover { color: var(--pink); }
.footer-note { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .45); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 1120px) {
  .site-header { padding-inline: 1.5rem; }
  .site-header::after { right: 1.5rem; left: 1.5rem; }
  .main-nav { gap: 1rem; }
  .hero-shell { grid-template-columns: 1fr; padding-inline: 1.5rem; }
  .lead-copy { grid-template-columns: minmax(0, 1.5fr) minmax(240px, .7fr); }
  .headline-rail { grid-template-columns: repeat(4, 1fr); border-top: 0; border-left: 1px solid var(--line); }
  .rail-story { min-height: 142px; padding: 1rem; border-right: 1px solid var(--line); border-bottom: 0; }
  .rail-story:last-child { border-right: 0; }
  .rail-story::before { right: 0; bottom: auto; width: auto; height: 0; }
  .rail-story.is-active::before, .rail-story:hover::before { width: auto; height: 6px; }
  .formats, .news { padding-inline: 1.5rem; }
}

@media (max-width: 820px) {
  .preview-bar { justify-content: space-between; }
  .site-header { padding: .65rem 1rem .85rem; }
  .site-header::after { right: 1rem; left: 1rem; }
  .brand-mark { width: 52px; height: 52px; }
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 46px;
    padding: 10px;
    cursor: pointer;
    background: transparent;
    border: 0;
  }
  .nav-toggle > span:not(.sr-only) { display: block; height: 3px; background: var(--navy); }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .8rem 1rem 1.2rem;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { border-bottom: 1px solid var(--line); }
  .support-link { margin-top: .8rem; text-align: center; }
  .hero-shell { padding: .75rem 1rem 1.8rem; }
  .hero-brandline { grid-template-columns: auto 1fr; }
  .hero-brandline time { display: none; }
  .lead-story { grid-template-columns: 1fr; min-height: 0; }
  .lead-media { min-height: 650px; aspect-ratio: auto; }
  .lead-media::after { background: linear-gradient(0deg, rgba(3, 9, 38, .97) 0, rgba(3, 9, 38, .74) 48%, rgba(3, 9, 38, .08) 82%); }
  .lead-copy { display: block; min-height: 0; padding: 6rem 1.1rem 1.35rem; }
  .lead-copy h1 { max-width: 16ch; font-size: clamp(2.55rem, 10.5vw, 4.5rem); line-height: .94; }
  .lead-copy p { margin-bottom: 1.35rem; font-family: var(--body); font-size: 1rem; line-height: 1.45; }
  .lead-deck { margin-top: 1.25rem; padding-top: .2rem; }
  .hero-nav-row { padding-right: .6rem; }
  .headline-rail { grid-template-columns: 1fr 1fr; }
  .rail-story { min-height: 125px; border-bottom: 1px solid var(--line); }
  .rail-story:nth-child(2) { border-right: 0; }
  .manifesto-strip { align-items: center; gap: 1rem; padding-inline: 1rem; text-align: center; font-size: .8rem; }
  .formats, .news { padding: 4rem 1rem 1rem; }
  .section-heading { align-items: flex-start; }
  .section-heading p { display: none; }
  .format-card, .format-card--wide, .format-card--picture { grid-column: span 12; min-height: 0; }
  .format-card img { min-height: 0; }
  .news { padding-bottom: 4rem; }
  .news-list a { grid-template-columns: 1fr auto; gap: .6rem 1rem; }
  .news-list strong { grid-column: 1 / -1; grid-row: 2; }
  .news-list time { grid-column: 2; grid-row: 1; }
  .news-list i { display: none; }
  .site-footer { grid-template-columns: 1fr; padding: 2rem 1rem; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .preview-bar { font-size: .64rem; }
  .brand-name { font-size: 1.9rem; }
  .hero-brandline p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .headline-rail { grid-template-columns: 1fr; }
  .rail-story { min-height: auto; border-right: 0; }
  .manifesto-strip p:last-child, .manifesto-strip span { display: none; }
  .section-heading { gap: .6rem; }
  .section-heading > a { font-size: .78rem; }
  .format-card, .format-card img { min-height: 0; }
  .footer-brand { align-items: flex-start; }
  .footer-brand img { width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
