/* =========================================================
   PARALLAX — Awwwards-grade creative exhibition
   ========================================================= */

:root {
  --bg: #080808;
  --fg: #f3f1ec;
  --fg-muted: #8c8982;
  --fg-dim: #524f4a;
  --line: rgba(243, 241, 236, 0.1);
  --line-strong: rgba(243, 241, 236, 0.22);

  --font-sans: "Syne", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --nav-h: 4.25rem;
  --pad: clamp(1.25rem, 3.8vw, 3.75rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
  touch-action: none;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.4;
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  mix-blend-mode: overlay;
}

body.has-cursor-none {
  cursor: auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: none;
}

ul {
  list-style: none;
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

.label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.meta-label {
  display: block;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 0.3rem;
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.cursor.is-ready {
  opacity: 1;
}

.cursor__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), background 0.25s, border 0.25s;
}

.cursor.is-hover .cursor__dot {
  width: 78px;
  height: 78px;
  background: transparent;
  border: 1px solid #fff;
}

.cursor__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

.cursor.is-hover .cursor__label {
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none !important;
  }
  body,
  button {
    cursor: auto;
  }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: grid;
  place-items: center;
}

.loader__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader__logo {
  width: min(220px, 55vw);
  height: auto;
  margin-bottom: 1.35rem;
  opacity: 0.95;
}

.loader__brand {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  margin-bottom: 1.75rem;
}

.loader__bar {
  width: 96px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
  margin: 0 auto 1rem;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--fg);
}

.loader__count {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  font-variant-numeric: tabular-nums;
}

