:root {
  --ink: #181818;
  --paper: #efefef;
  --rust: #bd3211;
  --mist: #c8c8c8;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  --pad: clamp(1.1rem, 3vw, 2.4rem);
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.5;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; }

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.4rem;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  z-index: 5;
}

.skip:focus { transform: none; }

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

.top {
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: var(--ink);
  color: #fff;
  pointer-events: none;
}

.top a { pointer-events: auto; text-decoration: none; }

.top-name {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.menu-btn {
  display: none;
  position: relative;
  z-index: 2;
  margin-left: auto;
  padding: 0.2rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
}

.menu-btn .when-open { display: none; }

.menu-btn[aria-expanded="true"] .when-closed { display: none; }

.menu-btn[aria-expanded="true"] .when-open { display: inline; }

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.bio-links a:hover,
.bio-links a:focus-visible { color: var(--rust); }

.hero {
  height: 100vh;
  min-height: 32rem;
  background: #000;
}

.hero-frame {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 8%;
  background: #000;
  transform-origin: 50% 8%;
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 22vh var(--pad) 8vh;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 46%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  pointer-events: none;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.hero-copy p {
  margin: 0.85rem 0 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

.bio {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18vh var(--pad) 12vh;
  max-width: 46rem;
  margin-left: auto;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d6d6d;
  line-height: 0.95;
}

.bio-text {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 300;
}

.bio-text .word { opacity: 0.18; }

.bio-links {
  margin: 2.4rem 0 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.bio-links a { color: var(--rust); text-decoration: none; }

.bio-links .bar { color: var(--rust); margin: 0 0.55rem; }

.clients {
  background: var(--rust);
  color: #fff;
  padding: 14vh var(--pad) 12vh;
}

.clients h2 {
  margin: 0 0 2.5rem;
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem 1rem;
  margin: 0 0 3.5rem;
  text-align: center;
}

.featured .brand {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 2.3rem);
  line-height: 1.1;
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  line-height: 2;
}

.block { background: var(--paper); color: var(--ink); }

.opener {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--rust);
  color: #fff;
  text-align: center;
  padding: var(--pad);
}

.opener h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 7.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 0.9;
}

.opener-num {
  margin: 0 0 0.6rem;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
}

.h-wrap {
  height: 100vh;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  align-items: center;
}

.h-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 78vh;
  width: max-content;
  padding: 0 6vw;
}

.h-track figure { margin: 0; height: 100%; }

.h-track img {
  height: 100%;
  width: auto;
  max-width: none;
}

.studio-grid,
.clip-grid {
  display: grid;
  gap: 0.75rem;
  padding: 4vh var(--pad) 12vh;
  background: var(--paper);
}

.studio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.clip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.studio-grid figure,
.clip-grid figure { margin: 0; }

.studio-grid img,
.clip-grid img { width: 100%; height: auto; }

.tour-teaser {
  background: var(--paper);
  color: var(--ink);
  padding: 4vh var(--pad) 10vh;
}

.teaser-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 0 auto 1.6rem; max-width: 64rem; }
.teaser-photos > figure { margin: 0; }
.teaser-photos > figure:first-child { grid-column: 1 / -1; max-width: 28rem; justify-self: center; }
@media (max-width: 700px) { .teaser-photos { grid-template-columns: 1fr; } }

.tour-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.tour-peek,
.tour-tile {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tour-peek img,
.tour-tile img { width: 100%; height: auto; }

.tour-tile img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tour-title,
.view-all {
  display: block;
  margin-top: 0.45rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.tour-view {
  display: block;
  margin-top: 0.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.view-all {
  width: fit-content;
  margin: 1.4rem auto 0;
  padding: 0.7rem 1.4rem;
  background: #fff;
  color: var(--rust);
  text-decoration: none;
}

.ai-stack { background: var(--ink); }

.ai-card {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 12vh var(--pad);
  background: var(--ink);
}

.ai-card figure { margin: 0; }

.ai-card img {
  max-height: 76vh;
  width: auto;
  max-width: min(100%, 1100px);
  margin: 0 auto;
}

.contact {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12vh var(--pad);
  background: var(--ink);
}

.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 6.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact .rule {
  width: min(12rem, 40vw);
  height: 2px;
  margin: 1.4rem 0 1.6rem;
  background: var(--rust);
  transform-origin: center;
}

.contact p {
  margin: 0;
  max-width: 26rem;
  color: var(--rust);
}

.contact .mail {
  display: inline-block;
  margin-top: 1rem;
  color: var(--paper);
  text-decoration: none;
}

.contact .mail:hover,
.contact .mail:focus-visible,
.view-all:hover,
.view-all:focus-visible { color: var(--rust); }

body[data-page="tours"] { background: var(--paper); color: var(--ink); }

.tours { padding: 18vh var(--pad) 12vh; }

.tours .eyebrow { color: var(--ink); }

.tour-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem 0.8rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .tour-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 390px) {
  .tour-mosaic { grid-template-columns: 1fr; }
}

.missing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--pad);
}

.missing h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.missing a { color: var(--rust); }

@media (max-width: 900px) {
  .bio { margin-left: 0; padding-top: 22vh; }
  .top { flex-wrap: nowrap; align-items: center; }
  .menu-btn { display: inline-flex; }
  .top-nav { display: none; }
  .top-nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.15rem;
    padding: 5.5rem var(--pad) var(--pad);
    background: #181818;
    font-size: clamp(1.35rem, 5.5vw, 2rem);
    letter-spacing: 0.12em;
    pointer-events: auto;
  }
  .featured { grid-template-columns: 1fr 1fr; }
  .columns { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (max-width: 700px) {
  .h-wrap { height: auto; overflow: visible; }
  .h-track {
    flex-direction: column;
    height: auto;
    width: auto;
    padding: var(--pad);
  }
  .h-track figure { height: auto; }
  .h-track img { width: 100%; height: auto; max-width: 100%; }
  .studio-grid,
  .clip-grid,
  .tour-grid { grid-template-columns: 1fr; }
  .ai-card { position: static; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bio-text .word { opacity: 1; }
  .hero { height: 100vh; min-height: 32rem; }
  .hero-frame { height: 100%; }
  .hero-img { height: 100%; object-fit: cover; }
  .h-wrap { height: auto; overflow: visible; }
  .h-track {
    flex-direction: column;
    height: auto;
    width: auto;
    padding: var(--pad);
  }
  .h-track figure { height: auto; }
  .h-track img { width: 100%; height: auto; max-width: 100%; }
  .ai-card { position: static; min-height: 0; }
  .contact .rule { transform: none; }
}
