:root{
  --cat-bg:#050506;
  --cat-ink:#f4f2ef;
  --cat-muted:rgba(244,242,239,.72);
  --cat-line:rgba(244,242,239,.14);
  --cat-gold:#f5c26b;
  --cat-red:#8d1d2a;
  --cat-red-dark:#551018;
  --cat-max:1240px;
}

*{ box-sizing:border-box; }
html{ min-height:100%; background:#050506; }
body.categoryPage{
  margin:0;
  min-height:100vh;
  color:var(--cat-ink);
  background:
    radial-gradient(1500px 900px at 8% 4%, rgba(178,42,51,.52), transparent 64%),
    radial-gradient(1500px 900px at 93% -2%, rgba(245,194,107,.34), transparent 62%),
    linear-gradient(180deg, #070708 0%, #030304 100%);
  font-family:"Inter","Helvetica Neue",Helvetica,Arial,sans-serif;
}
body.categoryPage::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(1300px 820px at 10% 10%, rgba(120,21,32,.23), transparent 64%),
    radial-gradient(1200px 720px at 92% 4%, rgba(245,194,107,.15), transparent 60%);
  pointer-events:none;
}
.categoryPage a{ color:inherit; text-decoration:none; }

.categoryTop{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(0,0,0,.48);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(14px);
}
.categoryTopInner{
  max-width:var(--cat-max);
  margin:0 auto;
  min-height:76px;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.categoryBrand{
  display:flex;
  align-items:baseline;
  gap:6px;
  font-size:15px;
  letter-spacing:.02em;
  white-space:nowrap;
}
.categoryBrand strong{ font-weight:700; }
.categoryBrand span{ opacity:.88; font-weight:500; }
.categoryNav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  flex-wrap:wrap;
  font-size:13px;
}
.categoryNav a{
  color:rgba(255,255,255,.72);
  padding:7px 0;
  border-bottom:2px solid transparent;
}
.categoryNav a:hover{ color:#fff; }
.categoryNav a.active{
  color:#fff;
  border-bottom-color:rgba(245,194,107,.78);
}


.categoryBannerShell{
  width:100%;
  margin:0 0 18px;
}
.categoryBannerLink{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:3 / 1;
  overflow:hidden;
  background:#0a0a0c;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 22px 52px rgba(0,0,0,.30);
  isolation:isolate;
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.categoryBannerImage{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform:scale(1.001);
  transition:transform .5s ease, filter .4s ease;
}
.categoryBannerShade{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(180deg,rgba(0,0,0,.02) 28%,rgba(0,0,0,.18) 58%,rgba(0,0,0,.78) 100%),
    linear-gradient(90deg,rgba(0,0,0,.20),transparent 68%);
  pointer-events:none;
}
.categoryBannerTitle{
  position:absolute;
  z-index:2;
  left:28px;
  right:28px;
  bottom:25px;
  display:block;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.4rem,4.8vw,4.8rem);
  line-height:.98;
  font-weight:500;
  letter-spacing:-.035em;
  text-shadow:0 8px 30px rgba(0,0,0,.78);
}
.categoryBannerLink:hover{
  transform:translateY(-3px);
  border-color:rgba(245,194,107,.42);
  box-shadow:0 30px 68px rgba(0,0,0,.42);
}
.categoryBannerLink:hover .categoryBannerImage{
  transform:scale(1.018);
  filter:saturate(1.05) contrast(1.02);
}
.categoryBannerLink:focus-visible{
  outline:2px solid var(--cat-gold);
  outline-offset:2px;
}

.categoryMain{
  width:min(calc(100% - 36px), var(--cat-max));
  margin:0 auto;
  padding:52px 0 86px;
}
.categoryIntro{
  max-width:930px;
  margin:0 0 44px;
}
.categoryEyebrow{
  color:rgba(245,194,107,.92);
  font-size:12px;
  font-weight:600;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin-bottom:14px;
}
.categoryIntro h1{
  margin:0;
  max-width:820px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(3.15rem,7.5vw,6.4rem);
  line-height:.92;
  font-weight:500;
  letter-spacing:-.055em;
}
.categoryIntro p{
  max-width:790px;
  margin:24px 0 0;
  color:rgba(255,255,255,.72);
  font-size:clamp(1rem,1.7vw,1.18rem);
  line-height:1.65;
}
.categoryStatus{
  min-height:20px;
  margin-bottom:14px;
  color:var(--cat-muted);
  font-size:13px;
}
.categoryStatus.isError{
  padding:14px 16px;
  border:1px solid rgba(190,70,80,.35);
  background:rgba(110,20,29,.18);
  color:#fff;
}
.categoryGrid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:18px;
}
.categoryCard{
  grid-column:span 4;
  position:relative;
  min-height:390px;
  overflow:hidden;
  background:#0a0a0c;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 22px 52px rgba(0,0,0,.30);
  isolation:isolate;
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.categoryCard.categoryFeature{
  grid-column:span 8;
  min-height:540px;
}
.categoryCard:hover{
  transform:translateY(-3px);
  border-color:rgba(245,194,107,.42);
  box-shadow:0 30px 68px rgba(0,0,0,.42);
}
.categoryCardImage{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  transition:transform .5s ease, filter .4s ease;
}
.categoryCard:hover .categoryCardImage{
  transform:scale(1.025);
  filter:saturate(1.05) contrast(1.02);
}
.categoryCardShade{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(180deg,rgba(0,0,0,.05) 25%,rgba(0,0,0,.24) 54%,rgba(0,0,0,.90) 100%),
    linear-gradient(90deg,rgba(0,0,0,.16),transparent 62%);
}
.categoryCount{
  position:absolute;
  top:16px;
  left:16px;
  z-index:3;
  padding:7px 10px;
  background:rgba(0,0,0,.56);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.88);
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
}
.categoryCardBody{
  position:absolute;
  z-index:3;
  left:0;
  right:0;
  bottom:0;
  padding:32px 28px 26px;
}
.categoryName{
  display:block;
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2rem,3.2vw,3.35rem);
  line-height:.98;
  font-weight:500;
  letter-spacing:-.035em;
  text-shadow:0 8px 30px rgba(0,0,0,.75);
}
.categoryFeature .categoryName{
  font-size:clamp(3rem,5vw,5rem);
}
.categoryFeaturedLabel{
  display:block;
  margin-top:13px;
  color:rgba(245,194,107,.92);
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.categoryFeaturedWork{
  display:block;
  margin-top:6px;
  max-width:94%;
  color:rgba(255,255,255,.88);
  font-size:13px;
  line-height:1.45;
}
.categoryEnter{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:15px;
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.categoryEnterArrow{ color:var(--cat-gold); font-size:17px; transform:translateY(-1px); }
.categoryImageFallback{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:
    radial-gradient(circle at 25% 20%,rgba(178,42,51,.34),transparent 35%),
    radial-gradient(circle at 75% 75%,rgba(245,194,107,.20),transparent 38%),
    #09090a;
  color:rgba(255,255,255,.24);
  font-family:Georgia,"Times New Roman",serif;
  font-size:42px;
  text-align:center;
}

.categoryFooter{
  width:min(calc(100% - 36px),var(--cat-max));
  margin:0 auto;
  padding:28px 0 44px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.52);
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:center;
}
.categoryFooterDot{ margin:0 8px; color:rgba(245,194,107,.72); }

@media (min-width:1001px){
  .categoryCard:nth-child(n+6){
    grid-column:span 6;
    min-height:430px;
  }
}

@media (max-width:1000px){
  .categoryCard,
  .categoryCard.categoryFeature{ grid-column:span 6; min-height:440px; }
  .categoryFeature .categoryName{ font-size:clamp(2.4rem,6vw,4rem); }
}

@media (max-width:760px){
  .categoryBannerLink{ aspect-ratio:3 / 1; }
  .categoryBannerTitle{
    left:18px;
    right:18px;
    bottom:16px;
    font-size:clamp(1.65rem,7vw,2.6rem);
  }
  .categoryTopInner{ align-items:flex-start; flex-direction:column; gap:10px; }
  .categoryNav{ justify-content:flex-start; gap:12px 16px; }
  .categoryMain{ padding-top:46px; }
  .categoryCard,
  .categoryCard.categoryFeature{ grid-column:1 / -1; min-height:430px; }
  .categoryCardBody{ padding:26px 22px 22px; }
}
@media (max-width:480px){
  .categoryMain{ width:min(calc(100% - 22px),var(--cat-max)); }
  .categoryIntro h1{ font-size:3rem; }
  .categoryCard,
  .categoryCard.categoryFeature{ min-height:390px; }
  .categoryName,
  .categoryFeature .categoryName{ font-size:2.55rem; }
}
