/*
        This font software is the property of Commercial Type.

        You may not modify the font software, use it on another website, or install it on a computer.

        License information is available at http://commercialtype.com/eula
        For more information please visit Commercial Type at http://commercialtype.com or email us at info[at]commercialtype.com

        Copyright (C) 2026 Schwartzco Inc.
        License 2611-ZJDOSG
*/
@font-face {
  font-family: "Moulin";
  src: url("../fonts/moulin/Moulin-Light-Web.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-vietnamese.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-latin-ext.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --page: #f7f3ed;
  --ink: #14140b;
  --cover: #9da5b9;
  --sand: #dbd3c8;
  --cta: #86643f;
  --plum: #2a1419;
  --light: #f7f3ed;

  --font-title: "Moulin", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 3.2rem;
  --header-h: max(6.9rem, 52px);
  --fs-label: max(1.6rem, 12px);
  --fs-body: max(1.6rem, 13px);
  --fs-body-lg: max(2rem, 15px);
  --fs-h5: max(2rem, 15px);
  --fs-h3: max(3.2rem, 19px);
  --fs-lead: max(4.8rem, 26px);
  --fs-display: 10rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --chamfer: 2.24rem;

  --arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14.935 5.6933C15.1226 5.88084 15.2279 6.13519 15.2279 6.40041V9.34737C15.2279 9.61259 15.1226 9.86694 14.935 10.0545L11.2621 13.7274C11.0669 13.9226 10.7503 13.9226 10.5551 13.7274C10.3598 13.5322 10.3598 13.2156 10.5551 13.0204L14.0588 9.5166C14.1671 9.40834 14.2279 9.26151 14.2279 9.1084C14.2279 8.78957 13.9695 8.53111 13.6506 8.53111H-0.0367332C-0.312876 8.53111 -0.536733 8.30726 -0.536733 8.03111C-0.536733 7.75497 -0.312876 7.53111 -0.0367332 7.53111H13.4283C13.8699 7.53111 14.2279 7.1731 14.2279 6.73148C14.2279 6.5194 14.1437 6.31601 13.9937 6.16605L10.5551 2.7274C10.3598 2.53216 10.3598 2.21561 10.5551 2.02037C10.7503 1.82513 11.0669 1.82513 11.2621 2.02037L14.935 5.6933Z'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14.08 3.78c.19.19.29.44.29.71v5.19a.5.5 0 0 1-1 0V4.73a.58.58 0 0 0-.99-.41L2.71 14a.5.5 0 0 1-.71-.71l9.52-9.52a.8.8 0 0 0-.57-1.36H6.09a.5.5 0 0 1 0-1h5.2c.26 0 .52.1.7.29l2.09 2.08Z'/%3E%3C/svg%3E");
}

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

html { font-size: calc(100vw / 192); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 32;
  font-size: var(--fs-body);
  line-height: 1.37;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-user-select: none;
          user-select: none;
}
img,
a { -webkit-user-drag: none; }
.footer__contact,
.footer__address { -webkit-user-select: text; user-select: text; }

h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-weight: inherit; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  -webkit-appearance: none;
          appearance: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.chamfer {
  position: relative;
  overflow: hidden;
  clip-path: polygon(
    var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer),
    100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%,
    var(--chamfer) 100%, 0 calc(100% - var(--chamfer)), 0 var(--chamfer)
  );
  background: var(--sand);
}
.chamfer img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame--main[data-cms-new] { scale: 1; }
.hero__cycle { display: contents; }
.menu__other:has(> .menu__chips:empty),
.footer__other:has(> .footer__chips:empty) { display: none; }
.feature .feature__img > img[data-cms-new] { scale: 1; }
.team__photo img[data-cms-new] { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.press__logo img[data-cms-new] { left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }

[data-parallax] { position: absolute; left: 0; right: 0; top: -8%; bottom: -8%; will-change: transform; }
[data-parallax] > img { width: 100%; height: 100%; object-fit: cover; }

.btn__arrow {
  position: relative;
  z-index: 2;
  display: inline-block;
  width: max(1.6rem, 12px);
  height: max(1.6rem, 12px);
  margin-left: 0.4rem;
  vertical-align: -0.12em;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
          mask: var(--arrow) center / contain no-repeat;
}

/* ==========================================================================
   Button
   ========================================================================== */
.btn {
  --cut: 9px;
  --line: var(--ink);
  --fill: var(--ink);
  --on-fill: var(--light);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12.8rem;
  height: max(5.7rem, 40px);
  padding: 0 max(2.3rem, 16px);
  color: var(--line);
  font-weight: 500;
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  transition: color 0.6s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--line);
  clip-path: polygon(evenodd,
    var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut), var(--cut) 0,
    calc(var(--cut) + 0.41px) 1px, 1px calc(var(--cut) + 0.41px), 1px calc(100% - var(--cut) - 0.41px),
    calc(var(--cut) + 0.41px) calc(100% - 1px), calc(100% - var(--cut) - 0.41px) calc(100% - 1px),
    calc(100% - 1px) calc(100% - var(--cut) - 0.41px), calc(100% - 1px) calc(var(--cut) + 0.41px),
    calc(100% - var(--cut) - 0.41px) 1px, calc(var(--cut) + 0.41px) 1px);
  pointer-events: none;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fill);
  translate: 0 101%;
  transition: translate 0.7s var(--ease);
}
.btn__label {
  position: relative;
  z-index: 2;
  display: block;
  overflow: clip;
  padding: 0.2em 0;
  margin: -0.2em 0;
}
.btn__label > span { position: relative; display: block; transition: translate 0.7s var(--ease); }
.btn__label > span::after {
  content: attr(data-text);
  content: attr(data-text) / "";
  position: absolute;
  left: 0;
  top: calc(100% + 0.4em);
}
.btn--dark { --line: var(--light); --fill: var(--light); --on-fill: var(--ink); }
@media (hover: hover) {
  .btn:hover { color: var(--on-fill); }
  .btn:hover::after { translate: 0 0; }
  .btn:hover .btn__label > span { translate: 0 calc(-100% - 0.4em); }
}

.view-tag {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  width: max(10.2rem, 76px);
  height: max(5.6rem, 42px);
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
  background: rgba(247, 243, 237, 0.22);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  color: var(--light);
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
  visibility: hidden;
}

/* ==========================================================================
   Link labels
   ========================================================================== */
.roll {
  display: inline-block;
  vertical-align: top;
  overflow: clip;
  padding: 0.25em 0;
  margin: -0.25em 0;
}
.roll > span { position: relative; display: block; transition: translate 0.7s var(--ease); }
.roll > span::after {
  content: attr(data-text);
  content: attr(data-text) / "";
  position: absolute;
  left: 0;
  top: calc(100% + 0.5em);
}
@media (hover: hover) {
  a:hover > .roll > span,
  button:hover > .roll > span { translate: 0 calc(-100% - 0.5em); }
}
a:focus-visible > .roll > span,
button:focus-visible > .roll > span { translate: 0 calc(-100% - 0.5em); }

