/* =========================================================
   HERDRAWINGATLAS
   FEATURE CATEGORY
   2026 EDITORIAL / ART DIRECTION
========================================================= */


/* =========================================================
   ROOT
========================================================= */

.feature-category {
  --feature-white: #f5f5f2;
  --feature-black: #0b0b0b;
  --feature-muted: rgba(245, 245, 242, 0.55);
  --feature-line: rgba(245, 245, 242, 0.2);

  position: relative;

  width: 100%;

  background: #0b0b0b;

  color: var(--feature-white);

  overflow: clip;

  font-family: var(--font-family1, "Space Grotesk", sans-serif);
}


/* =========================================================
   WRAPPER
========================================================= */

.feature-category .stw_wrap {
  position: relative;

  width: 100%;

  min-height: 100vh;
}
.nl-wrap{
  display: none !important;
  visibility: hidden !important;
}


/* =========================================================
   PINNED STAGE
========================================================= */

.feature-category .stw_stage {
  position: relative;

  width: 100%;

  height: 100vh;

  /* min-height: 700px; */

  overflow: hidden;

  isolation: isolate;

  /* background: #8f1414/; */
}


/* =========================================================
   BACKGROUND
========================================================= */

.feature-category .stw_bg {
  position: absolute;

  inset: 0;

  z-index: 0;

  overflow: hidden;
}


.feature-category .stw_bg_layer {
  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  overflow: hidden;

  will-change: clip-path;
}


.feature-category .stw_bg_img {
  position: absolute;

  /* inset: -3%; */

  width: 106%;

  height: 106%;

  object-fit: cover;

  object-position: center;

  display: block;

  filter: saturate(0.82)
    contrast(1.05)
    brightness(0.72);

  transform: scale(1.02);

  will-change: transform;

  user-select: none;

  pointer-events: none;
}


/* =========================================================
   CINEMATIC OVERLAY
========================================================= */

.feature-category .feature-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.76) 0%,
      rgba(0, 0, 0, 0.38) 38%,
      rgba(0, 0, 0, 0.14) 72%,
      rgba(0, 0, 0, 0.4) 100%
    );
}


/* =========================================================
   GRADIENT
========================================================= */

.feature-category .feature-gradient {
  position: absolute;

  inset: 0;

  z-index: 2;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.58) 0%,
      transparent 22%,
      transparent 62%,
      rgba(0, 0, 0, 0.72) 100%
    );
}


/* =========================================================
   GRAIN
========================================================= */

.feature-category .feature-grain {
  position: absolute;

  /* inset: -50%; */

  z-index: 3;

  pointer-events: none;

  opacity: 0.085;

  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.55'/%3E%3C/svg%3E");

  transform: rotate(3deg);

  mix-blend-mode: soft-light;
}


/* =========================================================
   HEADER
========================================================= */

.feature-category .feature-header {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  height: 90px;

  padding:
    0
    clamp(24px, 4vw, 70px);

  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: center;

  z-index: 20;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.15);

  color: #fff;

  pointer-events: none;
}


.feature-category
.feature-header-brand {
  display: flex;

  align-items: center;

  gap: 10px;

  font-family:
    var(
      --font-family1,
      "Space Grotesk",
      sans-serif
    );

  font-size: 11px;

  letter-spacing: 0.18em;

  font-weight: 600;
}


.feature-category
.feature-brand-dot {
  width: 6px;

  height: 6px;

  border-radius: 50%;

  background: #fff;

  display: block;
}


.feature-category
.feature-header-center {
  font-size: 9px;

  letter-spacing: 0.3em;

  opacity: 0.55;

  text-align: center;
}


.feature-category
.feature-header-right {
  display: flex;

  justify-content: flex-end;

  align-items: center;

  gap: 13px;

  font-size: 9px;

  letter-spacing: 0.2em;

  opacity: 0.65;
}


