@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;600;700&display=swap");

:root {
  --jm-black: #161616;
  --jm-cream: #f2f1da;
  --jm-sand: #c8b598;
  --jm-oak: #9e7a57;
  --jm-walnut: #704d3a;
  --jm-darkwood: #3e221c;
  --jm-sage: #5a634a;
  --jm-stone: #9a9983;
  --jm-white: #ffffff;
  --page-pad: clamp(20px, 4vw, 72px);
  --line: color-mix(in srgb, var(--jm-cream) 28%, transparent);
  --scroll-progress: 0;
  --ease-cut: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-fit: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-fast: 220ms;
  --motion-medium: 520ms;
  --motion-slow: 900ms;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--jm-black);
  color: var(--jm-cream);
  font-family: "Hanken Grotesk", "Avenir Next", "Helvetica Neue", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.gallery-open {
  overflow: hidden;
}

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

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.13;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(237, 236, 213, 0.35);
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: width var(--motion-fast) ease, height var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.cursor span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 5px;
  height: 5px;
  background: var(--jm-sand);
  transform: translate(-50%, -50%);
}

.cursor.is-active {
  width: 118px;
  height: 118px;
  border-color: var(--jm-sand);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 24px;
  background: var(--jm-black);
  transition: transform var(--motion-slow) var(--ease-cut), opacity var(--motion-medium) ease;
}

.loader.is-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.loader__mark {
  width: min(38vw, 260px);
  overflow: hidden;
  animation: reveal-mark 1300ms var(--ease-cut) both;
}

.loader__mark img {
  width: 100%;
  display: block;
}

.loader__rule {
  width: min(62vw, 520px);
  height: 1px;
  background: rgba(237, 236, 213, 0.18);
}

.loader__rule span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--jm-sand);
  transform-origin: left;
  animation: rule 1200ms var(--ease-cut) both;
}

.loader p,
.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px var(--page-pad);
  color: var(--jm-cream);
  transition: background 250ms ease, border-color 250ms ease;
}

.site-header.is-scrolled {
  background: rgba(22, 22, 22, 0.78);
  border-bottom: 1px solid rgba(237, 236, 213, 0.12);
  backdrop-filter: blur(18px);
}

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

.nav {
  justify-self: center;
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  color: rgba(237, 236, 213, 0.78);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding-block: 8px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--jm-sand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(237, 236, 213, 0.22);
  background: transparent;
  color: inherit;
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  place-content: center;
  gap: 24px;
  background: var(--jm-black);
  transform: translateY(-100%);
  transition: transform 600ms var(--ease-cut);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu a {
  font-size: clamp(34px, 11vw, 72px);
  text-transform: uppercase;
}

.section-dark {
  background: var(--jm-black);
  color: var(--jm-cream);
}

.section-light {
  background: var(--jm-cream);
  color: var(--jm-black);
}

.hero {
  position: relative;
  --canvas-opacity: 0.14;
  --canvas-scale: 1.08;
  --cut-left: 0px;
  --cut-right: 0px;
  --measure-x: 0px;
  --measure-y: 0px;
  --seal-opacity: 0.11;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 148px var(--page-pad) clamp(76px, 8vh, 108px);
  overflow: hidden;
  isolation: isolate;
}

.wood-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: var(--canvas-opacity);
  transform: scale(var(--canvas-scale));
  transform-origin: center;
  mix-blend-mode: soft-light;
}

.hero__media {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -3;
  width: min(48vw, 720px);
  min-width: 420px;
  overflow: hidden;
  opacity: 0.94;
  will-change: transform;
}

.hero__media::before,
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__media::before {
  background:
    linear-gradient(90deg, rgba(22, 22, 22, 0.98), rgba(22, 22, 22, 0.38) 48%, rgba(22, 22, 22, 0.72)),
    linear-gradient(180deg, rgba(22, 22, 22, 0.18), rgba(22, 22, 22, 0.88)),
    repeating-linear-gradient(90deg, rgba(242, 241, 218, 0.12) 0 1px, transparent 1px 42px);
}

.hero__media::after {
  border: 1px solid rgba(200, 181, 152, 0.34);
  inset: clamp(18px, 2vw, 34px);
}

.hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) contrast(1.08);
}

