:root {
  --paper: #f4f3ef;
  --ink: #252627;
  --muted: #767879;
  --hair: rgba(36, 37, 38, 0.13);
  --hair-soft: rgba(36, 37, 38, 0.07);
  --gold: #e8bd24;
  --gold-soft: rgba(232, 189, 36, 0.18);
}

@font-face {
  font-family: "Cera Pro";
  src: url("fonts/Cera Pro Light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Cera Pro";
  src: url("fonts/Cera Pro Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cera Pro";
  src: url("fonts/Cera Pro Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Adelle Sans ARA";
  src: url("fonts/AdelleSansARA-Light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Adelle Sans ARA";
  src: url("fonts/AdelleSansARA-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Adelle Sans ARA";
  src: url("fonts/AdelleSansARA-Semibold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Cera Pro", "Adelle Sans ARA", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(246, 245, 241, 0.84), rgba(246, 245, 241, 0.91)),
    url("1ST-trailer00.jpg.jpeg");
  background-size: cover;
  background-position: 50% 30%;
  filter: grayscale(1) contrast(0.72) brightness(1.55);
  opacity: 0.5;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background-image:
    radial-gradient(rgba(21, 22, 23, 0.16) 0.45px, transparent 0.45px),
    radial-gradient(rgba(255, 255, 255, 0.42) 0.55px, transparent 0.55px),
    repeating-linear-gradient(
      0deg,
      rgba(36, 37, 38, 0.025) 0,
      rgba(36, 37, 38, 0.025) 1px,
      transparent 1px,
      transparent 5px
    );
  background-position:
    0 0,
    1.5px 2px,
    0 0;
  background-size:
    3px 3px,
    5px 5px,
    100% 5px;
  opacity: 0.48;
  mix-blend-mode: multiply;
  animation: paperGrainShift 780ms steps(2) infinite;
}

body.detail-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

#network,
#grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#grain {
  z-index: -2;
  opacity: 0.62;
  mix-blend-mode: multiply;
}

#network {
  z-index: -1;
}

.intro-film {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.42), transparent 34%),
    var(--paper);
  overflow: hidden;
  pointer-events: none;
  animation: introExit 900ms cubic-bezier(0.77, 0, 0.175, 1) 2600ms forwards;
}

.intro-film::before,
.intro-film::after {
  position: absolute;
  inset: -20%;
  content: "";
  pointer-events: none;
}

.intro-film::before {
  background:
    repeating-linear-gradient(
      0deg,
      rgba(36, 37, 38, 0.05) 0,
      rgba(36, 37, 38, 0.05) 1px,
      transparent 1px,
      transparent 5px
    );
  opacity: 0.18;
  animation: scanNoise 460ms steps(2) infinite;
}

.intro-film::after {
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.8) 48%, transparent 58%);
  transform: translateX(-82%);
  animation: logoSweep 1700ms cubic-bezier(0.22, 1, 0.36, 1) 560ms forwards;
}

.intro-frame {
  width: min(660px, 72vw);
  transform: translate3d(0, 24px, 0) scale(0.96);
  opacity: 0;
  filter: blur(14px);
  animation: logoReveal 2100ms cubic-bezier(0.22, 1, 0.36, 1) 180ms forwards;
}

.intro-frame img {
  display: block;
  width: 100%;
  height: auto;
}

body.intro-done .intro-film {
  display: none;
}

@keyframes logoReveal {
  38% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
  78% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 0.92;
    filter: blur(1px);
    transform: translate3d(0, -8px, 0) scale(0.985);
  }
}

@keyframes logoSweep {
  to {
    transform: translateX(82%);
  }
}

@keyframes scanNoise {
  to {
    transform: translate3d(1.5%, -1.5%, 0);
  }
}

@keyframes paperGrainShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(-0.8px, 0.6px, 0);
  }
  50% {
    transform: translate3d(0.7px, -0.8px, 0);
  }
  75% {
    transform: translate3d(-0.5px, -0.4px, 0);
  }
  100% {
    transform: translate3d(0.6px, 0.5px, 0);
  }
}

@keyframes introExit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px clamp(28px, 5vw, 76px);
  mix-blend-mode: multiply;
}