.feature-category
.feature-scroll-dot {
  width: 7px;

  height: 7px;

  border:
    1px solid
    rgba(255, 255, 255, 0.7);

  border-radius: 50%;
}


/* =========================================================
   MAIN
========================================================= */

.feature-category .feature-main {
  position: absolute;

  inset: 0;

  z-index: 10;

  pointer-events: none;
}


/* =========================================================
   META
========================================================= */

.feature-category .feature-meta {
  position: absolute;

  left: clamp(24px, 4vw, 70px);

  top: 26%;

  display: flex;

  flex-direction: column;

  gap: 10px;

  z-index: 12;
}


.feature-category .feature-meta-line {
  display: block;

  width: 1px;

  height: 52px;

  margin-bottom: 5px;

  background:
    rgba(255, 255, 255, 0.5);
}


.feature-category .feature-meta-label {
  writing-mode: vertical-rl;

  transform: rotate(180deg);

  font-size: 8px;

  letter-spacing: 0.25em;

  opacity: 0.6;

  text-transform: uppercase;
}


/* =========================================================
   TITLE CONTAINER
========================================================= */

.feature-category .stw_titles {
  position: absolute;

  left: clamp(
    90px,
    11vw,
    180px
  );

  top: 50%;

  width:
    min(
      62vw,
      900px
    );

  transform:
    translateY(-50%);

  z-index: 11;

  overflow: visible;
}


/* =========================================================
   TITLE
========================================================= */

.feature-category .stw_title {
  position: absolute;

  left: 0;

  top: 0;

  width: 100%;

  margin: 0;

  padding: 0;

  color: #fff;

  font-family:
    var(
      --font-family,
      "Marcellus",
      serif
    );

  font-size:
    clamp(
      58px,
      9vw,
      150px
    );

  font-weight: 400;

  line-height: 0.84;

  letter-spacing:
    -0.055em;

  text-transform: uppercase;

  white-space: nowrap;

  overflow: hidden;

  pointer-events: none;
}


.feature-category .stw_title_line {
  display: block;

  white-space: nowrap;
}


.feature-category .stw_title_char {
  display: inline-block;

  will-change:
    transform,
    opacity;

  transform-origin:
    50% 100%;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.feature-category .feature-copy {
  position: absolute;

  left: clamp(
    90px,
    11vw,
    180px
  );

  bottom:
    clamp(
      105px,
      12vh,
      150px
    );

  width:
    min(
      390px,
      30vw
    );

  z-index: 13;
}


.feature-category .feature-copy-top {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 16px;

  padding-bottom: 9px;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.28);
}


.feature-category
.feature-copy-label {
  font-size: 8px;

  letter-spacing: 0.23em;

  font-weight: 600;

  opacity: 0.72;
}


.feature-category
.feature-copy-arrow {
  font-size: 16px;

  font-weight: 300;

  opacity: 0.6;
}


.feature-category .stw_desc {
  position: relative;

  width: 100%;

  color:
    rgba(
      255,
      255,
      255,
      0.76
    );

  font-family:
    var(
      --font-family1,
      "Space Grotesk",
      sans-serif
    );

  font-size: 12px;

  line-height: 1.65;

  letter-spacing: 0.015em;
}


.feature-category
.stw_desc_word {
  display: inline-block;

  will-change:
    transform,
    opacity;
}


/* =========================================================
   ART CARD
========================================================= */

.feature-category .stw_card {
  position: absolute;

  right:
    clamp(
      55px,
      8vw,
      140px
    );

  top: 50%;

  width:
    clamp(
      250px,
      25vw,
      390px
    );

  height:
    clamp(
      340px,
      36vw,
      540px
    );

  transform:
    translateY(-50%);

  z-index: 9;

  overflow: hidden;

  box-shadow:
    0
    30px
    80px
    rgba(0, 0, 0, 0.42);

  border:
    1px solid
    rgba(255, 255, 255, 0.22);
}


