/* ============================================================
   HOLLOWMARK — concept site
   Palette: ink / white / warm bone only. Photography is the color.
   Type: Unbounded Light (300) for display; Inter for body.
   ============================================================ */

:root {
  --bone: #f3efe7;
  --bone-2: #eae4d6;
  --ink: #161511;
  --ink-60: rgba(22, 21, 17, 0.6);
  --ink-35: rgba(22, 21, 17, 0.35);
  --line: rgba(22, 21, 17, 0.16);
  --white: #ffffff;
  --serif: 'Unbounded', 'Helvetica Neue', sans-serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --gutter: clamp(20px, 4.5vw, 72px);
  --ease-css: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

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

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

::selection { background: var(--ink); color: var(--bone); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
figure { position: relative; }

/* Grain — barely-there paper texture over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 12000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared bits ---------- */


/* masked-line reveal plumbing (no per-character spans).
   The padding/negative-margin pair gives descenders (g, p, y)
   room inside the overflow mask without adding visual space. */
.ln {
  display: block;
  overflow: hidden;
  padding: 0.1em 0 0.13em;
  margin: -0.1em 0 -0.13em;
}
.ln-i { display: block; }
html.js [data-lines] .ln-i { transform: translateY(115%); }

/* masked word-reveal plumbing (JS wraps words; wrapping stays natural).
   Horizontal padding (cancelled by negative margins) keeps synthetic
   italics from being clipped at the word-mask edges. */
[data-words] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* generous ink-overflow room for synthetic italics (top lean,
     side overhang, descenders) — margins cancel it, so spacing,
     line height and letter spacing are untouched */
  padding: 0.16em 0.18em 0.15em;
  margin: -0.16em -0.18em -0.15em;
}
[data-words] .w-i { display: inline-block; }
html.js [data-words] { visibility: hidden; }

html.js [data-reveal] { opacity: 0; transform: translateY(36px); }

html.js [data-clip] { clip-path: inset(100% 0 0 0); }
[data-clip] { overflow: hidden; }
[data-clip] img { width: 100%; height: 100%; object-fit: cover; }
img[data-parallax] { transform: scale(1.16); will-change: transform; }

figcaption,
.hero__caption {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-60);
  margin-top: 0.8rem;
}

/* ============================================================
   PRELOADER
   ============================================================ */

.preloader { display: none; }

html.js .preloader {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: var(--bone);
}

.preloader__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: min(90vw, 900px);
}

.preloader__micro {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 1.6rem;
  opacity: 0;
}

.preloader__word {
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  padding-bottom: 0.1em;
}

.preloader__word-inner {
  font-family: var(--serif);
  font-weight: 300;
  /* Unbounded runs wide — sized so the wordmark never clips its mask */
  font-size: clamp(2.2rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ============================================================
   CURSOR — "Open" badge over project cards only; the system
   cursor stays everywhere else.
   ============================================================ */

.cursor { display: none; }

@media (pointer: fine) {
  html.js .cursor { display: block; }
  html.js [data-cursor='view'] { cursor: none; }

  .cursor__ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 13000;
    pointer-events: none;
    border-radius: 50%;
    width: 88px;
    height: 88px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    scale: 0.5;
    transition: opacity 0.35s var(--ease-css), scale 0.45s var(--ease-css);
  }

  .cursor__label {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bone);
  }

  .cursor.is-view .cursor__ring {
    opacity: 1;
    scale: 1;
  }
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.4rem var(--gutter);
}

.header__mark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.header__mark sup { font-size: 0.5em; margin-left: 0.15em; }

.header__nav {
  display: flex;
  gap: clamp(1.2rem, 3vw, 3rem);
}

.header__nav a {
  position: relative;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 0.2rem;
}

.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-css);
}

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

@media (max-width: 760px) {
  .header__nav-md { display: none; }
}

/* ---------- mobile header + full-screen menu ---------- */

/* fixed so it survives scrolling past the (absolute) header;
   difference-blend keeps the white bars visible over any ground */
.menu-btn {
  display: none;
  position: fixed;
  top: 1.3rem;
  right: var(--gutter);
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 12px 0;
  mix-blend-mode: difference;
}