.brand {
  display: block;
  width: clamp(128px, 11.8vw, 190px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

nav {
  display: flex;
  gap: clamp(22px, 3vw, 44px);
  padding-top: 2px;
  font-size: clamp(11px, 0.72vw, 14px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

nav a,
.quiet-link,
.scroll-cue,
.close-detail,
form button {
  position: relative;
}

nav a::after,
.quiet-link::after,
.scroll-cue::after,
.close-detail::after,
form button::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  content: "";
  background: currentColor;
  transition: right 220ms ease;
}

nav a:hover::after,
.quiet-link:hover::after,
.scroll-cue:hover::after,
.close-detail:hover::after,
form button:hover::after {
  right: 0;
}

.scene-index {
  position: fixed;
  left: clamp(28px, 5vw, 76px);
  bottom: 32px;
  z-index: 18;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scene-index i {
  width: 1px;
  height: 42px;
  background: var(--hair);
}

.scene {
  position: relative;
  min-height: 112vh;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(120px, 17vh, 170px) 0;
}

.hero {
  min-height: 100svh;
}

.copy-block {
  position: relative;
  width: min(460px, 100%);
}

.copy-home {
  margin-left: clamp(84px, 15vw, 210px);
  padding-top: clamp(170px, 32vh, 270px);
}

.copy-left {
  padding-top: clamp(160px, 30vh, 250px);
}

.copy-top {
  padding-top: clamp(60px, 11vh, 120px);
}

.wide-copy {
  width: min(560px, 100%);
}

.overline {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: clamp(11px, 0.78vw, 13px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 4.55vw, 76px);
  line-height: 1.06;
}

h2 {
  max-width: 760px;
  font-size: clamp(32px, 3vw, 50px);
  line-height: 1.12;
}

p {
  color: var(--muted);
  font-size: clamp(15px, 0.95vw, 18px);
  font-weight: 300;
  line-height: 1.68;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 58px, 0);
  filter: blur(14px);
  transition:
    opacity 1300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1300ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1300ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 180ms;
}

.is-visible .reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.node-list.reveal,
.small-columns.reveal,
.process-line.reveal,
.sector-list.reveal,
form.reveal {
  transition-delay: 420ms;
}

.scroll-cue {
  position: absolute;
  right: 0;
  bottom: 34px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
  vertical-align: 1px;
}

.node-list {
  position: absolute;
  right: 0;
  bottom: 17vh;
  width: min(520px, 46vw);
  border-top: 1px solid var(--hair);
}

.node-row {
  display: grid;
  grid-template-columns: 36px 1fr 9px;
  gap: 22px;
  align-items: center;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--hair);
  padding: 18px 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.node-row .num {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.node-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.node-row small {
  color: var(--muted);
  font-size: clamp(13px, 0.82vw, 15px);
  line-height: 1.4;
}

.node-row .mini-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.node-row:hover .mini-dot,
.node-row:focus-visible .mini-dot {
  transform: scale(1.18);
  box-shadow: 0 0 0 12px var(--gold-soft);
}

.small-columns {
  position: absolute;
  right: 0;
  bottom: 18vh;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 210px));
  gap: clamp(26px, 5vw, 66px);
}

.small-columns p {
  font-size: 15px;
}

.process-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18vh;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hair);
  list-style: none;
}

.process-line li {
  min-height: 126px;
  border-right: 1px solid var(--hair);
  padding: 18px 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  text-transform: uppercase;
}

.process-line li::before {
  display: block;
  width: 7px;
  height: 7px;
  margin-bottom: 44px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
}

.sector-list {
  position: absolute;
  right: 0;
  bottom: 18vh;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 46px;
}

.sector-list span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.contact-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(54px, 10vw, 130px);
  align-items: center;
}

.contact-scene .copy-left {
  padding-top: 0;
}

.quiet-link,
form button {
  display: inline-block;
  margin-top: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
}

label {
  display: grid;
  gap: 9px;
}

label span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--hair);
  border-radius: 0;
  padding: 8px 0 12px;
  background: transparent;
  color: var(--ink);
  outline: none;
  font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--ink);
}

textarea {
  resize: vertical;
}

.full,
form button {
  grid-column: 1 / -1;
}

.detail-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(244, 243, 239, 0.92);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 260ms ease;
}

.detail-layer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.close-detail {
  position: absolute;
  top: 32px;
  right: 40px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-shell {
  width: min(780px, 100%);
  padding: clamp(36px, 7vw, 76px);
  background: rgba(248, 247, 243, 0.74);
  box-shadow: 0 34px 90px rgba(36, 37, 38, 0.08);
}

.detail-shell h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 52px;
  margin-top: 48px;
  border-top: 1px solid var(--hair);
}

.detail-list span {
  display: flex;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--hair);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: rise 420ms ease both;
}

.detail-list span::before {
  width: 7px;
  height: 7px;
  margin-right: 16px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (max-width: 900px) {
  .scene {
    width: min(100% - 38px, 1180px);
  }

  .copy-home,
  .copy-left,
  .copy-top {
    margin-left: 0;
    padding-top: 24vh;
  }

  .node-list,
  .small-columns,
  .process-line,
  .sector-list {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 72px;
  }

  .small-columns {
    grid-template-columns: 1fr;
  }

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-scene {
    grid-template-columns: 1fr;
  }

  .scene-index {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 20px 18px;
  }

  .brand {
    width: 112px;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 12px 20px;
    font-size: 10px;
  }

  .scene {
    min-height: 104svh;
    width: min(100% - 34px, 1180px);
    padding: 96px 0;
  }

  .copy-home,
  .copy-left,
  .copy-top {
    padding-top: 25vh;
  }

  h1 {
    font-size: clamp(38px, 10.8vw, 52px);
  }

  h2 {
    font-size: clamp(30px, 8.4vw, 40px);
  }

  p {
    font-size: 15px;
  }

  .scroll-cue {
    right: auto;
    left: 0;
  }

  .node-row {
    grid-template-columns: 32px 1fr 9px;
    gap: 16px;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .process-line li {
    min-height: 78px;
  }

  .process-line li::before {
    margin-bottom: 22px;
  }

  form,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .detail-layer {
    padding: 18px;
  }

  .close-detail {
    top: 22px;
    right: 22px;
  }
}
