/* KLEH® landing — generated from kleh-studio.pen (Landing Page + Motion Spec artboards). */

/* ---------------------------------------------------------------- Tokens */
:root {
  /* Colors (design variables) */
  --ink: #12110f;
  --bone: #ede8e0;
  --clay: #b5542e;
  --grey: #8f8a82;
  --grey-on-light: #6b665e;
  --placeholder-dark: #26231f;
  --line-on-dark: #ede8e01f;
  --line-on-light: #12110f1f;
  /* AA-safe clay shades for text-bearing surfaces (bone on #B5542E is 4.03:1) */
  --clay-button: #aa4d29;
  --clay-on-light: #a04826;
  --light-leak: #f3d9b1;

  /* Type */
  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;

  /* Layout: 12-column grid, 16px margin and gutter */
  --margin: 16px;
  --gutter: 16px;
  --columns: 12;
  --radius: 0px;

  /* Display type scales with the 1440 artboard and caps at its size */
  --s: min(1px, calc(100vw / 1440));

  /* Motion Spec easings */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------------------------------------------------------------- Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: var(--radius);
}

html {
  background: var(--ink);
  color: var(--bone);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.is-loading {
  overflow: hidden;
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.4;
  background: var(--ink);
  color: var(--bone);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote,
address {
  margin: 0;
  padding: 0;
  font: inherit;
}

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

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

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

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

.section-light :focus-visible {
  outline-color: var(--ink);
}

main:focus,
section:focus,
footer:focus {
  outline: none;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: var(--margin);
  z-index: 200;
  padding: 12px 16px;
  background: var(--bone);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus-visible {
  transform: none;
  outline-color: var(--clay);
}

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  column-gap: var(--gutter);
}

.section-dark {
  background: var(--ink);
  color: var(--bone);
}

.section-light {
  background: var(--bone);
  color: var(--ink);
}

/* ---------------------------------------------------------------- Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--margin);
  background: var(--ink);
  color: var(--bone);
  clip-path: inset(0% 0% 0% 0%);
}

.preloader__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.preloader__row--bottom {
  align-items: flex-end;
}

.preloader__meta {
  color: var(--grey);
}

.preloader__counter {
  font-size: 120px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}

html:not(.js) .preloader,
.reduced .preloader__counter {
  visibility: hidden;
}
html:not(.js) .preloader {
  display: none;
}

/* ---------------------------------------------------------------- Cursor (06) */
.cursor {
  display: none;
}

.has-cursor,
.has-cursor * {
  cursor: none !important;
}

.has-cursor .cursor {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.cursor__dot,
.cursor__view {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.cursor__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bone);
  mix-blend-mode: difference;
  opacity: 0;
}

.cursor__view {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--bone);
  color: var(--ink);
}

/* ---------------------------------------------------------------- Rolling link (10) */
.roll {
  display: inline-flex;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.roll.is-current {
  border-bottom-color: var(--clay);
}

.roll__clip {
  display: block;
  overflow: hidden;
}

.roll__label {
  position: relative;
  display: block;
  transition: transform 0.4s var(--ease-in-out);
}

.roll__label::after {
  content: attr(data-label);
  position: absolute;
  top: 100%;
  left: 0;
}

.roll:hover .roll__label,
.roll:focus-visible .roll__label {
  transform: translateY(-100%);
}

/* ---------------------------------------------------------------- Buttons (11) */
.btn {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  isolation: isolate;
}

.btn__row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 28px;
}

.btn__arrow {
  display: block;
  overflow: hidden;
  font-weight: 500;
}

.btn__arrow > span {
  display: block;
}

.btn__fill {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  clip-path: inset(100% 0% 0% 0%);
  transition: clip-path 0.5s var(--ease-in-out);
}

.btn--primary {
  background: var(--clay-button);
  color: var(--bone);
  box-shadow: inset 0 0 0 1px var(--clay-button);
}

.btn--secondary {
  background: transparent;
  color: var(--bone);
  box-shadow: inset 0 0 0 1px var(--bone);
}

.btn--primary .btn__fill,
.btn--secondary .btn__fill {
  background: var(--bone);
  color: var(--ink);
}

.btn:focus-visible {
  outline-color: var(--bone);
}

.btn:hover .btn__fill,
.btn:focus-visible .btn__fill {
  clip-path: inset(0% 0% 0% 0%);
}

.btn:hover .btn__arrow > span,
.btn:focus-visible .btn__arrow > span {
  animation: arrow-cycle 0.5s var(--ease-in-out);
}

@keyframes arrow-cycle {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(110%);
  }
  50.01% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ---------------------------------------------------------------- Nav */
.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 var(--margin);
  background: var(--ink);
}