.loader.is-done {
  pointer-events: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 var(--pad);
  mix-blend-mode: difference;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.nav__logo img {
  width: clamp(5.5rem, 12vw, 7.25rem);
  height: auto;
  display: block;
}

.nav__logo span {
  display: none;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.35s;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.nav__links a:hover {
  color: #fff;
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__menu {
  display: none;
  width: 28px;
  height: 16px;
  position: relative;
}

.nav__menu span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #fff;
  transition: transform 0.4s var(--ease-out), top 0.4s;
}

.nav__menu span:first-child {
  top: 4px;
}

.nav__menu span:last-child {
  top: 11px;
}

.nav__menu.is-open span:first-child {
  top: 7.5px;
  transform: rotate(45deg);
}

.nav__menu.is-open span:last-child {
  top: 7.5px;
  transform: rotate(-45deg);
}

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  padding:
    calc(var(--nav-h) + env(safe-area-inset-top, 0px))
    max(var(--pad), env(safe-area-inset-right, 0px))
    max(2rem, env(safe-area-inset-bottom, 0px))
    max(var(--pad), env(safe-area-inset-left, 0px));
  overflow-y: auto;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.mobile-nav__label {
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav__links a {
  display: flex;
  align-items: baseline;
  gap: 1.15rem;
  font-size: clamp(2.2rem, 10vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav__links a span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
  transform: translateY(-0.3em);
}

.mobile-nav__foot {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.mobile-nav__foot a {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.mobile-nav__foot a:first-child {
  color: var(--fg);
  font-size: 0.9375rem;
}

.mobile-nav__foot p {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 2.5rem) var(--pad) var(--pad);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__media {
  position: absolute;
  right: 4%;
  top: 14%;
  width: min(46vw, 640px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  clip-path: inset(18% 24% 18% 24%);
  opacity: 0.5;
  will-change: transform, clip-path;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  filter: grayscale(0.25) contrast(1.04);
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 78% 35%, transparent 0%, rgba(8, 8, 8, 0.35) 55%, var(--bg) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 42%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 5vh, 3.5rem);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.hero__line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--line-strong);
}

.hero__title {
  display: flex;
  flex-direction: column;
  font-size: clamp(3.5rem, 14vw, 12rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero__line-wrap {
  display: block;
  overflow: hidden;
}

.hero__line-wrap--offset {
  padding-left: clamp(2rem, 14vw, 11rem);
}

.hero__line-wrap--right {
  align-self: flex-end;
  margin-right: clamp(0rem, 5vw, 4rem);
}

.hero__word {
  display: inline-block;
  will-change: transform;
}

.hero__word--serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.03em;
}

.hero__word--outline {
  -webkit-text-stroke: 1.25px rgba(243, 241, 236, 0.88);
  color: transparent;
}

.hero__word--tight {
  font-size: 0.58em;
  letter-spacing: -0.035em;
}

.hero__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-top: clamp(2.25rem, 7vh, 4.5rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.hero__desc {
  max-width: 26ch;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--fg-muted);
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.3s;
}

.hero__scroll:hover {
  color: var(--fg);
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--fg-muted), transparent);
  transform-origin: top;
}

/* ---------- Showcase / Exhibition ---------- */
.work {
  position: relative;
  background: var(--bg);
}

.showcase {
  position: relative;
}

.showcase__pin {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.showcase__stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg);
}

.showcase__void {
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.showcase__rail {
  position: absolute;
  top: 50%;
  left: var(--pad);
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: 0.5625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
  z-index: 4;
  pointer-events: none;
}

.showcase__giant {
  position: absolute;
  right: -4%;
  bottom: -8%;
  font-size: clamp(12rem, 32vw, 28rem);
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 241, 236, 0.08);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
}

.showcase__visuals {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.project {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.project.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project[data-align="left"] {
  justify-content: flex-start;
  padding-left: clamp(6%, 10vw, 12%);
}

.project[data-align="right"] {
  justify-content: flex-end;
  padding-right: clamp(6%, 10vw, 12%);
}

.project[data-align="center"] {
  justify-content: center;
}

.project__frame {
  width: min(58vw, 860px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  clip-path: inset(22% 28% 22% 28%);
  will-change: clip-path, transform;
  transform-origin: center center;
  backface-visibility: hidden;
}

.project[data-align="left"] .project__frame {
  transform-origin: left center;
}

.project[data-align="right"] .project__frame {
  transform-origin: right center;
}

.project[data-align="center"] .project__frame {
  transform-origin: center center;
}

/* Landscape / cinematic frames — less crop on wide photos */
.project[data-shape="wide"] .project__frame {
  width: min(74vw, 1080px);
  aspect-ratio: 16 / 10;
  clip-path: inset(14% 10% 14% 10%);
}

.project[data-shape="wide"][data-align="left"] .project__frame,
.project[data-shape="wide"][data-align="right"] .project__frame {
  width: min(68vw, 980px);
}

.project[data-shape="tall"] .project__frame {
  width: min(42vw, 560px);
  aspect-ratio: 3 / 4;
  clip-path: inset(12% 18% 12% 18%);
}

.project[data-shape="wide"] .project__img {
  object-position: center 45%;
}

.project[data-index="0"] .project__img {
  object-position: center 40%;
}

.project[data-index="3"] .project__img {
  object-position: center 55%;
}

.project[data-index="5"] .project__img {
  object-position: center 35%;
}

.project__img-wrap {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.project__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  will-change: transform;
  filter: grayscale(0.06) contrast(1.03);
}

.showcase__meta {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  padding: var(--pad);
}

.showcase__index {
  position: absolute;
  top: var(--pad);
  left: var(--pad);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.showcase__num {
  font-size: clamp(0.875rem, 1.4vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.showcase__total {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--fg-muted);
}

.showcase__dock {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.showcase__copy {
  position: absolute;
  left: var(--pad);
  bottom: var(--pad);
  max-width: min(42vw, 460px);
  will-change: transform, opacity;
}

.showcase__type {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.65rem;
  max-width: 28ch;
  line-height: 1.45;
}

.showcase__title {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.showcase__title-link--plus {
  font-weight: 300;
  opacity: 0.72;
}

.showcase__title-link--plus:hover {
  opacity: 1;
}

.project__frame--plus {
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(243, 241, 236, 0.04), rgba(243, 241, 236, 0.01)),
    #101010;
  border: 1px solid var(--line);
}

.project__plus-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  text-decoration: none;
  color: var(--fg);
}

.project__plus-mark {
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.28;
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out);
}

.project__plus-link:hover .project__plus-mark {
  opacity: 0.55;
  transform: scale(1.03);
}

.showcase__title-link,
.showcase__type-link,
.showcase__svc-link {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease-out);
}

.showcase__title-link:hover,
.showcase__type-link:hover,
.showcase__svc-link:hover {
  opacity: 0.72;
}

.showcase__details {
  font-size: 0.9375rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.showcase__details [hidden] {
  display: none !important;
}

.showcase__details .meta-label {
  margin-bottom: 0.4rem;
}

.showcase__svc-panel {
  position: absolute;
  right: var(--pad);
  bottom: var(--pad);
  width: min(34vw, 420px);
  z-index: 5;
  pointer-events: none;
  will-change: transform, opacity;
}

.showcase__svc-panel .meta-label {
  margin-bottom: 0.75rem;
}

.showcase__svc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.showcase__svc li {
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: rgba(243, 241, 236, 0.82);
  padding: 0.38rem 0;
  border-top: none;
  border-bottom: 1px solid rgba(243, 241, 236, 0.08);
}

.showcase__svc li:last-child {
  border-bottom: none;
}

.showcase__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 6;
}

.showcase__progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ---------- Services ---------- */
.services {
  position: relative;
  padding: clamp(6rem, 16vh, 11rem) var(--pad);
  overflow: hidden;
}

.services__head {
  margin-bottom: clamp(2.5rem, 7vh, 4.5rem);
  max-width: 720px;
}

.services__head .label {
  margin-bottom: 1.15rem;
}

.services__title {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.services__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
}

.services__list {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  max-width: 920px;
}

.service {
  border-bottom: 1px solid var(--line);
}

.service__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  column-gap: 1rem;
  padding: 1.45rem 0;
  text-align: left;
  transition: padding 0.5s var(--ease-out);
}

.service__num {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
  padding-top: 0.45rem;
}

.service__name {
  font-size: clamp(1.25rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  transition: transform 0.55s var(--ease-out), color 0.35s;
}

.service__desc {
  grid-column: 2;
  max-width: 520px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--fg-muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: max-height 0.55s var(--ease-out), opacity 0.4s, transform 0.55s var(--ease-out), margin 0.4s;
}

.service.is-active .service__btn,
.service:hover .service__btn {
  padding-top: 1.85rem;
  padding-bottom: 1.85rem;
}

.service.is-active .service__name,
.service:hover .service__name {
  transform: translateX(clamp(0.4rem, 1.5vw, 1.25rem));
  color: #fff;
}

.service.is-active .service__desc,
.service:hover .service__desc {
  max-height: 220px;
  opacity: 1;
  margin-top: 0.75rem;
  transform: translateY(0);
}

.services__preview {
  position: absolute;
  top: 42%;
  right: 7%;
  width: min(26vw, 340px);
  aspect-ratio: 3 / 4;
  transform: translateY(-40%);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
}

.services__preview.is-visible {
  opacity: 1;
}

.services__preview-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.services__preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  filter: grayscale(0.25);
  transition: opacity 0.55s var(--ease-out), transform 0.9s var(--ease-out);
}

.services__preview img.is-on {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 900px) {
  .services__preview {
    display: none !important;
  }
}

/* ---------- Partners ---------- */
.partners {
  padding: clamp(4.5rem, 10vh, 7rem) 0;
  overflow: hidden;
}

.partners .label {
  margin-bottom: 2rem;
  padding: 0 var(--pad);
}

.partners__viewport {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.partners__viewport.is-dragging {
  cursor: grabbing;
}

.partners__row {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.partners__row:last-child {
  border-bottom: 0;
}

.partners__track,
.partners__grid {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.partner {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 16.5rem;
  min-height: 7.4rem;
  padding: 1.1rem 1.25rem;
  border-right: 1px solid var(--line);
  color: var(--fg);
  opacity: 0.72;
  transition: opacity 0.4s var(--ease-out);
}

.partner:hover {
  opacity: 1;
}

.partner img {
  display: block;
  width: auto;
  max-width: min(100%, 12.5rem);
  height: 2.7rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
  pointer-events: none;
}

/* Vertical / mark logos — a bit taller so they read at the same weight */
.partner--ysl img,
.partner--79 img,
.partner--muze img,
.partner--lafann img,
.partner--anadolu img,
.partner--juju img,
.partner--gshock img {
  height: 3.35rem;
}

.partner--eighth img {
  height: 4rem;
  mix-blend-mode: screen;
}

/* Wide wordmarks that otherwise dominate the row */
.partner--tusiad img,
.partner--pure img,
.partner--cream img,
.partner--lesben img,
.partner--vava img {
  height: 2.15rem;
}

.partner--79 img,
.partner--muze img,
.partner--eighth img,
.partner--lafann img,
.partner--cream img,
.partner--sortie img {
  filter: none;
}

/* ---------- About ---------- */
.about {
  padding: clamp(6rem, 18vh, 13rem) var(--pad);
  overflow: hidden;
}

.about__statement {
  margin-bottom: clamp(3rem, 10vh, 6.5rem);
}

.about__title {
  display: flex;
  flex-direction: column;
  font-size: clamp(3.25rem, 12vw, 9.5rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.about__word {
  display: block;
  will-change: transform;
}

.about__word:nth-child(2) {
  padding-left: clamp(1.5rem, 12vw, 8rem);
}

.about__word:nth-child(3) {
  align-self: flex-end;
  margin-right: clamp(0rem, 6vw, 5rem);
}

.about__word--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.025em;
}

.about__word--outline {
  -webkit-text-stroke: 1.15px rgba(243, 241, 236, 0.82);
  color: transparent;
}

.about__body {
  max-width: 560px;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.about__body .label {
  margin-bottom: 1.15rem;
}

.about__text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--fg-muted);
}

.about__text p:first-child {
  color: var(--fg);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.about__text p + p {
  margin-top: 1.15rem;
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(5rem, 14vh, 10rem) var(--pad) clamp(2rem, 5vh, 3.5rem);
}

.contact__top {
  margin-bottom: 1.25rem;
}

.contact__mark {
  width: 48px;
  height: auto;
  opacity: 0.9;
}

.contact .label {
  margin-bottom: 0;
}

.contact__title {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

.contact__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
  max-width: 720px;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.contact__link {
  display: inline-block;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: border-color 0.35s, letter-spacing 0.45s var(--ease-out);
}

.contact__link:hover {
  border-color: var(--line-strong);
  letter-spacing: 0.01em;
}

.contact__address {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  line-height: 1.55;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.contact__address p {
  margin: 0;
}

.contact__address p + p {
  margin-top: 0.35rem;
}

.contact__offices-title {
  color: var(--fg);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem !important;
}

.contact__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: clamp(3.5rem, 12vh, 7rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.contact__socials {
  display: flex;
  gap: 1.75rem;
}

.contact__socials a {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.3s;
}

.contact__socials a:hover {
  color: var(--fg);
}

.contact__copy {
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__media,
  .project__frame {
    clip-path: inset(0) !important;
  }

  .hero__img,
  .project__img {
    transform: none !important;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 900px) {
  :root {
    --pad: 1.25rem;
    --nav-h: 3.5rem;
    --section-y: clamp(2.25rem, 6svh, 3.5rem);
    --showcase-dock-space: clamp(11rem, 34svh, 15rem);
  }

  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }

  body {
    cursor: auto;
  }

  button,
  a {
    cursor: pointer;
    touch-action: manipulation;
  }

  .nav {
    height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
    padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
    mix-blend-mode: normal;
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0.94), transparent);
  }

  .nav__links {
    display: none;
  }

  .nav__menu {
    display: block;
    width: 44px;
    height: 44px;
    margin-right: 0;
  }

  .nav__menu span:first-child {
    top: 18px;
  }

  .nav__menu span:last-child {
    top: 25px;
  }

  .nav__menu.is-open span:first-child,
  .nav__menu.is-open span:last-child {
    top: 21.5px;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    justify-content: flex-end;
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 0.75rem);
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__content {
    flex: none;
    display: block;
    width: 100%;
  }

  .hero__meta {
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
  }

  .hero__line {
    width: 28px;
  }

  .hero__media {
    left: 50%;
    right: auto;
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 0.35rem);
    transform: translateX(-50%);
    width: auto;
    height: clamp(210px, 34svh, 290px);
    aspect-ratio: 4 / 5;
    clip-path: none;
    opacity: 0.88;
  }

  .hero__img {
    transform: scale(1.05);
    filter: grayscale(0.12) contrast(1.06);
  }

  .hero__veil {
    background:
      linear-gradient(to top, var(--bg) 0%, rgba(8, 8, 8, 0.88) 38%, rgba(8, 8, 8, 0.2) 58%, rgba(8, 8, 8, 0.55) 100%);
  }

  .hero__title {
    font-size: clamp(2.35rem, 11.2vw, 3.65rem);
    line-height: 0.9;
    max-width: 12.5ch;
  }

  .hero__line-wrap--offset {
    padding-left: clamp(0.35rem, 4vw, 1.25rem);
  }

  .hero__line-wrap--right {
    align-self: flex-start;
    margin-right: 0;
  }

  .hero__word--tight {
    font-size: 0.62em;
  }

  .hero__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-top: 1rem;
    padding-top: 0.95rem;
  }

  .hero__desc {
    max-width: none;
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .hero__scroll {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .hero__scroll-line {
    width: 36px;
    height: 1px;
    background: linear-gradient(to right, var(--fg-muted), transparent);
    transform-origin: left;
  }

  .showcase__pin {
    height: 100svh;
    height: 100dvh;
  }

  .showcase__rail {
    display: none;
  }

  .showcase__giant {
    font-size: min(38vw, 11rem);
    right: -8%;
    bottom: 22%;
    -webkit-text-stroke: 1px rgba(243, 241, 236, 0.06);
    opacity: 0.85;
    pointer-events: none;
  }

  .showcase__visuals {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding:
      calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 2.75rem)
      var(--pad)
      var(--showcase-dock-space);
  }

  .project,
  .project[data-align="left"],
  .project[data-align="right"],
  .project[data-align="center"] {
    justify-content: center;
    padding: 0;
  }

  .project__frame,
  .project[data-align="center"] .project__frame {
    width: 100%;
    max-height: 40svh;
    aspect-ratio: 3 / 4;
  }

  .project[data-shape="wide"] .project__frame {
    width: 100%;
    max-height: 36svh;
    aspect-ratio: 16 / 10;
  }

  .project[data-shape="tall"] .project__frame {
    width: min(72%, 20rem);
    max-height: 40svh;
    aspect-ratio: 3 / 4;
  }

  .project--plus .project__frame {
    max-height: 32svh;
    aspect-ratio: 16 / 10;
  }

  .project__img {
    filter: none;
    transform: scale(1.08);
  }

  .project__plus-mark {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .showcase__meta {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .showcase__index {
    position: relative;
    top: auto;
    left: auto;
    align-self: flex-start;
    padding:
      calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 0.35rem)
      var(--pad)
      0;
  }

  .showcase__num {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .showcase__dock {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: auto;
    padding:
      1.15rem var(--pad)
      max(0.75rem, calc(0.5rem + env(safe-area-inset-bottom, 0px)));
    background: linear-gradient(
      to top,
      rgba(8, 8, 8, 0.98) 0%,
      rgba(8, 8, 8, 0.82) 38%,
      rgba(8, 8, 8, 0.08) 72%,
      transparent 100%
    );
  }

  .showcase__copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    padding: 0.35rem 0 0;
    background: none;
  }

  .showcase__svc-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .showcase__svc {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .showcase__svc li {
    font-size: 0.75rem;
    padding: 0.3rem 0;
    line-height: 1.35;
  }

  .showcase__type {
    max-width: none;
    letter-spacing: 0.14em;
    font-size: 0.5625rem;
    line-height: 1.4;
    margin-bottom: 0.45rem;
  }

  .showcase__title {
    font-size: clamp(1.45rem, 6.8vw, 2.15rem);
    margin-bottom: 0.45rem;
    max-width: 100%;
  }

  .showcase__details {
    gap: 0.55rem;
    padding-top: 0.5rem;
  }

  .nav__logo img {
    width: 5.25rem;
  }

  .hero__meta {
    margin-bottom: 1rem;
  }

  .hero__desc {
    max-width: 32ch;
  }

  .services {
    padding: var(--section-y) var(--pad);
  }

  .services__head {
    margin-bottom: 1.75rem;
  }

  .services__title {
    font-size: clamp(2.5rem, 11vw, 4.25rem);
  }

  .service__btn {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    padding: 1.05rem 0;
  }

  .service.is-active .service__btn,
  .service:hover .service__btn {
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
  }

  .service__name {
    font-size: clamp(1.05rem, 4.8vw, 1.55rem);
  }

  .service.is-active .service__name,
  .service:hover .service__name {
    transform: translateX(0.25rem);
  }

  .service.is-active .service__desc,
  .service:hover .service__desc {
    max-height: 280px;
  }

  .partners {
    padding: var(--section-y) 0;
  }

  .partner {
    width: min(25vw, 7.25rem);
    min-width: 5.5rem;
    min-height: 4rem;
    padding: 0.5rem 0.35rem;
  }

  .partner img {
    height: 1.55rem;
    max-height: 1.55rem;
    max-width: min(100%, 5.4rem);
  }

  .partner--ysl img,
  .partner--79 img,
  .partner--muze img,
  .partner--lafann img,
  .partner--anadolu img,
  .partner--juju img,
  .partner--gshock img,
  .partner--eighth img {
    height: 1.85rem;
    max-height: 1.85rem;
  }

  .partner--tusiad img,
  .partner--pure img,
  .partner--cream img,
  .partner--lesben img,
  .partner--vava img {
    height: 1.25rem;
    max-height: 1.25rem;
  }

  .about {
    padding: var(--section-y) var(--pad);
    overflow-x: clip;
  }

  .about__statement {
    margin-bottom: 2rem;
  }

  .about__title {
    font-size: clamp(2.35rem, 11vw, 4rem);
  }

  .about__word:nth-child(2),
  .about__word:nth-child(3) {
    padding-left: 0.5rem;
    margin-right: 0;
    align-self: flex-start;
  }

  .about__body {
    padding-top: 1.5rem;
    max-width: none;
  }

  .contact {
    padding: var(--section-y) var(--pad) max(1.5rem, env(safe-area-inset-bottom, 0px));
  }

  .contact__mark {
    width: 40px;
  }

  .contact__title {
    font-size: clamp(2.35rem, 11vw, 4rem);
    margin-bottom: 1.75rem;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .contact__link {
    font-size: clamp(0.95rem, 4.2vw, 1.15rem);
    word-break: break-word;
  }

  .contact__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .mobile-nav {
    z-index: 1100;
  }

  .nav {
    z-index: 1200;
  }
}

@media (max-width: 600px) {
  :root {
    --pad: 1.125rem;
    --showcase-dock-space: clamp(10rem, 31svh, 13rem);
  }

  .hero__title {
    font-size: clamp(2.15rem, 11.5vw, 3rem);
    line-height: 0.88;
    max-width: 11.5ch;
  }

  .hero__line-wrap--offset {
    padding-left: 0.35rem;
  }

  .hero__media {
    height: clamp(190px, 30svh, 250px);
    opacity: 0.82;
  }

  .hero__footer {
    margin-top: 0.85rem;
    gap: 0.75rem;
  }

  .showcase__visuals {
    padding-bottom: var(--showcase-dock-space);
  }

  .project__frame,
  .project[data-align="center"] .project__frame {
    max-height: 36svh;
  }

  .project[data-shape="wide"] .project__frame {
    max-height: 32svh;
  }

  .showcase__details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .showcase__type {
    letter-spacing: 0.1em;
  }

  .mobile-nav__links a {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    padding: 0.9rem 0;
  }
}

@media (max-width: 380px) {
  :root {
    --pad: 1rem;
    --showcase-dock-space: clamp(9.5rem, 29svh, 12rem);
  }

  .hero__title {
    font-size: 2.05rem;
    max-width: 11ch;
  }

  .hero__media {
    height: clamp(175px, 28svh, 220px);
  }

  .showcase__title {
    font-size: 1.35rem;
  }

  .showcase__visuals {
    padding-bottom: var(--showcase-dock-space);
  }

  .project__frame,
  .project[data-align="center"] .project__frame {
    max-height: 40svh;
  }
}

/* Short phones / landscape */
@media (max-width: 900px) and (max-height: 720px) {
  .hero {
    min-height: auto;
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__meta {
    margin-bottom: 0.55rem;
  }

  .hero__title {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .hero__media {
    width: min(62vw, 210px);
    opacity: 0.75;
  }

  .hero__footer {
    gap: 0.65rem;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
  }

  .project__frame,
  .project[data-align="center"] .project__frame {
    max-height: 34svh;
  }

  .showcase__visuals {
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 1.5rem);
    padding-bottom: clamp(6.5rem, 20svh, 8.5rem);
  }

  .project__frame,
  .project[data-align="center"] .project__frame {
    max-height: 38svh;
    aspect-ratio: 4 / 5;
  }

  .showcase__giant {
    display: none;
  }
}

@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 0.65rem);
    padding-bottom: 0.85rem;
  }

  .hero__media {
    opacity: 0.55;
    width: 32vw;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .showcase__pin {
    height: 100vh;
  }

  .showcase__visuals {
    padding: calc(var(--nav-h) + 0.75rem) var(--pad) clamp(5rem, 14svh, 6.5rem);
  }

  .project__frame,
  .project[data-align="center"] .project__frame {
    max-height: 58vh;
    aspect-ratio: 16 / 10;
  }

  .project[data-shape="tall"] .project__frame {
    width: min(70%, 20rem);
    aspect-ratio: 3 / 4;
    max-height: 58vh;
  }

  .showcase__copy {
    padding: 0;
  }

  .showcase__title {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
  }

  .showcase__svc-panel {
    max-height: 9.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .showcase__details {
    display: flex;
  }

  .showcase__giant {
    display: none;
  }
}