/* ==========================================================================
   Header
   ========================================================================== */
.header-bar,
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  transition: translate 0.8s var(--ease);
}
.header-bar {
  z-index: 99;
  background: rgba(219, 211, 200, 0.12);
  -webkit-backdrop-filter: blur(50px);
          backdrop-filter: blur(50px);
  pointer-events: none;
}
.header {
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  color: var(--light);
  mix-blend-mode: difference;
}
.js.is-intro .header,
.js.is-intro .header-bar { opacity: 0; }
.header.is-hidden,
.header-bar.is-hidden { translate: 0 -100%; }
.header__logo { grid-column: 1; justify-self: start; display: block; width: max(3.3rem, 24px); }
.header__logo img { width: 100%; height: auto; filter: url(#tint-sand); }
.header__nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: max(3.2rem, 20px);
  font-weight: 500;
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transition: opacity 0.6s var(--ease), visibility 0s;
}
.header__menu { grid-column: 3; justify-self: end; }
.header.is-away .header__nav {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s 0.3s;
}
.header__nav a[aria-current="page"] .roll > span,
.header__nav a[aria-current="page"] .roll > span::after {
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-offset: 0.18em;
}

.btn--icon {
  min-width: 0;
  width: max(6.9rem, 52px);
  height: max(4.5rem, 36px);
  padding: 0;
  cursor: pointer;
}
.burger {
  position: relative;
  z-index: 2;
  display: block;
  width: 1em;
  height: 1em;
  font-size: max(2.4rem, 20px);
}
.burger > span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.625em;
  height: max(1px, 0.0625em);
  margin: max(-0.5px, -0.03125em) 0 0 -0.3125em;
  background: currentColor;
  transition: translate 0.4s var(--ease) 0.3s, rotate 0.5s var(--ease), scale 0.5s var(--ease);
}
.burger > span:first-child { translate: 0 -0.0833em; }
.burger > span:last-child { translate: 0 0.0833em; }
.burger.is-cross > span { translate: 0 0; scale: 1.15 1; transition: translate 0.4s var(--ease), rotate 0.6s var(--ease) 0.25s, scale 0.6s var(--ease) 0.25s; }
.burger.is-cross > span:first-child { rotate: 45deg; }
.burger.is-cross > span:last-child { rotate: -45deg; }

/* ==========================================================================
   Menu
   ========================================================================== */
.menu {
  position: fixed;
  inset: 0;
  bottom: auto;
  height: 100vh;
  height: 100lvh;
  z-index: 150;
  color: var(--light);
  visibility: hidden;
}
.menu__gl,
.menu__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.menu__gl { display: none; }
.menu.has-gl .menu__gl { display: block; }
.menu.has-gl .menu__bg { display: none; }
.menu__bg { overflow: hidden; background: var(--ink); }
.menu__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.menu__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.28); }
.menu__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--gutter);
}
.menu__nav {
  position: absolute;
  top: 50%;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  translate: 0 -50%;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: max(4rem, 28px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.menu__link .roll { transition: opacity 0.5s var(--ease); }
@media (hover: hover) {
  .menu__nav:hover .menu__link:not(:hover) .roll { opacity: 0.45; }
}
.menu__link { position: relative; z-index: 0; }
.menu__card {
  position: absolute;
  z-index: -1;
  top: calc(50% - 1.1rem);
  left: 71%;
  width: max(20.8rem, 150px);
  aspect-ratio: 208 / 316;
  translate: 0 -50%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.menu__card.is-left { left: auto; right: 71%; }
.menu__card.is-on { pointer-events: auto; }
.menu__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
  clip-path: polygon(
    1.646rem 0, calc(100% - 1.646rem) 0, 100% 1.646rem,
    100% calc(100% - 1.646rem), calc(100% - 1.646rem) 100%,
    1.646rem 100%, 0 calc(100% - 1.646rem), 0 1.646rem
  );
}
.menu__photo img { width: 100%; height: 100%; object-fit: cover; }
.menu__foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 2.4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.4rem;
}
.menu__other {
  display: grid;
  grid-template-columns: 15.7rem auto;
  align-items: center;
  margin-bottom: 0.8rem;
}
.menu__label { text-transform: uppercase; }
.menu__chips { display: flex; gap: 1rem; }
.menu__social { display: flex; gap: 0.8rem; }
.menu__label,
.menu__social { font-size: var(--fs-label); line-height: 1; letter-spacing: -0.02em; }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader { display: none; }
.js.is-intro .loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) 7.2rem;
  background: var(--cover);
  color: var(--ink);
}
.loader__count {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.loader__bar {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 3.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  min-height: 56rem;
  overflow: hidden;
  background: var(--cover);
}
.hero__panel { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; }
.hero__title {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 0.9;
  text-transform: uppercase;
}
.hero__row {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
}
.hero__row > span { display: block; }
.hero__row--top { top: 9.6rem; }
.hero__row--bottom { bottom: 3.1rem; }
.hero__intro {
  position: absolute;
  left: 50%;
  bottom: calc(50% - 6.6rem);
  width: max(29.9rem, 220px);
  transform: translateX(-50%);
  text-align: center;
}

.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  background: #0d0c0a;
}
.hero__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: hidden;
}
.hero__frame.is-current { visibility: visible; }
.hero__frame--main { object-position: 47% 66%; scale: 1.18; transform-origin: 47% 62%; }
.js.is-intro .hero__media { width: 100%; }
.js.is-intro.is-return .hero__media { width: 50%; }
.js.is-return .loader { display: none; }

/* ==========================================================================
   Philosophy
   ========================================================================== */
