/* NOVSPEED master-brand layer — intentionally loaded after the review framework. */
:root {
  --nov-blue: #0069ff;
  --nov-blue-deep: #001a52;
  --nov-lime: #b8ec24;
  --nov-black: #000;
  --nov-white: #fff;
  --nov-safe-x: clamp(1.35rem, 4.2vw, 5.5rem);
  --nov-safe-y: clamp(5rem, 9vw, 9rem);
}

html[data-scene="midnight"] {
  --ink: #00133f;
  --ink-soft: #00296f;
  --ink-blue: #0045ba;
  --gold: #fff;
  --gold-pale: #dbe8ff;
  --cyan: #7fb3ff;
  --paper: #eef4ff;
  --scene-grid: rgb(255 255 255 / 0.08);
  --scene-signal: 255 255 255;
}

html[data-scene="gallery"] {
  --ink: #000;
  --ink-soft: #0d0d0d;
  --ink-blue: #171717;
  --gold: #0069ff;
  --gold-pale: #8db9ff;
  --cyan: #0069ff;
  --paper: #f3f3f3;
  --scene-grid: rgb(255 255 255 / 0.07);
  --scene-signal: 0 105 255;
}

html[data-scene="aurora"] {
  --ink: #101700;
  --ink-soft: #1e2c00;
  --ink-blue: #263800;
  --gold: #b8ec24;
  --gold-pale: #e2ff91;
  --cyan: #0069ff;
  --paper: #f6ffd9;
  --scene-grid: rgb(184 236 36 / 0.11);
  --scene-signal: 184 236 36;
}

html[data-scene="solstice"] {
  --ink: #fff;
  --ink-soft: #f4f7ff;
  --ink-blue: #e8efff;
  --gold: #0069ff;
  --gold-pale: #0049b3;
  --cyan: #0069ff;
  --paper: #07142e;
  --scene-grid: rgb(0 105 255 / 0.08);
  --scene-signal: 0 105 255;
}

body {
  letter-spacing: -0.012em;
}

.wordmark {
  gap: 0.7rem;
}

.wordmark > img {
  display: none;
}

.wordmark > span:last-child {
  font-weight: 850;
  letter-spacing: 0.055em;
}

.nov-emblem,
.nov-intro-mark {
  display: inline-block;
  width: 1.5rem;
  height: 0.78rem;
  flex: 0 0 auto;
  background: currentColor;
  clip-path: polygon(0 0, 25% 0, 50% 56%, 75% 0, 100% 0, 59% 100%, 41% 100%);
}

.nov-intro-mark {
  width: clamp(5rem, 12vw, 10rem);
  height: clamp(2.6rem, 6vw, 5.2rem);
  color: #fff;
}

.intro {
  background: var(--nov-blue);
}

.intro > img {
  display: none;
}

.intro p {
  font-weight: 850;
  letter-spacing: 0.28em;
}

.site-header {
  padding-inline: var(--nov-safe-x);
}

.hero {
  min-height: 100svh;
  background: #000;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 58%, rgb(0 105 255 / 0.3) 58.1% 58.8%, transparent 59% 100%),
    repeating-linear-gradient(115deg, transparent 0 7rem, rgb(255 255 255 / 0.08) 7.05rem 7.12rem);
  mix-blend-mode: screen;
  transform: translateX(-4%);
  animation: nov-speed-lines 12s linear infinite;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  filter: saturate(1.08) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.9) 0%, rgb(0 0 0 / 0.42) 50%, rgb(0 0 0 / 0.14) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 0.58), transparent 55%) !important;
}

.hero-content {
  padding: clamp(8rem, 15vh, 11rem) var(--nov-safe-x) clamp(4rem, 8vh, 7rem);
}

.hero-copy {
  max-width: min(74rem, 76vw);
}

.hero-title {
  max-width: 12ch;
  overflow: visible;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.075em;
  line-height: 0.94;
  text-transform: uppercase;
}

.hero-title .title-line {
  display: block;
  overflow: visible;
  padding: 0.08em 0.09em 0.13em 0.02em;
  margin: -0.08em -0.09em -0.13em -0.02em;
}