.menu-btn span {
  display: block;
  width: 27px;
  height: 2px;
  background: var(--white);
  transition: transform 0.45s var(--ease-css);
}

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 850;
  visibility: hidden;
  opacity: 0;
}

.mmenu__slices {
  position: absolute;
  inset: 0;
  display: flex;
}

.mmenu__slice {
  flex: 1;
  background: var(--bone);
  /* start position set by GSAP (yPercent) — keep CSS transform empty */
}

/* 1px overlap hides hairline seams between the slices at rest */
.mmenu__slice + .mmenu__slice { margin-left: -1px; }

.mmenu__nav {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 3.5vh, 2rem);
  padding: 0 var(--gutter);
}

.mmenu__nav a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 8.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  width: fit-content;
}

.mmenu__foot {
  position: absolute;
  left: var(--gutter);
  bottom: 6vh;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-60);
}

@media (max-width: 767px) {
  /* the mobile hero image is dark at the top — header goes white */
  .header__mark { color: var(--white); }

  html.js .header__nav { display: none; }
  html.js .menu-btn { display: inline-flex; }

  body.menu-open .header__mark { color: var(--ink); }
  body.menu-open .menu-btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
  body.menu-open .menu-btn span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  /* no-JS fallback: keep the plain text nav (menu needs GSAP) */
  html:not(.js) .header__nav { display: flex; }
  html:not(.js) .header__nav a { color: var(--white); }
}

@media (min-width: 768px) {
  .mmenu { display: none; }
}

/* ============================================================
   HERO — full-bleed image in 6 columns, scrubbed out on scroll
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  z-index: 20;            /* sits above the content scrolling up behind it */
  pointer-events: none;   /* nothing interactive in here; never block clicks */
}

.hero__cols {
  position: absolute;
  inset: 0;
}
html.js .hero__cols { opacity: 0; transform: scale(1.045); }

.hero__col {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(100vw / 6 + 1px); /* 1px overlap kills hairline seams */
  left: calc(var(--i) * 100vw / 6);
  overflow: hidden;
  will-change: transform;
}

.hero__col:nth-child(1) { --i: 0; }
.hero__col:nth-child(2) { --i: 1; }
.hero__col:nth-child(3) { --i: 2; }
.hero__col:nth-child(4) { --i: 3; }
.hero__col:nth-child(5) { --i: 4; }
.hero__col:nth-child(6) { --i: 5; }

.hero__col img {
  position: absolute;
  top: 0;
  left: calc(-1 * var(--i) * 100vw / 6);
  width: 100vw;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero__headline {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: 8vh;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5.5vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
html.js .hero__headline { opacity: 0; transform: translateY(30px); }

/* ============================================================
   MANIFESTO
   ============================================================ */

.manifesto {
  /* extra breathing room so the hero's column exit finishes
     before this section's heading arrives */
  margin-top: clamp(200px, 24vh, 380px);
  padding: clamp(7rem, 18vh, 13rem) var(--gutter);
}

.manifesto__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.55rem, 3.7vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  max-width: 24ch;
}

.manifesto__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2.5rem, 6vw, 7rem);
  margin-top: clamp(3.5rem, 9vh, 7rem);
}

.manifesto__media {
  width: min(38vw, 560px);
  flex-shrink: 0;
}

.manifesto__media img { aspect-ratio: 4 / 5; }

.manifesto__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  padding-bottom: 2.5rem;
}

.manifesto__media-small {
  width: min(46vw, 760px);
  margin-bottom: 3rem;
}

.manifesto__media-small img { aspect-ratio: 3 / 2; width: 100%; }

.manifesto__side .manifesto__aside { text-align: left; }

.manifesto__aside {
  max-width: 26rem;
  color: var(--ink-60);
  font-size: 0.98rem;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .manifesto__row { flex-direction: column; align-items: flex-start; }
  .manifesto__media { width: 82%; }
  .manifesto__side { margin-left: 0; padding-bottom: 0; }
  .manifesto__media-small { width: 62%; }
}

/* ============================================================
   WORKS — horizontal gallery
   ============================================================ */

