.nos-main {
  --nos-ph-a: #1a1a1e;
  --nos-ph-b: #101013;
  --nos-ph-dot: rgba(255, 255, 255, 0.22);
}
:root[data-theme='light'] .nos-main {
  --nos-ph-a: #dedee2;
  --nos-ph-b: #cfcfd4;
  --nos-ph-dot: rgba(0, 0, 0, 0.22);
}
.nos-ph {
  background: linear-gradient(150deg, var(--nos-ph-a), var(--nos-ph-b));
  display: grid;
  place-items: center;
}
.nos-ph__dot {
  width: clamp(26px, 3vw, 40px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--nos-ph-dot);
  position: relative;
}
.nos-ph__dot::after {
  content: '';
  position: absolute;
  inset: 40%;
  border-radius: 50%;
  background: var(--nos-ph-dot);
}

.nos-hero {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  background: #0d0d10;
}
.nos-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(158deg, #1d1d21 0%, #121215 55%, #0c0c0f 100%);
  transform: scale(1.06);
  opacity: 0;
  transition: opacity 1.1s ease, transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.nos-hero.is-in .nos-hero__bg { opacity: 1; transform: scale(1); }
.nos-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.nos-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.08) 46%, rgba(0,0,0,0.22));
}
.nos-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(28px, 5vw, 68px);
}
.nos-hero__title { margin: 0; overflow: hidden; }
.nos-hero__title-inner {
  display: block;
  padding-bottom: 0.08em;
  font-weight: 600;
  font-size: clamp(48px, 9vw, 150px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #fff;
  transform: translateY(112%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.nos-hero.is-in .nos-hero__title-inner { transform: translateY(0); }

.nos-hero__scroll {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(20px, 4vh, 42px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transition: opacity 0.6s ease 0.9s;
}
.nos-hero.is-in .nos-hero__scroll { opacity: 1; }
.nos-hero__arrow { animation: nos-bob 1.9s ease-in-out infinite; }
@keyframes nos-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.nos-view {
  position: relative;
  z-index: 2;
  background: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(64px, 9vw, 148px);
  transition: background-color 0.4s ease, color 0.4s ease;
}
.nos-view:first-child {
  padding-top: calc(var(--header-h, 62px) + clamp(64px, 9vw, 148px));
}
.nos-view__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3vw, 60px);
  align-items: start;
}
.nos-view__label { margin: 0; }
.nos-view__col {
  margin: 0;
  font-weight: 500;
  font-size: clamp(19px, 1.95vw, 31px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--color-text);
  text-wrap: pretty;
}

.nos-strip {
  --nos-ph-a: #1e1e22;
  --nos-ph-b: #121216;
  --nos-ph-dot: rgba(255, 255, 255, 0.22);
  position: relative;
  z-index: 2;
  background: #000;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 96px);
}
.nos-strip__track {
  display: flex;
  gap: clamp(12px, 1.4vw, 22px);
  width: max-content;
  will-change: transform;
}
.nos-strip__item {
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 440px);
}
.nos-strip__ph {
  aspect-ratio: 4 / 3;
  width: 100%;
}
.nos-strip__link {
  display: block;
  width: 100%;
  cursor: pointer;
}
.nos-strip__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.nos-create {
  position: relative;
  z-index: 2;
  background: var(--color-bg);
  color: var(--color-text);
}
.nos-panels { position: relative; }
.nos-panel {
  position: sticky;
  top: var(--header-h, 62px);
  scroll-margin-top: var(--header-h, 62px);
  height: auto;
  background: var(--color-bg);
  overflow: hidden;
  padding-bottom: clamp(28px, 4.5vw, 64px);
}
.nos-panel:nth-child(1) { z-index: 1; }
.nos-panel:nth-child(2) { z-index: 2; }
.nos-panel:nth-child(3) { z-index: 3; }
.nos-panel:nth-child(4) { z-index: 4; }
.nos-panel__inner { width: 100%; }
.nos-panel__rule {
  height: 1px;
  background: var(--color-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: clamp(24px, 3.2vw, 52px);
}
.nos-panel.is-in .nos-panel__rule { transform: scaleX(1); }
.nos-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.78fr) minmax(0, 1.15fr);
  gap: clamp(20px, 2.8vw, 56px);
  align-items: center;
}
.nos-panel__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 58px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  will-change: transform;
}
.nos-panel__media { will-change: transform; }
.nos-panel__media > .nos-panel__ph,
.nos-panel__media > .nos-panel__video,
.nos-panel__media > img {
  transform: scale(var(--exp-k, 1));
  transform-origin: right center;
  will-change: transform;
}
.nos-panel__ph {
  aspect-ratio: 16 / 10;
  width: 100%;
}
.nos-panel__video {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nos-panel__media.has-media .nos-panel__ph { display: none; }
.nos-panel__text {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 18px);
  max-width: 42ch;
  will-change: transform;
}
.nos-panel__sub {
  margin: 0;
  font-size: clamp(15.5px, 1.2vw, 17px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.nos-panel__desc {
  margin: 0;
  font-size: clamp(14.5px, 1.05vw, 15.5px);
  line-height: 1.58;
  color: var(--color-muted);
  text-wrap: pretty;
}

.nos-mv {
  position: relative;
  z-index: 2;
  background: var(--color-bg);
  color: var(--color-text);
  padding-top: clamp(72px, 10vw, 168px);
  padding-bottom: clamp(120px, 13vw, 220px);
}
.nos-mv__rule {
  height: 1px;
  background: var(--color-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: clamp(36px, 5vw, 76px);
}
.has-reveal .nos-mv__rule[data-reveal] { opacity: 1; }
.has-reveal .nos-mv__rule[data-reveal].is-revealed { animation: none; transform: scaleX(1); }
.nos-mv__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 92px);
}
.nos-mv__col { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 26px); }
.nos-mv__label { margin: 0; }
.nos-mv__text {
  margin: 0;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-wrap: pretty;
}