.hero__media span {
  position: absolute;
  right: clamp(28px, 4vw, 72px);
  bottom: clamp(34px, 6vw, 96px);
  z-index: 2;
  color: rgba(242, 241, 218, 0.74);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__cut {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 50.5%;
  background:
    linear-gradient(90deg, rgba(22, 22, 22, 0.92), rgba(22, 22, 22, 0.34)),
    repeating-linear-gradient(0deg, rgba(200, 181, 152, 0.08) 0 1px, transparent 1px 18px);
  pointer-events: none;
  transition: transform 120ms linear;
}

.hero__cut--left {
  left: 0;
  transform: translateX(var(--cut-left));
  border-right: 1px solid rgba(200, 181, 152, 0.32);
}

.hero__cut--right {
  right: 0;
  transform: translateX(var(--cut-right));
  border-left: 1px solid rgba(200, 181, 152, 0.32);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(22, 22, 22, 0.98), rgba(22, 22, 22, 0.7) 42%, rgba(22, 22, 22, 0.3) 72%, rgba(22, 22, 22, 0.84)),
    linear-gradient(180deg, rgba(22, 22, 22, 0.3), var(--jm-black));
}

.measurement {
  position: absolute;
  color: rgba(237, 236, 213, 0.45);
  font-size: 11px;
  z-index: 1;
}

.measurement::before {
  content: "";
  position: absolute;
  background: rgba(237, 236, 213, 0.25);
}

.measurement--x {
  left: var(--page-pad);
  right: var(--page-pad);
  top: 104px;
  display: flex;
  justify-content: space-between;
  transform: translateX(var(--measure-x));
}

.measurement--x::before {
  left: 0;
  right: 0;
  top: 18px;
  height: 1px;
}

.measurement--y {
  right: var(--page-pad);
  top: 150px;
  bottom: 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(var(--measure-y));
}

.measurement--y::before {
  top: 0;
  bottom: 0;
  right: 14px;
  width: 1px;
}

.hero__content {
  max-width: min(980px, 68vw);
  position: relative;
  z-index: 2;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(58px, 10vw, 154px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 6.8vw, 104px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
  line-height: 0.95;
}

.hero .eyebrow,
.section-heading .eyebrow,
.process .eyebrow,
.atelier .eyebrow,
.contact .eyebrow {
  margin-bottom: 20px;
  color: var(--jm-sand);
}

.hero__copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(237, 236, 213, 0.8);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 14px 22px;
  border: 1px solid currentColor;
  border-radius: 0;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform var(--motion-fast) var(--ease-fit), background var(--motion-fast) ease, color var(--motion-fast) ease;
}

.button--primary {
  background: var(--jm-sand);
  border-color: var(--jm-sand);
  color: var(--jm-black);
}

.button--ghost {
  color: var(--jm-cream);
}

.button:hover {
  transform: translateY(-2px);
}

.hero__seal {
  position: absolute;
  right: clamp(20px, 8vw, 150px);
  bottom: clamp(34px, 8vw, 120px);
  width: clamp(118px, 18vw, 260px);
  opacity: var(--seal-opacity);
  will-change: transform, opacity;
}

.hero__seal img {
  width: 100%;
}

.scroll-rail {
  position: fixed;
  right: 22px;
  top: 22vh;
  bottom: 22vh;
  z-index: 60;
  width: 1px;
  background: rgba(237, 236, 213, 0.16);
}

.scroll-rail span {
  display: block;
  width: 100%;
  height: 0;
  background: var(--jm-sand);
  box-shadow: 0 0 18px rgba(200, 181, 152, 0.36);
}

.manifesto {
  --blade-x: 0px;
  --manifesto-bg-x: 0px;
  --manifesto-glow: 0;
  position: relative;
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: clamp(28px, 8vw, 110px);
  align-items: center;
  padding: 90px var(--page-pad);
  background: var(--jm-black);
  border-top: 1px solid rgba(237, 236, 213, 0.12);
  overflow: hidden;
}

.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(200, 181, 152, 0.12), transparent 34%),
    repeating-linear-gradient(90deg, rgba(242, 241, 218, 0.055) 0 1px, transparent 1px 48px);
  opacity: calc(0.18 + var(--manifesto-glow));
  transform: translateX(var(--manifesto-bg-x));
  pointer-events: none;
}

.manifesto__blade {
  position: absolute;
  inset: 12% auto 12% 0;
  width: 1px;
  background: var(--jm-sand);
  opacity: 0.42;
  transform: translateX(var(--blade-x));
  pointer-events: none;
}