.hero-title .title-line + .title-line {
  margin-top: 0.015em;
}

html[data-lang="zh"] .hero-title {
  line-height: 1.04;
  letter-spacing: -0.055em;
}

html[data-lang="id"] .hero-title {
  max-width: 14ch;
  font-size: clamp(4.4rem, 8.7vw, 9.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-title .title-star {
  color: #fff;
  -webkit-text-stroke: 1px rgb(255 255 255 / 0.2);
}

.hero-signature {
  color: #fff;
  border-left: 0.5rem solid var(--nov-blue);
  padding-left: 0.8rem;
  letter-spacing: 0.26em;
}

.hero-system {
  border-color: rgb(255 255 255 / 0.34);
  backdrop-filter: blur(12px);
  background: rgb(0 0 0 / 0.22);
}

.hero-rail {
  background: var(--nov-blue);
  color: #fff;
}

.brand-architecture {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8rem, 0.55fr) minmax(18rem, 1.25fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 5vw, 7rem);
  align-items: center;
  min-height: 70svh;
  padding: var(--nov-safe-y) var(--nov-safe-x);
  color: #fff;
  background: var(--nov-blue);
  overflow: hidden;
}

.brand-architecture::before {
  content: "";
  position: absolute;
  inset: -25% -8% -25% 42%;
  border: 1px solid rgb(255 255 255 / 0.2);
  transform: skewX(-28deg);
  pointer-events: none;
}

.architecture-mark {
  width: min(16vw, 12rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.38);
  transform: rotate(45deg);
}

.architecture-mark span {
  width: 62%;
  height: 32%;
  background: #fff;
  clip-path: polygon(0 0, 25% 0, 50% 56%, 75% 0, 100% 0, 59% 100%, 41% 100%);
  transform: rotate(-45deg);
}

.architecture-copy,
.architecture-series {
  position: relative;
  z-index: 1;
}

.architecture-copy h2 {
  margin-block: 0.35rem 1.25rem;
  font-size: clamp(4rem, 9vw, 10rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.86;
  padding: 0.08em 0.1em 0.12em 0;
  overflow: visible;
}

.architecture-copy .lead {
  max-width: 38rem;
}

.architecture-series {
  display: grid;
  border-top: 1px solid rgb(255 255 255 / 0.46);
}

.architecture-series article {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.55rem 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.46);
}

.architecture-series span,
.architecture-series small {
  opacity: 0.7;
}

.architecture-series strong {
  font-size: clamp(1.2rem, 2vw, 2rem);
  letter-spacing: 0.04em;
}

.architecture-series small {
  grid-column: 2;
  font-size: 0.88rem;
}

.page-directory,
.page-section {
  padding-inline: var(--nov-safe-x) !important;
  padding-block: var(--nov-safe-y) !important;
}

.directory-intro,
.page-section-heading {
  gap: clamp(2rem, 6vw, 8rem);
}

.directory-card,
.page-card,
.contact-primary,
.business-identity {
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 1.1rem) 0, 100% 1.1rem, 100% 100%, 0 100%);
}

.directory-card {
  min-height: clamp(15rem, 25vw, 23rem);
  padding: clamp(1.5rem, 3vw, 3rem) !important;
  transition: transform 260ms ease, background-color 260ms ease, color 260ms ease;
}

.directory-card:hover {
  transform: translateY(-0.6rem) skewX(-1deg);
}

.directory-card::after,
.page-card::after {
  content: "";
  position: absolute;
  inset: auto 1.5rem 1.5rem auto;
  width: 2.4rem;
  height: 1.2rem;
  background: currentColor;
  opacity: 0.25;
  clip-path: polygon(0 0, 28% 0, 50% 55%, 72% 0, 100% 0, 60% 100%, 40% 100%);
}

.page-hero {
  min-height: min(88svh, 62rem);
  overflow: hidden;
}

