@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --black: #09090b;
  --ink: #171719;
  --red: #d40a2b;
  --red-deep: #960719;
  --paper: #f5f5f3;
  --line: #dededc;
  --muted: #737377;
  --wrap: min(100% - 64px, 1180px);
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.55; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--red); color: white; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.visually-hidden { 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: absolute; z-index: 100; top: -80px; left: 12px; background: white; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 5; background: white; border-bottom: 1px solid #e5e5e5; }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name, .footer-brand { font-family: "Space Grotesk", Arial, sans-serif; font-weight: 700; letter-spacing: -.07em; }
.brand-name { font-size: 26px; line-height: 1; }
.brand-name span, .footer-brand span { color: var(--red); }
.brand-divider { height: 25px; border-left: 1px solid #bebec1; margin: 0 4px; }
.brand-type { font-size: 17px; font-weight: 800; letter-spacing: -.04em; }
.header-nav { display: flex; align-items: center; margin-left: auto; white-space: nowrap; }
.header-nav a { font-size: 14px; font-weight: 700; text-decoration: none; transition: color .2s; }
.header-nav a:hover { color: var(--red); }
.search-icon { display: block; width: 15px; height: 15px; border: 1.8px solid currentColor; border-radius: 50%; position: relative; flex: none; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 1.8px; right: -5px; bottom: -3px; transform: rotate(45deg); background: currentColor; }

.hero { position: relative; overflow: hidden; background: var(--black); color: white; }
.hero::before { content: ""; position: absolute; width: 120%; height: 1px; left: 29%; top: 62%; background: var(--red); transform: rotate(-14deg); transform-origin: left center; opacity: .9; }
.hero::after { content: ""; position: absolute; top: 0; bottom: 0; left: 68%; width: 1px; background: #333338; }
.hero-inner { position: relative; z-index: 1; min-height: 360px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.hero-copy { padding-block: 60px; }
.hero-kicker { margin: 0 0 22px; color: #e02c46; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(52px, 5.5vw, 78px); line-height: 1.05; letter-spacing: -.06em; font-weight: 850; }
.hero h1 span { color: var(--red); }
.hero-subtitle { margin: 0; color: #bcbcc0; font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; }
.hero-mark { flex: none; width: min(31vw, 265px); height: auto; mix-blend-mode: screen; margin-right: 28px; opacity: .9; }

.content-section { padding-block: 88px 100px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 35px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 3vw, 41px); letter-spacing: -.045em; line-height: 1.2; }
.section-head p { margin: 0 0 3px; color: var(--muted); font-size: 14px; }
.small-label { display: block; margin-bottom: 11px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.featured-grid, .posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; }
.featured-empty { position: relative; overflow: hidden; min-height: 260px; padding: 42px 50px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: white; background: #111113; }
.featured-empty::after { content: ""; position: absolute; height: 1px; width: 70%; top: 61%; left: 40%; transform: rotate(-14deg); background: var(--red); }
.featured-empty > div { position: relative; z-index: 1; }
.featured-empty .empty-kicker { display: block; margin-bottom: 24px; color: #e02c46; font: 700 11px/1.4 "Space Grotesk", sans-serif; letter-spacing: .16em; }
.featured-empty strong { display: block; font-size: clamp(25px, 3vw, 39px); line-height: 1.2; letter-spacing: -.05em; }
.featured-empty p { margin: 13px 0 0; color: #a6a6a9; font-size: 15px; }
.featured-empty img { position: relative; z-index: 1; width: 210px; height: auto; opacity: .78; mix-blend-mode: screen; }
.post-card { display: block; min-width: 0; text-decoration: none; color: var(--ink); }
.post-card:hover .card-title { color: var(--red-deep); }
.post-card:hover .thumb::after { transform: translateX(10px) rotate(-17deg); }
.thumb { position: relative; height: auto; aspect-ratio: 1.52; overflow: hidden; background: #121215; color: white; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.thumb-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 44px; font-weight: 900; font-style: italic; letter-spacing: -.08em; }
.thumb::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(#ffffff13 1px, transparent 1px), linear-gradient(90deg, #ffffff13 1px, transparent 1px); background-size: 28px 28px; opacity: .8; }
.thumb::after { content: ""; position: absolute; z-index: -1; right: -28px; top: -80px; width: 122px; height: 420px; background: var(--red); transform: rotate(-17deg); transition: transform .3s; }
.thumb.tone-red { background: #a70822; }
.thumb.tone-red::after { background: #111115; }
.thumb.tone-steel { background: #242429; }
.thumb.tone-steel::after { background: #a50925; }
.thumb.tone-black { background: #09090b; }
.thumb-top { display: flex; justify-content: space-between; gap: 10px; font: 700 11px/1.3 "Space Grotesk", sans-serif; letter-spacing: .11em; opacity: .9; }
.thumb-word { display: block; font-family: "Space Grotesk", Arial, sans-serif; font-size: clamp(42px, 4vw, 64px); font-weight: 700; line-height: .9; letter-spacing: -.07em; text-transform: uppercase; word-break: break-all; }
.thumb-bottom { display: block; font: 700 11px/1.3 "Space Grotesk", sans-serif; letter-spacing: .15em; }
.card-body { padding-top: 19px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.card-category { color: var(--red-deep); }
.card-preview { color: #909094; white-space: nowrap; }
.card-title { display: block; margin: 0 0 11px; font-size: clamp(21px, 2vw, 27px); font-weight: 800; line-height: 1.3; letter-spacing: -.038em; transition: color .2s; }
.card-excerpt { display: block; margin: 0; color: #68686e; font-size: 15px; line-height: 1.6; }

.all-section { padding-block: 84px 115px; background: var(--paper); }
.all-section .section-head { margin-bottom: 31px; }
.archive-controls { display: flex; align-items: end; justify-content: space-between; gap: 28px; border-bottom: 1px solid #bcbcbc; margin-bottom: 32px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 5px 24px; }
.filter { padding: 0 0 17px; margin-bottom: -1px; color: #77777b; background: none; border: 0; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 800; white-space: nowrap; }
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--red); }
.search-field { display: flex; align-items: center; gap: 9px; width: 235px; height: 43px; margin: 0 0 9px auto; border-bottom: 1px solid #777; }
.search-field .search-icon { color: #777; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; border-radius: 0; font-size: 14px; color: var(--ink); }
.search-field:focus-within { border-bottom-color: var(--red); }
.search-field input::placeholder { color: #777; opacity: 1; }
.archive-count { margin: 0 0 23px; color: #88888b; font: 700 11px/1.4 "Space Grotesk", sans-serif; letter-spacing: .13em; }
.posts-grid { row-gap: 45px; }
.posts-grid .thumb { aspect-ratio: 1.58; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 64px; }
.load-more { min-width: 220px; padding: 15px 28px; border: 1px solid #1c1c1e; background: transparent; color: var(--ink); font-size: 14px; font-weight: 800; letter-spacing: .04em; transition: background .2s,color .2s; }
.load-more:hover { background: var(--ink); color: white; }
.empty-state { grid-column: 1 / -1; padding: 70px 20px; text-align: center; border: 1px solid var(--line); color: #68686b; }
.empty-state strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 20px; }
.archive-empty { min-height: 230px; padding: 56px 30px; border: 1px solid #d8d8d6; background: #fff; text-align: center; }
.archive-empty strong { display: block; margin-bottom: 8px; font-size: 23px; letter-spacing: -.03em; }
.archive-empty p { margin: 0; color: var(--muted); font-size: 15px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 72px; padding-top: 24px; border-top: 1px solid #bcbcbc; font-size: 14px; font-weight: 800; }
.pagination[hidden] { display: none; }
.pagination a { text-decoration: none; }
.pagination a:hover { color: var(--red); }
.page-caption { color: #79797d; font: 700 12px/1.4 "Space Grotesk", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.page-actions { display: flex; align-items: center; gap: 22px; }
.page-numbers { display: flex; align-items: center; gap: 8px; }
.page-numbers a { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #c8c8c6; background: #fff; transition: background .2s,color .2s,border-color .2s; }
.page-numbers a:hover { border-color: var(--red); }
.page-numbers a[aria-current="page"] { border-color: var(--black); background: var(--black); color: white; }
.page-edge { padding: 8px 0; border-bottom: 1px solid currentColor; }

.about-hero { overflow: hidden; background: var(--black); color: white; }
.about-hero-inner { min-height: 345px; display: flex; flex-direction: column; justify-content: center; padding-block: 68px; }
.about-hero h1 { margin: 0 0 17px; font-size: clamp(48px, 6vw, 78px); line-height: 1.08; letter-spacing: -.06em; }
.about-hero-inner > p:last-child { max-width: 680px; margin: 0; color: #b8b8bd; font-size: clamp(17px, 2vw, 21px); }
.about-section { min-height: 430px; padding-block: 88px 130px; background: var(--paper); }
.about-layout { display: grid; grid-template-columns: 1fr minmax(0, 720px); gap: 70px; }
.about-aside { display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; border-top: 2px solid var(--red); padding-top: 20px; color: var(--red); font: 700 12px/1.5 "Space Grotesk", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.about-aside > div { width: 100%; height: 1px; background: #cfcfcd; }
.about-copy { font-size: clamp(18px, 2vw, 22px); line-height: 1.65; letter-spacing: -.012em; }
.about-copy p { max-width: 680px; margin: 0 0 27px; }
.about-copy p + p { color: #5c5c60; font-size: 17px; line-height: 1.8; letter-spacing: 0; }
.about-copy .back-link { margin-top: 18px; }

.article-hero { background: var(--black); color: white; padding-block: 52px 82px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 90px; color: #a6a6ab; font-size: 13px; }
.breadcrumb a { text-underline-offset: 4px; }
.breadcrumb a:hover { color: white; }
.article-category { margin: 0 0 17px; color: #e02c46; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.article-hero h1 { max-width: 920px; margin: 0 0 20px; font-size: clamp(38px, 5vw, 64px); line-height: 1.15; letter-spacing: -.055em; }
.article-hero .article-deck { max-width: 730px; margin: 0; color: #b8b8bd; font-size: 18px; }
.article-main { padding-block: 80px 120px; min-height: 440px; }
.article-cover { display: block; width: min(100%, 930px); height: auto; margin: 0 auto 68px; }
.article-copy { width: min(100%, 780px); margin-inline: auto; font-size: 17px; line-height: 1.85; }
.article-copy p { margin: 0 0 26px; color: #3e3e42; }
.article-copy h2 { margin: 72px 0 22px; padding-top: 17px; border-top: 1px solid #bcbcbc; font-size: clamp(27px,3vw,36px); line-height: 1.25; letter-spacing: -.045em; }
.article-copy h3 { margin: 49px 0 19px; font-size: 23px; letter-spacing: -.025em; }
.article-copy strong { color: var(--ink); }
.article-copy ul, .article-copy ol { padding-left: 27px; margin: 0 0 30px; }
.article-copy li { padding-left: 5px; margin-bottom: 12px; }
.article-copy blockquote { margin: 0 0 48px; padding: 19px 24px; border-left: 3px solid var(--red); background: #f1f1ef; color: #4b4b4f; }
.article-copy blockquote p { margin: 0; }
.article-copy p:has(> img) { margin: 38px 0; }
.article-copy img { display: block; width: 100%; height: auto; border: 1px solid #d7d7d5; }
.article-copy pre { overflow-x: auto; margin: 32px 0; padding: 23px 26px; border-left: 3px solid var(--red); background: #151517; color: #f4f4f2; font: 14px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace; }
.article-copy code { padding: .1em .28em; background: #ececea; font: .88em/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; overflow-wrap: anywhere; }
.article-copy pre code { padding: 0; background: transparent; color: inherit; overflow-wrap: normal; }
.article-copy table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 30px 0 38px; font-size: 15px; line-height: 1.55; }
.article-copy th, .article-copy td { padding: 12px 14px; border: 1px solid #d4d4d1; text-align: left; vertical-align: top; min-width: 150px; }
.article-copy th { background: #e9e9e6; }
.article-copy a { text-decoration-color: var(--red); text-underline-offset: 4px; }
.article-main > .back-link { display: block; width: min(100%,780px); margin: 60px auto 0; }
.preview-panel { max-width: 780px; padding: 30px 34px; border-left: 3px solid var(--red); background: var(--paper); }
.preview-panel .small-label { margin-bottom: 8px; }
.preview-panel p { max-width: 620px; margin: 0; color: #56565a; font-size: 17px; line-height: 1.7; }
.back-link { display: inline-block; margin-top: 40px; color: var(--ink); font-size: 14px; font-weight: 800; text-underline-offset: 5px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.not-found { min-height: 60vh; padding-block: 100px; }
.not-found h1 { font-size: clamp(36px,5vw,60px); }

.sponsor-section { overflow: hidden; padding-block: 16px 18px; background: #f8f8f8; border-top: 1px solid #e4e4e4; }
.sponsor-heading { text-align: center; }
.sponsor-heading h2 { margin: 0; color: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: -.045em; line-height: 1.2; }
.sponsor-stage { position: relative; height: 90px; margin-top: 8px; overflow: hidden; }
.sponsor-card { position: absolute; top: 50%; left: 0; width: 400px; height: 82px; overflow: hidden; background: #09090b; animation: sponsor-card-loop 14s linear -7s infinite; }
.sponsor-card img { position: absolute; top: calc(50% + 2px); left: 50%; width: 320px; max-width: none; height: auto; transform: translate(-50%, -50%); }
@keyframes sponsor-card-loop {
  from { left: 0; transform: translate(-100%, -50%); }
  to { left: 100%; transform: translate(0, -50%); }
}

.site-footer { background: var(--black); color: #bebec2; }
.footer-inner { min-height: 125px; display: flex; justify-content: space-between; align-items: center; gap: 25px; border-top: 2px solid var(--red); font-size: 13px; }
.footer-brand { color: white; font-size: 23px; text-decoration: none; }
.footer-brand b { color: #8e8e94; font-size: 12px; font-style: normal; letter-spacing: .12em; }

@media (max-width: 1050px) {
  :root { --wrap: min(100% - 48px, 1180px); }
  .header-inner { gap: 22px; }
  .featured-grid, .posts-grid { gap: 20px; }
  .category-filters { gap: 5px 17px; }
  .filter { font-size: 12px; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 70px; }
}

@media (max-width: 760px) {
  :root { --wrap: min(100% - 36px, 1180px); }
  .header-inner { min-height: 70px; }
  .brand img { width: 35px; height: 35px; }
  .brand-name { font-size: 23px; }
  .brand-type { font-size: 15px; }
  .hero-inner { min-height: 310px; }
  .hero::after { left: 68%; }
  .hero-mark { width: 190px; margin-right: -25px; opacity: .5; }
  .hero h1 { font-size: clamp(48px, 9vw, 64px); }
  .content-section, .all-section { padding-block: 70px 80px; }
  .section-head { align-items: start; flex-direction: column; gap: 9px; }
  .featured-grid { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 7px; scrollbar-width: none; }
  .featured-grid::-webkit-scrollbar { display: none; }
  .featured-grid .post-card { flex: 0 0 min(80%, 390px); scroll-snap-align: start; }
  .featured-empty { min-height: 230px; padding: 35px; }
  .featured-empty img { width: 150px; }
  .posts-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 18px; }
  .archive-controls { display: block; }
  .category-filters { flex-wrap: nowrap; overflow-x: auto; gap: 22px; scrollbar-width: none; }
  .category-filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; font-size: 13px; }
  .search-field { width: 100%; margin-top: 10px; }
  .footer-inner { min-height: 150px; flex-wrap: wrap; justify-content: flex-start; gap: 4px 25px; padding-block: 25px; }
  .footer-brand { width: 100%; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-aside { min-height: 0; padding-bottom: 0; }
  .about-aside > div { display: none; }
  .about-section { padding-block: 60px 90px; }
  .sponsor-section { padding-block: 14px 16px; }
  .sponsor-heading h2 { font-size: 18px; }
  .sponsor-stage { height: 80px; margin-top: 6px; }
  .sponsor-card { width: min(100% - 16px, 300px); height: 74px; animation-duration: 10s; animation-delay: -5s; }
  .sponsor-card img { width: 280px; }
}

@media (max-width: 560px) {
  .hero-inner { min-height: 300px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-mark { position: absolute; right: 0; width: 175px; opacity: .28; }
  .hero::before { left: 13%; top: 75%; }
  .hero::after { display: none; }
  .hero h1 { font-size: clamp(45px, 11vw, 60px); }
  .hero-subtitle { font-size: 16px; }
  .featured-grid .post-card { flex-basis: 86%; }
  .featured-empty { min-height: 250px; padding: 28px; }
  .featured-empty img { position: absolute; right: -22px; bottom: -18px; width: 160px; opacity: .32; }
  .posts-grid { grid-template-columns: 1fr; gap: 42px; }
  .thumb { padding: 18px; }
  .thumb-word { font-size: clamp(46px, 12vw, 65px); }
  .card-title { font-size: 24px; }
  .breadcrumb { margin-bottom: 70px; }
  .article-main { padding-block: 60px 95px; }
  .preview-panel { padding: 25px; }
  .pagination { flex-wrap: wrap; gap: 18px; }
  .page-actions { width: 100%; justify-content: space-between; gap: 12px; }
  .page-numbers { gap: 5px; }
  .page-numbers a { min-width: 38px; height: 38px; }
  .about-hero-inner { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .sponsor-card { left: 50%; animation: none; transform: translate(-50%, -50%); }
}
