/* =========================================================
   RESET & BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0b0b0b;
  color: #f0efef;
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;

  height: 58px;
  padding: 0 22px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  background: transparent;
  border-bottom: 1px solid rgba(243, 241, 241, 0.374);

  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);

  font: 500 12px/1 "DM Mono", monospace;
  text-transform: uppercase;

  transition:
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    -webkit-backdrop-filter 0.35s ease,
    border-color 0.35s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.96);
  border-bottom-color: rgba(243, 241, 241, 0.12);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  color: #f0efef;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.logo span {
  font-style: normal;
}

.nav nav {
  display: flex;
  gap: 28px;
  color: #f0efef;
}

.nav nav a {
  transition: opacity 0.2s ease;
}

.nav nav a:hover {
  opacity: 0.45;
}

.status {
  color: #f0efef;
  text-align: right;
}


/* =========================================================
   MOBILE MENU — HIDDEN ON DESKTOP
   ========================================================= */

.menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;

  height: 100svh;
  min-height: 620px;

  overflow: hidden;

  background: #09090d;
  color: #fff;
}

.hero-title {
  position: absolute;
  inset: 50% 15% auto;
  transform: translateY(-50%);
}

.hero-wordmark {
  --hero-logo-origin: 49.3%;
  position: relative;
  transform: scaleY(var(--wordmark-stretch, 1));
  transform-origin: var(--hero-logo-origin) 50%;
  user-select: none;
}

.hero-title h1 {
  margin: 0;
}

.hero-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-scene {
  position: absolute;
  inset: 0;
  isolation: isolate;
  pointer-events: none;
}

.hero-art,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-video {
  object-fit: cover;
  opacity: .52;
}

.hero-title p,
.hero-meta {
  transition: opacity .42s ease;
}

html.hero-opening {
  overflow: hidden;
  scrollbar-gutter: stable;
}

.hero-preparing .nav,
.hero-opening:not(.hero-focusing) .nav,
.hero-preparing .hero-wordmark,
.hero-preparing .hero-scene,
.hero.is-opening:not(.is-focusing) .hero-scene {
  visibility: hidden;
}

.hero-preparing .hero-meta,
.hero-preparing .hero-title p,
.hero.is-opening:not(.is-focusing) .hero-meta,
.hero.is-opening:not(.is-focusing) .hero-title p {
  opacity: 0;
  transition: none;
}

.hero.is-opening .hero-wordmark h1 {
  transform-origin: var(--hero-logo-origin) 50%;
  animation: hero-wordmark-open .94s both;
}

.hero-focusing {
  --hero-lens-delay: .63s;
  --hero-lens-duration: .76s;
}

.hero.is-focusing .hero-scene {
  animation:
    hero-scene-arrive .54s ease-out both,
    hero-lens-pull var(--hero-lens-duration) ease-in-out var(--hero-lens-delay) forwards;
}

.hero-focusing .nav,
.hero.is-focusing .hero-meta,
.hero.is-focusing .hero-title p {
  animation:
    hero-scene-arrive .48s ease-out .12s both,
    hero-lens-pull var(--hero-lens-duration) ease-in-out var(--hero-lens-delay) forwards;
}

.hero.is-opening .hero-wordmark::after {
  content: "";
  position: absolute;
  top: calc(50% - .5px);
  left: 0;
  right: 0;
  height: 1px;
  background: #f5f3f0;
  transform-origin: var(--hero-logo-origin) 50%;
  pointer-events: none;
  animation: hero-opening-line .94s both;
}

@keyframes hero-opening-line {
  0% { opacity: 0; transform: scaleX(.012); }
  9% { opacity: .9; }
  43% { opacity: .9; transform: scaleX(1); animation-timing-function: ease-out; }
  64%, 100% { opacity: 0; transform: scaleX(1); }
}