.manifesto__index {
  position: relative;
  align-self: start;
  color: var(--jm-sand);
  font-size: 12px;
  text-transform: uppercase;
}

.manifesto__text {
  position: relative;
  max-width: 1120px;
  margin: 0;
  font-size: clamp(34px, 6vw, 94px);
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.services {
  --services-shift: 34px;
  padding: 110px var(--page-pad);
  overflow: hidden;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  margin-bottom: 70px;
}

.service-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(22, 22, 22, 0.24);
  border-left: 1px solid rgba(22, 22, 22, 0.24);
  transform: translateX(var(--services-shift));
}

.service-grid__cursor {
  position: absolute;
  z-index: 1;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(22, 22, 22, 0.22);
  background:
    radial-gradient(circle, rgba(200, 181, 152, 0.34), transparent 62%),
    linear-gradient(135deg, rgba(112, 77, 58, 0.18), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(calc(var(--service-x, -300px) - 110px), calc(var(--service-y, -300px) - 110px), 0);
  transition: opacity var(--motion-fast) ease;
}

.service-grid.is-tracking .service-grid__cursor {
  opacity: 1;
}

.service-tile {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-right: 1px solid rgba(22, 22, 22, 0.24);
  border-bottom: 1px solid rgba(22, 22, 22, 0.24);
  overflow: hidden;
  isolation: isolate;
  transition: color var(--motion-fast) ease, transform var(--motion-medium) var(--ease-fit);
}

.service-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.72) contrast(1.06);
  transform: scale(1.08);
  transition:
    opacity var(--motion-fast) ease,
    transform var(--motion-slow) var(--ease-fit);
}

.service-tile::before {
  content: attr(data-service);
  position: absolute;
  right: 24px;
  top: 24px;
  color: rgba(22, 22, 22, 0.34);
  font-size: 12px;
}

.service-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0;
  background:
    linear-gradient(135deg, rgba(112, 77, 58, 0.72), rgba(22, 22, 22, 0.86)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(237, 236, 213, 0.1) 22px 23px);
  z-index: -1;
  transition: height var(--motion-medium) var(--ease-cut);
}

.service-tile:hover {
  color: var(--jm-cream);
  transform: translateY(-10px);
}

.service-tile:hover img {
  opacity: 0.74;
  transform: scale(1);
}

.service-tile:hover::after {
  height: 100%;
}

.service-tile span {
  max-width: 220px;
  font-size: clamp(30px, 3.3vw, 54px);
  font-weight: 700;
  line-height: 0.95;
}

.service-tile p {
  max-width: 270px;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.service-tile a {
  width: fit-content;
  margin-top: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--motion-fast) ease, transform var(--motion-medium) var(--ease-fit);
}

.service-tile:hover a,
.service-tile:focus-within a {
  opacity: 1;
  transform: translateY(0);
}

.portfolio {
  --portfolio-drift: 0px;
  position: relative;
  padding: 112px var(--page-pad) 120px;
  overflow: hidden;
}

.portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(22, 22, 22, 0.045) 119px 120px);
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}

.portfolio__intro {
  position: relative;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  margin-bottom: 54px;
}

.portfolio__intro .eyebrow,
.project-feature .eyebrow,
.project-notebook .eyebrow {
  color: var(--jm-walnut);
}

.portfolio__edition {
  margin: 20px 0 0;
  color: rgba(22, 22, 22, 0.54);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.project-stage {
  position: relative;
  border-top: 1px solid rgba(22, 22, 22, 0.2);
}

.project-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, 0.72fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
  padding: 74px 0;
  border-bottom: 1px solid rgba(22, 22, 22, 0.2);
}

.project-feature--azenha {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
}

.project-feature__visual {
  position: relative;
  height: clamp(430px, 47vw, 620px);
  transform: translateY(calc(var(--portfolio-drift) * var(--portfolio-direction, 1)));
  transition: transform 120ms linear;
}

.project-feature__visual[data-portfolio-parallax="-1"] {
  --portfolio-direction: -1;
}

.project-feature__image {
  position: absolute;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03);
  transition: transform 900ms var(--ease-fit), filter 500ms ease;
}

.project-feature__image--main {
  inset: 0 auto 0 0;
  width: 68%;
  height: 100%;
}