.nos-team {
  position: relative;
  z-index: 2;
  background: #000;
  color: #fff;
  padding-block: clamp(80px, 12vw, 200px);
}
.nos-team__inner { text-align: center; }
.nos-team__label {
  margin: 0 0 clamp(40px, 6vw, 96px);
  color: rgba(255, 255, 255, 0.55);
}
.nos-team__stage-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 96px);
}
.nos-team__stage { justify-self: center; }
.nos-team__media {
  position: relative;
  height: min(88svh, calc(100svh - var(--header-h) - clamp(24px, 4vw, 48px)));
  width: min(90vw, 62svh);
  max-width: 640px;
  background: transparent;
}

.nos-team__name-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  padding-right: clamp(28px, 5vw, 72px);
}
.nos-team__name {
  display: block;
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
}

.nos-team__side {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1.1vw, 16px);
}
.nos-team__side--right {
  align-items: flex-start;
  text-align: left;
  padding-left: clamp(28px, 5vw, 72px);
}
.nos-team__item {
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nos-team__item.is-active { opacity: 1; }
.nos-team__role {
  display: block;
  font-weight: 500;
  font-size: clamp(15px, 1.25vw, 18px);
  letter-spacing: -0.03em;
  color: #fff;
}
.nos-team__item.is-active .nos-team__role { font-weight: 600; }
.nos-team__side--right .nos-team__item.is-active { transform: translateX(-7px); }
@media (hover: hover) and (pointer: fine) {
  .nos-team__item:hover { opacity: 1; }
  .nos-team__side--right .nos-team__item:hover { transform: translateX(-7px); }
}
.nos-team__item:focus-visible { outline: none; opacity: 1; }

.header__nav a[aria-current='page'].is-nos::after,
.header__nav a[aria-current='page']::after { transform: scaleX(1); opacity: 0.45; }
.header__nav a[aria-current='page']:hover::after { opacity: 1; }

.nos-clients {
  position: relative;
  z-index: 2;
  background: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(64px, 9vw, 148px);
  transition: background-color 0.4s ease, color 0.4s ease;
}
.nos-clients__label { margin: 0 0 clamp(40px, 6vw, 88px); }
.nos-clients__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: clamp(56px, 7vw, 100px) clamp(28px, 3.4vw, 58px);
}
.nos-clients__item { display: flex; }
.nos-clients__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(46px, 4.6vw, 68px);
  width: 100%;
}
.nos-clients__logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: filter 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
}
:root[data-theme='light'] .nos-clients__logo-img { filter: brightness(0); }
.nos-clients__item:hover .nos-clients__logo-img { opacity: 1; }
.nos-clients__logo-img--small { transform: scale(1.2); }
.nos-clients__logo-img--smaller { transform: scale(1.35); }
.nos-clients__logo-img--tiny { transform: scale(1.5); }
@media (prefers-reduced-motion: reduce) {
  .nos-clients__logo-img { transition: none; }
}

