:root {
  --black: #050607;
  --black-soft: #0b0d0f;
  --white: #f4f3ee;
  --muted: #b5b6b4;
  --accent: #e4aa76;
  --line: rgba(244, 243, 238, 0.2);
  --page: min(1320px, calc(100vw - 4rem));
  --display: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  content: "";
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  color: var(--black);
  background: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

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

.skip-link {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  color: var(--black);
  background: var(--white);
  font-weight: 900;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.page {
  width: var(--page);
  margin-inline: auto;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  color: var(--white);
  transition: background 220ms ease, border-color 220ms ease;
}

.topbar.is-solid {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 7, 0.84);
  backdrop-filter: blur(16px);
}

.topbar__inner {
  display: grid;
  width: calc(100vw - 3rem);
  min-height: 5.5rem;
  margin-inline: auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.topbar a {
  position: relative;
  width: max-content;
  font-family: var(--display);
  font-size: clamp(0.78rem, 1.05vw, 0.95rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.38);
}

.topbar a::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.topbar a:hover::after,
.topbar a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.topbar__brand { justify-self: start; }
.topbar__brand i { color: var(--accent); font-style: normal; }
.topbar__middle { justify-self: center; }
.topbar__contact { justify-self: end; }

.film-chapter {
  --chapter-progress: 0;
  --curtain-opacity: 0;
  position: relative;
  height: 240svh;
  background: var(--black);
}

.chapter-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #0a1013;
  isolation: isolate;
}

.chapter-media,
.chapter-poster,
.chapter-video,
.chapter-shade,
.chapter-vignette,
.chapter-curtain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chapter-media {
  z-index: -5;
  overflow: hidden;
  background: #0a1013;
}

.chapter-poster img,
.chapter-video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.76) contrast(1.08) brightness(0.84);
  transform: scale(1.018);
}

.chapter-poster {
  z-index: 0;
  transition: opacity 450ms ease;
}

.chapter-video {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 450ms ease;
}

.film-chapter.is-ready .chapter-video { opacity: 1; }
.film-chapter.is-ready .chapter-poster { opacity: 0.14; }

.chapter-shade {
  z-index: -4;
  background:
    linear-gradient(to bottom, rgba(2, 5, 7, 0.6) 0%, rgba(2, 5, 7, 0.04) 27%, rgba(2, 5, 7, 0.08) 58%, rgba(2, 5, 7, 0.86) 100%),
    linear-gradient(to right, rgba(2, 5, 7, 0.34), transparent 36%, transparent 67%, rgba(2, 5, 7, 0.3));
}

.chapter-vignette {
  z-index: -3;
  box-shadow: inset 0 0 14vw 2vw rgba(0, 0, 0, 0.56);
}

.chapter-curtain {
  z-index: 18;
  pointer-events: none;
  background: var(--black);
  opacity: var(--curtain-opacity);
  will-change: opacity;
}

.chapter--sense .chapter-poster img,
.chapter--sense .chapter-video {
  object-position: 48% center;
  filter: saturate(0.56) contrast(1.14) brightness(0.72);
  transform: scale(1.055);
}

.chapter--product .chapter-poster img,
.chapter--product .chapter-video {
  object-position: 43% center;
  filter: saturate(0.82) contrast(1.12) brightness(0.84);
  transform: scale(1.09);
}

.chapter--service .chapter-poster img,
.chapter--service .chapter-video {
  object-position: 57% center;
  filter: saturate(0.68) contrast(1.1) brightness(0.8);
  transform: scale(1.045);
}

.chapter--brand .chapter-poster img,
.chapter--brand .chapter-video {
  object-position: center;
  filter: sepia(0.09) saturate(0.9) contrast(1.1) brightness(0.82);
  transform: scale(1.03);
}

.chapter--process .chapter-poster img,
.chapter--process .chapter-video {
  object-position: 48% center;
  filter: saturate(0.5) contrast(1.16) brightness(0.68);
  transform: scale(1.07);
}

.chapter--formats .chapter-poster img,
.chapter--formats .chapter-video {
  object-position: 52% center;
  filter: saturate(0.72) contrast(1.12) brightness(0.75);
  transform: scale(1.045);
}