@keyframes hero-wordmark-open {
  0%, 39% { opacity: 0; transform: scaleY(.012); }
  50% { opacity: 1; transform: scaleY(.025); animation-timing-function: cubic-bezier(.22, .75, .29, 1); }
  100% { opacity: 1; transform: scaleY(1); }
}

@keyframes hero-scene-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hero-lens-pull {
  0%, 100% { filter: blur(0); }
  30% { filter: blur(3.1px); animation-timing-function: cubic-bezier(.2, .66, .33, 1); }
}

.hero-art {
  --hero-outline-bleed: 20px;
  inset: calc(-1 * var(--hero-outline-bleed));
  width: calc(100% + 2 * var(--hero-outline-bleed));
  height: calc(100% + 2 * var(--hero-outline-bleed));
  opacity: 0;
  transition: opacity .35s ease;
}

.hero.has-video-texture:not(.is-opening) .hero-art {
  opacity: 1;
}

.hero.has-video-texture:not(.is-opening) .hero-wordmark img {
  opacity: 0;
  transition: opacity 0s .35s;
}

.hero.is-focusing.has-video-texture .hero-art {
  opacity: 1;
  transition: opacity .64s ease .06s;
}

.hero.is-focusing.has-video-texture .hero-wordmark img {
  opacity: 0;
  transition: opacity .62s ease .07s;
}

.hero-glass {
  --hero-frost-blur: 12px;
  --hero-glass-mask: radial-gradient(
    ellipse 55% 43% at 50% 50%,
    transparent 0% 26%,
    rgba(0, 0, 0, .17) 47%,
    rgba(0, 0, 0, .64) 76%,
    #000 100%
  );
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, #e5eeff14, #e9edf807 52%, #bac9ef0d);
  -webkit-backdrop-filter: blur(var(--hero-frost-blur)) saturate(.78) brightness(1.04);
  backdrop-filter: blur(var(--hero-frost-blur)) saturate(.78) brightness(1.04);
  -webkit-mask-image: var(--hero-glass-mask);
  mask-image: var(--hero-glass-mask);
}

@media (hover: none), (pointer: coarse) {
  .hero-glass {
    --hero-frost-blur: 6px;
  }
}

.hero-title,
.hero-meta {
  z-index: 3;
}

.hero-scene::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #09090d85, transparent 31%, transparent 64%, #09090d84);
}

.hero-grain {
  position: absolute;
  z-index: 4;
  inset: -24px;
  pointer-events: none;
  background: url("assets/global/hero-film-grain.png?v=2") repeat;
  opacity: .39;
  transition: opacity .45s ease;
}

.hero-preparing .hero-grain,
.hero.is-opening:not(.is-focusing) .hero-grain {
  opacity: 0;
  transition: none;
}

.hero-meta {
  position: absolute;
  inset: auto 2.5% calc(26px + env(safe-area-inset-bottom, 0px));
  text-align: right;
  font: 10px "DM Mono", monospace;
  letter-spacing: .02em;
}

.hero-title p {
  position: absolute;
  inset: calc(100% + clamp(18px, 2.5vw, 35px)) 0 auto;
  margin: 0;
  color: #f5f3f0;
  font: 400 12px/1.4 "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-align: center;
}


/* =========================================================
   GLOBAL SECTIONS
   ========================================================= */

.section {
  padding: 130px 22px;
}

.eyebrow,
.hint {
  font: 11px "DM Mono", monospace;
  text-transform: uppercase;
}

.hint {
  color: #777;
}

.dark-section {
  background: #0b0b0b;
  color: #f0efef;
}

.section-head {
  display: flex;
  justify-content: space-between;

  padding-top: 12px;
  margin-bottom: 46px;

  border-top: 1px solid currentColor;
}


/* =========================================================
   ABOUT
   ========================================================= */

.statement {
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr);
  gap: 5vw;
}

.statement-copy {
  max-width: 900px;
}