.works {
  position: relative;
  padding: clamp(4rem, 9vh, 7rem) 0 0;
}

.works__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding: 0 var(--gutter);
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.works__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.works__filters {
  display: flex;
  gap: clamp(0.4rem, 1.5vw, 1rem);
  flex-wrap: wrap;
}

.works__filter {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
  padding: 0.55rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}

.works__filter:hover { color: var(--ink); }

.works__filter.is-active {
  color: var(--bone);
  background: var(--ink);
  border-color: var(--ink);
}

.works__viewport { overflow: hidden; }

.works__track {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 4.5vw, 5.5rem);
  width: max-content;
  padding: 2vh var(--gutter) 4vh;
  will-change: transform;
}

/* cards */
.p-card { flex-shrink: 0; outline: none; }

.p-card__media {
  overflow: hidden;
  background: var(--bone-2);
}

.p-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.1s var(--ease-css);
  will-change: transform;
}

.p-card:hover .p-card__media img,
.p-card:focus-visible .p-card__media img { transform: scale(1.07); }

/* heights sized so image + caption + head always fit inside 100vh */
.p-card--tall .p-card__media { height: 44vh; aspect-ratio: 3 / 4; }
.p-card--wide .p-card__media { height: 37vh; aspect-ratio: 16 / 11; }
.p-card--sq   .p-card__media { height: 40vh; aspect-ratio: 1 / 1; }
.p-card--drop { transform: translateY(2.5vh); }
.p-card--tall:not(.p-card--drop) { transform: translateY(-1.5vh); }

.p-card__caption {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.9rem;
  align-items: baseline;
  margin-top: 1rem;
}

.p-card__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-35);
}

.p-card__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  letter-spacing: -0.01em;
}

.p-card__meta {
  grid-column: 2;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-top: 0.3rem;
}

/* end panel */
.works__end {
  flex-shrink: 0;
  width: max(30vw, 340px);
  padding-right: var(--gutter);
}

.works__end-note {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 300;
  line-height: 1.25;
  max-width: 14ch;
}

.works__end-link {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink-35);
  padding-bottom: 0.3rem;
  transition: border-color 0.4s ease;
}

.works__end-link:hover { border-color: var(--ink); }

.works__hint {
  position: absolute;
  right: var(--gutter);
  bottom: calc(4.5vh - 0.5em);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-35);
}

/* mobile / touch: native snap carousel, no hijack */
@media (max-width: 1023px), (pointer: coarse) {
  .works { padding-bottom: clamp(4rem, 9vh, 7rem); }

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

  .works__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .works__viewport::-webkit-scrollbar { display: none; }

  .works__track { padding-bottom: 2vh; }

  .p-card { scroll-snap-align: center; }
  .p-card--drop, .p-card--tall:not(.p-card--drop) { transform: none; }

  .p-card--tall .p-card__media,
  .p-card--wide .p-card__media,
  .p-card--sq .p-card__media {
    height: auto;
    width: min(78vw, 480px);
    aspect-ratio: 4 / 5;
  }
  .p-card--wide .p-card__media { aspect-ratio: 4 / 3; width: min(84vw, 520px); }

  .works__end { scroll-snap-align: center; }

  .works__hint { display: none; }
}

/* ============================================================
   INTERIORS — editorial grid with zoom parallax: the scattered
   frames scale as you scroll until the centre image fills the
   viewport, then the page continues.
   ============================================================ */

.interiors {
  margin-top: clamp(3rem, 8vh, 6rem);
}

.interiors__intro {
  padding: clamp(4rem, 10vh, 7rem) var(--gutter) clamp(3rem, 8vh, 5rem);
}

.interiors__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.interiors__line {
  color: var(--ink-60);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-top: 1.2rem;
}

.interiors__zoom {
  position: relative;
  height: 300vh;
}

.interiors__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.interiors__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.interiors__frame {
  position: relative;
  width: 26vw;
  height: 26vh;
  overflow: hidden;
}

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

