/* Story — Câu chuyện Nafoods */

body.nafoods-story {
  background: var(--nf-cream, #fffaf3);
}

.nf-st *,
.nf-st *::before,
.nf-st *::after {
  box-sizing: border-box;
}

.nf-st {
  color: var(--nf-brand, #760f26);
  -webkit-tap-highlight-color: transparent;
}

.nf-st a,
.nf-st a:hover,
.nf-st a:focus,
.nf-st a:focus-visible,
.nf-st a:active,
.nf-st button,
.nf-st button:hover,
.nf-st button:focus,
.nf-st button:focus-visible,
.nf-st button:active {
  outline: none;
  box-shadow: none;
}

.nf-st a:hover,
.nf-st a:focus,
.nf-st a:focus-visible {
  color: inherit;
  text-decoration: none;
}

.nf-st [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.nf-st [data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

.nf-st [data-reveal-group] [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}
.nf-st [data-reveal-group] [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}
.nf-st [data-reveal-group] [data-reveal]:nth-child(4) {
  transition-delay: 0.24s;
}
.nf-st [data-reveal-group] [data-reveal]:nth-child(5) {
  transition-delay: 0.32s;
}
.nf-st [data-reveal-group] [data-reveal]:nth-child(6) {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .nf-st [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.nf-st-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #eb3345 transparent;
}

.nf-st-scroll::-webkit-scrollbar {
  width: 4px;
}

.nf-st-scroll::-webkit-scrollbar-thumb {
  background: #eb3345;
  border-radius: 99px;
}

.nf-st-scroll::-webkit-scrollbar-button {
  display: block;
  width: 10px;
  height: 16px;
}

.nf-st-scroll::-webkit-scrollbar-button:vertical:start:increment,
.nf-st-scroll::-webkit-scrollbar-button:vertical:end:decrement {
  display: none;
  height: 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.nf-st-hero {
  position: relative;
  display: grid;
  place-items: center;
  height: 576px;
  min-height: 576px;
  overflow: clip;
}

.nf-st-hero__media,
.nf-st-hero__overlay,
.nf-st-hero__placeholder {
  position: absolute;
  inset: 0;
}

.nf-st-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nf-st-hero__placeholder {
  background: #2b1311;
}

.nf-st-hero__overlay {
  background: rgb(0 0 0 / 50%);
}

.nf-st-hero.has-no-title .nf-st-hero__overlay {
  display: none;
}

.nf-st-hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 1.25rem;
  text-align: center;
}

.nf-st-hero__title {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 40px;
  line-height: 52px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: #fff5e4;
}

@media (max-width: 1023px) {
  .nf-st-hero {
    margin-top: 72px;
  }
}

@media (min-width: 1024px) {
  .nf-st-hero__content {
    width: min(100%, 1220px);
  }

  .nf-st-hero__title {
    font-size: 48px;
    line-height: 60px;
    letter-spacing: -0.72px;
  }
}

/* Founder */
.nf-st-founder {
  position: relative;
  z-index: 1;
  padding: 48px 20px 32px;
  overflow: visible;
}

.nf-st-founder__inner {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.nf-st-founder__copy {
  display: grid;
  grid-template-columns: 83px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  row-gap: 12px;
}

.nf-st-founder__quote {
  grid-column: 1;
  grid-row: 1;
  width: 83px;
  height: 62px;
  flex-shrink: 0;
}

.nf-st-founder__heading {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
  color: #760f26;
}

.nf-st-founder__main {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nf-st-founder__text {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: #0b0103;
  text-align: justify;
}

.nf-st-founder__name {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: #eb3345;
}

.nf-st-founder__fullname {
  color: #eb3345;
}

.nf-st-founder__honorific {
  font-family: var(--nf-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  padding-top: 4px;
  color: #760f26;
}

.nf-st-founder__role {
  margin: 4px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  color: #760f26;
}

.nf-st-founder__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 402 / 551;
  margin: 0 auto;
  overflow: visible;
}

.nf-st-founder__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .nf-st-founder {
    padding: 0 110px 0;
  }

  .nf-st-founder__inner {
    grid-template-columns: 1.45fr 1fr;
    align-items: start;
    gap: 32px;
  }

  .nf-st-founder__copy {
    align-items: start;
    column-gap: 24px;
    row-gap: 12px;
  }

  .nf-st-founder__copy.is-inview {
    margin-top: 5rem;
  }

  .nf-st-founder__quote {
    grid-row: 1 / span 2;
  }

  .nf-st-founder__heading {
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.4px;
  }

  .nf-st-founder__main {
    grid-column: 2;
  }

  .nf-st-founder__text {
    font-size: 18px;
    line-height: 28px;
  }

  .nf-st-founder__by {
    text-align: right;
  }

  .nf-st-founder__name,
  .nf-st-founder__role {
    justify-content: flex-end;
    text-align: right;
  }

  .nf-st-founder__photo {
    z-index: 1;
    justify-self: center;
    align-self: end;
    max-width: 402px;
    aspect-ratio: auto;
    margin: 0;
  }
}

/* Vision / mission */
.nf-st-vm {
  position: relative;
  z-index: 2;
  padding: 0 20px 64px;
}

.nf-st-vm__grid {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.nf-st-vm__card {
  position: relative;
  z-index: 2;
  background: #fff5e4;
  border-radius: 20px;
  padding: 32px;
}

.nf-st-vm__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 80px;
  margin-bottom: 12px;
}

.nf-st-vm__title {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
}

.nf-st-vm__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.nf-st-vm__text {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: #0b0103;
}

@media (min-width: 1024px) {
  .nf-st-vm {
    z-index: 2;
    margin-top: 0;
    padding: 0 110px 64px;
  }

  .nf-st-vm__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .nf-st-vm__title {
    font-size: 40px;
    line-height: 52px;
  }
}

/* Core values */
.nf-st-values {
  padding: 0 20px 64px;
}

.nf-st-values__inner {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.nf-st-values__heading {
  margin: 0 0 32px;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
}

.nf-st-values__grid {
  display: grid;
  gap: 20px;
}

.nf-st-value {
  display: flex;
  flex-direction: column;
  gap: 48px;
  background: #fff5e4;
  border-radius: 20px;
  padding: 16px 24px 24px;
}

.nf-st-value__head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 0;
}

.nf-st-value__title {
  margin: 0;
  flex: 1;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 28px;
  line-height: 32px;
  font-weight: 500;
}

.nf-st-value__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.nf-st-value__body {
  position: relative;
  display: flex;
  background: #760f26;
  color: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 216px;
  padding: 16px 10px 16px 20px;
  box-sizing: border-box;
  font-family: var(--nf-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  text-align: left;
}

.nf-st-value__scroll {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0 8px 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #fff transparent;
}

.nf-st-value__scroll::-webkit-scrollbar {
  width: 10px;
}

.nf-st-value__scroll::-webkit-scrollbar-track {
  background: transparent;
}

.nf-st-value__scroll::-webkit-scrollbar-thumb {
  background-color: #fff;
  border-radius: 99px;
  border: 4px solid transparent;
  background-clip: padding-box;
}

.nf-st-value__scroll::-webkit-scrollbar-button,
.nf-st-value__scroll::-webkit-scrollbar-button:single-button,
.nf-st-value__scroll::-webkit-scrollbar-button:vertical:decrement,
.nf-st-value__scroll::-webkit-scrollbar-button:vertical:increment,
.nf-st-value__scroll::-webkit-scrollbar-button:vertical:start:increment,
.nf-st-value__scroll::-webkit-scrollbar-button:vertical:end:decrement {
  display: none;
  width: 0;
  height: 0;
}

.nf-st-value__body p {
  margin: 0;
}

@media (min-width: 1024px) {
  .nf-st-values {
    padding: 0 110px 88px;
  }

  .nf-st-values__heading {
    font-size: 40px;
    line-height: 52px;
    margin-bottom: 32px;
  }

  .nf-st-values__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nf-st-values__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Brand voice + history */
.nf-st-voice {
  position: relative;
  overflow: hidden;
  background: #760f26;
  color: #fff5e4;
  padding: 64px 0 0;
}

.nf-st-voice__stage {
  position: relative;
  padding-bottom: 260px;
}

.nf-st-voice__bg {
  position: absolute;
  right: -100px;
  bottom: -115px;
  z-index: 0;
  width: 627px;
  height: 502px;
  max-width: none;
  aspect-ratio: 311 / 249;
  pointer-events: none;
  background:
    linear-gradient(180deg, #760f26 32.48%, rgba(118, 15, 38, 0) 68.43%),
    linear-gradient(359deg, #760f26 22.24%, rgba(118, 15, 38, 0) 40.16%),
    var(--nf-st-voice-bg) lightgray 50% / cover no-repeat;
}

.nf-st-voice__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 0;
}

.nf-st-voice__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.nf-st-voice__quote {
  width: 83px;
  height: 62px;
  flex-shrink: 0;
}

.nf-st-voice__heading {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
  color: #fff5e4;
}

.nf-st-voice__grid {
  display: contents;
}

.nf-st-voice__copy {
  order: 1;
}

.nf-st-voice__body {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  text-align: justify;
}

.nf-st-voice__body p {
  margin: 0 0 8px;
}

.nf-st-voice__em {
  color: #eb3345;
  font-weight: 700;
}

.nf-st-voice__brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  order: 2;
  width: fit-content;
  max-width: 100%;
  margin: 24px auto 48px;
  text-align: center;
}

.nf-st-voice__logo {
  width: 135px;
  height: auto;
}

.nf-st-voice__tagline {
  margin: 0;
  font-family: "SVN Lumios Marker", cursive;
  font-size: 30px;
  line-height: 38px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: #fff5e4;
}

.nf-st-voice__media {
  position: relative;
  order: 3;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #2b1311;
}

.nf-st-voice__poster,
.nf-st-voice__media iframe,
.nf-st-voice__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .nf-st-voice {
    padding: 64px 0 96px;
  }

  .nf-st-voice__stage {
    position: static;
    padding-bottom: 0;
  }

  .nf-st-voice__bg {
    position: absolute;
    top: 185px;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 286 / 229;
  }

  .nf-st-voice__inner {
    display: block;
    width: min(1220px, calc(100% - 220px));
    padding-bottom: 260px;
  }

  .nf-st-voice__heading {
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.4px;
  }

  .nf-st-voice__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding-left: 107px;
  }

  .nf-st-voice__copy,
  .nf-st-voice__media {
    order: unset;
  }

  .nf-st-voice__body {
    font-size: 16px;
  }

  .nf-st-voice__brand {
    order: unset;
    margin: 48px 0 0 107px;
  }

  .nf-st-voice__tagline {
    font-size: 28px;
    letter-spacing: 0;
  }

  .nf-st-voice__media {
    aspect-ratio: 532 / 300;
    border-radius: 16px;
  }
}

/* History */
.nf-st-history {
  position: relative;
  z-index: 1;
  background: transparent;
  color: #fff5e4;
  padding: 0 0 96px;
  overflow: hidden;
}

.nf-st-history__bar {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto 43px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.nf-st-history__heading {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
  color: #fff5e4;
}

.nf-st-history__nav {
  display: none;
  gap: 16px;
  flex-shrink: 0;
}

.nf-st-history__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #fff5e4;
  border-radius: 999px;
  background: transparent;
  color: #fff5e4;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.nf-st-history__btn:hover:not(:disabled) {
  background: rgb(255 245 228 / 18%);
  color: #fff5e4;
  border-color: #fff5e4;
}

.nf-st-history__btn:focus,
.nf-st-history__btn:focus-visible,
.nf-st-history__btn:active:not(:disabled) {
  background: transparent;
  color: #fff5e4;
  border-color: #fff5e4;
  outline: none;
  box-shadow: none;
  transform: none;
  filter: none;
}

.nf-st-history__btn:hover:not(:disabled):focus,
.nf-st-history__btn:hover:not(:disabled):focus-visible,
.nf-st-history__btn:hover:not(:disabled):active {
  background: rgb(255 245 228 / 18%);
  color: #fff5e4;
  border-color: #fff5e4;
}

.nf-st-history__btn:disabled,
.nf-st-history__btn:disabled:hover,
.nf-st-history__btn:disabled:focus,
.nf-st-history__btn:disabled:focus-visible,
.nf-st-history__btn:disabled:active {
  opacity: 0.32;
  background: transparent;
  color: #fff5e4;
  border-color: #fff5e4;
  cursor: default;
}

.nf-st-history__viewport {
  position: relative;
  overflow: hidden;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto 0 20px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.nf-st-history.is-dragging .nf-st-history__viewport {
  cursor: grabbing;
}

.nf-st-history__track {
  display: flex;
  justify-content: flex-start;
  transition: transform 0.45s ease;
}

.nf-st-history__track.is-dragging {
  transition: none;
}

.nf-st-history__item {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 20px 0 0;
  cursor: grab;
}

.nf-st-history.is-dragging .nf-st-history__item {
  cursor: grabbing;
}

.nf-st-history__item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 0;
  border-top: 1px solid #eb3345;
  pointer-events: none;
  z-index: 0;
  transform: translateY(-50%);
}

.nf-st-history__axis {
  position: relative;
  z-index: 2;
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  height: 449px;
  object-fit: none;
  object-position: 0 0;
  pointer-events: none;
}

.nf-st-history__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 48px;
}

.nf-st-history__year {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  color: #fff5e4;
  transition: color 0.2s ease;
}

.nf-st-history__item.is-active .nf-st-history__year,
.nf-st-history__item:hover .nf-st-history__year {
  color: #eb3345;
}

.nf-st-history__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}

.nf-st-history__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
}

.nf-st-history__text {
  width: 100%;
  font-size: 16px;
  line-height: 24px;
  color: #e4dbcc;
}

@media (max-width: 767px) {
  .nf-st-history__item {
    flex-basis: 85%;
    max-width: 85%;
  }
}

@media (min-width: 768px) {
  .nf-st-history__item {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (min-width: 1024px) {
  .nf-st-history {
    padding: 64px 0 0;
    overflow: visible;
  }

  .nf-st-history__bar {
    width: min(1220px, calc(100% - 220px));
    margin-bottom: 48px;
  }

  .nf-st-history__nav {
    display: flex;
  }

  .nf-st-history__viewport {
    overflow: visible;
    width: min(1220px, calc(100% - 110px));
    margin-left: max(110px, calc((100% - 1220px) / 2));
    margin-right: 0;
  }

  .nf-st-history__heading {
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.4px;
  }

  .nf-st-history__item {
    flex-basis: 27%;
    max-width: 27%;
  }

  .nf-st-history__photo {
    border-radius: 16px;
  }

  .nf-st-history__text {
    min-height: 144px;
    max-height: 144px;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: #fff5e4;
  }
}

/* Ecosystem */
.nf-st-eco {
  padding: 70px 20px;
}

.nf-st-eco__intro {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.nf-st-eco__heading {
  margin: 0 0 8px;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
  color: #760f26;
}

.nf-st-eco__sub {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: #341d1d;
}

.nf-st-eco__tree {
  --eco-cols: 4;
  --eco-gap: 8px;
  --eco-line: 3px;
  --eco-dot: 16px;
  --eco-drop: 62px;
  width: min(1220px, 100%);
  margin: 0 auto;
}

.nf-st-eco__logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 48px 0;
}

.nf-st-eco__logo {
  width: 164px;
  height: auto;
}

.nf-st-eco__cols {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nf-st-eco__col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nf-st-eco__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  height: 56px;
  padding: 12px 32px;
  border: 0;
  border-radius: 12px;
  background: #760f26;
  color: #fff5e4;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.12px;
  text-transform: uppercase;
  cursor: pointer;
}

.nf-st-eco__tab:hover,
.nf-st-eco__tab:focus,
.nf-st-eco__tab:focus-visible,
.nf-st-eco__tab:active {
  background: #760f26;
  color: #fff5e4;
  outline: none;
}

.nf-st-eco__col:nth-child(1) .nf-st-eco__tab,
.nf-st-eco__col:nth-child(1) .nf-st-eco__tab:hover,
.nf-st-eco__col:nth-child(1) .nf-st-eco__tab:focus,
.nf-st-eco__col:nth-child(1) .nf-st-eco__tab:active {
  background: #c52b3a;
}

.nf-st-eco__col:nth-child(2) .nf-st-eco__tab,
.nf-st-eco__col:nth-child(2) .nf-st-eco__tab:hover,
.nf-st-eco__col:nth-child(2) .nf-st-eco__tab:focus,
.nf-st-eco__col:nth-child(2) .nf-st-eco__tab:active {
  background: #b12734;
}

.nf-st-eco__col:nth-child(4) .nf-st-eco__tab,
.nf-st-eco__col:nth-child(4) .nf-st-eco__tab:hover,
.nf-st-eco__col:nth-child(4) .nf-st-eco__tab:focus,
.nf-st-eco__col:nth-child(4) .nf-st-eco__tab:active {
  background: #530b1b;
}

.nf-st-eco__panel {
  display: flex;
  flex-direction: column;
  background: #fff5e4;
  border-radius: 12px;
}

.nf-st-eco__panel-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 32px 20px;
}

@media (max-width: 1023px) {
  .nf-st-eco__col {
    flex: 0 0 auto;
    scroll-margin-top: 84px;
  }

  .nf-st-eco__panel {
    display: grid;
    flex: 0 0 auto;
    grid-template-rows: 0fr;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      grid-template-rows 0.7s cubic-bezier(0.33, 1, 0.32, 1),
      opacity 0.5s ease;
  }

  .nf-st-eco__panel-body {
    flex: none;
    min-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: padding 0.65s ease;
  }

  .nf-st-eco__col.is-open .nf-st-eco__panel {
    grid-template-rows: 1fr;
    opacity: 1;
    pointer-events: auto;
  }

  .nf-st-eco__col.is-open .nf-st-eco__panel-body {
    padding: 32px 20px;
  }
}

.nf-st-eco__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.nf-st-eco__icon,
.nf-st-eco__item img {
  width: auto;
  height: 100px;
  max-width: none;
  object-fit: contain;
}

.nf-st-eco__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border: 1px solid #eb3345;
  border-radius: 1000px;
  background: transparent;
  color: #eb3345;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nf-st-eco__item:hover .nf-st-eco__label,
.nf-st-eco__item:focus .nf-st-eco__label,
.nf-st-eco__item:focus-visible .nf-st-eco__label,
.nf-st-eco__item:active .nf-st-eco__label {
  background: #eb3345;
  border-color: #eb3345;
  color: #fff5e4;
}

@media (min-width: 1024px) {
  .nf-st-eco {
    padding: 70px 110px 64px;
  }

  .nf-st-eco__heading {
    font-size: 40px;
    line-height: 52px;
  }

  .nf-st-eco__sub {
    font-size: 18px;
    line-height: 28px;
  }

  .nf-st-eco__tree {
    --eco-gap: 16px;
  }

  .nf-st-eco__col {
    gap: 10px;
  }

  .nf-st-eco__logo-wrap {
    margin: 87px 0 0;
  }

  .nf-st-eco__cols {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--eco-cols, 4), minmax(0, 1fr));
    gap: var(--eco-gap);
    align-items: stretch;
    margin-top: var(--eco-drop);
  }

  .nf-st-eco__tree.has-logo .nf-st-eco__cols {
    margin-top: calc(34px + var(--eco-drop));
  }

  /* Horizontal branch */
  .nf-st-eco__cols::before {
    content: "";
    position: absolute;
    top: calc(-1 * var(--eco-drop));
    left: calc((100% - (var(--eco-cols) - 1) * var(--eco-gap)) / (var(--eco-cols) * 2));
    right: calc((100% - (var(--eco-cols) - 1) * var(--eco-gap)) / (var(--eco-cols) * 2));
    height: var(--eco-line);
    background: #760f26;
    pointer-events: none;
  }

  /* Drop from bar to each tab */
  .nf-st-eco__col::before {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(-1 * var(--eco-drop));
    width: var(--eco-line);
    height: var(--eco-drop);
    background: #760f26;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
  }

  /* Circle at the end of each drop — half under the tab */
  .nf-st-eco__col::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: var(--eco-dot);
    height: var(--eco-dot);
    border-radius: 50%;
    background: #760f26;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
  }

  .nf-st-eco__tab {
    position: relative;
    z-index: 2;
    font-size: 24px;
    line-height: 32px;
    pointer-events: none;
    cursor: default;
  }

  .nf-st-eco__panel,
  .nf-st-eco__col .nf-st-eco__panel,
  .nf-st-eco__col.is-open .nf-st-eco__panel {
    display: flex;
    flex: 1;
    grid-template-rows: none;
    height: auto;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }

  .nf-st-eco__panel-body {
    flex: 1;
  }
}

/* Scope */
.nf-st-scope {
  position: relative;
  isolation: isolate;
  background: var(--lightmode-background-main, #fffaf3);
}

.nf-st-scope__media {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 2048 / 1365;
  overflow: hidden;
}

.nf-st-scope__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  background: var(--nf-st-scope-img) lightgray 50% / cover no-repeat;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.nf-st-scope__bg.is-active {
  opacity: 1;
}

.nf-st-scope__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 20px;
}

.nf-st-scope__heading {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
  color: #760f26;
}

.nf-st-scope__tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 0;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.nf-st-scope__tabs::-webkit-scrollbar {
  display: none;
}

.nf-st-scope__tab,
.nf-st-scope__tab:hover,
.nf-st-scope__tab:focus,
.nf-st-scope__tab:focus-visible,
.nf-st-scope__tab:active {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 12px 20px;
  border: 0;
  border-radius: 1000px;
  background: transparent;
  color: #727272;
  font-family: var(--nf-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}

.nf-st-scope__tab.is-active,
.nf-st-scope__tab.is-active:hover,
.nf-st-scope__tab.is-active:focus,
.nf-st-scope__tab.is-active:focus-visible,
.nf-st-scope__tab.is-active:active {
  background: #760f26;
  color: #fff5e4;
  font-weight: 700;
}

.nf-st-scope__panel {
  display: none;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.nf-st-scope__panel.is-active {
  display: flex;
}

.nf-st-scope__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 20px 24px;
  border-radius: 12px;
  background: #fff5e4;
}

.nf-st-scope__name {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: #760f26;
}

.nf-st-scope__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #760f26;
}

@media (max-width: 1023px) {
  .nf-st-scope__row a,
  .nf-st-scope__row a:link,
  .nf-st-scope__row a:visited,
  .nf-st-scope__row a:hover,
  .nf-st-scope__row a:focus,
  .nf-st-scope__row a:focus-visible,
  .nf-st-scope__row a:active,
  .nf-st-scope__row a:hover:active,
  .nf-st-scope a[href^="tel"],
  .nf-st-scope a[href^="tel"]:link,
  .nf-st-scope a[href^="tel"]:visited,
  .nf-st-scope a[href^="tel"]:hover,
  .nf-st-scope a[href^="tel"]:focus,
  .nf-st-scope a[href^="tel"]:active,
  .nf-st-scope a[x-apple-data-detectors] {
    color: #760f26 !important;
    -webkit-text-fill-color: #760f26 !important;
    text-decoration: none !important;
    background: transparent !important;
  }
}

.nf-st-scope__icon {
  width: auto;
  height: 16px;
  margin-top: 2px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .nf-st-scope {
    overflow: hidden;
    contain: paint;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .nf-st-scope__media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    pointer-events: none;
  }

  .nf-st-scope__bg {
    inset: auto;
    left: 0;
    top: calc(-262 / 1440 * 100vw);
    width: calc(1701 / 1440 * 100vw);
    height: calc(1134 / 1440 * 100vw);
    aspect-ratio: 3 / 2;
    background: linear-gradient(116deg, #fffaf3 29.98%, rgb(255 250 243 / 0%) 56.33%), var(--nf-st-scope-img) lightgray 50% / cover no-repeat;
  }

  .nf-st-scope__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    align-content: start;
    gap: 0;
    padding: 70px 0;
  }

  .nf-st-scope__heading {
    grid-column: 1;
    grid-row: 1;
    margin: 0 0 11px;
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.4px;
  }

  .nf-st-scope__tabs {
    grid-column: 1;
    grid-row: 2;
    flex-wrap: wrap;
    overflow: visible;
    margin: 0 0 42px;
  }

  .nf-st-scope__panel,
  .nf-st-scope__panel[hidden] {
    grid-column: 1;
    grid-row: 3;
    display: flex !important;
    width: min(432px, 100%);
    visibility: hidden;
    pointer-events: none;
  }

  .nf-st-scope__panel.is-active,
  .nf-st-scope__panel.is-active[hidden] {
    visibility: visible;
    pointer-events: auto;
  }
}

/* Awards */
.nf-st-awards {
  --nf-st-awards-gap: 20px;
  --nf-st-awards-show: 2;
  padding: 48px 0 32px;
  overflow: hidden;
}

.nf-st-awards__inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.nf-st-awards__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 32px;
}