.project-feature__image--detail {
  right: 0;
  bottom: 8%;
  z-index: 2;
  width: 42%;
  height: 58%;
  border: 12px solid var(--jm-cream);
  box-shadow: 0 28px 70px rgba(22, 22, 22, 0.16);
}

.project-feature:hover .project-feature__image--main {
  transform: scale(0.985);
  filter: saturate(1) contrast(1.02);
}

.project-feature:hover .project-feature__image--detail {
  transform: translate(-12px, -10px);
  filter: saturate(1) contrast(1.02);
}

.project-feature--azenha .project-feature__image--main {
  right: 0;
  left: auto;
}

.project-feature--azenha .project-feature__image--detail {
  right: auto;
  left: 0;
}

.project-feature--azenha:hover .project-feature__image--detail {
  transform: translate(12px, -10px);
}

.project-feature__number {
  position: absolute;
  right: 1%;
  top: -34px;
  z-index: 1;
  color: transparent;
  font-size: 220px;
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(112, 77, 58, 0.34);
}

.project-feature--azenha .project-feature__number {
  right: auto;
  left: 1%;
}

.project-feature__copy {
  position: relative;
  z-index: 3;
}

.project-feature__copy h3,
.project-feature__copy p {
  margin-bottom: 0;
}

.project-feature__copy h3 {
  margin-top: 18px;
  font-size: 64px;
  line-height: 0.92;
}

.project-feature__copy > p:not(.eyebrow) {
  max-width: 480px;
  margin-top: 24px;
  color: rgba(22, 22, 22, 0.68);
  font-size: 17px;
  line-height: 1.55;
}

.project-feature__copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(22, 22, 22, 0.18);
  list-style: none;
}

.project-feature__copy li {
  position: relative;
  padding-left: 14px;
  color: rgba(22, 22, 22, 0.62);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.project-feature__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--jm-oak);
  transform: translateY(-50%) rotate(45deg);
}

.project-feature__open,
.project-notebook__open {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid rgba(22, 22, 22, 0.22);
  border-bottom: 1px solid rgba(22, 22, 22, 0.22);
  border-radius: 0;
  background: transparent;
  color: var(--jm-black);
  text-align: left;
  cursor: pointer;
}

.project-feature__open span,
.project-notebook__open {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-feature__open small,
.project-notebook__open span {
  color: rgba(22, 22, 22, 0.56);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.project-feature__open b {
  font-size: 18px;
  font-weight: 400;
  transition: transform var(--motion-fast) var(--ease-fit);
}

.project-feature__open:hover b,
.project-feature__open:focus-visible b {
  transform: translateX(7px);
}

.project-notebook {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) 1fr;
  gap: clamp(34px, 6vw, 96px);
  padding-top: 94px;
}

.project-notebook__heading {
  align-self: start;
}

.project-notebook__heading h3 {
  margin: 22px 0 24px;
  font-size: 48px;
}

.project-notebook__heading > p:not(.eyebrow) {
  max-width: 330px;
  color: rgba(22, 22, 22, 0.62);
  line-height: 1.5;
}

.project-notebook__open {
  max-width: 330px;
  grid-template-columns: 1fr auto;
  margin-top: 28px;
}

.project-notebook__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 250px);
  gap: 12px;
}

.project-shot {
  position: relative;
  grid-column: span 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--jm-black);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.project-shot--wide {
  grid-column: span 2;
}

.project-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.04);
  transform: scale(1.04);
  transition: transform 900ms var(--ease-fit), filter 400ms ease;
}

.project-shot:hover img {
  transform: scale(1);
  filter: saturate(1) contrast(1.02);
}

.project-shot__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--jm-cream);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(22, 22, 22, 0.8);
}

.project-shot:focus-visible {
  outline: 2px solid var(--jm-walnut);
  outline-offset: 3px;
}

.reels {
  --reel-drift: 0px;
  position: relative;
  padding: 112px var(--page-pad) 120px;
  overflow: hidden;
}

.reels::before {
  content: "JM / MOTION / JM / MOTION / JM / MOTION";
  position: absolute;
  left: -1%;
  right: -1%;
  top: 38%;
  color: transparent;
  font-size: 112px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.24;
  -webkit-text-stroke: 1px var(--jm-sand);
  transform: translateX(var(--reel-drift));
  pointer-events: none;
}

.reels__heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.38fr);
  gap: clamp(34px, 7vw, 120px);
  align-items: end;
  margin-bottom: 58px;
}