/* the mismatched editorial scatter (offsets relative to centre) */
.interiors__item:nth-child(2) .interiors__frame { top: -30vh; left: 5vw;    width: 35vw; height: 30vh; }
.interiors__item:nth-child(3) .interiors__frame { top: -10vh; left: -25vw;  width: 20vw; height: 45vh; }
.interiors__item:nth-child(4) .interiors__frame { top: 0;     left: 27.5vw; width: 25vw; height: 25vh; }
.interiors__item:nth-child(5) .interiors__frame { top: 27.5vh; left: 5vw;   width: 20vw; height: 25vh; }
.interiors__item:nth-child(6) .interiors__frame { top: 27.5vh; left: -22.5vw; width: 30vw; height: 25vh; }
.interiors__item:nth-child(7) .interiors__frame { top: 22.5vh; left: 25vw;  width: 15vw; height: 15vh; }

/* mobile scatter: fewer tiles, no overlaps, clear air around the
   centre image (which still zooms to fill the viewport) */
@media (max-width: 900px) {
  .interiors__item:nth-child(1) .interiors__frame { width: 48vw; height: 25vh; }
  .interiors__item:nth-child(2) .interiors__frame { top: -27vh; left: 10vw;  width: 48vw; height: 18vh; }
  .interiors__item:nth-child(3) .interiors__frame { top: -25vh; left: -30vw; width: 28vw; height: 14vh; }
  .interiors__item:nth-child(5) .interiors__frame { top: 25vh;  left: -14vw; width: 40vw; height: 16vh; }
  .interiors__item:nth-child(6) .interiors__frame { top: 27vh;  left: 24vw;  width: 26vw; height: 12vh; }
  .interiors__item:nth-child(4),
  .interiors__item:nth-child(7) { display: none; }
}

/* no-JS / reduced-motion: show the lead interior as a plain figure */
html:not(.js) .interiors__zoom { height: auto; }
html:not(.js) .interiors__sticky { position: static; height: auto; }
html:not(.js) .interiors__item { position: static; display: block; padding: 0 var(--gutter); }
html:not(.js) .interiors__item:not(:first-child) { display: none; }
html:not(.js) .interiors__frame { position: static; width: 100%; height: 62vh; }

/* ============================================================
   STUDIO
   ============================================================ */

.studio {
  padding: clamp(7rem, 18vh, 13rem) var(--gutter) clamp(5rem, 12vh, 9rem);
}

.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(2.5rem, 6vw, 7rem);
  row-gap: clamp(3rem, 7vh, 5.5rem);
}

.studio__title {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.9vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  max-width: 24ch;
}

.studio__media--main img { aspect-ratio: 4 / 3; }

.studio__body p {
  color: var(--ink-60);
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 30rem;
}

.studio__body p + p { margin-top: 1.4rem; }

@media (max-width: 900px) {
  .studio__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   APPROACH
   ============================================================ */

.approach {
  padding: clamp(6rem, 14vh, 10rem) var(--gutter) clamp(5rem, 12vh, 9rem);
}

.approach__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.approach__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 6rem) clamp(2.5rem, 8vw, 9rem);
  max-width: 1250px;
}

.approach__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-35);
}

.approach__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0.7rem 0 1.1rem;
}

.approach__item p {
  color: var(--ink-60);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 34rem;
}

.approach__media-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(5rem, 12vh, 9rem);
}

.approach__media { width: min(52vw, 760px); }
.approach__media img { aspect-ratio: 16 / 10; }

.approach__media--offset {
  width: min(30vw, 420px);
  margin-top: clamp(4rem, 12vh, 9rem);
}
.approach__media--offset img { aspect-ratio: 4 / 5; }

.recognition {
  margin-top: clamp(6rem, 14vh, 9rem);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2rem;
}

.recognition__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.recognition__list { list-style: none; }

.recognition__list li {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem 0;
  font-size: 0.92rem;
}

.recognition__list li span:last-child {
  color: var(--ink-60);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .approach__list { grid-template-columns: 1fr; }
  .approach__media-row { flex-direction: column; }
  .approach__media { width: 100%; }
  .approach__media--offset { width: 72%; margin-top: 0; }
  .recognition { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  padding: clamp(7rem, 17vh, 12rem) var(--gutter) clamp(6rem, 15vh, 11rem);
}

.contact__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.7vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(3rem, 8vw, 9rem);
  margin-top: clamp(3.5rem, 9vh, 6.5rem);
}