.feature-category
.stw_card_layer {
  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  overflow: hidden;

  will-change: clip-path;
}


.feature-category .stw_card_img {
  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center;

  display: block;

  filter:
    saturate(0.82)
    contrast(1.08);

  will-change: transform;

  user-select: none;

  pointer-events: none;
}


.feature-category
.feature-card-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 55%,
      rgba(0, 0, 0, 0.55)
    );
}


/* =========================================================
   CARD INFORMATION
========================================================= */

.feature-category
.feature-card-info {
  position: absolute;

  left: 17px;

  right: 17px;

  bottom: 15px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  z-index: 10;

  color: #fff;

  font-size: 7px;

  letter-spacing: 0.18em;

  opacity: 0.8;
}


/* =========================================================
   INDEX
========================================================= */

.feature-category .feature-index {
  position: absolute;

  right:
    clamp(
      55px,
      8vw,
      140px
    );

  top:
    calc(
      50% +
      clamp(
        190px,
        20vw,
        285px
      )
    );

  z-index: 15;

  display: flex;

  align-items: center;

  gap: 14px;
}


.feature-category
.feature-index-current {
  display: flex;

  align-items: center;

  gap: 5px;

  height: 22px;

  overflow: hidden;

  font-size: 11px;

  letter-spacing: 0.08em;
}


.feature-category .stw_number {
  display: flex;

  height: 1em;

  overflow: hidden;

  font-family:
    var(
      --font-family1,
      "Space Grotesk",
      sans-serif
    );

  font-size: 11px;

  line-height: 1;

  font-weight: 500;

  color: #fff;
}


.feature-category
.stw_digit_wrap {
  display: block;

  height: 1em;

  overflow: hidden;
}


.feature-category
.stw_digit_roller {
  display: flex;

  flex-direction: column;

  line-height: 1em;

  will-change: transform;
}


.feature-category
.stw_digit_roller span {
  display: block;

  height: 1em;

  line-height: 1em;
}


.feature-category .feature-slash {
  opacity: 0.35;
}


.feature-category .feature-total {
  opacity: 0.4;
}


.feature-category
.feature-index-label {
  font-size: 7px;

  letter-spacing: 0.2em;

  opacity: 0.48;
}


/* =========================================================
   BOTTOM STATEMENT
========================================================= */

.feature-category .feature-bottom {
  position: absolute;

  left:
    clamp(
      90px,
      11vw,
      180px
    );

  bottom: 40px;

  z-index: 15;

  display: flex;

  align-items: center;

  gap: 12px;

  font-size: 8px;

  letter-spacing: 0.2em;

  color:
    rgba(
      255,
      255,
      255,
      0.56
    );
}


.feature-category
.feature-bottom-symbol {
  opacity: 0.35;
}


/* =========================================================
   PROGRESS
========================================================= */

.feature-category .stw_progress {
  position: absolute;

  left:
    clamp(
      90px,
      11vw,
      180px
    );

  right:
    clamp(
      55px,
      8vw,
      140px
    );

  bottom: 28px;

  height: 1px;

  z-index: 25;

  overflow: hidden;

  background:
    rgba(
      255,
      255,
      255,
      0.2
    );
}


