@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("../assets/fonts/NeueHaasGrotDisp-55Roman-Trial.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("../assets/fonts/NeueHaasGrotDisp-65Medium-Trial.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("../assets/fonts/NeueHaasGrotDisp-75Bold-Trial.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Text";
  src: url("../assets/fonts/NeueHaasGrotText-55Roman-Trial.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Text";
  src: url("../assets/fonts/NeueHaasGrotText-65Medium-Trial.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #080808;
  --bone: #f5f2ec;
  --stone: #9e9e9e;
  --hair: rgba(245, 242, 236, 0.14);
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1320px;
  --display: "Neue Haas Grotesk Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "Neue Haas Grotesk Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ident */
.ident {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.ident.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ident__mark {
  display: grid;
  gap: 10px;
  width: 88px;
}

.ident__mark .bar {
  display: block;
  height: 12px;
  background: var(--bone);
  transform: scaleX(0);
  animation: draw-bar 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bar--1,
.bar--3 {
  width: 64%;
  margin-left: auto;
  transform-origin: right center;
}

.bar--2 {
  width: 64%;
  transform-origin: left center;
}

.bar--2 {
  animation-delay: 0.12s;
}

.bar--3 {
  animation-delay: 0.24s;
}

.ident__word {
  position: absolute;
  bottom: var(--pad);
  left: var(--pad);
  margin: 0;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  animation: fade-up 0.6s ease 0.55s forwards;
}

@keyframes draw-bar {
  to {
    transform: scaleX(1);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem var(--pad);
  background: var(--ink);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--hair);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: max-content;
}

.logo__symbol {
  display: grid;
  gap: 4px;
  width: 28px;
  flex-shrink: 0;
}

.logo__symbol span {
  display: block;
  height: 5px;
  background: currentColor;
}

.logo__symbol span:nth-child(1),
.logo__symbol span:nth-child(3) {
  width: 64%;
  margin-left: auto;
}

.logo__symbol span:nth-child(2) {
  width: 64%;
}

.logo__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.logo__name small {
  font-size: 0.62em;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--stone);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--bone);
}

.nav em {
  font-style: normal;
  color: var(--bone);
}

.header-cta {
  justify-self: end;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--bone);
  padding-bottom: 0.15rem;
}

/* Hero */
.hero {
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem var(--pad) 3rem;
  max-width: var(--max);
}

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  display: block;
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair);
}

.hero__meta p {
  max-width: 36ch;
  color: var(--stone);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

.scroll-cue__line {
  width: 48px;
  height: 1px;
  background: var(--stone);
  position: relative;
  overflow: hidden;
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bone);
  animation: scan 1.8s ease-in-out infinite;
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Ticker */
.ticker {
  border-block: 1px solid var(--hair);
  overflow: hidden;
  padding: 0.9rem 0;
}

.ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
}

.ticker__track span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 2.5rem;
  background: var(--bone);
  vertical-align: middle;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Acts */
.act,
.process {
  padding: 6.5rem var(--pad);
  max-width: var(--max);
}

#act-i,
#act-ii,
#act-iii,
#top {
  scroll-margin-top: 4.75rem;
}

.act__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--hair);
}

.act__label {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
}

.act__header h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
}

.act__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.lede {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.copy {
  display: grid;
  gap: 1.1rem;
  color: color-mix(in srgb, var(--bone) 82%, var(--stone));
  max-width: 52ch;
}

.section-intro {
  color: var(--stone);
  margin: -1rem 0 2.5rem;
  max-width: 46ch;
}

/* Process */
.process {
  padding-top: 0;
}

.process__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
}

.process__list li {
  padding: 1.75rem 1.75rem 0 0;
  border-right: 1px solid var(--hair);
}

.process__list li:last-child {
  border-right: 0;
  padding-right: 0;
}

.process__list li:first-child {
  padding-left: 0;
}

.process__index {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--stone);
  margin-bottom: 2.4rem;
}

.process h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.process p {
  color: var(--stone);
  max-width: 32ch;
}

/* Reels */
.reels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.reel {
  border-top: 1px solid var(--hair);
}

.reel:nth-child(odd) {
  border-right: 1px solid var(--hair);
}

.reel a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.5rem 1.25rem;
  min-height: 210px;
  padding: 1.75rem 1.75rem 1.5rem 0;
  align-content: start;
  position: relative;
  transition: background 0.3s ease;
}

.reel a::after {
  content: "";
  position: absolute;
  right: 1.75rem;
  top: 1.85rem;
  width: 42px;
  height: 28px;
  opacity: 0.18;
  background:
    linear-gradient(var(--bone), var(--bone)) right top / 64% 6px no-repeat,
    linear-gradient(var(--bone), var(--bone)) left center / 64% 6px no-repeat,
    linear-gradient(var(--bone), var(--bone)) right bottom / 64% 6px no-repeat;
  transition: opacity 0.3s ease;
}

.reel a:hover::after {
  opacity: 0.55;
}

.reel:nth-child(even) a {
  padding-left: 1.75rem;
  padding-right: 0;
}

.reel:nth-child(even) a::after {
  right: 0;
}

.reel a:hover {
  background: rgba(245, 242, 236, 0.03);
}

.reel__no {
  grid-row: 1 / 3;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--stone);
  padding-top: 0.35rem;
}

.reel h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  align-self: end;
}

.reel p {
  grid-column: 2;
  color: var(--stone);
  max-width: 34ch;
  margin-top: 1.75rem;
}

.reel__cta {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__copy {
  display: grid;
  gap: 1.25rem;
}

.mail {
  width: max-content;
  margin-top: 0.5rem;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--bone);
  padding-bottom: 0.15rem;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
}

.form label {
  display: grid;
  gap: 0.45rem;
}

.form__full {
  grid-column: 1 / -1;
}

.form span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.form input,
.form select,
.form textarea {
  border-bottom: 1px solid var(--hair);
  padding: 0.6rem 0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%),
    linear-gradient(135deg, var(--stone) 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 4px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

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

.form textarea {
  resize: vertical;
  min-height: 8rem;
}

.form button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.5rem;
  padding: 0.95rem 1.4rem;
  background: var(--bone);
  color: var(--ink);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: opacity 0.2s ease;
}

.form button:hover {
  opacity: 0.82;
}

.form__note {
  grid-column: 1 / -1;
  color: var(--stone);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem var(--pad) 2rem;
  border-top: 1px solid var(--hair);
  color: var(--stone);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo--footer .logo__symbol {
  color: var(--bone);
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .nav {
    gap: 1rem;
  }

  .act__grid,
  .process__list,
  .reels,
  .contact,
  .form {
    grid-template-columns: 1fr;
  }

  .process__list li,
  .reel,
  .reel:nth-child(odd),
  .reel:nth-child(even) a,
  .reel a {
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .reel a {
    min-height: 200px;
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ident,
  .ident__mark .bar,
  .ident__word,
  .ticker__track,
  .scroll-cue__line::after {
    animation: none;
    transform: none;
    opacity: 1;
  }

  .ident {
    display: none;
  }
}
