:root {
  --forest: #164b3d;
  --forest-deep: #0b3329;
  --forest-ink: #102e28;
  --mint: #dcefd7;
  --mint-bright: #c7ed69;
  --mint-soft: #edf5e9;
  --orange: #d86b3c;
  --orange-dark: #be542c;
  --sand: #e6d4bd;
  --paper: #f8f5ee;
  --white: #fff;
  --muted: #6e7b75;
  --line: rgba(16, 46, 40, 0.14);
  --shadow: 0 24px 65px rgba(20, 54, 45, 0.13);
  --sans: "Mulish", Arial, sans-serif;
  --display: "Tenor Sans", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--forest-ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--forest);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--mint-bright);
  outline-offset: 3px;
}

.site-header {
  min-height: 94px;
  padding: 0 clamp(24px, 4.2vw, 76px);
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(165px, 1fr);
  align-items: center;
  gap: 28px;
  background: rgba(248, 245, 238, 0.96);
  border-bottom: 1px solid rgba(16, 46, 40, 0.08);
  backdrop-filter: blur(15px);
}

.brand {
  justify-self: start;
}

.brand-wordmark,
.footer-wordmark {
  color: var(--forest-deep);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.075em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 38px);
}

.main-nav a {
  position: relative;
  padding: 37px 0 31px;
  color: var(--forest-ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 26px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  min-width: 148px;
  padding: 16px 21px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  background: var(--forest);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(22, 75, 61, 0.2);
}

.header-cta span {
  color: var(--mint-bright);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--forest);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-toggle span:not(.sr-only) {
  width: 19px;
  height: 2px;
  background: currentColor;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--mint-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--orange-dark);
}

.magazin-hero {
  min-height: 730px;
  padding: clamp(90px, 9vw, 145px) clamp(30px, 7vw, 132px) 115px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: clamp(70px, 10vw, 185px);
  color: #fff;
  background:
    radial-gradient(circle at 91% 9%, rgba(216, 107, 60, 0.35), transparent 23%),
    radial-gradient(circle at 69% 78%, rgba(199, 237, 105, 0.13), transparent 27%),
    var(--forest-deep);
}

.magazin-hero h1,
.lead-story h2,
.journal-heading h2,
.editorial-promise h2,
.magazin-cta h2,
.article-empty h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.magazin-hero h1 {
  max-width: 980px;
  font-size: clamp(69px, 7.8vw, 126px);
  line-height: 0.93;
}

.magazin-hero__intro {
  max-width: 480px;
  padding-bottom: 13px;
}

.magazin-hero__intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.85;
}

.magazin-hero__intro span {
  margin-top: 40px;
  padding-top: 18px;
  display: block;
  color: var(--mint-bright);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 800;
}