@media (max-width: 900px) {
  .nos-view__inner { grid-template-columns: 1fr 1fr; }
  .nos-view__label { grid-column: 1 / -1; }
  .nos-panel__grid {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 26px);
    align-content: center;
  }
  .nos-panel__media { max-width: 42%; }
  .nos-team__stage-wrap { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 6vw, 44px); }
  .nos-team__stage { order: -1; }
  .nos-team__name-col { justify-content: center; text-align: center; padding-right: 0; }
  .nos-team__side { gap: clamp(18px, 5vw, 28px); }
  .nos-team__side--right { align-items: center; text-align: center; padding-left: 0; }
  .nos-team__side--right .nos-team__item.is-active { transform: none; }
  .nos-clients__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .nos-view__inner { grid-template-columns: 1fr; gap: clamp(20px, 5vw, 32px); }
  .nos-mv__cols { grid-template-columns: 1fr; gap: clamp(28px, 8vw, 48px); }
  .nos-panel__media { max-width: 100%; }
  .nos-strip__item { width: clamp(200px, 62vw, 300px); }
  .nos-team__media { width: min(97vw, 60svh); }
  .nos-clients__grid { grid-template-columns: repeat(2, 1fr); gap: clamp(54px, 14vw, 74px) clamp(40px, 12vw, 64px); }
  .nos-clients__logo-img--small,
  .nos-clients__logo-img--smaller,
  .nos-clients__logo-img--tiny { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nos-hero__bg,
  .nos-hero__title-inner,
  .nos-panel__rule,
  .nos-mv__rule,
  .nos-team__item { transition: none; }
  .nos-hero__bg { opacity: 1; transform: none; }
  .nos-hero__title-inner { transform: none; }
  .nos-hero__scroll { transition: none; opacity: 1; }
  .nos-hero__arrow { animation: none; }
  .nos-panel__title,
  .nos-panel__media,
  .nos-panel__text { transform: none !important; }
}

.has-reveal .nos-view__label,
.has-reveal .nos-view__col,
.has-reveal .nos-strip__item,
.has-reveal .nos-team__label,
.has-reveal .nos-team__name-col,
.has-reveal .nos-team__stage,
.has-reveal .nos-team__side > li,
.has-reveal .nos-mv__col,
.has-reveal .nos-clients__label,
.has-reveal .nos-clients__item {
  transition: opacity 0.9s cubic-bezier(0.3, 0.1, 0.2, 1),
              transform 0.9s cubic-bezier(0.3, 0.1, 0.2, 1);
}

.has-reveal .nos-view__label:not(.is-nos-in),
.has-reveal .nos-view__col:not(.is-nos-in),
.has-reveal .nos-strip__item:not(.is-nos-in),
.has-reveal .nos-team__label:not(.is-nos-in),
.has-reveal .nos-team__name-col:not(.is-nos-in),
.has-reveal .nos-team__stage:not(.is-nos-in),
.has-reveal .nos-team__side > li:not(.is-nos-in),
.has-reveal .nos-mv__col:not(.is-nos-in),
.has-reveal .nos-clients__label:not(.is-nos-in),
.has-reveal .nos-clients__item:not(.is-nos-in) {
  opacity: 0;
  transform: translateY(44px);
}

.has-reveal .nos-panel__media {
  transition: opacity 0.9s cubic-bezier(0.3, 0.1, 0.2, 1);
}
.has-reveal .nos-panel:not(.is-in) .nos-panel__media {
  opacity: 0;
}
.has-reveal .nos-panel.is-in .nos-panel__media { transition-delay: 0.18s; }

.nos-panel__title,
.nos-panel__sub,
.nos-panel__desc {
  will-change: transform, opacity;
}
.has-reveal .nos-panel__title,
.has-reveal .nos-panel__sub,
.has-reveal .nos-panel__desc {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .has-reveal .nos-view__label,
  .has-reveal .nos-view__col,
  .has-reveal .nos-strip__item,
  .has-reveal .nos-team__label,
  .has-reveal .nos-team__name-col,
  .has-reveal .nos-team__stage,
  .has-reveal .nos-team__side > li,
  .has-reveal .nos-mv__col,
  .has-reveal .nos-clients__label,
  .has-reveal .nos-clients__item,
  .has-reveal .nos-view__label:not(.is-nos-in),
  .has-reveal .nos-view__col:not(.is-nos-in),
  .has-reveal .nos-strip__item:not(.is-nos-in),
  .has-reveal .nos-team__label:not(.is-nos-in),
  .has-reveal .nos-team__name-col:not(.is-nos-in),
  .has-reveal .nos-team__stage:not(.is-nos-in),
  .has-reveal .nos-team__side > li:not(.is-nos-in),
  .has-reveal .nos-mv__col:not(.is-nos-in),
  .has-reveal .nos-clients__label:not(.is-nos-in),
  .has-reveal .nos-clients__item:not(.is-nos-in) {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .has-reveal .nos-panel:not(.is-in) .nos-panel__title,
  .has-reveal .nos-panel:not(.is-in) .nos-panel__text,
  .has-reveal .nos-panel:not(.is-in) .nos-panel__media { opacity: 1; }
}
