@font-face {
  font-family: "Crock";
  src: url("assets/fonts/crock.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Hapna Slab";
  src: url("assets/fonts/HapnaSlabSerif-Medium.ttf") format("truetype");
  font-display: swap;
}

:root {
  --red: #bd1717;
  --red-bright: #f2261e;
  --paper: #eee9de;
  --muted: #9a968f;
  --display: "Crock", "Rockwell Extra Bold", Rockwell, Georgia, serif;
  --body: "Hapna Slab", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: #090909 url("assets/big-feed-bg.png?v=20260721-bigfeed-original") center top / cover fixed;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.guides-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.guides-shell::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, .035), transparent 40%),
    linear-gradient(to bottom, rgba(0, 0, 0, .06), rgba(0, 0, 0, .56));
}

.vignette {
  position: fixed;
  z-index: 30;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 10vw rgba(0, 0, 0, .78);
}

.guides-header,
.guides-main,
.guides-footer {
  width: 90vw;
  max-width: 1800px;
  margin-inline: auto;
}

.guides-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 14vh;
  padding: 1.2vh 0 1.35vh;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(230, 226, 216, .62);
}

.brand {
  display: grid;
  width: clamp(74px, 6.6vw, 126px);
  height: clamp(74px, 6.6vw, 126px);
  place-items: center;
  filter: drop-shadow(0 .5vw 1vw rgba(0, 0, 0, .75));
  transition: transform .25s ease, filter .25s ease;
}

.brand:hover,
.brand:focus-visible {
  outline: none;
  transform: scale(1.045) rotate(-1.5deg);
  filter: drop-shadow(0 .7vw 1.3vw rgba(0, 0, 0, .9));
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.active-guide {
  max-width: 70vw;
  margin: 0 0 -.12em;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(28px, 4.1vw, 78px);
  line-height: .82;
  text-align: right;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 .2vw .3vw #000;
}

.guides-main {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 5vh, 72px) 0 clamp(70px, 9vh, 120px);
}

.guides-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 38vw);
  gap: 5vw;
  align-items: end;
}

.back-link {
  display: inline-flex;
  gap: .55vw;
  margin-bottom: 2.2vh;
  align-items: center;
  color: #9e9a93;
  font-size: clamp(10px, .7vw, 13px);
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: #fff;
  outline: none;
  transform: translateX(-.25vw);
}

.back-link span {
  color: var(--red-bright);
  font-size: 1.2em;
}

.eyebrow {
  margin: 0 0 .6vh;
  color: var(--red-bright);
  font-size: clamp(9px, .62vw, 12px);
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.8vw, 92px);
  line-height: .9;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-shadow: 0 .2vw .3vw #000;
}

.guides-intro {
  max-width: 700px;
  margin-bottom: .4vh;
  color: #aaa69f;
  font-size: clamp(11px, .82vw, 16px);
  line-height: 1.65;
}

.guide-filters {
  display: flex;
  margin: clamp(30px, 4.5vh, 58px) 0 0;
  overflow-x: auto;
  border-top: 1px solid rgba(230, 226, 216, .22);
  border-bottom: 1px solid rgba(230, 226, 216, .22);
  scrollbar-width: thin;
}

.guide-filter {
  min-width: max-content;
  padding: clamp(13px, 1.45vh, 22px) clamp(14px, 1.15vw, 24px);
  color: #8f8b84;
  border: 0;
  border-right: 1px solid rgba(230, 226, 216, .16);
  background: rgba(255, 255, 255, .018);
  cursor: pointer;
  font: 800 clamp(9px, .65vw, 12px) var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease;
}

.guide-filter span {
  margin-left: .4em;
  color: #5f5c57;
}

.guide-filter:hover,
.guide-filter:focus-visible,
.guide-filter.is-active {
  color: #fff;
  outline: none;
  background: rgba(189, 23, 23, .18);
}

.guide-filter.is-active {
  box-shadow: inset 0 -2px var(--red-bright);
}

.guide-filter.is-active span {
  color: var(--red-bright);
}

.guide-summary {
  display: flex;
  gap: 3vw;
  padding: 2vh 0;
  align-items: center;
  justify-content: space-between;
  color: #77736d;
  font-size: clamp(9px, .62vw, 12px);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guide-summary p {
  margin-bottom: 0;
}

.guide-summary strong {
  color: var(--paper);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px rgba(242, 38, 30, .55);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.65vw, 32px);
}

.guide-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: var(--paper);
  border: 1px solid rgba(230, 226, 216, .19);
  background: rgba(7, 7, 7, .82);
  box-shadow: 0 1.2vw 3vw rgba(0, 0, 0, .36);
  text-decoration: none;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.guide-card:hover,
.guide-card:focus-visible {
  z-index: 1;
  outline: none;
  transform: scale(1.025);
  box-shadow: 0 1.6vw 4vw rgba(0, 0, 0, .68);
}

.guide-card.is-available:hover,
.guide-card.is-available:focus-visible {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 1px var(--red-bright), 0 1.6vw 4vw rgba(0, 0, 0, .68), 0 0 2vw rgba(189, 23, 23, .18);
}

.guide-card.is-placeholder:hover,
.guide-card.is-placeholder:focus-visible {
  border-color: rgba(230, 226, 216, .48);
}