.field { margin-bottom: 2.4rem; }

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 0.5rem;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  border-radius: 0;
  resize: none;
  transition: border-color 0.4s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.contact__submit {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 1.1rem 2.6rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 0.45s var(--ease-css), color 0.45s var(--ease-css);
}

.contact__submit:hover {
  background: var(--ink);
  color: var(--bone);
}

.contact__notice {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-60);
  min-height: 1.6em;
}

.contact__aside {
  font-size: 0.98rem;
  line-height: 2.1;
}

.contact__aside a { border-bottom: 1px solid var(--line); transition: border-color 0.3s ease; }
.contact__aside a:hover { border-color: var(--ink); }

.contact__aside address {
  font-style: normal;
  color: var(--ink-60);
  margin-top: 1.6rem;
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: clamp(4rem, 10vh, 7rem) var(--gutter) 2rem;
  background: var(--ink);
  color: var(--bone);
}

.footer__word {
  font-family: var(--serif);
  font-weight: 300;
  /* Unbounded runs wide — sized so the wordmark fits the page width */
  font-size: clamp(2.4rem, 9.5vw, 10.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: clamp(3rem, 8vh, 6rem);
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-top: 2rem;
}

.footer__nav,
.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__nav a,
.footer__social a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.75);
  transition: color 0.3s ease;
  width: fit-content;
}

.footer__nav a:hover,
.footer__social a:hover { color: var(--bone); }

.footer__place {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: rgba(243, 239, 231, 0.6);
  text-align: right;
}

.footer__credit {
  margin-top: 4rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 231, 0.45);
  max-width: 60ch;
}

.footer__credit a {
  color: rgba(243, 239, 231, 0.75);
  border-bottom: 1px solid rgba(243, 239, 231, 0.3);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer__credit a:hover {
  color: var(--bone);
  border-color: var(--bone);
}

@media (max-width: 700px) {
  .footer__place { text-align: left; }
}

/* ============================================================
   PROJECT OVERLAY
   ============================================================ */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
}

.overlay__slices {
  position: absolute;
  inset: 0;
  display: flex;
}

.overlay__slice {
  flex: 1;
  background: var(--bone);
  /* start position set by GSAP (yPercent) — keep CSS transform empty */
}

.overlay__body {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  color: var(--ink);
}

.overlay__media {
  overflow: hidden;
  height: 100%;
}

.overlay__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay__text {
  padding: clamp(2rem, 6vh, 5rem) clamp(1.8rem, 4vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.overlay__kicker {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 1.4rem;
}

.overlay__title {
  overflow: hidden;
  padding-bottom: 0.13em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 4.8vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.overlay__title-inner { display: block; }

.overlay__desc {
  margin-top: 1.8rem;
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--ink-60);
}

.overlay__meta {
  list-style: none;
  margin-top: 2.8rem;
}

.overlay__meta li {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.55rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.overlay__meta li span:first-child {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  color: var(--ink-60);
}

.overlay__close {
  position: absolute;
  top: 1.6rem;
  right: var(--gutter);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--ink-35);
  transition: border-color 0.3s ease;
}

.overlay__close:hover { border-color: var(--ink); }

@media (max-width: 900px) {
  .overlay__body {
    grid-template-columns: 1fr;
    grid-template-rows: 44vh 1fr;
    overflow-y: auto;
  }
  .overlay__media { height: 44vh; }
  .overlay__text { justify-content: flex-start; padding-top: 2.5rem; padding-bottom: 4rem; }
  .overlay__close {
    top: 1.1rem;
    background: rgba(243, 239, 231, 0.85);
    padding: 0.6rem 1rem;
    border: 1px solid var(--ink-35);
    border-radius: 999px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  img[data-parallax] { transform: none; }
  .works__viewport { overflow-x: auto; }
}

/* No JavaScript: the gallery must still be reachable */
html:not(.js) .works__viewport { overflow-x: auto; }