.nf-st-awards__heading {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
  color: #760f26;
}

.nf-st-awards__nav {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.nf-st-awards .nf-icon-btn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #f1ebde;
  color: #25080b;
  line-height: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.nf-st-awards .nf-icon-btn svg {
  display: block;
  width: 16px;
  height: 16px;
}

.nf-st-awards .nf-icon-btn:hover:not(:disabled) {
  background: var(--nf-brand, #760f26);
  color: var(--nf-cream-deep, #fff5e4);
}

.nf-st-awards .nf-icon-btn:active:not(:disabled),
.nf-st-awards .nf-icon-btn:focus,
.nf-st-awards .nf-icon-btn:focus-visible {
  background: #f1ebde;
  color: #25080b;
  outline: none;
  box-shadow: none;
}

.nf-st-awards .nf-icon-btn:hover:not(:disabled):active {
  background: var(--nf-brand, #760f26);
  color: var(--nf-cream-deep, #fff5e4);
}

.nf-st-awards .nf-icon-btn:disabled,
.nf-st-awards .nf-icon-btn:disabled:focus {
  opacity: 0.4;
  background: #f1ebde;
  color: #25080b;
  cursor: default;
}

.nf-st-awards .nf-icon-btn:disabled:hover,
.nf-st-awards .nf-icon-btn:disabled:active {
  background: var(--nf-brand, #760f26);
  color: var(--nf-cream-deep, #fff5e4);
  cursor: default;
  opacity: 0.4;
}

.nf-st-awards__viewport {
  overflow: hidden;
  width: 100%;
  container-type: inline-size;
}

.nf-st-awards__track {
  display: flex;
  gap: var(--nf-st-awards-gap);
  will-change: transform;
  transition: transform 0.45s ease;
}

.nf-st-awards__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 calc((100cqi - (var(--nf-st-awards-show) - 1) * var(--nf-st-awards-gap)) / var(--nf-st-awards-show));
  min-width: 0;
  gap: 20px;
  padding: 0;
  background: transparent;
  text-align: center;
  color: inherit;
  text-decoration: none;
  cursor: default;
}

a.nf-st-awards__card {
  cursor: pointer;
}

.nf-st-awards__media {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 188 / 83;
  overflow: hidden;
}

.nf-st-awards__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.nf-st-awards__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.nf-st-awards .nf-achievements__year {
  margin: 0;
  font-family: var(--nf-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--nf-brand-bright, #a01a38);
  text-align: center;
}

.nf-st-awards__name {
  margin: 0;
  width: 100%;
  min-height: 80px;
  color: #760f26;
  text-align: center;
  font-family: var(--nf-sans), Inter, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
}

@media (min-width: 768px) {
  .nf-st-awards {
    --nf-st-awards-gap: 32px;
    --nf-st-awards-show: 3;
  }
}

@media (min-width: 1024px) {
  .nf-st-awards {
    --nf-st-awards-show: 4;
    padding: 80px 0;
  }

  .nf-st-awards__bar {
    margin-bottom: 48px;
  }

  .nf-st-awards__heading {
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-st-awards__track,
  .nf-st-history__track,
  .nf-st-eco__panel {
    animation: none;
    transition: none;
  }
}
