@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/montserrat-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/montserrat-latin.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;
}

* { box-sizing: border-box; }

body {
  --accent: #27aae1;
  --muted: #cfcfd1;
  --line: #464646;
  margin: 0;
  background: #1e1e1e;
  color: #fff;
  font: 400 1rem/1.6 Montserrat, Arial, sans-serif;
}

p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; width: 100%; }
.shell { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header { min-height: 96px; border-bottom: 1px solid var(--line); }
.logo { display: block; flex: none; }
.logo img { width: auto; height: 75px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 40px); font-size: .875rem; font-weight: 600; }
.site-header a:hover, .site-header .active { color: var(--accent); }
.site-header .active { text-decoration: underline; text-underline-offset: 8px; }

.intro { padding-block: 48px 39px; }
.category { color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

h1 {
  margin-block: 10px 12px;
  font-size: clamp(2.25rem, 5.65vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.068em;
  text-wrap: balance;
}

.intro > p:last-child { color: var(--muted); }
.featured { display: grid; grid-template-columns: 1.55fr 1fr; min-height: 387px; background: #262626; border-bottom: 2px solid var(--accent); }
.feature-image, .card-image { display: block; overflow: hidden; }
.feature-image { position: relative; min-height: 280px; }
.feature-image img { position: absolute; height: 100%; object-fit: cover; }
.feature-copy { align-self: center; padding: clamp(26px, 3.55vw, 52px); }
.feature-copy h2 { margin-block: 13px 17px; font-size: clamp(1.95rem, 3.25vw, 3.25rem); font-weight: 600; line-height: 1.08; letter-spacing: -.052em; }
.feature-copy p:not(.category), .card-copy p:not(.category) { color: var(--muted); font-size: .94rem; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 10px 16px;
  margin-top: 25px;
  border: 1px solid var(--accent);
  font-weight: 650;
  font-size: .85rem;
}

.button span, .text-link span { color: var(--accent); }
.button:hover { background: var(--accent); color: #181818; }
.button:hover span { color: inherit; }

.related { margin-block: 42px 62px; }
.related > h2 { margin-bottom: 16px; font-weight: 500; font-size: 1.5rem; letter-spacing: -.035em; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { border-bottom: 1px solid var(--line); }
.card-image img { aspect-ratio: 2.05; object-fit: cover; }
.card-copy { padding-block: 18px 22px; }
.card h3 { margin-block: 7px 8px; font-size: clamp(1.2rem, 2.3vw, 1.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -.04em; }
.text-link { display: inline-block; margin-top: 14px; font-size: .86rem; font-weight: 650; }
.text-link:hover, .site-footer a:hover { color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); padding-block: 22px; color: var(--muted); font-size: .82rem; }

.detail { padding-top: 22px; }
.detail .intro { padding-top: 25px; max-width: 905px; }
.detail-image img { max-height: 540px; object-fit: cover; }
figcaption { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.article-body { max-width: 720px; margin: 35px auto 62px; }
.article-body section + section { margin-top: 24px; }
.article-body h2 { margin-bottom: 8px; font-size: 1.45rem; font-weight: 600; letter-spacing: -.035em; }
.article-body p { color: var(--muted); }

@media (max-width: 850px) {
  .shell { width: calc(100% - 52px); }
  .featured { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 34px); }
  .site-header { min-height: 0; padding-block: 17px; flex-wrap: wrap; gap: 12px 20px; }
  .logo img { height: 51px; }
  .site-header nav { gap: 14px; font-size: .76rem; }
  .intro { padding-block: 33px 25px; }
  .featured, .cards { grid-template-columns: 1fr; }
  .feature-image { min-height: 0; aspect-ratio: 1.65; }
  .related { margin-block: 29px 42px; }
}