.guide-preview {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #0d0d0d;
}

.guide-preview.has-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, .025) 48% 52%, transparent 52% 100%),
    linear-gradient(45deg, #111, #080808);
  background-size: 34px 34px, 100% 100%;
}

.guide-preview::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent 55%);
}

.guide-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75) brightness(.75);
  transition: filter .25s ease, transform .4s ease;
}

.guide-card:hover .guide-preview img,
.guide-card:focus-visible .guide-preview img {
  filter: saturate(.95) brightness(.88);
  transform: scale(1.05);
}

.guide-monogram {
  color: rgba(238, 233, 222, .11);
  font-family: var(--display);
  font-size: clamp(54px, 5vw, 96px);
  line-height: 1;
  text-transform: uppercase;
}

.placeholder-text {
  position: absolute;
  z-index: 1;
  bottom: 1.1vw;
  left: 1.2vw;
  color: rgba(238, 233, 222, .42);
  font-size: clamp(8px, .55vw, 10px);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.guide-status {
  position: absolute;
  z-index: 2;
  top: .85vw;
  right: .85vw;
  padding: .42em .65em;
  color: #8e8a83;
  border: 1px solid rgba(230, 226, 216, .2);
  background: rgba(0, 0, 0, .72);
  font-size: clamp(7px, .48vw, 9px);
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.guide-status.is-live {
  color: #fff;
  border-color: var(--red-bright);
  background: rgba(145, 13, 13, .88);
}

.guide-content {
  display: flex;
  min-height: clamp(210px, 13.5vw, 260px);
  padding: clamp(18px, 1.4vw, 28px);
  flex-direction: column;
}

.guide-category {
  margin-bottom: .8vh;
  color: var(--red-bright);
  font-size: clamp(8px, .54vw, 10px);
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.guide-content h2 {
  margin-bottom: 1.2vh;
  font-family: var(--display);
  font-size: clamp(20px, 1.7vw, 33px);
  line-height: .98;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.guide-description {
  margin-bottom: 2vh;
  color: #99958e;
  font-size: clamp(10px, .7vw, 13px);
  line-height: 1.55;
}

.guide-action {
  margin: auto 0 0;
  color: #ded9cf;
  font-size: clamp(8px, .56vw, 10px);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.is-available .guide-action {
  color: var(--red-bright);
}

.official-source {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 32vw) auto;
  gap: 3vw;
  margin-top: clamp(55px, 8vh, 105px);
  padding: clamp(24px, 2.4vw, 46px);
  align-items: center;
  border-top: 1px solid rgba(230, 226, 216, .46);
  border-bottom: 1px solid rgba(230, 226, 216, .15);
  background: rgba(255, 255, 255, .018);
}

.official-source h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 42px);
  line-height: 1;
  text-transform: uppercase;
}

.official-source > p {
  margin-bottom: 0;
  color: #918d86;
  font-size: clamp(10px, .7vw, 13px);
  line-height: 1.55;
}

.official-source > a {
  padding: 1em 1.2em;
  color: #fff;
  border: 1px solid var(--red-bright);
  background: rgba(189, 23, 23, .2);
  font-size: clamp(8px, .56vw, 10px);
  font-weight: 800;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease;
}

.official-source > a:hover,
.official-source > a:focus-visible {
  outline: none;
  background: var(--red);
}

.guides-footer {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 8vh;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(230, 226, 216, .5);
  color: #77736d;
  font-family: var(--display);
  font-size: clamp(8px, .61vw, 12px);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guides-footer p {
  margin-bottom: 0;
}

.guides-footer p span {
  margin-inline: .45vw;
  color: var(--red-bright);
}

.guides-footer a {
  color: #bbb6ad;
  text-decoration: none;
}

.guides-footer a:hover,
.guides-footer a:focus-visible {
  color: #fff;
  outline: none;
}

@media (max-width: 1100px) {
  .active-guide {
    max-width: 58vw;
  }

  .guides-heading {
    grid-template-columns: 1fr;
    gap: 2.5vh;
  }

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

  .guide-content {
    min-height: 220px;
  }

  .placeholder-text {
    bottom: 1.7vw;
    left: 1.8vw;
  }

  .guide-status {
    top: 1.4vw;
    right: 1.4vw;
  }

  .official-source {
    grid-template-columns: 1fr auto;
  }

  .official-source > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 720px) {
  .guides-header,
  .guides-main,
  .guides-footer {
    width: 88vw;
  }

  .guides-header {
    min-height: 13vh;
  }

  .brand {
    width: 18vw;
    height: 18vw;
  }

  .active-guide {
    max-width: 62vw;
    font-size: clamp(24px, 8vw, 48px);
  }

  .guides-main {
    padding-top: 4vh;
  }

  .guide-summary {
    display: block;
  }

  .guide-summary p + p {
    margin-top: 8px;
  }

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

  .guide-card:hover,
  .guide-card:focus-visible {
    transform: scale(1.012);
  }

  .guide-content {
    min-height: 200px;
    padding: 22px;
  }

  .placeholder-text {
    bottom: 3.5vw;
    left: 3.8vw;
  }

  .guide-status {
    top: 3vw;
    right: 3vw;
  }

  .official-source {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .official-source > a {
    text-align: center;
  }

  .guides-footer {
    min-height: 9vh;
  }
}

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