.philosophy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  height: 100vh;
  min-height: 60rem;
  overflow: hidden;
  color: var(--light);
  background: #1d2117;
}
.philosophy__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); }
.philosophy__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: min(91.1rem, 100% - var(--gutter) * 2);
  text-align: center;
}
.philosophy__label { font-size: var(--fs-body-lg); }
.philosophy__quote {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Featured projects
   ========================================================================== */
.feature {
  position: relative;
  height: 100vh;
  min-height: 60rem;
  overflow: hidden;
  background: var(--page);
}
.feature__media {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.05%;
  overflow: hidden;
  background: var(--sand);
}
.feature--a .feature__media { left: 0; }
.feature--b .feature__media { right: 0; }
.feature--a .feature__img > img { object-position: 49% 55%; }
.feature--b .feature__img > img { object-position: 64% 0%; }
.feature__copy {
  position: absolute;
  top: calc(50% - 8.1rem);
  display: flex;
  flex-direction: column;
  gap: 5.2rem;
  width: 44rem;
}
.feature--a .feature__copy { left: calc(50% + 3.3rem); align-items: flex-start; }
.feature--b .feature__copy { right: calc(50% + 3.1rem); align-items: flex-end; text-align: right; }
.feature__title {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-transform: lowercase;
}
.title-rule {
  flex-shrink: 0;
  width: 1px;
  height: 0.77em;
  background: currentColor;
}
.title-rule--fine { height: 1.1em; transform: scaleX(0.5); }
.feature__detail { position: absolute; bottom: 3.2rem; width: 28.3rem; height: 39.55rem; }
.feature--a .feature__detail { right: var(--gutter); }
.feature--b .feature__detail { left: var(--gutter); }
.feature__detail img { scale: 1.25; }

/* ==========================================================================
   Projects
   ========================================================================== */
.projects {
  padding: 17.2rem var(--gutter);
  background: var(--sand);
}
.projects__title {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
}
.projects__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  align-items: start;
  margin-top: 8.6rem;
}
.projects__col { display: flex; flex-direction: column; gap: 4.4rem; will-change: transform; }
.projects__col--offset { margin-top: 22.1rem; }
.projects__more { display: flex; justify-content: center; margin-top: 7.2rem; }
.card { display: flex; flex-direction: column; gap: 1.2rem; }
.card__media {
  position: relative;
  display: block;
  height: 83rem;
  overflow: hidden;
  background: var(--sand);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.4s var(--ease);
}
.card:hover .card__media img { scale: 1.06; }
.card__view {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: max(10.2rem, 76px);
  height: max(5.6rem, 42px);
  translate: -50% -50%;
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
  background: rgba(247, 243, 237, 0.22);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  color: var(--light);
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.card:focus-visible .card__view { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .card__media { cursor: none; }
}
.card__caption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-h5);
  line-height: 1.37;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}
.card__caption > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.card__caption > span:last-child { flex-shrink: 0; white-space: nowrap; }
.card:focus-visible { outline: 1px solid var(--ink); outline-offset: 0.8rem; }

/* ==========================================================================
   Spaces
   ========================================================================== */