.reels__heading .eyebrow {
  margin-bottom: 20px;
  color: var(--jm-sand);
}

.reels__heading h2 {
  max-width: 820px;
}

.reels__copy {
  margin: 0 0 8px;
  color: rgba(242, 241, 218, 0.68);
  font-size: 17px;
  line-height: 1.55;
}

.reel-track {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 28px);
}

.reel-card {
  position: relative;
  aspect-ratio: 9 / 16;
  min-width: 0;
  overflow: hidden;
  background: var(--jm-darkwood);
  isolation: isolate;
}

.reel-card:nth-child(even) {
  margin-top: 34px;
}

.reel-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
  transform: scale(1.02);
  transition: filter 400ms ease, transform 900ms var(--ease-fit);
}

.reel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.34), transparent 30%, transparent 62%, rgba(22, 22, 22, 0.82));
  pointer-events: none;
}

.reel-card:hover video,
.reel-card:focus-within video {
  filter: saturate(1) contrast(1.02);
  transform: scale(1);
}

.reel-card__top,
.reel-card__bottom {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.reel-card__top {
  top: 16px;
  color: rgba(242, 241, 218, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.reel-card__bottom {
  bottom: 18px;
  align-items: end;
}

.reel-card__bottom p {
  max-width: 210px;
  margin: 0;
  color: var(--jm-cream);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.reel-card__bottom button {
  min-width: 52px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(242, 241, 218, 0.52);
  border-radius: 0;
  background: rgba(22, 22, 22, 0.32);
  color: var(--jm-cream);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.reel-card__bottom button.is-active {
  background: var(--jm-sand);
  border-color: var(--jm-sand);
  color: var(--jm-black);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 108px;
  background:
    linear-gradient(90deg, rgba(200, 181, 152, 0.045) 0 1px, transparent 1px 100%),
    var(--jm-black);
  background-size: 120px 100%, auto;
  color: var(--jm-cream);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
  transition:
    opacity var(--motion-medium) ease,
    transform var(--motion-slow) var(--ease-fit),
    visibility 0s linear var(--motion-slow);
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.gallery-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 96px;
  padding: 20px var(--page-pad);
  border-bottom: 1px solid rgba(242, 241, 218, 0.16);
}

.gallery-modal__header p,
.gallery-modal__header h2 {
  margin: 0;
}

.gallery-modal__header p {
  margin-bottom: 8px;
  color: var(--jm-sand);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-modal__header h2 {
  font-size: 36px;
  line-height: 1;
}

.gallery-modal__meta {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(242, 241, 218, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.gallery-modal__meta button,
.gallery-modal__nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 241, 218, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--jm-cream);
  cursor: pointer;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.gallery-modal__meta button {
  width: 48px;
  height: 48px;
  font-size: 27px;
  font-weight: 300;
}

.gallery-modal__meta button:hover,
.gallery-modal__meta button:focus-visible,
.gallery-modal__nav:hover,
.gallery-modal__nav:focus-visible {
  border-color: var(--jm-sand);
  background: var(--jm-sand);
  color: var(--jm-black);
}

.gallery-modal__stage {
  min-height: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  gap: 24px;
  align-items: center;
  padding: 18px var(--page-pad);
  overflow: hidden;
  touch-action: pan-y;
}

.gallery-modal__nav {
  width: 56px;
  height: 56px;
  justify-self: center;
  font-size: 20px;
}

.gallery-modal__figure {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 12px;
  margin: 0;
}

.gallery-modal__figure img {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.02);
  opacity: 1;
  transform: scale(1);
  transition: opacity 180ms ease, transform 420ms var(--ease-fit);
}

.gallery-modal.is-changing .gallery-modal__figure img {
  opacity: 0.16;
  transform: scale(0.985);
}

.gallery-modal__figure figcaption {
  margin: 0;
  color: rgba(242, 241, 218, 0.58);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.gallery-modal__rail {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px var(--page-pad);
  border-top: 1px solid rgba(242, 241, 218, 0.16);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.gallery-modal__rail::-webkit-scrollbar {
  display: none;
}

.gallery-modal__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  opacity: 0.38;
  overflow: hidden;
  cursor: pointer;
  transition: opacity var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.gallery-modal__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-modal__thumb:hover,
.gallery-modal__thumb:focus-visible,
.gallery-modal__thumb.is-active {
  border-color: var(--jm-sand);
  opacity: 1;
}

.process {
  --process-bg-size: 48px;
  --process-progress: 0%;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(32px, 7vw, 120px);
  padding: 120px var(--page-pad);
  background:
    linear-gradient(90deg, rgba(200, 181, 152, 0.08) 0 1px, transparent 1px 100%),
    var(--jm-black);
  background-size: var(--process-bg-size) 100%, auto;
}

.process__sticky {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process-gauge {
  width: min(100%, 420px);
  height: 2px;
  margin-top: 38px;
  background: rgba(242, 241, 218, 0.16);
  overflow: hidden;
}

.process-gauge span {
  display: block;
  width: var(--process-progress);
  height: 100%;
  background: var(--jm-sand);
}

.process__steps {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(237, 236, 213, 0.2);
}

.step {
  display: grid;
  grid-template-columns: 88px 0.8fr 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid rgba(237, 236, 213, 0.2);
  opacity: 0.42;
  transform: translateX(0);
  transition:
    opacity var(--motion-fast) ease,
    transform var(--motion-medium) var(--ease-fit),
    border-color var(--motion-fast) ease;
}

.step.is-active {
  opacity: 1;
  transform: translateX(18px);
  border-color: rgba(200, 181, 152, 0.62);
}

.step span {
  color: var(--jm-sand);
  transition: transform var(--motion-medium) var(--ease-fit);
}

.step.is-active span {
  transform: translateX(6px);
}

.step h3 {
  margin: 0;
}

.step p {
  margin: 0;
  color: rgba(237, 236, 213, 0.72);
  font-size: 18px;
  line-height: 1.45;
}

.atelier {
  --atelier-y: 42px;
  --atelier-scan: -17%;
  --atelier-frame: 18px;
  --atelier-scale: 0.92;
  --cutline-x: 0px;
  --cutline-y: 0px;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 7vw, 120px);
  padding: 100px var(--page-pad);
  background: var(--jm-cream);
  color: var(--jm-black);
}

.atelier__visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(120deg, rgba(195, 176, 147, 0.65), transparent 38%),
    repeating-linear-gradient(90deg, rgba(22, 22, 22, 0.08) 0 1px, transparent 1px 34px);
  overflow: hidden;
  transform: translateY(var(--atelier-y));
  will-change: transform;
}

.atelier__visual::before,
.atelier__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.atelier__visual::before {
  background: linear-gradient(
    100deg,
    transparent 0 38%,
    rgba(22, 22, 22, 0.12) 38% 39%,
    transparent 39% 100%
  );
  transform: translateX(var(--atelier-scan));
}

.atelier__visual::after {
  border: 1px solid rgba(22, 22, 22, 0.18);
  inset: var(--atelier-frame);
}

.atelier__visual img {
  width: min(52vw, 420px);
  opacity: 0.92;
  transform: scale(var(--atelier-scale));
  will-change: transform;
}

.cutline {
  position: absolute;
  background: var(--jm-black);
  opacity: 0.8;
}

.cutline--one {
  left: 12%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(var(--cutline-x));
}

.cutline--two {
  left: 0;
  top: 64%;
  width: 100%;
  height: 1px;
  transform: translateY(var(--cutline-y));
}

.atelier__copy p:not(.eyebrow) {
  max-width: 540px;
  margin-top: 28px;
  color: rgba(22, 22, 22, 0.7);
  font-size: 19px;
  line-height: 1.55;
}

.trust {
  padding: 110px var(--page-pad);
  border-top: 1px solid rgba(22, 22, 22, 0.14);
}

.trust__intro {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  margin-bottom: 60px;
}

.trust__intro .eyebrow {
  color: var(--jm-walnut);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(22, 22, 22, 0.18);
  border-left: 1px solid rgba(22, 22, 22, 0.18);
}

.trust-item {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 24px;
  border-right: 1px solid rgba(22, 22, 22, 0.18);
  border-bottom: 1px solid rgba(22, 22, 22, 0.18);
}

.trust-item span {
  color: var(--jm-walnut);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.trust-item strong {
  display: block;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
}

.trust-item p {
  max-width: 260px;
  margin: 0;
  color: rgba(22, 22, 22, 0.68);
  font-size: 15px;
  line-height: 1.45;
}

.contact {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(36px, 8vw, 130px);
  padding: 120px var(--page-pad);
}

.contact__copy {
  max-width: 520px;
  margin-top: 28px;
  color: rgba(242, 241, 218, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form span {
  color: var(--jm-sand);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(237, 236, 213, 0.34);
  border-radius: 0;
  background: rgba(237, 236, 213, 0.04);
  color: var(--jm-cream);
  padding: 16px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(242, 241, 218, 0.38);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--jm-sand);
}

.form-wide {
  grid-column: 1 / -1;
}

.contact-form button {
  justify-self: start;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px var(--page-pad);
  background: var(--jm-black);
  color: var(--jm-cream);
  border-top: 1px solid rgba(242, 241, 218, 0.14);
}

.footer > img {
  width: min(52vw, 360px);
}

.footer a {
  text-transform: uppercase;
  font-size: 12px;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(242, 241, 218, 0.72);
}

.footer-credit span {
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
}

.footer-credit img {
  width: 70px;
  height: auto;
  display: block;
}

.quote-page {
  background: var(--jm-black);
}

.quote-header {
  background: rgba(22, 22, 22, 0.86);
  border-bottom: 1px solid rgba(242, 241, 218, 0.12);
  backdrop-filter: blur(18px);
}

.quote-header__back {
  justify-self: end;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--jm-sand);
  color: var(--jm-sand);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.quote-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  padding: 150px var(--page-pad) 76px;
  overflow: hidden;
  isolation: isolate;
}

.quote-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 22, 22, 0.98), rgba(22, 22, 22, 0.74) 45%, rgba(22, 22, 22, 0.42)),
    linear-gradient(180deg, rgba(22, 22, 22, 0.12), var(--jm-black));
}

.quote-hero__media {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -2;
  width: min(46vw, 680px);
  min-width: 380px;
  opacity: 0.78;
}

.quote-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.quote-hero__content {
  max-width: 980px;
}

.quote-hero__copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(242, 241, 218, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.quote-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) 1fr;
  gap: clamp(28px, 5vw, 84px);
  padding: 90px var(--page-pad) 120px;
  background: var(--jm-cream);
  color: var(--jm-black);
}

.quote-guide {
  position: sticky;
  top: 110px;
  align-self: start;
}

.quote-guide .eyebrow {
  color: var(--jm-walnut);
  margin-bottom: 28px;
}

.quote-guide ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(22, 22, 22, 0.18);
}

.quote-guide li {
  display: grid;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(22, 22, 22, 0.18);
}

.quote-guide span {
  color: var(--jm-walnut);
  font-size: 12px;
  font-weight: 700;
}

.quote-guide strong {
  font-size: 22px;
}

.quote-guide p {
  max-width: 320px;
  margin: 0;
  color: rgba(22, 22, 22, 0.68);
  line-height: 1.45;
}

.quote-form {
  display: grid;
  gap: 34px;
}

.quote-form fieldset {
  margin: 0;
  padding: 0 0 34px;
  border: 0;
  border-bottom: 1px solid rgba(22, 22, 22, 0.16);
}

.quote-form legend {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 0.95;
}

.quote-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quote-form label {
  display: grid;
  gap: 10px;
}

.quote-form label span,
.quote-consent span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(22, 22, 22, 0.28);
  border-radius: 0;
  background: rgba(22, 22, 22, 0.045);
  color: var(--jm-black);
  padding: 16px;
  outline: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--jm-walnut);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(22, 22, 22, 0.42);
}

.quote-form__wide {
  grid-column: 1 / -1;
}

.quote-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.quote-consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  max-width: 520px;
}