.feature-category
.stw_progress_fill {
  position: absolute;

  left: 0;

  top: 0;

  width: 100%;

  height: 100%;

  transform:
    scaleX(0);

  transform-origin:
    left center;

  background: #fff;

  will-change: transform;
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.feature-category
.feature-scroll-indicator {
  position: absolute;

  right: 24px;

  top: 50%;

  transform:
    translateY(-50%);

  z-index: 20;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 5px;
}


.feature-category
.feature-scroll-indicator span {
  display: block;

  width: 3px;

  height: 3px;

  border-radius: 50%;

  background: #fff;

  opacity: 0.25;
}


.feature-category
.feature-scroll-indicator span:first-child {
  opacity: 1;

  height: 18px;

  border-radius: 10px;
}


/* =========================================================
   SIDE LABEL
========================================================= */

.feature-category
.feature-side-label {
  position: absolute;

  left: 24px;

  top: 50%;

  transform:
    translateY(-50%)
    rotate(-90deg);

  transform-origin:
    left center;

  z-index: 20;

  font-size: 7px;

  letter-spacing: 0.3em;

  opacity: 0.35;

  pointer-events: none;
}


/* =========================================================
   LOADING
========================================================= */

.feature-loading {
  width: 100%;

  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #0b0b0b;

  color: #fff;
}


.feature-loading-inner {
  width:
    min(
      320px,
      80vw
    );

  display: flex;

  flex-direction: column;

  gap: 15px;
}


.feature-loading-brand {
  font-size: 9px;

  letter-spacing: 0.3em;

  opacity: 0.8;
}


.feature-loading-line {
  width: 100%;

  height: 1px;

  background:
    rgba(
      255,
      255,
      255,
      0.2
    );
}


.feature-loading-text {
  font-size: 8px;

  letter-spacing: 0.2em;

  opacity: 0.4;
}


/* =========================================================
   ERROR
========================================================= */

.feature-error {
  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 30px;

  background: #0b0b0b;

  color: #fff;
}


.feature-error-inner {
  width:
    min(
      600px,
      90vw
    );
}


.feature-error-inner > span {
  font-size: 8px;

  letter-spacing: 0.25em;

  opacity: 0.4;
}


.feature-error-inner h3 {
  margin:
    20px
    0
    10px;

  font-family:
    var(
      --font-family,
      "Marcellus",
      serif
    );

  font-size:
    clamp(
      30px,
      5vw,
      60px
    );

  font-weight: 400;
}


.feature-error-inner p {
  margin: 0;

  font-size: 11px;

  opacity: 0.45;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

  .feature-category
  .stw_stage {
    min-height: 650px;
  }


  .feature-category
  .feature-header {
    height: 76px;
  }


  .feature-category
  .feature-header-center {
    display: none;
  }


  .feature-category
  .stw_titles {
    left: 70px;

    width: 65vw;
  }


  .feature-category
  .stw_title {
    font-size:
      clamp(
        54px,
        10vw,
        105px
      );
  }


  .feature-category
  .feature-copy {
    left: 70px;

    width: 320px;

    bottom: 100px;
  }


  .feature-category
  .feature-card {
    right: 35px;
  }


  .feature-category
  .stw_card {
    right: 35px;

    width: 245px;

    height: 340px;
  }


  .feature-category
  .feature-index {
    right: 35px;

    top:
      calc(
        50% +
        185px
      );
  }


  .feature-category
  .feature-bottom {
    left: 70px;
  }


  .feature-category
  .stw_progress {
    left: 70px;

    right: 35px;
  }


  .feature-category
  .feature-meta {
    left: 22px;
  }


  .feature-category
  .feature-side-label {
    display: none;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .feature-category
  .stw_stage {
    height: 100svh;

    min-height: 620px;
  }


  /* -----------------------------------------------
     HEADER
  ----------------------------------------------- */

  .feature-category
  .feature-header {
    height: 65px;

    padding:
      0 20px;

    grid-template-columns:
      1fr auto;
  }


  .feature-category
  .feature-header-right span:first-child {
    display: none;
  }


  .feature-category
  .feature-header-right {
    gap: 0;
  }


  .feature-category
  .feature-header-brand {
    font-size: 9px;

    letter-spacing: 0.15em;
  }


  /* -----------------------------------------------
     META
  ----------------------------------------------- */

  .feature-category
  .feature-meta {
    left: 20px;

    top: 145px;
  }


  .feature-category
  .feature-meta-line {
    height: 32px;
  }


  .feature-category
  .feature-meta-label {
    font-size: 7px;
  }


  /* -----------------------------------------------
     TITLE
  ----------------------------------------------- */

  .feature-category
  .stw_titles {
    left: 20px;

    top: 43%;

    width:
      calc(
        100% -
        40px
      );

    transform:
      translateY(-50%);
  }


  .feature-category
  .stw_title {
    font-size:
      clamp(
        50px,
        15vw,
        82px
      );

    line-height: 0.88;

    white-space: normal;

    max-width: 90vw;
  }


  .feature-category
  .stw_title_line {
    white-space: normal;
  }


  /* -----------------------------------------------
     CARD
  ----------------------------------------------- */

  .feature-category
  .stw_card {
    right: 20px;

    top: 57%;

    width: 145px;

    height: 195px;

    transform:
      translateY(-50%);
  }


  .feature-category
  .feature-card-info {
    left: 10px;

    right: 10px;

    bottom: 9px;

    font-size: 5px;

    letter-spacing: 0.12em;
  }


  /* -----------------------------------------------
     DESCRIPTION
  ----------------------------------------------- */

  .feature-category
  .feature-copy {
    left: 20px;

    bottom: 105px;

    width:
      calc(
        100% -
        200px
      );

    min-width: 135px;
  }


  .feature-category
  .feature-copy-top {
    margin-bottom: 10px;

    padding-bottom: 7px;
  }


  .feature-category
  .feature-copy-label {
    font-size: 6px;

    letter-spacing: 0.15em;
  }


  .feature-category
  .feature-copy-arrow {
    font-size: 11px;
  }


  .feature-category
  .stw_desc {
    font-size: 9px;

    line-height: 1.5;
  }


  /* -----------------------------------------------
     INDEX
  ----------------------------------------------- */

  .feature-category
  .feature-index {
    right: 20px;

    top:
      calc(
        57% +
        110px
      );

    gap: 8px;
  }


  .feature-category
  .feature-index-current {
    font-size: 9px;

    height: 17px;
  }


  .feature-category
  .stw_number {
    font-size: 9px;
  }


  .feature-category
  .feature-index-label {
    font-size: 5px;
  }


  /* -----------------------------------------------
     BOTTOM
  ----------------------------------------------- */

  .feature-category
  .feature-bottom {
    left: 20px;

    bottom: 49px;

    gap: 7px;

    font-size: 6px;

    letter-spacing: 0.13em;
  }


  /* -----------------------------------------------
     PROGRESS
  ----------------------------------------------- */

  .feature-category
  .stw_progress {
    left: 20px;

    right: 20px;

    bottom: 28px;
  }


  /* -----------------------------------------------
     SCROLL
  ----------------------------------------------- */

  .feature-category
  .feature-scroll-indicator {
    right: 12px;

    top: 50%;
  }


  .feature-category
  .feature-scroll-indicator span:first-child {
    height: 12px;
  }


  /* -----------------------------------------------
     OVERLAY
  ----------------------------------------------- */

  .feature-category
  .feature-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78),
        rgba(0, 0, 0, 0.22)
      );
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .feature-category
  .stw_title {
    font-size:
      clamp(
        46px,
        14vw,
        68px
      );
  }


  .feature-category
  .stw_card {
    width: 125px;

    height: 170px;
  }


  .feature-category
  .feature-copy {
    width: 150px;

    bottom: 104px;
  }


  .feature-category
  .stw_desc {
    font-size: 8px;

    line-height: 1.45;
  }


  .feature-category
  .feature-index {
    top:
      calc(
        57% +
        100px
      );
  }


  .feature-category
  .feature-bottom {
    font-size: 5px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .feature-category
  .stw_bg_img,
  .feature-category
  .stw_card_img,
  .feature-category
  .stw_title_char,
  .feature-category
  .stw_desc_word,
  .feature-category
  .stw_progress_fill {
    transition: none !important;

    animation: none !important;
  }

}