.spaces {
  position: relative;
  height: 100vh;
  min-height: 60rem;
  overflow: hidden;
  color: var(--light);
  background: #0e0c0a;
}
.spaces__stage { position: absolute; inset: 0; }
.spaces__bgs { position: absolute; inset: -8% 0; z-index: 0; }
.spaces__bgs::after { content: ""; position: absolute; inset: 0; z-index: 3; background: rgba(0, 0, 0, 0.5); }
.spaces__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.spaces__bg.is-current { opacity: 1; }
.spaces__lead,
.spaces__item {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.spaces__lead {
  position: absolute;
  left: 34.6rem;
  top: calc(50% - 2.1rem);
  width: 60rem;
}
.spaces__window {
  position: absolute;
  left: calc(50% + 1.4rem);
  top: calc(50% - 25.3rem);
  width: 62.9rem;
  height: 50.2rem;
  overflow: hidden;
}
.spaces__list {
  position: absolute;
  left: 0;
  top: 23.2rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  will-change: transform;
}

/* ==========================================================================
   About
   ========================================================================== */
.about { padding: 7.2rem var(--gutter) 17.2rem; }
.about__top {
  display: grid;
  grid-template-columns: 78.7rem 1fr;
  align-items: start;
}
.about__label { font-size: var(--fs-body-lg); line-height: 1.37; }
.about__text {
  max-width: 106.9rem;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-h3);
  line-height: 1.17;
  letter-spacing: -0.01em;
}
.about__indent { display: inline-block; width: 15.7rem; }
.about__body {
  position: relative;
  display: grid;
  grid-template-columns: 75.5rem 28.3rem 1fr;
  column-gap: 3.2rem;
  align-items: start;
  margin-top: 7.2rem;
}
.about__big { position: relative; height: 92.6rem; }
.about__small { height: 39.55rem; }
.about__small img { scale: 1.35; transform-origin: 40% 50%; }
.about__btn { justify-self: end; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  display: grid;
  grid-template-columns: 50.05% 1fr;
  height: 100vh;
  min-height: 60rem;
  background: var(--cta);
  color: var(--light);
}
.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta__title {
  width: 44.3rem;
  max-width: 100%;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.cta__text { margin-top: 3.8rem; }
.cta__content .btn { margin-top: 7rem; }
.cta__media { position: relative; overflow: hidden; background: var(--sand); }
.cta__img { right: -8%; }

/* ==========================================================================
   Press
   ========================================================================== */
.press {
  --pu: 0.1rem;
  padding: 5.2rem 0;
  overflow: hidden;
  background: var(--page);
}
.press__track { display: flex; width: max-content; }
.press__track.is-looping { animation: press-loop 70s linear infinite; }
.press__track:hover { animation-play-state: paused; }
.press__group {
  display: flex;
  flex: none;
  gap: calc(157 * var(--pu));
  padding-right: calc(157 * var(--pu));
}
.press__logo {
  position: relative;
  display: block;
  width: calc(214 * var(--pu));
  height: calc(99 * var(--pu));
  opacity: 0.4;
  transition: opacity 0.5s var(--ease);
}
.press__logo:hover,
.press__logo:focus-visible { opacity: 1; }
.press__logo img {
  position: absolute;
  left: calc(var(--x) * var(--pu));
  top: calc(var(--y) * var(--pu));
  width: calc(var(--w) * var(--pu));
  height: calc(var(--h) * var(--pu));
  max-width: none;
  filter: url(#tint-ink);
}
@keyframes press-loop { to { transform: translateX(-50%); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  height: 100vh;
  min-height: 64rem;
  overflow: hidden;
  background: var(--plum);
  color: var(--light);
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: -0.02em;
}
.footer__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 94.6rem;
  height: calc(50% - 2rem);
  overflow: hidden;
}
.footer__img img { object-position: 50% 89%; }
.footer__label { text-transform: uppercase; }
.footer__other {
  position: absolute;
  top: max(4.7rem, var(--header-h) + 1.2rem);
  left: calc(50% + 1.4rem);
  display: grid;
  grid-template-columns: 15.7rem auto;
  align-items: start;
}
.footer__other .footer__label { margin-top: 1rem; }
.footer__chips { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.btn--chip {
  min-width: 0;
  height: max(3.6rem, 28px);
  padding: 0 max(1.4rem, 10px);
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-h5);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.footer__info {
  position: absolute;
  top: calc(50% + 6.2rem);
  left: var(--gutter);
  right: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15.7rem 31.4rem 15.7rem max-content;
  row-gap: 4.4rem;
  align-items: start;
  text-transform: uppercase;
}
.footer__logo { grid-row: 1 / 3; grid-column: 1; width: max(8rem, 48px); }
.footer__logo img { width: 100%; height: auto; filter: url(#tint-light); }
.footer__label--nav { grid-column: 2; grid-row: 1; }
.footer__nav { grid-column: 3; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; }
.footer__label--contact { grid-column: 4; grid-row: 1; }
.footer__contact { grid-column: 5; grid-row: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.footer__label--address { grid-column: 4; grid-row: 2; }
.footer__address { grid-column: 5; grid-row: 2; }
.footer__contact,
.footer__address { white-space: nowrap; }
.footer__statement {
  position: absolute;
  left: calc(50% + 1.4rem);
  bottom: 3.2rem;
  width: 91.4rem;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -0.04em;
}
.footer__bottom {
  position: absolute;
  left: var(--gutter);
  bottom: 4.5rem;
  display: grid;
  grid-template-columns: 47.1rem auto;
}
.footer__copy { color: rgba(247, 243, 237, 0.4); }
.footer__social { display: flex; gap: 0.8rem; }

/* ==========================================================================
   Initial animation states
   ========================================================================== */
.js [data-reveal]:not([data-reveal="lines"]) { opacity: 0; }
.js [data-reveal="lines"] { visibility: hidden; }
.js.is-intro .hero__row > span,
.js.is-intro .hero__intro { opacity: 0; }

/* ==========================================================================
   Phones (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  html { font-size: calc(100vw / 37.5); }
  :root {
    --gutter: 1.6rem;
    --header-h: 5.6rem;
    --fs-label: 1.4rem;
    --fs-body: 1.6rem;
    --fs-body-lg: 1.8rem;
    --fs-h5: 1.6rem;
    --fs-h3: 2.4rem;
    --fs-lead: 2.8rem;
    --fs-display: 3.8rem;
    --chamfer: 1.4rem;
  }

  .header__nav { display: none; }
  .header__logo { width: 2.6rem; }
  .btn--icon { width: 4.6rem; height: 3.3rem; }
  .burger { font-size: 1.6rem; }

  .menu__nav {
    top: calc(50dvh - 4.8rem);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    font-size: var(--fs-display);
    line-height: 0.9;
    letter-spacing: -0.04em;
  }
  .menu__foot { bottom: calc(100lvh - 100dvh + 1.6rem); flex-direction: column; align-items: flex-start; gap: 5.6rem; }
  .menu__other { grid-template-columns: 1fr; row-gap: 1.2rem; margin-bottom: 0; }
  .menu__chips { flex-direction: column; align-items: flex-start; gap: 0.8rem; }

  .hero {
    --hero-panel: min(69.8rem, 100svh);
    position: sticky;
    top: calc(var(--hero-panel) * -1);
    height: calc(var(--hero-panel) + 100lvh);
    min-height: 0;
  }
  .hero__panel { width: 100%; height: var(--hero-panel); bottom: auto; }
  .hero__row--top { top: calc(var(--header-h) + 1.6rem); }
  .hero__row--bottom { bottom: 1.6rem; }
  .hero__intro { bottom: auto; top: calc(50% + var(--header-h) / 2); transform: translate(-50%, -50%); width: 28rem; }
  .hero__media { top: var(--hero-panel); width: 100%; }
  .hero__frame--main { object-position: 50% 0%; scale: 1.586; transform-origin: 43% 40%; }
  .js.is-intro .hero__media { top: 0; bottom: auto; width: 100%; height: 100svh; }
  .js.is-intro.is-return .hero__media { top: var(--hero-panel); bottom: 0; width: 100%; height: auto; }

  .philosophy__content { gap: 1.2rem; }

  .feature { display: flex; flex-direction: column; height: auto; min-height: 200svh; }
  .feature__media { position: relative; flex: none; width: 100%; height: 100svh; }
  .feature--a .feature__img > img { object-position: 50% 55%; scale: 1.37; transform-origin: 50% 55%; }
  .feature--b .feature__img > img { object-position: 74% 50%; }
  .feature__copy,
  .feature--a .feature__copy,
  .feature--b .feature__copy {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    align-items: flex-end;
    gap: 3.2rem;
    padding: 1.6rem var(--gutter) 3.2rem;
    text-align: right;
  }
  .feature__title { gap: 0.8rem; }
  .feature__detail,
  .feature--a .feature__detail,
  .feature--b .feature__detail {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: auto;
    height: auto;
    aspect-ratio: 343 / 479.3;
    margin: auto var(--gutter) 4rem;
  }

  .projects { padding: 4rem var(--gutter); }
  .projects__title { font-size: 3.2rem; line-height: 0.9; letter-spacing: -0.04em; }
  .projects__grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.6rem; margin-top: 3.2rem; }
  .projects__col { gap: 1.6rem; }
  .projects__col--offset { margin-top: 0; }
  .projects__more { margin-top: 3.2rem; }
  .card { gap: 0.8rem; }
  .card__media { height: auto; aspect-ratio: 343 / 347; }

  .spaces { height: 485lvh; min-height: 0; overflow: clip; }
  .spaces__stage { position: sticky; inset: auto; top: 0; height: 100lvh; overflow: hidden; }
  .spaces__lead,
  .spaces__item { font-size: 3.2rem; }
  .spaces__lead { left: var(--gutter); right: var(--gutter); top: calc(50% - 8.6rem); width: auto; }
  .spaces__window { left: var(--gutter); right: var(--gutter); top: calc(50% - 2.2rem); width: auto; height: 11.2rem; }
  .spaces__list { top: 0; gap: 1.2rem; }

  .about { padding: 4rem var(--gutter); }
  .about__top { grid-template-columns: 1fr; row-gap: 1.2rem; }
  .about__body { grid-template-columns: 15rem minmax(0, 1fr); row-gap: 3.2rem; column-gap: 1.6rem; margin-top: 3.2rem; }
  .about__big { grid-column: 1 / -1; height: auto; aspect-ratio: 343 / 420.7; }
  .about__small { height: auto; aspect-ratio: 150 / 209.6; }
  .about__btn { align-self: end; }

  .cta { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); height: auto; min-height: 100svh; }
  .cta__content { gap: 3.2rem; padding: 4rem var(--gutter); }
  .cta__title { font-size: 3.2rem; }
  .cta__text,
  .cta__content .btn { margin-top: 0; }

  .press { --pu: 0.04907rem; padding: 3.2rem var(--gutter); }
  .press__track { display: block; width: auto; }
  .press__track.is-looping { animation: none; }
  .press__group { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1.6rem 0; padding: 0; }
  .press__group[aria-hidden="true"] { display: none; }
  .press__logo { opacity: 1; }

  .footer {
    display: grid;
    grid-template-columns: 9.6rem minmax(0, 1fr);
    column-gap: 1.2rem;
    align-content: start;
    height: auto;
    min-height: 0;
    padding: 0 var(--gutter) 1.6rem;
  }
  .footer__img { position: relative; grid-column: 1 / -1; width: auto; height: 44.7rem; margin: 0 calc(var(--gutter) * -1); }
  .footer__img img { object-position: 50% 50%; }
  .footer__info { display: contents; }
  .footer__other,
  .footer__statement,
  .footer__bottom { position: static; grid-column: 1 / -1; width: auto; }
  .footer__logo { grid-column: 1 / -1; grid-row: 2; width: 5.6rem; margin-top: 4rem; }
  .footer__statement { grid-row: 3; margin-top: 5.6rem; }
  .footer__label--nav,
  .footer__nav { grid-row: 4; margin-top: 5.6rem; }
  .footer__label--contact,
  .footer__contact { grid-row: 5; margin-top: 2.4rem; }
  .footer__label--address,
  .footer__address { grid-row: 6; margin-top: 2.4rem; }
  .footer__label--nav,
  .footer__label--contact,
  .footer__label--address { grid-column: 1; }
  .footer__nav,
  .footer__contact,
  .footer__address { grid-column: 2; white-space: normal; }
  .footer__other { grid-row: 7; margin-top: 5.6rem; grid-template-columns: 1fr; row-gap: 1.2rem; }
  .footer__other .footer__label { margin-top: 0; }
  .footer__chips { gap: 0.8rem; }
  .footer__bottom { grid-row: 8; display: flex; flex-direction: column; gap: 1.6rem; margin-top: 5.6rem; }
  .footer__social { order: -1; }
}

/* ==========================================================================
   Tablets (768px–1024px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  html { font-size: calc(100vw / 102.4); }
  :root {
    --gutter: 2.4rem;
    --header-h: 6.4rem;
    --fs-label: max(1.6rem, 13px);
    --fs-body: max(1.6rem, 13px);
    --fs-body-lg: max(2rem, 15px);
    --fs-h5: max(2rem, 15px);
    --fs-h3: 3.2rem;
    --fs-lead: 4rem;
    --fs-display: 10.8rem;
  }

  .header__nav { display: none; }
  .header__logo { width: 3.3rem; }
  .btn--icon { width: 4.6rem; height: 4.2rem; }
  .burger { font-size: 1.6rem; }

  .menu__nav {
    top: calc(50dvh - 3.1rem);
    right: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    font-size: var(--fs-display);
    line-height: 0.9;
    letter-spacing: -0.04em;
  }
  .menu__foot { bottom: calc(100lvh - 100dvh + 2.4rem); }
  .menu__other { grid-template-columns: 1fr; row-gap: 1.2rem; margin-bottom: 0; }
  .menu__chips { flex-direction: column; align-items: flex-start; gap: 0.8rem; }

  .loader { padding-bottom: 5.6rem; }
  .loader__bar { bottom: 2.4rem; }

  .hero {
    --hero-panel: min(74.7rem, 100svh);
    position: sticky;
    top: calc(var(--hero-panel) * -1);
    height: calc(var(--hero-panel) + 68.3rem);
    min-height: 0;
  }
  .hero__panel { width: 100%; height: var(--hero-panel); bottom: auto; }
  .hero__row--top { top: calc(var(--header-h) + 2rem); }
  .hero__row--bottom { bottom: 2rem; }
  .hero__intro { bottom: auto; top: calc(50% + var(--header-h) / 2); transform: translate(-50%, -50%); width: 36rem; }
  .hero__media { top: var(--hero-panel); width: 100%; }
  .hero__frame--main { object-position: 50% 62%; scale: 1; }
  .js.is-intro .hero__media { top: 0; bottom: auto; width: 100%; height: 100svh; }
  .js.is-intro.is-return .hero__media { top: var(--hero-panel); bottom: 0; width: 100%; height: auto; }

  .philosophy__content { gap: 2rem; width: min(76rem, 100% - var(--gutter) * 2); }

  .feature {
    display: grid;
    grid-template-columns: var(--gutter) 52.02rem minmax(0, 1fr) var(--gutter);
    grid-template-rows: 100svh auto;
    height: auto;
    min-height: 0;
    padding-bottom: 5.2rem;
  }
  .feature__media { position: relative; grid-column: 1 / -1; grid-row: 1; width: 100%; height: 100%; }
  .feature--b .feature__img > img { object-position: 90% 50%; }
  .feature__copy,
  .feature--a .feature__copy,
  .feature--b .feature__copy {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    grid-column: 3;
    grid-row: 2;
    align-self: center;
    align-items: flex-end;
    width: auto;
    gap: 4rem;
    margin-top: 2rem;
    text-align: right;
  }
  .feature__title { gap: 1rem; }
  .feature__detail,
  .feature--a .feature__detail,
  .feature--b .feature__detail {
    --chamfer: 4.12rem;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: 72.7rem;
    margin-top: 2rem;
  }

  .projects { padding: 5.2rem var(--gutter); }
  .projects__grid { column-gap: 2rem; margin-top: 4rem; }
  .projects__col { gap: 2rem; }
  .projects__col--offset { margin-top: 0; }
  .projects__more { margin-top: 4rem; }
  .card { gap: 0.8rem; }
  .card__media { height: 53.75rem; }

  .spaces { height: 485lvh; min-height: 0; overflow: clip; }
  .spaces__stage { position: sticky; inset: auto; top: 0; height: 100lvh; overflow: hidden; }
  .spaces__lead,
  .spaces__item { font-size: 4.8rem; }
  .spaces__lead { left: var(--gutter); right: var(--gutter); top: calc(50% - 11.96rem); width: auto; }
  .spaces__window { left: var(--gutter); right: var(--gutter); top: calc(50% - 3.64rem); width: auto; height: 15.6rem; }
  .spaces__list { top: 0; gap: 1.2rem; }

  .about { padding: 5.2rem var(--gutter); }
  .about__top { grid-template-columns: 1fr; row-gap: 1.2rem; }
  .about__text { max-width: none; }
  .about__body { grid-template-columns: 64rem minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 2rem; margin-top: 5.2rem; }
  .about__big { --chamfer: 1.9rem; grid-row: 1 / 3; height: 78.5rem; }
  .about__small { --chamfer: 2.5rem; grid-column: 2; grid-row: 1; height: 44.16rem; }
  .about__btn { grid-column: 2; grid-row: 2; align-self: end; }

  .cta { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .cta__content { gap: 2rem; padding: 0 var(--gutter); }
  .cta__title { width: auto; font-size: 4.8rem; }
  .cta__text,
  .cta__content .btn { margin-top: 0; }

  .press { --pu: 0.06542rem; padding: 4rem var(--gutter); }
  .press__track { display: block; width: auto; }
  .press__track.is-looping { animation: none; }
  .press__group { display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; gap: 2.4rem 0; padding: 0; }
  .press__group[aria-hidden="true"] { display: none; }
  .press__logo { opacity: 1; }

  .footer {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    column-gap: 1.2rem;
    align-content: start;
    height: auto;
    min-height: 0;
    padding: 0 var(--gutter) 2rem;
  }
  .footer__img { position: relative; grid-column: 1 / -1; width: auto; height: 57rem; margin: 0 calc(var(--gutter) * -1); }
  .footer__img img { object-position: 50% 90%; }
  .footer__info { display: contents; }
  .footer__other,
  .footer__statement,
  .footer__bottom { position: static; grid-column: 1 / -1; width: auto; }
  .footer__logo { grid-column: 1 / -1; grid-row: 2; width: 8rem; margin-top: 5.2rem; }
  .footer__statement { grid-row: 3; margin-top: 5.2rem; }
  .footer__label--nav,
  .footer__nav { grid-row: 4; margin-top: 5.2rem; }
  .footer__label--contact,
  .footer__contact { grid-row: 5; margin-top: 2rem; }
  .footer__label--address,
  .footer__address { grid-row: 6; margin-top: 2rem; }
  .footer__label--nav,
  .footer__label--contact,
  .footer__label--address { grid-column: 1; }
  .footer__nav,
  .footer__contact,
  .footer__address { grid-column: 2; }
  .footer__other { grid-row: 7; margin-top: 5.2rem; grid-template-columns: 1fr; row-gap: 1.2rem; }
  .footer__other .footer__label { margin-top: 0; }
  .footer__chips { gap: 0.8rem; }
  .footer__bottom { grid-row: 8; display: flex; flex-direction: column; gap: 2rem; margin-top: 5.2rem; }
  .footer__social { order: -1; }
}

/* ==========================================================================
   Page transition
   ========================================================================== */
.page-cover {
  position: fixed;
  inset: 0;
  bottom: auto;
  height: 100vh;
  height: 100lvh;
  z-index: 300;
  display: none;
  background: var(--page);
}
.is-covered .page-cover,
.page-cover.is-on { display: block; }
.is-covered .page-cover { animation: cover-failsafe 0.6s 3s forwards; }
@keyframes cover-failsafe { to { opacity: 0; visibility: hidden; } }

/* ==========================================================================
   Projects page
   ========================================================================== */
.works { padding: calc(var(--header-h) + 3.2rem) var(--gutter) 37.2rem; }
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 3.2rem;
  row-gap: 4.4rem;
  align-items: start;
}
.works .card { will-change: transform; }
.works .card[hidden] { display: none; }
.works__empty {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 var(--gutter);
  pointer-events: none;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-h5);
  text-align: center;
}
.works__empty[hidden] { display: none; }

.works__bar {
  position: fixed;
  left: 50%;
  bottom: 2.7rem;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  translate: -50% 0;
}
.glass {
  --cut: max(0.9rem, 7px);
  color: var(--light);
  background: rgba(20, 20, 11, 0.34);
  -webkit-backdrop-filter: blur(50px);
          backdrop-filter: blur(50px);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.works__search,
.works__pick {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: max(5.6rem, 44px);
  margin: 0;
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.works__search { position: relative; width: max(25.45rem, 190px); cursor: text; transition: background-color 0.35s var(--ease); }
.works__search:focus-within { background: rgba(20, 20, 11, 0.5); }
.works__count,
.works__field {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  margin: 0;
  transition: opacity 0.35s var(--ease), translate 0.5s var(--ease);
}
.works__count { justify-content: center; gap: 0.4rem; pointer-events: none; }
.works__field { gap: 0.8rem; padding: 0 2rem; opacity: 0; translate: 1.2rem 0; }
.works__count img,
.works__field img { flex: none; width: max(2.3rem, 18px); height: auto; }
.works__search.is-on .works__count { opacity: 0; translate: -1.2rem 0; }
.works__search.is-on .works__field { opacity: 1; translate: none; }
.works__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: text;
  -webkit-appearance: none;
          appearance: none;
}
.works__input::placeholder { color: rgba(247, 243, 237, 0.56); }
.works__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.works__hits { flex: none; opacity: 0.56; font-variant-numeric: tabular-nums; }

.works__filters { display: flex; gap: 1rem; }
.works__drop { position: relative; flex-shrink: 0; }
.works__pick {
  gap: 0.7rem;
  justify-content: flex-start;
  min-width: max(10.2rem, 84px);
  padding: 0 1.3rem 0 2.8rem;
  cursor: pointer;
}
.works__drop[data-key="type"] .works__pick { min-width: max(11rem, 90px); }
.works__arrow { width: max(2.4rem, 20px); height: auto; transition: rotate 0.4s var(--ease); }
.works__drop.is-open .works__arrow { rotate: 180deg; }

.works__list {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0;
  padding: 1.4rem 0.6rem;
  list-style: none;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  translate: 0 0.8rem;
  transition: opacity 0.35s var(--ease), translate 0.35s var(--ease), visibility 0s 0.35s;
}
.works__drop.is-open .works__list {
  visibility: visible;
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.35s var(--ease), translate 0.35s var(--ease), visibility 0s;
}
.works__list li { display: flex; }
.works__list button {
  width: 100%;
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  cursor: pointer;
}
.works__list button[aria-pressed="true"] .roll > span,
.works__list button[aria-pressed="true"] .roll > span::after {
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-offset: 0.18em;
}

@media (max-width: 1024px) {
  .works__bar,
  .works__filters { gap: 0.8rem; }
  .works__list { bottom: calc(100% + 0.8rem); }
  .works__list.glass {
    background: rgba(20, 20, 11, 0.64);
    -webkit-backdrop-filter: blur(100px);
            backdrop-filter: blur(100px);
  }
}
@media (max-width: 767px) {
  .works { padding: calc(var(--header-h) + 0.8rem) var(--gutter) 16rem; }
  .works__grid { grid-template-columns: minmax(0, 1fr); row-gap: 3.2rem; }
  .works .card__media { height: auto; aspect-ratio: 343 / 477; }
  .works__bar { bottom: 1.6rem; flex-direction: column-reverse; align-items: stretch; width: 31.8rem; }
  .works__search { width: 100%; }
  .works__drop { flex: 1 1 0; min-width: 0; }
  .works__pick,
  .works__drop[data-key="type"] .works__pick { width: 100%; min-width: 0; justify-content: center; gap: 0.4rem; padding: 0 1.2rem; }
  .works__list { padding: 1.6rem 1.2rem; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .works { padding: calc(var(--header-h) + 2rem) var(--gutter) 12rem; }
  .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2rem; }
  .works .card__media { height: auto; aspect-ratio: 478 / 556; }
  .works__bar { bottom: 2.4rem; }
}

/* ==========================================================================
   Project detail
   ========================================================================== */
.pd-hero {
  position: relative;
  height: 100svh;
  min-height: 56rem;
  overflow: hidden;
  color: var(--light);
  background: var(--ink);
}
.pd-hero__media img { object-position: 50% 69%; }
.pd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.pd-hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5.6rem;
  margin: 0;
  translate: -50% -50%;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: max(10rem, 48px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-transform: lowercase;
}
.pd-hero__title .title-rule { width: max(1.5px, 0.15rem); height: 0.9em; }

.pd-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 59.7rem 28.3rem;
  gap: 3.2rem;
  padding: 7.2rem var(--gutter);
}
.pd-overview__title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: max(2.4rem, 18px);
  line-height: 1.37;
  letter-spacing: -0.01em;
}
.pd-facts { display: flex; flex-direction: column; gap: 4.4rem; margin: 0; }
.pd-facts__group,
.pd-facts--article { width: max(28.3rem, 230px); margin: 0; }
.pd-facts__group > div,
.pd-facts--article > div {
  display: flex;
  gap: 3.2rem;
  padding: 0.8rem 0;
  border-top: 0.5px solid var(--ink);
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: -0.02em;
}
.pd-facts dt { flex-shrink: 0; width: max(12.5rem, 96px); }
.pd-facts dd {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  color: rgba(20, 20, 11, 0.64);
}
.pd-facts--article dd { align-items: flex-start; gap: 0.8rem; color: var(--ink); }
.pd-article {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.4rem;
}
.pd-article::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
}
.pd-article .btn__arrow { margin-left: 0; transition: translate 0.6s var(--ease); }
@media (hover: hover) {
  .pd-article:hover::after { animation: line-redraw 0.9s var(--ease); }
  .pd-article:hover .btn__arrow { translate: 0.2rem -0.2rem; }
}
.pd-article:focus-visible::after { animation: line-redraw 0.9s var(--ease); }
@keyframes line-redraw {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  55% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.pd-gallery { padding: 0 var(--gutter); }
.gallery { columns: 3; column-gap: 0.8rem; }
.gallery__item {
  margin: 0 0 0.8rem;
  overflow: hidden;
  background: var(--sand);
  break-inside: avoid;
  cursor: zoom-in;
}
.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s var(--ease), scale 1.4s var(--ease);
}
.gallery.is-laid { position: relative; columns: auto; }
.gallery.is-laid .gallery__item { position: absolute; margin: 0; }
.gallery.is-laid img:not(.is-loaded) { opacity: 0; }
@media (hover: hover) {
  .gallery__item:hover img { scale: 1.04; }
}

.pd-next { padding: 17.2rem var(--gutter); }
.pd-next__title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
}
.pd-next__list { display: flex; justify-content: center; gap: 1.6rem; margin-top: 7.2rem; }
.pd-next__card { width: 48.2rem; }
.pd-next .card__media { height: 52.1rem; }
.pd-next .card__caption { font-size: max(2.4rem, 17px); }

@media (max-width: 767px) {
  .pd-hero__title { top: calc(50% + var(--header-h) / 2); gap: 0.8rem; font-size: var(--fs-display); }
  .pd-overview { grid-template-columns: minmax(0, 1fr); gap: 3.2rem; padding: 4rem var(--gutter) 3.2rem; }
  .pd-overview__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pd-facts { gap: 3.2rem; }
  .pd-facts__group,
  .pd-facts--article { width: 100%; }
  .pd-facts__group > div,
  .pd-facts--article > div { gap: 1.2rem; border-top-width: 1px; }
  .pd-facts dt { width: 12rem; }
  .pd-gallery { padding-bottom: 4rem; }
  .gallery { columns: 2; }
  .pd-next { padding: 0 var(--gutter) 4rem; }
  .pd-next__title { font-size: 3.2rem; }
  .pd-next__list { flex-direction: column; gap: 1.6rem; margin-top: 3.2rem; }
  .pd-next__card { width: 100%; }
  .pd-next .card__media { height: auto; aspect-ratio: 343 / 371; }
  .pd-next .card__caption { font-size: 2rem; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .pd-hero__title { top: calc(50% + var(--header-h) / 2); gap: 1.6rem; font-size: var(--fs-display); }
  .pd-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; padding: 5.2rem var(--gutter) 4rem; }
  .pd-overview__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pd-facts { gap: 4rem; }
  .pd-facts__group,
  .pd-facts--article { width: 100%; }
  .pd-facts__group > div,
  .pd-facts--article > div { gap: 1.2rem; border-top-width: 1px; }
  .pd-facts dt { width: 12.8rem; }
  .pd-next { padding: 5.2rem var(--gutter); }
  .pd-next__title { font-size: 4.8rem; }
  .pd-next__list { gap: 2rem; margin-top: 4rem; }
  .pd-next__card { flex: 1 1 0; width: auto; min-width: 0; }
  .pd-next .card__media { height: 55.6rem; }
  .pd-next .card__caption { font-size: var(--fs-h5); }
}

/* ==========================================================================
   Photo viewer
   ========================================================================== */
.gallery__item:focus-visible { outline: 1px solid var(--ink); outline-offset: 0.4rem; }
.viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  overscroll-behavior: contain;
}
.viewer__bg { position: absolute; inset: 0; background: rgba(247, 243, 237, 0.93); }
.viewer__stage { position: absolute; inset: 0; touch-action: none; cursor: grab; }
.viewer__stage:active { cursor: grabbing; }
.viewer__slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}
.viewer__img {
  width: auto;
  height: auto;
  max-width: min(92.4rem, calc(100vw - 2 * var(--gutter)));
  max-height: 74svh;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.viewer__nav .btn:disabled { opacity: 0.3; cursor: default; }
.viewer__close {
  position: absolute;
  top: 50%;
  left: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: max(5.55rem, 44px);
  height: max(5.6rem, 44px);
  translate: 0 -50%;
  cursor: pointer;
}
.viewer__close img { width: max(2.4rem, 20px); height: auto; transition: rotate 0.6s var(--ease); }
@media (hover: hover) {
  .viewer__close:hover img { rotate: 90deg; }
}
.viewer__rail { position: absolute; top: 0; right: 18.5rem; bottom: 0; width: 13.7rem; }
.viewer__thumbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6.2rem;
}
.viewer__thumb {
  display: block;
  flex-shrink: 0;
  padding: 0;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.5s var(--ease);
}
.viewer__thumb.is-current { opacity: 1; }
@media (hover: hover) {
  .viewer__thumb:hover { opacity: 1; }
}
.viewer__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.viewer__frame {
  position: absolute;
  top: 50%;
  left: 0;
  width: 13.7rem;
  height: 9.9rem;
  translate: 0 -50%;
  background: url("../assets/img/icons/thumb-frame.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.viewer__hint {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  margin: 0;
  translate: 0 -50%;
  color: rgba(20, 20, 11, 0.64);
  font-size: var(--fs-body-lg);
  line-height: 1.37;
  letter-spacing: -0.01em;
}
.viewer__nav { position: absolute; bottom: var(--gutter); left: 50%; display: flex; gap: 1.6rem; translate: -50% 0; }
.btn--square { min-width: 0; width: max(5.7rem, 40px); padding: 0; cursor: pointer; }
.btn__icon {
  position: relative;
  z-index: 2;
  width: max(1.6rem, 12px);
  height: max(1.6rem, 12px);
  background: currentColor;
  -webkit-mask: var(--arrow-right) center / contain no-repeat;
          mask: var(--arrow-right) center / contain no-repeat;
}
.btn__icon--prev { scale: -1 1; }

@media (max-width: 1024px) {
  .viewer__rail,
  .viewer__hint { display: none; }
  .viewer__close { top: var(--gutter); translate: none; }
}
@media (max-width: 767px) {
  .viewer__img { max-height: 70svh; }
}

/* ==========================================================================
   About page
   ========================================================================== */
.ab-hero {
  position: relative;
  height: 100svh;
  min-height: 56rem;
  overflow: hidden;
  color: var(--light);
  background: var(--ink);
}
.ab-hero__media img { object-position: 50% 60%; }
.ab-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.ab-hero__words { position: absolute; inset: 0; z-index: 1; }
.ab-hero__title,
.ab-hero__years {
  position: absolute;
  margin: 0;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: max(4rem, 24px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ab-hero__title { left: var(--gutter); top: calc(50% - 1.1em); }
.ab-hero__years { right: var(--gutter); top: calc(50% - 0.55em); text-align: right; }

.about--page .about__top { grid-template-columns: 94.4rem 1fr; }
.about--page .about__text { max-width: 91.2rem; margin: 0; font-size: var(--fs-lead); line-height: 1.1; }
.about--page .about__text + .about__text { margin-top: 1.2rem; }
.about--page .about__body { margin-top: 9rem; }
.about__note {
  justify-self: end;
  align-self: end;
  width: 44rem;
  max-width: 100%;
  margin: 0;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.team {
  --team-top: calc(var(--header-h) + 2.4rem);
  --team-gap: 3.2rem;
  padding: 0 var(--gutter) 17.2rem;
}
.team__label {
  position: sticky;
  top: var(--team-top);
  margin: 0 0 var(--team-gap);
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1.37;
  letter-spacing: -0.01em;
}
.team__list { display: grid; row-gap: 3.2rem; margin: 0; padding: 0; list-style: none; }
.team__member {
  position: sticky;
  top: calc(var(--team-top) + var(--fs-body-lg) * 1.37 + var(--team-gap));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 44rem;
  align-items: start;
  padding-top: 2.4rem;
  border-top: 1px solid var(--ink);
  background: var(--page);
}
.team__name {
  display: flex;
  margin: 0;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.team__num { flex: none; width: 5.6rem; }
.team__photo { width: 28.3rem; height: 39.55rem; }
.team__photo img {
  position: absolute;
  left: calc(var(--x) / 283 * 100%);
  top: calc(var(--y) / 395.49 * 100%);
  width: calc(var(--w) / 283 * 100%);
  height: auto;
  max-width: none;
}
.team__role,
.team__bio { margin: 0; font-size: var(--fs-body); line-height: 1.37; letter-spacing: -0.01em; }

@media (max-width: 767px) {
  .ab-hero { height: calc(100svh - 5.6rem); }
  .ab-hero__title,
  .ab-hero__years { left: var(--gutter); right: var(--gutter); font-size: 2.8rem; text-align: center; }
  .ab-hero__title { top: calc(50% - 0.3rem); }
  .ab-hero__years { top: calc(50% + 4rem); }
  .about--page .about__top { grid-template-columns: 1fr; row-gap: 1.6rem; }
  .about--page .about__body { row-gap: 1.6rem; margin-top: 3.2rem; }
  .about__note { grid-column: 2; width: auto; text-align: right; }
  .team { --team-top: calc(var(--header-h) + 1.6rem); --team-gap: 1.6rem; padding-bottom: 4rem; }
  .team__list { row-gap: 1.6rem; }
  .team__member {
    grid-template-columns: 15rem minmax(0, 1fr);
    column-gap: 1.6rem;
    row-gap: 1.6rem;
    padding-top: 1.6rem;
  }
  .team__name { grid-column: 1 / -1; }
  .team__num { width: auto; margin-right: 1.2rem; }
  .team__photo { grid-column: 1; grid-row: 2; width: 100%; height: auto; aspect-ratio: 150 / 209.6; }
  .team__role { grid-column: 2; grid-row: 2; }
  .team__bio { grid-column: 1 / -1; grid-row: 3; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .ab-hero__title,
  .ab-hero__years { left: var(--gutter); right: var(--gutter); text-align: center; }
  .ab-hero__title { top: calc(50% - 1.8rem); }
  .ab-hero__years { top: calc(50% + 3.8rem); }
  .about--page .about__top { grid-template-columns: 1fr; row-gap: 2rem; }
  .about--page .about__text { max-width: none; font-size: var(--fs-lead); }
  .about--page .about__body { grid-template-columns: 58rem minmax(0, 1fr); margin-top: 18.3rem; }
  .about--page .about__big { --chamfer: 1.72rem; height: 71.14rem; }
  .about--page .about__small { --chamfer: 2.24rem; width: 28.3rem; height: 39.55rem; }
  .about__note { grid-column: 2; grid-row: 2; width: auto; text-align: right; }
  .team { --team-top: calc(var(--header-h) + 2rem); --team-gap: 2rem; padding-top: 5.2rem; padding-bottom: 7.5rem; }
  .team__list { row-gap: 2.3rem; }
  .team__member {
    grid-template-columns: 24rem 18.6rem minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 2rem;
    row-gap: 1.2rem;
    padding-top: 2rem;
  }
  .team__name { grid-column: 1; grid-row: 1 / 3; }
  .team__num { width: auto; margin-right: 1.2rem; }
  .team__photo { --chamfer: 1.47rem; grid-column: 2; grid-row: 1 / 3; width: 18.6rem; height: 25.99rem; }
  .team__role { grid-column: 3; grid-row: 1; }
  .team__bio { grid-column: 3; grid-row: 2; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .press__track.is-looping { animation: none; }
  .card__media img { transition: none; }
  .gallery__item img { transition: none; }
  .spaces { height: 100vh; height: 100svh; min-height: 60rem; }
  .spaces__window { overflow: visible; }
}
html[data-cms-edit] .spaces { height: 100vh; min-height: 60rem; }
html[data-cms-edit] .spaces__window { overflow: visible; }