.quote-consent input {
  width: 18px;
  min-width: 18px;
  margin-top: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--motion-medium) ease, transform var(--motion-slow) var(--ease-fit);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes reveal-mark {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes rule {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {
  .cursor {
    display: none;
  }

  .site-header {
    grid-template-columns: 180px 1fr;
  }

  .nav {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .manifesto,
  .section-heading,
  .portfolio__intro,
  .project-feature,
  .project-feature--azenha,
  .project-notebook,
  .reels__heading,
  .process,
  .atelier,
  .trust__intro,
  .contact,
  .quote-shell {
    grid-template-columns: 1fr;
  }

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

  .project-feature--azenha .project-feature__visual {
    order: -1;
  }

  .project-feature__visual {
    height: 560px;
  }

  .project-feature__copy {
    max-width: 660px;
  }

  .project-notebook__grid {
    grid-template-rows: repeat(2, 220px);
  }

  .reel-track {
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 36vw);
    grid-template-columns: none;
    padding-bottom: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .reel-track::-webkit-scrollbar {
    display: none;
  }

  .reel-card {
    scroll-snap-align: start;
  }

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

  .hero__content {
    max-width: 78vw;
  }

  .service-tile {
    min-height: 320px;
  }

  .process__sticky {
    position: static;
  }

  .quote-guide {
    position: static;
  }

  .step {
    grid-template-columns: 54px 1fr;
  }

  .step p {
    grid-column: 2;
  }

  .atelier__visual {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 16px;
  }

  .brand {
    width: 150px;
  }

  .hero {
    min-height: 92svh;
    padding: 110px var(--page-pad) 64px;
  }

  .quote-header {
    grid-template-columns: 150px 1fr;
  }

  .quote-header .nav {
    display: none;
  }

  .quote-header__back {
    font-size: 11px;
  }

  .quote-hero {
    min-height: 68svh;
    padding: 120px var(--page-pad) 60px;
  }

  .quote-hero__media {
    right: -42vw;
    width: 92vw;
    min-width: 0;
    opacity: 0.32;
  }

  .quote-form__grid,
  .quote-form__footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__content {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(48px, 16vw, 78px);
    line-height: 0.9;
  }

  h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero__copy {
    font-size: 17px;
  }

  .hero__actions,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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

  .hero__media {
    right: -48vw;
    width: 92vw;
    min-width: 0;
    opacity: 0.34;
  }

  .hero__media span,
  .measurement--x,
  .hero__seal {
    display: none;
  }

  .portfolio {
    padding-top: 84px;
    padding-bottom: 86px;
  }

  .portfolio__intro {
    margin-bottom: 34px;
  }

  .portfolio__edition {
    margin-top: 14px;
  }

  .project-feature {
    gap: 32px;
    padding: 46px 0 54px;
  }

  .project-feature__visual {
    height: 410px;
  }

  .project-feature__image--main {
    width: 76%;
  }

  .project-feature__image--detail {
    width: 48%;
    height: 52%;
    border-width: 8px;
  }

  .project-feature__number {
    top: -16px;
    font-size: 118px;
  }

  .project-feature__copy h3 {
    font-size: 46px;
  }

  .project-feature__copy > p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 16px;
  }

  .project-feature__open {
    gap: 12px;
    margin-top: 24px;
  }

  .project-notebook {
    gap: 30px;
    padding-top: 72px;
  }

  .project-notebook__heading h3 {
    font-size: 42px;
  }

  .project-notebook__grid {
    grid-auto-flow: column;
    grid-auto-columns: 78vw;
    grid-template-columns: none;
    grid-template-rows: 340px;
    gap: 12px;
    margin-right: calc(var(--page-pad) * -1);
    padding-right: var(--page-pad);
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .project-notebook__grid::-webkit-scrollbar {
    display: none;
  }

  .project-shot,
  .project-shot--wide {
    grid-column: auto;
    scroll-snap-align: start;
  }

  .reels {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .reels::before {
    top: 48%;
    font-size: 62px;
  }

  .reels__heading {
    margin-bottom: 38px;
  }

  .reel-track {
    grid-auto-columns: 74vw;
    margin-right: calc(var(--page-pad) * -1);
    padding-right: var(--page-pad);
  }

  .reel-card:nth-child(even) {
    margin-top: 20px;
  }

  .gallery-modal {
    grid-template-rows: auto minmax(0, 1fr) 82px;
    background-size: 72px 100%, auto;
  }

  .gallery-modal__header {
    min-height: 82px;
    padding: 15px 20px;
  }

  .gallery-modal__header h2 {
    font-size: 28px;
  }

  .gallery-modal__meta {
    gap: 12px;
  }

  .gallery-modal__meta button {
    width: 42px;
    height: 42px;
  }

  .gallery-modal__stage {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 4px;
    padding: 10px 6px;
  }

  .gallery-modal__nav {
    width: 38px;
    height: 50px;
  }

  .gallery-modal__figure {
    gap: 8px;
  }

  .gallery-modal__rail {
    gap: 6px;
    padding: 9px 20px;
  }

  .gallery-modal__thumb {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .service-tile {
    min-height: 340px;
  }

  .service-tile a {
    opacity: 1;
    transform: none;
  }

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

  .trust-item {
    min-height: 190px;
  }

  .scroll-rail,
  .measurement--y {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