.page-hero-inner {
  padding-inline: var(--nov-safe-x) !important;
  padding-block: clamp(9rem, 17vh, 14rem) clamp(4rem, 9vh, 8rem) !important;
  align-items: end;
}

.page-title,
.page-section h2,
.display-copy {
  overflow: visible;
  padding-block: 0.08em 0.12em;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.page-hero-media::after {
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0.14)),
    linear-gradient(0deg, rgb(0 0 0 / 0.5), transparent 60%) !important;
}

.page-feature-media {
  min-height: clamp(22rem, 48vw, 48rem);
}

.page-next,
.site-footer {
  padding-inline: var(--nov-safe-x) !important;
}

.sales-email {
  overflow-wrap: anywhere;
}

.entity-summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(11rem, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: start;
  padding: var(--nov-safe-y) var(--nov-safe-x);
  color: #07142e;
  background: #fff;
  overflow: hidden;
}

.entity-summary::before {
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  content: "";
  pointer-events: none;
  background: linear-gradient(118deg, transparent 0 48%, rgb(0 105 255 / 0.09) 48.2% 49%, transparent 49.2%);
}

.entity-logo-wrap {
  position: sticky;
  top: 8rem;
  width: min(18rem, 100%);
}

.entity-logo-wrap img {
  width: 100%;
  height: auto;
}

.entity-copy {
  position: relative;
  z-index: 1;
  max-width: 66rem;
}

.entity-copy .eyebrow {
  color: var(--nov-blue);
}

.entity-copy h2 {
  max-width: 15ch;
  margin-block: clamp(1rem, 3vw, 2.5rem);
  font-size: clamp(3.2rem, 7vw, 8.5rem);
}

.entity-copy .lead {
  max-width: 58rem;
  color: #26354b;
}

.entity-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(3rem, 6vw, 6rem) 0 0;
  border: 1px solid rgb(0 105 255 / 0.2);
  background: rgb(0 105 255 / 0.2);
}

.entity-facts div {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: #fff;
}