.nav__left,
.nav__right {
  display: flex;
  flex: 1 1 0;
  align-items: center;
}

.nav__right {
  justify-content: flex-end;
}

.nav__wordmark {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.nav__links ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ---------------------------------------------------------------- Hero headline (02) */
.hero__headline-area {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: calc(100svh - 80px);
  min-height: calc(560 * var(--s) + 140px);
  max-height: 820px;
  padding: 0 var(--margin) 28px;
}

.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  font-size: calc(184 * var(--s));
  font-weight: 600;
  letter-spacing: -0.0598em;
  line-height: 0.951;
}

.hero__line--two {
  display: flex;
  align-items: center;
  gap: calc(28 * var(--s));
}

.hero__studio {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: calc(196 / 184 * 1em);
  letter-spacing: -0.0306em;
  line-height: 0.949;
}

.hero__scroll {
  white-space: nowrap;
}

/* Character masks: padded so descenders and italic overhangs are not clipped */
.mask {
  display: inline-block;
  overflow: hidden;
  padding: 0.04em 0.06em 0.12em;
  margin: -0.04em -0.06em -0.12em;
  vertical-align: top;
}

.char {
  display: inline-block;
  will-change: transform;
}

.motion .hero__title .char {
  transform: translateY(110%);
}

.reduced .hero__title {
  opacity: 0;
}

/* ---------------------------------------------------------------- Hero image (03) */
.hero-media {
  position: relative;
  height: 100svh;
  max-height: 900px;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}

.hero-media__frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-origin: 50% 50%;
  will-change: transform;
}

.hero-media__photo {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-media__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media__scrim {
  position: absolute;
  inset: 0;
  background: #12110f33;
}

.hero-media__shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Keeps the 13px captions at AA contrast over the bright floor of the photo */
.hero-media__fade {
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(to top, #12110f8c, #12110f00);
}

.hero-media__wordmark {
  position: relative;
  z-index: 1;
  font-size: calc(240 * var(--s));
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.95;
  white-space: nowrap;
  color: var(--bone);
}

.hero-media__caption {
  position: absolute;
  z-index: 1;
  bottom: 19px;
  color: var(--bone);
  white-space: nowrap;
}

.hero-media__caption--left {
  left: var(--margin);
}

.hero-media__caption--right {
  left: calc(1240 / 1440 * 100%);
}

/* ---------------------------------------------------------------- About (04) */
.about {
  padding: 160px var(--margin);
}

.about__label {
  grid-column: 1 / span 3;
}

.about__statement-col {
  grid-column: 4 / span 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 56px;
}

.about__statement {
  font-size: clamp(24px, calc(32 * var(--s)), 32px);
  letter-spacing: -0.025em;
  line-height: 1.344;
}

.about__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.about__image-col {
  grid-column: 10 / span 3;
  padding-top: 240px;
}

.about__image {
  width: 100%;
  aspect-ratio: 340 / 453;
  object-fit: cover;
  background: var(--placeholder-dark);
}

.motion .about__statement .word {
  opacity: 0.15;
}

/* ---------------------------------------------------------------- Section titles (05) */
.title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: calc(28 * var(--s));
  font-size: calc(128 * var(--s));
  font-weight: 600;
  line-height: 0.953;
}

.title__line {
  display: block;
  overflow: hidden;
  padding: 0.02em 0.06em 0.12em;
  margin: -0.02em -0.06em -0.12em;
}

.title__inner {
  display: block;
  white-space: nowrap;
}

.title__sans {
  letter-spacing: -0.06em;
}

.title__serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: calc(136 / 128 * 1em);
  letter-spacing: -0.0294em;
  line-height: 0.949;
}