.lead-story {
  margin: 0;
  padding: 110px clamp(25px, 5.8vw, 110px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  background: var(--paper);
}

.lead-story__image {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.lead-story__image img {
  transition: transform 600ms ease;
}

.lead-story__image:hover img {
  transform: scale(1.03);
}

.lead-story__image > span {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 10px 14px;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-story__content {
  padding: clamp(45px, 5vw, 85px);
  display: flex;
  flex-direction: column;
  color: var(--forest-deep);
  background: var(--mint);
  border-radius: 28px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-meta time {
  color: var(--muted);
}

.lead-story h2 {
  margin-top: auto;
  font-size: clamp(49px, 4.4vw, 75px);
  line-height: 1;
}

.lead-story__content > p {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.lead-story__content > a {
  width: fit-content;
  margin-top: 35px;
  padding-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--forest);
  font-size: 11px;
  font-weight: 900;
}

.lead-story__content > a span {
  color: var(--orange);
}

.journal-section {
  padding: 120px clamp(25px, 5.8vw, 110px) 145px;
  background: #fff;
}

.journal-heading {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px);
  align-items: end;
  gap: 65px;
}

.journal-heading h2 {
  max-width: 900px;
  font-size: clamp(59px, 6.5vw, 104px);
  line-height: 1;
}

.journal-search {
  min-height: 61px;
  padding: 0 19px 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--mint-soft);
  border: 1px solid transparent;
  border-radius: 999px;
}

.journal-search:focus-within {
  border-color: var(--forest);
}

.journal-search input {
  width: 100%;
  min-width: 0;
  color: var(--forest-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.journal-search input::placeholder {
  color: #82908a;
}

.journal-search > span:last-child {
  color: var(--orange-dark);
  font-size: 23px;
}

.journal-filters {
  margin-top: 65px;
  padding: 8px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  scrollbar-width: none;
}

.journal-filters::-webkit-scrollbar {
  display: none;
}

.journal-filters button {
  min-height: 48px;
  padding: 0 25px;
  flex: 1 0 auto;
  color: var(--forest);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.journal-filters button:hover {
  background: var(--mint-soft);
}

.journal-filters button.is-active {
  color: #fff;
  background: var(--forest);
}

.journal-status {
  margin: 27px 4px 20px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.journal-status strong {
  color: var(--forest);
  font-size: 18px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.journal-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.journal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.journal-card__image {
  height: 345px;
  position: relative;
  overflow: hidden;
  margin: 8px;
  border-radius: 18px;
}

.journal-card__image img {
  transition: transform 500ms ease;
}

.journal-card:hover .journal-card__image img {
  transform: scale(1.035);
}

.journal-card__image span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 9px 12px;
  color: var(--forest-deep);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.journal-card__body {
  min-height: 348px;
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
}

.journal-card__body time {
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journal-card h3 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: clamp(29px, 2.25vw, 38px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.journal-card__body > p {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.72;
}

.journal-card__body > a {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 900;
}

.journal-card__body > a span {
  color: var(--orange);
  font-size: 18px;
}

.journal-card--lime {
  background: #f1f7e2;
}

.journal-card--mint {
  background: var(--mint-soft);
}

.journal-card--sand {
  background: #f6eee5;
}

.journal-card--orange {
  background: #f6e1d8;
}

.journal-card--forest {
  color: #fff;
  background: var(--forest);
}

.journal-card--forest .journal-card__body > p,
.journal-card--forest .journal-card__body time {
  color: rgba(255, 255, 255, 0.67);
}

.journal-card--forest .journal-card__body > a {
  border-color: rgba(255, 255, 255, 0.2);
}

.article-empty {
  min-height: 500px;
  padding: 100px 25px;
  text-align: center;
  background: var(--mint-soft);
  border-radius: 25px;
}

.article-empty h3 {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(47px, 5vw, 76px);
  line-height: 1;
}

.article-empty button {
  margin-top: 30px;
  padding: 15px 23px;
  color: #fff;
  background: var(--forest);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.editorial-promise {
  padding: 125px clamp(30px, 7vw, 132px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(80px, 10vw, 180px);
  color: #fff;
  background: var(--forest);
}

.editorial-promise h2 {
  max-width: 880px;
  font-size: clamp(59px, 6.7vw, 107px);
  line-height: 1;
}

.editorial-points article {
  padding: 32px 0;
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.editorial-points article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.editorial-points strong {
  color: var(--mint-bright);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
}

.editorial-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.7;
}

.magazin-cta {
  padding: 110px clamp(30px, 7vw, 132px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 70px;
  background: var(--mint-bright);
}

.magazin-cta h2 {
  max-width: 960px;
  font-size: clamp(54px, 6vw, 94px);
  line-height: 1;
}

.magazin-cta > a {
  min-width: 240px;
  padding: 19px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--forest);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.magazin-cta > a span {
  color: var(--mint-bright);
}

.site-footer {
  min-height: 190px;
  padding: 55px clamp(25px, 5vw, 95px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 35px;
  color: #fff;
  background: var(--forest-deep);
}

.footer-wordmark {
  color: #fff;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.site-footer nav {
  justify-self: end;
  display: flex;
  gap: 27px;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 1360px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.is-open {
    position: fixed;
    z-index: 90;
    top: 94px;
    right: 0;
    left: 0;
    padding: 24px clamp(24px, 4.2vw, 76px) 35px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open a::after {
    display: none;
  }
}

@media (max-width: 1050px) {
  .magazin-hero,
  .lead-story,
  .journal-heading,
  .editorial-promise {
    grid-template-columns: 1fr;
  }

  .magazin-hero {
    gap: 60px;
  }

  .magazin-hero__intro {
    max-width: 690px;
  }

  .lead-story__image {
    min-height: 600px;
  }

  .lead-story__content {
    min-height: 540px;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-promise {
    gap: 75px;
  }

  .magazin-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .magazin-cta > a {
    width: fit-content;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 82px;
    padding: 0 19px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand-wordmark {
    font-size: 29px;
  }

  .header-cta {
    display: none;
  }

  .main-nav.is-open {
    top: 82px;
    padding-inline: 22px;
  }

  .magazin-hero {
    min-height: auto;
    padding: 76px 22px 80px;
    gap: 45px;
  }

  .magazin-hero > * {
    min-width: 0;
  }

  .magazin-hero h1 {
    font-size: clamp(59px, 16.5vw, 75px);
    overflow-wrap: anywhere;
  }

  .magazin-hero__intro p {
    font-size: 15px;
  }

  .lead-story {
    padding: 75px 15px;
    gap: 12px;
  }

  .lead-story__image {
    min-height: 440px;
    border-radius: 22px;
  }

  .lead-story__content {
    min-height: 580px;
    padding: 35px 24px;
    border-radius: 22px;
  }

  .article-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .lead-story h2 {
    font-size: 49px;
  }

  .journal-section {
    padding: 85px 15px 105px;
  }

  .journal-heading {
    padding-inline: 7px;
    gap: 36px;
  }

  .journal-heading h2 {
    font-size: clamp(52px, 15.5vw, 68px);
  }

  .journal-filters {
    margin-top: 43px;
    border-radius: 18px;
  }

  .journal-filters button {
    min-height: 44px;
    padding: 0 18px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .journal-card__image {
    height: 330px;
  }

  .journal-card h3 {
    font-size: 36px;
  }

  .editorial-promise {
    padding: 90px 22px;
    gap: 60px;
  }

  .editorial-promise h2 {
    font-size: clamp(52px, 15.2vw, 68px);
  }

  .editorial-points article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .magazin-cta {
    padding: 85px 22px;
    gap: 42px;
  }

  .magazin-cta h2 {
    font-size: clamp(49px, 14.5vw, 66px);
  }

  .magazin-cta > a {
    width: 100%;
  }

  .site-footer {
    padding: 55px 22px;
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-self: start;
    flex-wrap: wrap;
  }
}