.chapter--personal .chapter-poster img,
.chapter--personal .chapter-video {
  object-position: center;
  filter: sepia(0.14) saturate(0.92) contrast(1.04) brightness(0.84);
  transform: scale(1.025);
}

.chapter--contact .chapter-poster img,
.chapter--contact .chapter-video {
  object-position: center;
  filter: saturate(0.5) contrast(1.12) brightness(0.56);
  transform: scale(1.02);
}

.chapter-meta {
  position: absolute;
  top: 6.9rem;
  right: 1.6rem;
  left: 1.6rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(244, 243, 238, 0.68);
  font-family: var(--mono);
  font-size: clamp(0.58rem, 0.72vw, 0.7rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chapter-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.chapter-status::before {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(228, 170, 118, 0.15);
}

.chapter-meter {
  position: absolute;
  top: 50%;
  right: 1.6rem;
  z-index: 20;
  display: grid;
  height: min(28vh, 14rem);
  grid-template-columns: auto 2px;
  align-items: stretch;
  gap: 0.8rem;
  transform: translateY(-42%);
}

.chapter-meter__numbers {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(244, 243, 238, 0.54);
  font-family: var(--mono);
  font-size: 0.56rem;
}

.chapter-meter__track {
  position: relative;
  overflow: hidden;
  background: rgba(244, 243, 238, 0.2);
}

.chapter-meter__track::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--white);
  transform: scaleY(var(--chapter-progress));
  transform-origin: top;
}

.chapter-copy {
  position: absolute;
  z-index: 12;
  pointer-events: auto;
  will-change: opacity, transform;
}

.js .chapter-copy { pointer-events: none; }