.title--sm {
  column-gap: 20px;
  font-size: calc(64 * var(--s));
}

.title--sm .title__sans {
  letter-spacing: -0.05em;
}

.title--sm .title__serif {
  font-size: calc(70 / 64 * 1em);
  letter-spacing: -0.0286em;
}

.motion [data-reveal='lines'] .title__inner {
  transform: translateY(105%);
}

.reduced [data-reveal='lines'] {
  opacity: 0;
}

.section-head {
  align-items: start;
}

.section-head__label {
  grid-column: 1 / span 3;
}

.section-head__title {
  grid-column: 4 / -1;
}

/* ---------------------------------------------------------------- Selected projects (06) */
.projects {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 200px var(--margin) 160px;
}

.projects__title-row,
.journal__title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.projects__years {
  color: var(--grey);
  font-size: clamp(20px, calc(32 * var(--s)), 32px);
  font-weight: 500;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.projects__cards {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.projects__row-two {
  align-items: start;
}

.card--kiri {
  grid-column: 1 / span 7;
}

.card--nove {
  grid-column: 8 / span 5;
  padding-top: 200px;
}

.card--umbra {
  grid-column: 5 / span 6;
}

.card__link {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card__media {
  position: relative;
  overflow: hidden;
  background: var(--placeholder-dark);
}

.card--casa .card__media {
  aspect-ratio: 1408 / 780;
}
.card--kiri .card__media {
  aspect-ratio: 814.67 / 600;
}
.card--nove .card__media {
  aspect-ratio: 577.33 / 720;
}
.card--umbra .card__media {
  aspect-ratio: 696 / 880;
}

.card__parallax {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  will-change: transform;
}

.motion .card__parallax {
  height: 112%;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.card__link:hover .card__img,
.card__link:focus-visible .card__img {
  transform: scale(1.04);
}

.card__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card__name {
  font-size: clamp(32px, calc(52 * var(--s)), 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.942;
}

.card__meta {
  color: var(--grey);
}

.motion .card__media {
  clip-path: inset(100% 0% 0% 0%);
}

.reduced .card__media {
  opacity: 0;
}

.all-projects {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 56px;
  border-top: 1px solid var(--line-on-dark);
  font-size: calc(112 * var(--s));
  line-height: 0.946;
}

.all-projects__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: calc(28 * var(--s));
}

.all-projects__sans {
  font-weight: 600;
  letter-spacing: -0.06em;
}

.all-projects__count {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.027em;
}

.all-projects__arrow {
  display: block;
  overflow: hidden;
  font-weight: 500;
}

.all-projects__arrow > span {
  display: block;
}

.all-projects:hover .all-projects__arrow > span,
.all-projects:focus-visible .all-projects__arrow > span {
  animation: arrow-cycle 0.5s var(--ease-in-out);
}

/* ---------------------------------------------------------------- Services (07) */
.services {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 200px var(--margin);
}

.services__list {
  border-bottom: 1px solid var(--line-on-light);
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line-on-light);
}

/* Divider fills left → right on hover */
.service::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out);
}

.service__num {
  position: relative;
  grid-column: 1 / span 2;
  font-size: 14px;
}

.service__num::after {
  content: attr(data-n);
  position: absolute;
  inset: 0;
  color: var(--clay-on-light);
  background: var(--bone);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.service__name-wrap {
  grid-column: 3 / span 7;
}

.service__name {
  font-size: clamp(28px, calc(48 * var(--s)), 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.958;
  transition: transform 0.5s var(--ease-out);
}

.service__tag {
  grid-column: 10 / span 3;
  color: var(--grey-on-light);
}

.service:hover::before {
  transform: scaleX(1);
}
.service:hover .service__num::after {
  opacity: 1;
}
.service:hover .service__name {
  transform: translateX(24px);
}

.services__preview {
  display: none;
}

.has-cursor .services__preview {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 240px;
  height: 300px;
  pointer-events: none;
  will-change: transform;
}

.services__preview-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

.services__preview.is-visible .services__preview-inner {
  opacity: 1;
  transform: none;
}

.services__preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.services__preview img.is-active {
  opacity: 1;
}

/* ---------------------------------------------------------------- Process (08) */
.process {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 160px var(--margin) 200px;
  border-top: 1px solid var(--line-on-light);
  overflow: hidden;
}

.process__viewport {
  width: 100%;
}

.process__track {
  display: flex;
  gap: var(--gutter);
  /* Steps keep the artboard's 3-column (340px) width as their minimum */
  width: max(100%, calc(4 * 340px + 3 * var(--gutter)));
  will-change: transform;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 0;
  min-width: 0;
}

.step__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #d9d3c8;
}

.step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.step__name {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1;
}

.step__text {
  color: var(--grey-on-light);
  font-size: 18px;
  line-height: 1.389;
}

/* ---------------------------------------------------------------- Testimonial */
.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 900px;
  padding: 160px var(--margin);
}

.testimonial__label {
  grid-column: 1 / span 3;
}

.testimonial__quote-col {
  grid-column: 4 / span 7;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.testimonial__quote {
  font-size: clamp(26px, calc(40 * var(--s)), 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.testimonial__attribution {
  color: var(--grey);
}

.testimonial__portrait-col {
  grid-column: 11 / span 2;
  padding-top: 140px;
}

.testimonial__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ---------------------------------------------------------------- Press (09) */
.press {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 160px 0;
  border-top: 1px solid var(--line-on-dark);
}

.press__head {
  padding: 0 var(--margin);
}

.marquee {
  display: flex;
  align-items: center;
  height: 168px;
  overflow: hidden;
  border-block: 1px solid var(--line-on-dark);
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 120px;
  padding: 0 60px;
}

.motion .marquee__track {
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

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

.press-mark {
  color: var(--grey);
  white-space: nowrap;
  line-height: 1.2;
}
.press-mark--kinfolk {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 76px;
  font-weight: 500;
  letter-spacing: -1px;
}
.press-mark--dezeen {
  font-family: 'Archivo Black', 'Arial Black', sans-serif;
  font-size: 64px;
  letter-spacing: -2px;
}
.press-mark--cereal {
  font-family: 'Josefin Sans', 'Futura', sans-serif;
  font-size: 60px;
  font-weight: 300;
  letter-spacing: 8px;
}
.press-mark--ad {
  font-family: 'Bodoni Moda', 'Didot', serif;
  font-size: 84px;
  font-weight: 700;
  letter-spacing: -2px;
}
.press-mark--wallpaper {
  font-family: 'Inter Tight', 'Helvetica Neue', sans-serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -2.5px;
}
.press-mark--monocle {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ---------------------------------------------------------------- Journal */
.journal {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 200px var(--margin);
}

.journal__all {
  font-size: clamp(18px, calc(24 * var(--s)), 24px);
  font-weight: 500;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.journal__all:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.journal__articles {
  align-items: start;
}

.article {
  grid-column: span 4;
}

.article--2 {
  padding-top: 120px;
}

.article__link {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article__cover {
  overflow: hidden;
  background: #d9d3c8;
}

.article--1 .article__cover {
  aspect-ratio: 458.67 / 580;
}
.article--2 .article__cover {
  aspect-ratio: 458.67 / 640;
}
.article--3 .article__cover {
  aspect-ratio: 458.67 / 520;
}

.article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.article__link:hover img {
  transform: scale(1.04);
}

.article__category {
  color: var(--grey-on-light);
}

.article__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.083;
}

/* ---------------------------------------------------------------- Footer (12) */
.footer {
  display: flex;
  flex-direction: column;
  gap: 160px;
  padding-top: 200px;
}

.footer__cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--margin);
}

.footer__headline {
  display: flex;
  flex-direction: column;
  font-size: calc(176 * var(--s));
  font-weight: 600;
  line-height: 0.949;
}

.footer__line-two {
  display: flex;
  align-items: center;
  gap: calc(28 * var(--s));
}

.footer__sans {
  letter-spacing: -0.06em;
}

.footer__serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: calc(188 / 176 * 1em);
  letter-spacing: -0.0298em;
  line-height: 0.952;
}

.footer__wordmark-frame {
  height: calc(430 * var(--s));
  overflow: hidden;
  padding: 0 var(--margin);
}

.footer__wordmark {
  font-size: calc(505 * var(--s));
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.85;
  white-space: nowrap;
}

.letter {
  display: inline-block;
  will-change: transform;
}

.motion .footer__wordmark .letter {
  transform: translateY(110%);
}

.reduced .footer__wordmark {
  opacity: 0;
}

.footer__info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: 48px var(--margin) 0;
  border-top: 1px solid var(--line-on-dark);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__col-label {
  color: var(--grey);
}

.footer__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 20px;
  line-height: 1.4;
}

.footer__link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  background-size: 0 1px;
  transition: background-size 0.5s var(--ease-out);
}

.footer__link:hover,
.footer__link:focus-visible {
  background-size: 100% 1px;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--margin);
  border-top: 1px solid var(--line-on-dark);
  color: var(--grey);
}

/* ---------------------------------------------------------------- Mobile (≤767px) */
@media (max-width: 767px) {
  .nav {
    flex-wrap: wrap;
    height: auto;
    padding: 16px var(--margin) 12px;
    row-gap: 12px;
  }

  .nav__left {
    order: 1;
  }

  .nav__right {
    order: 2;
  }

  .nav__links {
    order: 3;
    flex-basis: 100%;
  }

  .nav__links ul {
    gap: 24px;
  }

  .hero__headline-area {
    height: auto;
    min-height: calc(100svh - 104px);
    max-height: none;
    padding-bottom: 24px;
  }

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

  .hero__title {
    font-size: 21vw;
  }

  .hero__line--two {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .hero-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero-media__wordmark {
    font-size: 22vw;
  }

  .hero-media__caption {
    font-size: 11px;
  }

  .hero-media__caption--left {
    bottom: 36px;
  }

  .hero-media__caption--right {
    left: var(--margin);
    bottom: 16px;
  }

  .about {
    padding: 96px var(--margin);
  }

  .about__row {
    row-gap: 32px;
  }

  .about__label,
  .about__statement-col {
    grid-column: 1 / -1;
  }

  .about__statement-col {
    gap: 40px;
  }

  .about__buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .about__buttons .btn,
  .about__buttons .btn__row {
    width: 100%;
    justify-content: space-between;
  }

  .about__image-col {
    grid-column: 5 / -1;
    padding-top: 24px;
  }

  .title,
  .footer__headline {
    font-size: 15vw;
    column-gap: 0.18em;
  }

  .title--sm {
    font-size: 11vw;
  }

  .section-head {
    row-gap: 24px;
  }

  .section-head__label,
  .section-head__title {
    grid-column: 1 / -1;
  }

  .projects,
  .services,
  .journal {
    gap: 64px;
    padding: 96px var(--margin);
  }

  .projects__title-row,
  .journal__title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .projects__cards {
    gap: 64px;
  }

  .projects__row-two,
  .projects__row-three {
    row-gap: 64px;
  }

  .card--kiri,
  .card--nove,
  .card--umbra {
    grid-column: 1 / -1;
    padding-top: 0;
  }

  .card--casa .card__media {
    aspect-ratio: 4 / 3;
  }

  .all-projects {
    padding-top: 32px;
    font-size: 12vw;
  }

  .service {
    row-gap: 12px;
    padding: 28px 0;
  }

  .service__num {
    grid-column: 1 / span 3;
  }

  .service__name-wrap {
    grid-column: 4 / -1;
  }

  .service__tag {
    grid-column: 4 / -1;
    font-size: 11px;
  }

  .process {
    gap: 64px;
    padding: 96px var(--margin);
  }

  .process__track {
    flex-direction: column;
    width: 100%;
    gap: 48px;
  }

  .step {
    min-width: 0;
  }

  .step__name {
    font-size: 28px;
  }

  .testimonial {
    min-height: 0;
    padding: 96px var(--margin);
  }

  .testimonial__row {
    row-gap: 32px;
  }

  .testimonial__label,
  .testimonial__quote-col {
    grid-column: 1 / -1;
  }

  .testimonial__quote-col {
    gap: 32px;
  }

  .testimonial__portrait-col {
    grid-column: 7 / -1;
    padding-top: 0;
  }

  .press {
    gap: 64px;
    padding: 96px 0;
  }

  .marquee {
    height: 112px;
  }

  .marquee__group {
    gap: 64px;
    padding: 0 32px;
  }

  .press-mark {
    font-size: 0.6em;
  }
  .press-mark--kinfolk {
    font-size: 46px;
  }
  .press-mark--dezeen {
    font-size: 38px;
  }
  .press-mark--cereal {
    font-size: 36px;
    letter-spacing: 5px;
  }
  .press-mark--ad {
    font-size: 50px;
  }
  .press-mark--wallpaper {
    font-size: 38px;
  }
  .press-mark--monocle {
    font-size: 31px;
  }

  .journal__articles {
    row-gap: 48px;
  }

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

  .article--2 {
    padding-top: 0;
  }

  .footer {
    gap: 80px;
    padding-top: 96px;
  }

  .footer__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer__wordmark-frame {
    height: 27.5vw;
  }

  .footer__wordmark {
    font-size: 32vw;
  }

  .footer__info {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding-top: 40px;
  }

  .footer__items {
    font-size: 18px;
    gap: 12px;
  }

  .footer__bar {
    flex-direction: column;
    gap: 6px;
  }

  .preloader__counter {
    font-size: 80px;
  }
}

/* ---------------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  /* Hover states change color or opacity only, over 0.2s */
  .roll__label,
  .card__img,
  .article__cover img,
  .service__name {
    transition: none;
    transform: none !important;
  }

  .roll__label::after {
    display: none;
  }

  .roll:hover {
    opacity: 0.7;
    transition: opacity 0.2s ease-out;
  }

  .btn__fill {
    clip-path: none;
    opacity: 0;
    transition: opacity 0.2s ease-out;
  }

  .btn:hover .btn__fill,
  .btn:focus-visible .btn__fill {
    clip-path: none;
    opacity: 1;
  }

  .btn:hover .btn__arrow > span,
  .all-projects:hover .all-projects__arrow > span {
    animation: none;
  }

  .card__link:hover .card__img,
  .article__link:hover img {
    opacity: 0.85;
    transition: opacity 0.2s ease-out;
  }

  .service::before {
    transform: scaleX(1) !important;
    opacity: 0;
    transition: opacity 0.2s ease-out;
  }

  .service:hover::before {
    opacity: 1;
  }

  .service__num::after {
    transition: opacity 0.2s ease-out;
  }

  .marquee__track {
    animation: none !important;
  }

  /* Process strip becomes a native horizontal scroll-snap row */
  @media (min-width: 768px) {
    .process__viewport {
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      overscroll-behavior-x: contain;
    }

    .step {
      scroll-snap-align: start;
    }
  }

  .footer__link {
    transition: background-size 0.2s ease-out;
  }
}