.statement-copy p {
  margin: 0 0 42px;

  font-size: clamp(24px, 2.8vw, 20px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.statement-copy .lead {
  max-width: 850px;

  margin-bottom: 64px;

  font-size: clamp(32px, 4vw, 29px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.statement-copy .endline {
 max-width: 850px;

  margin-bottom: 64px;

  font-size: clamp(32px, 4vw, 29px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.projects {
  padding-top: 60px;

  background: #f3f1ed;
  color: #111;
}

.projects .section-head {
  border-color: #111;
}

.projects .hint {
  color: #777;
}

.project-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px 22px;
}

.project {
  min-width: 0;
}


/* Normal project */

.project-media {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: #d8d5cf;
}


/* Wide project */

.project.wide {
  grid-column: 1 / -1;
}

.project.wide .project-media {
  aspect-ratio: 21 / 9;
}


/* Project media */

.project-media img,
.project-media video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: opacity 0.45s ease;
}

.project-media img {
  z-index: 2;
  opacity: 1;
}

.project-media video {
  z-index: 1;
  opacity: 0;
}


/* Hover video */

.project.is-previewing .project-media img {
  opacity: 0;
}

.project.is-previewing .project-media video {
  opacity: 1;
}


/* Project information */

.project-info {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: baseline;

  padding-top: 13px;
  margin-top: 10px;

  border-top: 1px solid #111;

  font: 10px "DM Mono", monospace;
}

.project-info h2 {
  margin: 0;

  font: 500 clamp(20px, 3vw, 30px) / 1 Inter, sans-serif;
  letter-spacing: -0.05em;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services {
  padding-top: 90px;
}

.service-list {
  margin-top: 50px;

  border-top: 1px solid rgba(240, 239, 239, 0.45);
}

.service {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: baseline;

  padding: 18px 0;

  border-bottom: 1px solid rgba(240, 239, 239, 0.45);
}

.service span,
.service em {
  color: #777;

  font: 10px "DM Mono", monospace;
  font-style: normal;
}

.service strong {
  font-size: clamp(30px, 5vw, 70px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.service:hover strong {
  font-style: italic;
}


/* =========================================================
   HOMEPAGE CONTACT
   ========================================================= */

.contact-section {
  padding-top: 90px;
  padding-bottom: 140px;
}

.contact-section-copy {
  margin-top: 80px;
}

.contact-email {
  display: inline-block;

  padding-bottom: 8px;

  border-bottom: 1px solid rgba(240, 239, 239, 0.7);

  font: 400 clamp(18px, 2.5vw, 36px) / 1 "DM Mono", monospace;
  letter-spacing: -0.04em;

  transition: opacity 0.2s ease;
}

.contact-email:hover {
  opacity: 0.5;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 22px;

  border-top: 1px solid rgba(240, 239, 239, 0.45);

  font: 10px "DM Mono", monospace;
}

.instagram-link {
  transition: opacity 0.2s ease;
}

.instagram-link:hover {
  opacity: 0.5;
}


/* =========================================================
   PROJECT DETAIL / INNER PAGES
   ========================================================= */

.page {
  min-height: 100svh;
  padding-top: 58px;
}

.page-intro {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 5vw;

  padding: 120px 22px 80px;
}

.page-intro h1 {
  margin: 0;

  font-size: clamp(64px, 12vw, 170px);
  line-height: 0.82;
  letter-spacing: -0.075em;
  font-weight: 500;
}

.page-intro p {
  max-width: 780px;
  margin: 0;

  font-size: clamp(22px, 3.5vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.detail-content {
  padding: 0 22px 120px;
}

/* =========================================================
   PROJECT MEDIA GRID
   ========================================================= */

/* A compact lead image, paired details and quiet moving images. */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 17vw, 260px);
  gap: 12px;
  max-width: none;
  width: 100%;
  margin: 0 auto 64px;
}

.detail-grid > .detail-media {
  display: block;
  grid-column: span 4;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  background: #141414;
}

.detail-grid > .detail-media:first-child {
  grid-column: span 8;
  grid-row: span 2;
}

.detail-grid > video.detail-media {
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.detail-grid--single {
  display: block;
  max-width: none;
}

.detail-grid--single > .detail-media:first-child {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 620px;
}

@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(120px, 26vw, 190px);
    gap: 8px;
    margin-bottom: 40px;
  }
  .detail-grid > .detail-media { grid-column: span 1; }
  .detail-grid > .detail-media:first-child {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
  .detail-grid > .detail-media:last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* =========================================================
   PROJECT DETAIL TEXT
   ========================================================= */

.detail-text {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 5vw;

  padding: 80px 0;

  border-top: 1px solid rgba(240, 239, 239, 0.35);
}

.detail-text h2 {
  margin: 0;

  font: 11px "DM Mono", monospace;
  text-transform: uppercase;
}

.detail-text p {
  max-width: 850px;
  margin: 0 0 28px;

  font-size: clamp(18px, 2.4vw, 32px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}


/* =========================================================
   INVOLVEMENT
   ========================================================= */

.involvement {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 5vw;

  padding-bottom: 120px;
}

.involvement-list {
  border-top: 1px solid rgba(240, 239, 239, 0.45);
}

.involvement-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;

  padding: 16px 0;

  border-bottom: 1px solid rgba(240, 239, 239, 0.45);

  font: 11px "DM Mono", monospace;
  text-transform: uppercase;
}


/* =========================================================
   BACK LINK
   ========================================================= */

.back-link {
  display: inline-block;

  margin: 0 22px 70px;

  font: 11px "DM Mono", monospace;
  text-transform: uppercase;

  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.5;
}


/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
  min-height: 100svh;

  display: flex;
  flex-direction: column;
}

.contact-main {
  flex: 1;

  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 5vw;

  padding: 150px 22px 80px;
}

.contact-main h1 {
  margin: 0;

  font-size: clamp(72px, 15vw, 190px);
  line-height: 0.8;
  letter-spacing: -0.08em;
  font-weight: 500;
}

.contact-copy p {
  max-width: 700px;

  margin: 0 0 55px;

  font-size: clamp(22px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.email-link {
  display: inline-block;

  padding-bottom: 8px;

  border-bottom: 1px solid #f0efef;

  font: 400 clamp(18px, 2.5vw, 36px) / 1 "DM Mono", monospace;
  letter-spacing: -0.04em;

  transition: opacity 0.2s ease;
}

.email-link:hover {
  opacity: 0.55;
}


/* =========================================================
   MOBILE — 768px
   ========================================================= */

@media (max-width: 768px) {

  /* -----------------------------------------
     Navigation
     ----------------------------------------- */

  .nav {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;
  }

  .nav > nav:not(.mobile-menu) {
    display: none;
  }

  .nav .status {
    display: none;
  }

  .nav .logo {
    position: relative;
    z-index: 3001;
  }


  /* -----------------------------------------
     Mobile hamburger
     ----------------------------------------- */

  .menu-toggle {
    position: relative;
    z-index: 3001;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;

    gap: 6px;

    width: 32px;
    height: 32px;

    padding: 0;
    margin: 0;

    border: 0;
    outline: none;

    background: transparent;

    cursor: pointer;
  }

  .menu-toggle span {
    display: block;

    width: 24px;
    height: 1px;

    background: #fff;

    transform-origin: center;

    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  body.menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }


  /* -----------------------------------------
     Mobile menu
     ----------------------------------------- */

  .mobile-menu {
    position: fixed;
    inset: 0;

    z-index: 3000;

    display: flex;

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 110px 20px 40px;

    background: #111;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .mobile-menu a {
    display: block;

    width: auto;

    margin: 0;
    padding: 8px 0;

    color: #fff;

    font-family: inherit;
    font-size: clamp(36px, 10vw, 72px);
    line-height: 1;
    letter-spacing: -0.04em;

    text-decoration: none;

    opacity: 0;
    transform: translateY(15px);

    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.menu-open .mobile-menu a {
    opacity: 1;
    transform: translateY(0);
  }

  body.menu-open .mobile-menu a:nth-child(1) {
    transition-delay: 0.05s;
  }

  body.menu-open .mobile-menu a:nth-child(2) {
    transition-delay: 0.1s;
  }

  body.menu-open .mobile-menu a:nth-child(3) {
    transition-delay: 0.15s;
  }

  body.menu-open .mobile-menu a:nth-child(4) {
    transition-delay: 0.2s;
  }


  /* -----------------------------------------
     General sections
     ----------------------------------------- */

  .section {
    padding: 85px 16px;
  }


  /* -----------------------------------------
     About
     ----------------------------------------- */

  .statement {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .statement-copy {
    max-width: 100%;
  }

  .statement-copy p {
    margin-bottom: 32px;

    font-size: 21px;
    line-height: 1.12;
    letter-spacing: -0.025em;
  }

  .statement-copy .lead {
    margin-bottom: 48px;

    font-size: 30px;
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .statement-copy .endline {
       margin-bottom: 48px;

    font-size: 30px;
    line-height: 1.02;
    letter-spacing: -0.04em;

  }


  /* -----------------------------------------
     Projects
     ----------------------------------------- */

  .project-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .project.wide {
    grid-column: auto;
  }

  .project-media,
  .project.wide .project-media {
    aspect-ratio: 16 / 10;
  }

  .project-info {
    grid-template-columns: 30px 1fr;
  }

  .project-info span:last-child {
    display: none;
  }


  /* -----------------------------------------
     Services
     ----------------------------------------- */

  .service {
    grid-template-columns: 36px 1fr;
  }

  .service em {
    display: none;
  }


  /* -----------------------------------------
     Footer
     ----------------------------------------- */

  footer {
    gap: 15px;
    flex-wrap: wrap;
  }

  footer span:nth-child(2) {
    display: none;
  }

  .instagram-link {
    margin-left: auto;
  }


  /* -----------------------------------------
     Inner pages
     ----------------------------------------- */

  .page-intro,
  .contact-main,
  .detail-text,
  .involvement {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-intro {
    padding: 100px 16px 60px;
  }

  .page-intro h1 {
    font-size: clamp(64px, 20vw, 120px);
  }

  .detail-content {
    padding: 0 16px 80px;
  }



  .detail-media.wide {
    grid-column: auto;
  }

  .detail-text {
    padding: 60px 0;
  }

  .involvement {
    padding-bottom: 80px;
  }


  /* -----------------------------------------
     Contact page
     ----------------------------------------- */

  .contact-main {
    padding: 110px 16px 60px;
  }

  .contact-main h1 {
    font-size: clamp(72px, 23vw, 150px);
  }

  .email-link {
    font-size: 20px;
  }

  .contact-email {
    font-size: 22px;
  }


  /* -----------------------------------------
     Back link
     ----------------------------------------- */

  .back-link {
    margin-left: 16px;
    margin-right: 16px;
  }
}


/* =========================================================
   SMALL MOBILE — 700px
   ========================================================= */

@media (max-width: 700px) {

  .nav {
    height: 52px;
  }



  .detail-media.wide {
    grid-column: auto;
  }
}


.instagram-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #fff;
  transition: opacity 0.2s ease;
}

.instagram-link:hover {
  opacity: 0.5;
}

.instagram-icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.instagram-icon circle:last-child {
  fill: currentColor;
  stroke: none;
}
/* Responsive finishing: shared across the homepage, projects and contact. */
[hidden] { display: none !important; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
main, section, .page-intro > div, .contact-main > div, .detail-text > div { min-width: 0; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.page-intro h1 { overflow-wrap: anywhere; }
.page-intro p { margin-top: 28px; line-height: 1.12; }
.contact-copy p { margin-top: 36px; }
.email-link, .contact-email { max-width: 100%; overflow-wrap: anywhere; line-height: 1.3; }
.involvement-item { grid-template-columns: 28px minmax(0, 1fr); }
.involvement-item span:last-child { text-align: right; }
.mobile-menu { overflow-y: auto; overscroll-behavior: contain; }

@media (min-width: 769px) and (max-width: 1100px) {
  .page-intro h1 { font-size: clamp(60px, 9vw, 110px); }
  .project-info { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
  .project-info > span:last-child { grid-column: 2; }
  .nav nav { gap: 20px; }
}

@media (max-width: 768px) {
  .nav { height: calc(64px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 16px 0; }
  .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .menu-toggle { width: 44px; height: 44px; padding: 10px; }
  .nav .menu-toggle:focus-visible { outline: 2px solid white; }
  .mobile-menu { height: 100dvh; padding: calc(90px + env(safe-area-inset-top, 0px)) 24px calc(32px + env(safe-area-inset-bottom, 0px)); gap: 12px; }
  .mobile-menu a { min-height: 48px; }
  .hero { height: 100svh; min-height: 480px; }
  .hero-meta { left: 16px; right: 16px; }
  .hero-title p { font-size: 11px; }
  .section { padding: 64px 16px; }
  .section-head { gap: 16px; margin-bottom: 30px; }
  .section-head .hint { display: none; }
  .project-grid { gap: 36px; }
  .project-info { gap: 8px; grid-template-columns: 22px minmax(0, 1fr); }
  .project-info h2 { font-size: clamp(22px, 6.2vw, 34px); line-height: 1.08; overflow-wrap: anywhere; }
  .service { grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 20px 0; }
  .service strong { font-size: clamp(26px, 7.4vw, 48px); line-height: 1.08; overflow-wrap: anywhere; }
  .contact-section-copy { margin-top: 36px; }
  .contact-email, .email-link { font-size: clamp(16px, 4.7vw, 24px); }
  .page { padding-top: calc(64px + env(safe-area-inset-top, 0px)); }
  .page-intro { padding: 48px 16px 36px; gap: 24px; }
  .page-intro h1 { font-size: clamp(40px, 12vw, 76px); line-height: .98; letter-spacing: -.06em; }
  .page-intro p { font-size: clamp(20px, 5.2vw, 28px); line-height: 1.2; margin-top: 22px; }
  .detail-content { padding: 0 16px 32px; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 32vw, 230px); gap: 8px; }
  .detail-grid > .detail-media:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .detail-grid > .detail-media:last-child:nth-child(even) { grid-column: 1 / -1; }
  .detail-grid--single > .detail-media:first-child { height: auto; max-height: none; }
  .detail-text { padding: 36px 0; gap: 24px; }
  .detail-text p { font-size: 19px; line-height: 1.4; letter-spacing: -.025em; margin-bottom: 22px; }
  .detail-text p:last-child { margin-bottom: 0; }
  .involvement { padding-bottom: 32px; gap: 24px; }
  .involvement-item { line-height: 1.5; padding: 14px 0; }
  .back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 32px; }
  .contact-main { padding: calc(112px + env(safe-area-inset-top, 0px)) 16px 48px; gap: 32px; }
  .contact-main h1 { font-size: clamp(64px, 21vw, 120px); line-height: .9; }
  .contact-copy p { margin: 28px 0; font-size: 24px; line-height: 1.2; }
  footer { padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); gap: 12px; }
  footer a { display: inline-flex; min-height: 44px; align-items: center; }
  .instagram-link { width: 44px; height: 44px; }
}

@media (max-height: 500px) and (orientation: landscape) and (max-width: 1000px) {
  .hero { min-height: 360px; }
  .hero-meta { display: none; }
  .mobile-menu { justify-content: flex-start; gap: 4px; }
  .mobile-menu a { font-size: 30px; padding: 4px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Keep the close button above the full-screen menu. */
@media (max-width: 768px) {
  .nav { z-index: 4000; }
  body.menu-open .nav { background: #111; border-bottom-color: transparent; }
}

/* About: clear editorial hierarchy and a shared closing line. */
.statement { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px 6vw; }
.statement-heading h2 { max-width: 580px; margin: 28px 0 0; font-size: clamp(32px, 4vw, 60px); line-height: 1.03; letter-spacing: -.055em; font-weight: 500; }
.statement .statement-copy { max-width: 620px; }
.statement .statement-copy p { font-size: 22px; line-height: 1.4; letter-spacing: -.025em; margin: 0 0 28px; }
.statement .statement-copy p:last-child { margin-bottom: 0; }
.statement-closing { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 32px; border-top: 1px solid rgba(240,239,239,.45); font-size: clamp(30px, 4.2vw, 64px); line-height: 1.06; letter-spacing: -.045em; }
@media (max-width: 768px) {
 .statement { grid-template-columns: 1fr; gap: 32px; }
 .statement-heading h2 { margin-top: 22px; font-size: clamp(32px, 8vw, 48px); }
 .statement .statement-copy p { font-size: 20px; line-height: 1.4; margin-bottom: 24px; }
 .statement-closing { font-size: clamp(29px, 7.5vw, 44px); padding-top: 26px; }
}


/* Project galleries: formats follow the content, rather than fixed-height tiles. */
.detail-grid.project-gallery {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  gap: clamp(10px, 1.2vw, 18px);
  margin: 0 auto 56px;
}
.gallery-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  align-items: start;
}
.gallery-item { margin: 0; min-width: 0; overflow: hidden; background: #141414; aspect-ratio: 16 / 9; }
.gallery-item > .detail-media {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}
.gallery-item > video.detail-media { pointer-events: none; }
.gallery-item--crowd > .detail-media { object-position: center bottom; }
.gallery-item--five-four { aspect-ratio: 5 / 4; }
.gallery-item--four-three { aspect-ratio: 4 / 3; }
.gallery-item--portrait { aspect-ratio: 2 / 3; }
.gallery-item--photo { aspect-ratio: 3 / 2; }
.gallery-item--panorama { aspect-ratio: 2 / 1; }
.gallery-row--lead { grid-template-columns: minmax(0, 1fr); }
.gallery-row--installation { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.gallery-row--arena { grid-template-columns: minmax(0, 15fr) minmax(0, 8fr); }
.gallery-row--single { grid-template-columns: minmax(0, 1fr); }
.gallery-row--single .gallery-item { aspect-ratio: 3 / 2; max-height: 760px; }

@media (max-width: 768px) {
  .detail-grid.project-gallery { gap: 10px; margin-bottom: 36px; }
  .gallery-row { gap: 10px; }
  .gallery-row--lead .gallery-item { aspect-ratio: 3 / 2; }
  /* Landscape films need enough room on a phone to keep the action readable. */
  .project-gallery--ksawery .gallery-row:first-child,
  .project-gallery--vip-dinners .gallery-row:first-child { grid-template-columns: minmax(0, 1fr); }
  .gallery-row--single .gallery-item { max-height: none; }
}
@media (max-width: 420px) {
  .project-gallery--spreey .gallery-row--pair { grid-template-columns: minmax(0, 1fr); }
}

.logo { white-space: nowrap; }
.logo-descriptor { margin-left: 8px; opacity: .7; font-size: 10px; letter-spacing: .025em; }
@media (max-width: 768px) {
 .logo-descriptor { margin-left: 6px; font-size: 9px; }
}

@media (min-width: 769px) and (max-width: 1100px) {
 .logo-descriptor { font-size: 8px; margin-left: 5px; }
 .nav { grid-template-columns: auto 1fr auto; column-gap: 18px; }
 .nav > nav { justify-content: center; gap: 16px; }
}
@media (max-width: 420px) {
 .logo-descriptor { font-size: 7px; margin-left: 3px; letter-spacing: 0; }
}