.chapter__eyebrow {
  display: flex;
  margin: 0 0 1rem;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: clamp(0.64rem, 0.82vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chapter__eyebrow::before {
  width: 2.4rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.chapter__title {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.3rem, 7.5vw, 8.2rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.88;
  text-wrap: balance;
  text-transform: uppercase;
}

.chapter__title em {
  color: var(--accent);
  font-style: normal;
}

.chapter__body {
  max-width: 36rem;
  margin: 1.35rem 0 0;
  color: rgba(244, 243, 238, 0.84);
  font-size: clamp(0.96rem, 1.35vw, 1.16rem);
  text-wrap: balance;
}

.chapter__note {
  margin: 1.15rem 0 0;
  color: rgba(244, 243, 238, 0.58);
  font-family: var(--mono);
  font-size: clamp(0.6rem, 0.72vw, 0.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapter--hero .chapter-copy {
  inset: 0;
}

.hero-value {
  position: absolute;
  top: 47%;
  left: 1.6rem;
  max-width: 27rem;
  margin: 0;
  color: rgba(244, 243, 238, 0.9);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  font-weight: 650;
  line-height: 1.18;
  transform: translateY(-50%);
}

.hero-lockup {
  position: absolute;
  right: 1.8vw;
  bottom: 1.2vw;
  left: 1.8vw;
}

.hero-descriptor {
  margin: 0 0 1.1rem;
  text-align: center;
  font-size: clamp(0.68rem, 1.35vw, 1.15rem);
  font-weight: 650;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.hero-title {
  display: flex;
  width: 100%;
  margin: 0;
  align-items: flex-end;
  justify-content: center;
  gap: 0.2ch;
  font-family: var(--display);
  font-size: clamp(4.7rem, 11.3vw, 11rem);
  font-weight: 950;
  letter-spacing: -0.095em;
  line-height: 0.72;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-title i { color: var(--accent); font-style: normal; }

.scroll-cue {
  position: absolute;
  bottom: clamp(7.8rem, 11vw, 10rem);
  left: 1.6rem;
  z-index: 22;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 120ms linear;
}

.scroll-cue__line {
  position: relative;
  width: 2.6rem;
  height: 1px;
  overflow: hidden;
  background: rgba(244, 243, 238, 0.42);
}

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

@keyframes cue {
  0% { transform: translateX(-105%); }
  55%, 100% { transform: translateX(105%); }
}

.chapter--sense .chapter-copy,
.chapter--product .chapter-copy,
.chapter--process .chapter-copy {
  top: 24%;
  left: 6vw;
  max-width: min(76rem, 82vw);
}

.chapter--service .chapter-copy {
  top: 24%;
  right: 6vw;
  max-width: min(75rem, 82vw);
  text-align: right;
}

.chapter--service .chapter__title,
.chapter--service .chapter__body { margin-left: auto; }

.chapter--service .chapter__eyebrow { justify-content: flex-end; }
.chapter--service .chapter__eyebrow::before { order: 2; }

.chapter--brand .chapter-copy,
.chapter--formats .chapter-copy {
  right: 6vw;
  bottom: 14%;
  left: 6vw;
  text-align: center;
}

.chapter--brand .chapter__eyebrow,
.chapter--formats .chapter__eyebrow { justify-content: center; }

.chapter--brand .chapter__title,
.chapter--formats .chapter__title,
.chapter--brand .chapter__body,
.chapter--formats .chapter__body { margin-inline: auto; }

.chapter--process .chapter-copy {
  top: 18%;
}

.chapter--process .chapter__title {
  max-width: 14ch;
  font-size: clamp(3rem, 6.3vw, 7rem);
}

.process-steps {
  display: grid;
  max-width: 72rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  min-height: 7.6rem;
  padding: 1rem 1.2rem 0 0;
  border-right: 1px solid var(--line);
}

.process-step + .process-step { padding-left: 1.2rem; }
.process-step:last-child { border-right: 0; }

.process-step b {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-step span {
  display: block;
  max-width: 15rem;
  font-size: clamp(0.78rem, 1vw, 0.94rem);
}

.format-list {
  display: flex;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.format-list span {
  padding: 0.62rem 0.85rem;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: clamp(0.6rem, 0.74vw, 0.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chapter--personal .chapter-copy {
  right: 6vw;
  bottom: 14%;
  left: 6vw;
  text-align: center;
}

.chapter--personal .chapter__eyebrow { justify-content: center; }

.chapter--personal .chapter__title,
.chapter--personal .chapter__body { margin-inline: auto; }

.chapter--contact .chapter-copy {
  top: 16%;
  right: 6vw;
  left: 6vw;
}

.chapter--contact .chapter__title {
  max-width: 15ch;
  font-size: clamp(3.8rem, 8.8vw, 9rem);
}

.contact-links {
  max-width: 74rem;
  margin-top: clamp(2.2rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.contact-link {
  display: grid;
  padding: clamp(1.25rem, 2vw, 1.9rem) 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 0.35fr 1fr auto;
  align-items: center;
  gap: 1.5rem;
  transition: color 180ms ease, padding 180ms ease, background 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  padding-right: 0.6rem;
  padding-left: 0.6rem;
  color: var(--black);
  background: var(--white);
  outline-offset: 0;
}

.contact-link__label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-link__value {
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.65vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-link__arrow { font-size: clamp(1.7rem, 3vw, 3.2rem); }

.footer {
  position: relative;
  z-index: 30;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
  color: #8c8d8d;
  background: var(--black);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.footer__note { justify-self: center; text-align: center; }
.footer__tagline { justify-self: end; text-align: right; }

.film-chapter.is-static {
  height: auto;
  min-height: 92svh;
}

.film-chapter.is-static .chapter-stage {
  position: relative;
  min-height: 92svh;
}

.film-chapter.is-static .chapter-video,
.film-chapter.is-static .chapter-meter,
.film-chapter.is-static .chapter-status { display: none; }

.film-chapter.is-static .chapter-copy {
  opacity: 1 !important;
  transform: none !important;
}

.film-chapter.is-static .chapter-curtain { display: none; }

html:not(.js) .film-chapter {
  height: auto;
  min-height: 92svh;
}

html:not(.js) .chapter-stage {
  position: relative;
  min-height: 92svh;
}

html:not(.js) .chapter-video,
html:not(.js) .chapter-meter,
html:not(.js) .chapter-status { display: none; }

html:not(.js) .chapter-copy {
  opacity: 1;
  transform: none;
}

html:not(.js) .chapter-curtain { display: none; }

@media (max-width: 900px) {
  :root { --page: min(100% - 2rem, 48rem); }

  .topbar__inner {
    width: calc(100vw - 2rem);
    min-height: 4.7rem;
    grid-template-columns: 1fr auto;
  }

  .topbar__middle { display: none; }

  .film-chapter { height: 225svh; }

  .chapter-meta {
    top: 5.8rem;
    right: 1rem;
    left: 1rem;
  }

  .chapter-meta > span:first-child { display: none; }
  .chapter-status { margin-left: auto; }

  .chapter-meter { right: 0.75rem; opacity: 0.62; }

  .hero-value {
    top: 47%;
    left: 1rem;
    max-width: 15rem;
    font-size: 0.88rem;
  }

  .hero-lockup {
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: 1rem;
  }

  .hero-descriptor {
    margin-bottom: 0.85rem;
    font-size: 0.6rem;
    letter-spacing: 0.02em;
  }

  .hero-title {
    display: block;
    font-size: clamp(4.5rem, 20vw, 8.4rem);
    line-height: 0.74;
    white-space: normal;
  }

  .hero-title span { display: block; }

  .scroll-cue {
    bottom: 14.5rem;
    left: 1rem;
    font-size: 0.56rem;
  }

  .chapter--sense .chapter-copy,
  .chapter--product .chapter-copy,
  .chapter--service .chapter-copy,
  .chapter--process .chapter-copy {
    top: 22%;
    right: 1rem;
    left: 1rem;
    max-width: none;
    text-align: left;
  }

  .chapter--service .chapter__eyebrow { justify-content: flex-start; }
  .chapter--service .chapter__eyebrow::before { order: 0; }
  .chapter--service .chapter__title,
  .chapter--service .chapter__body { margin-left: 0; }

  .chapter__title {
    max-width: 11ch;
    font-size: clamp(2.9rem, 13.4vw, 6rem);
  }

  .chapter--service .chapter__title {
    max-width: 12ch;
    font-size: clamp(2.55rem, 11.7vw, 5.3rem);
  }

  .chapter--process .chapter-copy { top: 16%; }

  .chapter--process .chapter__title {
    max-width: 12ch;
    font-size: clamp(2.55rem, 11vw, 5rem);
  }

  .chapter--brand .chapter-copy,
  .chapter--formats .chapter-copy,
  .chapter--personal .chapter-copy {
    right: 1rem;
    bottom: 13%;
    left: 1rem;
  }

  .chapter--brand .chapter__title,
  .chapter--formats .chapter__title,
  .chapter--personal .chapter__title { max-width: 12ch; }

  .process-steps {
    margin-top: 1.6rem;
    grid-template-columns: 1fr 1fr;
  }

  .process-step {
    min-height: 5.8rem;
    padding: 0.75rem 0.8rem 0.8rem 0;
  }

  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .process-step:nth-child(3) { padding-left: 0; }

  .chapter--contact .chapter-copy {
    top: 13%;
    right: 1rem;
    left: 1rem;
  }

  .chapter--contact .chapter__title {
    max-width: 11ch;
    font-size: clamp(3.1rem, 14.2vw, 6.4rem);
  }

  .contact-links { margin-top: 2rem; }
  .contact-link { grid-template-columns: 1fr auto; gap: 0.7rem; }
  .contact-link__label { grid-column: 1 / -1; }
  .contact-link__value { font-size: clamp(1.05rem, 5.6vw, 2rem); }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .footer__note,
  .footer__tagline { justify-self: start; text-align: left; }
}

@media (max-width: 560px) {
  .chapter-meter { display: none; }

  .chapter__body {
    max-width: 30rem;
    margin-top: 1rem;
    font-size: 0.92rem;
  }

  .chapter__note { margin-top: 0.8rem; font-size: 0.56rem; }

  .format-list { justify-content: flex-start; }

  .chapter--formats .format-list,
  .chapter--brand .format-list { justify-content: center; }

  .process-step span { font-size: 0.72rem; }

  .chapter--personal .chapter__title {
    font-size: clamp(2.7rem, 12.5vw, 5.2rem);
  }

  .chapter--contact .chapter__body { max-width: 22rem; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .film-chapter {
    height: auto;
    min-height: 92svh;
  }

  .chapter-stage {
    position: relative;
    min-height: 92svh;
  }

  .chapter-video,
  .chapter-meter,
  .chapter-status { display: none; }

  .chapter-copy {
    opacity: 1 !important;
    transform: none !important;
  }

  .chapter-curtain { display: none; }
}