.entity-facts dt {
  margin-bottom: 0.65rem;
  color: var(--nov-blue);
  font: 800 0.7rem/1.2 var(--mono, monospace);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entity-facts dd {
  margin: 0;
  line-height: 1.55;
}

.entity-contact {
  display: flex;
  max-width: 38rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1px;
  padding: 1.35rem clamp(1.25rem, 3vw, 2.5rem);
  color: #fff;
  background: var(--nov-blue);
}

html[data-scene="midnight"] body {
  background: var(--nov-blue) !important;
}

html[data-scene="midnight"] :is(.page-directory, .page-section:not(.is-light), .page-next) {
  background: var(--nov-blue) !important;
}

html[data-scene="midnight"] .directory-card,
html[data-scene="midnight"] .page-card {
  background: rgb(0 26 82 / 0.56) !important;
  border-color: rgb(255 255 255 / 0.28) !important;
}

html[data-scene="gallery"] body,
html[data-scene="gallery"] :is(.page-directory, .page-section:not(.is-light), .page-next) {
  background: #000 !important;
}

html[data-scene="gallery"] .brand-architecture {
  background: #000;
}

html[data-scene="gallery"] .hero-media img,
html[data-scene="gallery"] .page-hero-media {
  filter: grayscale(1) contrast(1.18);
}

html[data-scene="gallery"] .directory-grid {
  grid-template-columns: repeat(12, 1fr);
}

html[data-scene="gallery"] .directory-card:nth-child(odd) { grid-column: span 7; }
html[data-scene="gallery"] .directory-card:nth-child(even) { grid-column: span 5; }

html[data-scene="aurora"] body,
html[data-scene="aurora"] :is(.page-directory, .page-section:not(.is-light), .page-next) {
  background: #101700 !important;
}

html[data-scene="aurora"] .brand-architecture {
  color: #101700;
  background: var(--nov-lime);
}

html[data-scene="aurora"] .brand-architecture::before,
html[data-scene="aurora"] .architecture-mark,
html[data-scene="aurora"] .architecture-series,
html[data-scene="aurora"] .architecture-series article {
  border-color: rgb(16 23 0 / 0.4);
}

html[data-scene="aurora"] .architecture-mark span {
  background: #101700;
}

html[data-scene="aurora"] .hero-media img {
  filter: saturate(0.65) contrast(1.18) hue-rotate(35deg);
}

html[data-scene="aurora"] .hero-rail,
html[data-scene="aurora"] .nav-cta {
  background: var(--nov-lime) !important;
  color: #101700 !important;
}

html[data-scene="aurora"] .directory-card,
html[data-scene="aurora"] .page-card {
  border-color: rgb(184 236 36 / 0.58) !important;
  background: linear-gradient(135deg, rgb(184 236 36 / 0.14), transparent 68%) !important;
}

html[data-scene="solstice"] body {
  background: #fff !important;
  color: #07142e;
}

html[data-scene="solstice"] .brand-architecture {
  background: #fff;
  color: #07142e;
}

html[data-scene="solstice"] .brand-architecture::before,
html[data-scene="solstice"] .architecture-mark,
html[data-scene="solstice"] .architecture-series,
html[data-scene="solstice"] .architecture-series article {
  border-color: rgb(0 105 255 / 0.28);
}

html[data-scene="solstice"] .architecture-mark span {
  background: var(--nov-blue);
}

html[data-scene="solstice"] :is(.page-directory, .page-section:not(.is-light), .page-next) {
  background: #fff !important;
  color: #07142e !important;
}

html[data-scene="solstice"] .directory-card,
html[data-scene="solstice"] .page-card,
html[data-scene="solstice"] .contact-primary,
html[data-scene="solstice"] .business-identity {
  color: #07142e !important;
  background: #f2f6ff !important;
  border-color: rgb(0 105 255 / 0.22) !important;
}

html[data-scene="solstice"] .site-footer {
  background: var(--nov-blue) !important;
  color: #fff !important;
}

@keyframes nov-speed-lines {
  from { transform: translateX(-5%); }
  50% { transform: translateX(2%); }
  to { transform: translateX(-5%); }
}

@media (max-width: 900px) {
  .hero-content {
    padding-inline: var(--nov-safe-x);
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(3.35rem, 14vw, 7rem);
  }

  html[data-lang="id"] .hero-title {
    max-width: 100%;
    font-size: clamp(3.1rem, 12.6vw, 6.4rem);
  }

  .hero-media img {
    object-position: 64% 50%;
  }

  html[data-scene="gallery"] .directory-grid {
    grid-template-columns: 1fr;
  }

  html[data-scene="gallery"] .directory-card:nth-child(n) {
    grid-column: auto;
  }

  .brand-architecture {
    grid-template-columns: 0.35fr 1fr;
  }

  .architecture-series {
    grid-column: 1 / -1;
  }

  .entity-summary {
    grid-template-columns: minmax(7rem, 0.32fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 4rem);
  }
}

@media (max-width: 560px) {
  :root {
    --nov-safe-x: clamp(1.2rem, 5.5vw, 1.7rem);
    --nov-safe-y: clamp(4.5rem, 17vw, 6rem);
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 5.4rem);
    letter-spacing: -0.065em;
  }

  html[data-lang="id"] .hero-title {
    font-size: clamp(2.75rem, 12.2vw, 4.7rem);
    line-height: 1.01;
    letter-spacing: -0.05em;
  }

  .page-title {
    font-size: clamp(3rem, 14vw, 5.8rem);
  }

  .page-hero-inner {
    padding-top: 8.5rem !important;
  }

  .sales-email {
    font-size: clamp(1.2rem, 6vw, 2rem) !important;
  }

  .brand-architecture {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .architecture-mark {
    width: 5.5rem;
  }

  .architecture-series {
    grid-column: auto;
  }

  .entity-summary {
    grid-template-columns: 1fr;
  }

  .entity-logo-wrap {
    position: static;
    width: 6.5rem;
  }

  .entity-copy h2 {
    font-size: clamp(2.8rem, 14vw, 5rem);
  }

  .entity-facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
}
