:root {
  --cream: #fff4df;
  --paper: #f5eee2;
  --ink: #171717;
  --ink-soft: rgba(23, 23, 23, 0.62);
  --line: rgba(23, 23, 23, 0.15);
  --orange: #d9551b;
  --blue: #3b87bb;
  --green: #35a184;
  --red: #bd3b58;
  --pink: #f1b6c2;
  --purple: #b8b9de;
  --hero-progress: 0;
  --hero-gather: 0;
  --hero-zoom: 0;
  --hero-release: 0;
  --max: 1500px;
  --pad: clamp(1rem, 2.2vw, 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

em {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  column-gap: 1rem;
  padding: 1.35rem var(--pad);
  pointer-events: none;
  color: var(--ink);
  mix-blend-mode: difference;
}

.site-header > * {
  pointer-events: auto;
}

.brand-mark {
  justify-self: center;
  grid-column: 2;
  font-size: clamp(1.18rem, 2vw, 1.78rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.82;
  color: #fff;
  white-space: nowrap;
}

.nav-tagline,
.menu-toggle,
.eyebrow,
.media-block__label,
.hero-float__meta,
.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.015em;
  line-height: 1;
}

.nav-tagline {
  grid-column: 1;
  justify-self: start;
  max-width: min(18rem, 25vw);
  color: #fff;
}

.menu-toggle {
  grid-column: 3;
  justify-self: end;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
}

.menu-toggle span {
  display: inline-block;
  border-bottom: 1px solid currentColor;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 5rem var(--pad) var(--pad);
  background: #111;
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1rem);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0ms linear 420ms;
}

.menu-open .menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0ms;
}

.menu-panel__inner {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: 1fr minmax(14rem, 22rem);
  gap: 3rem;
  align-items: end;
}

.menu-links {
  display: grid;
  gap: 0.15rem;
}

.menu-link {
  position: relative;
  display: block;
  width: max-content;
  font-size: clamp(3.4rem, 10.5vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.82;
  text-transform: uppercase;
}

.menu-link span:first-child {
  position: relative;
  z-index: 1;
}

.menu-link.is-active,
.menu-link:hover {
  color: var(--orange);
}

.menu-preview {
  position: absolute;
  top: 50%;
  left: calc(100% + 1rem);
  width: clamp(7rem, 16vw, 16rem);
  aspect-ratio: 4 / 3;
  transform: translateY(-50%) rotate(-5deg) scale(0.82);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition:
    opacity 240ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-preview span {
  position: absolute;
  left: 0.65rem;
  bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-link:hover .menu-preview {
  opacity: 1;
  transform: translateY(-50%) rotate(3deg) scale(1);
}

.menu-contact {
  display: grid;
  gap: 0.7rem;
  color: rgba(255, 244, 223, 0.66);
  line-height: 1.45;
}

.menu-contact a {
  color: var(--cream);
}

.home-page {
  background: var(--cream);
}

.hero-section {
  position: relative;
  height: 292svh;
  min-height: 1640px;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--paper);
}

.hero-wipe {
  display: none;
}

.hero-logo-wrap {
  position: absolute;
  inset: 0;
  z-index: 48;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.15rem;
  padding: 5rem var(--pad);
  text-align: center;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 1;
  transform: translateY(calc(var(--hero-zoom) * -1.2rem)) scale(calc(1 - (var(--hero-gather) * 0.035)));
  will-change: opacity, transform;
}

.hero-kicker {
  color: currentColor;
  opacity: 0.42;
}

.hero-logo {
  max-width: min(92vw, 64rem);
  font-size: clamp(4rem, 16vw, 15rem);
  font-weight: 950;
  letter-spacing: -0.105em;
  line-height: 0.72;
}

.hero-float-cloud {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-float {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(11rem, 18.5vw, 21rem);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  pointer-events: auto;
  box-shadow: 0 1.4rem 3.5rem rgba(0, 0, 0, 0.2);
  opacity: 1;
  transform-origin: center;
  will-change: transform, opacity;
}

.hero-float__surface,
.media-block__grain {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-float__surface::before,
.media-block::before,
.menu-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.24), transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06));
}

.hero-float__surface::after,
.media-block__grain::after,
.menu-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  mix-blend-mode: soft-light;
}

.hero-float__meta,
.hero-float__title {
  position: absolute;
  z-index: 1;
  left: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  opacity: calc(1 - (var(--hero-zoom) * 3));
}

.hero-float__meta {
  top: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-float__title {
  right: 0.75rem;
  bottom: 0.7rem;
  font-size: 0.82rem;
  line-height: 1.1;
}

.hero-scroll-note {
  position: absolute;
  z-index: 4;
  right: var(--pad);
  bottom: 1.25rem;
  display: flex;
  gap: 0.65rem;
  color: rgba(23, 23, 23, 0.58);
  font-size: 0.76rem;
  opacity: calc(1 - (var(--hero-gather) * 1.12));
}

.manifest-section,
.featured-section,
.studio-section,
.quote-section,
.footer-cta,
.page-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.manifest-section {
  display: grid;
  gap: clamp(2rem, 7vw, 7rem);
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.manifest-heading {
  display: grid;
  line-height: 0.78;
}

.manifest-heading h2 {
  font-size: clamp(5rem, 19vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.095em;
}

.manifest-heading h2:last-child {
  justify-self: end;
  padding-right: clamp(0rem, 6vw, 7rem);
}

.manifest-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.4vw, 1.3rem);
}

.manifest-copy {
  max-width: min(66rem, 82vw);
  margin-left: auto;
  font-size: clamp(1.75rem, 4vw, 4.75rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.featured-section,
.studio-section,
.quote-section {
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.section-heading,
.studio-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
  padding-top: 1.1rem;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.section-heading h2,
.studio-title h2 {
  font-size: clamp(3.5rem, 10vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.8;
}

.text-link {
  position: relative;
  align-self: center;
  font-size: 0.96rem;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 240ms ease;
}

.text-link:hover::after {
  transform: scaleX(0.35);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 2.5rem);
}

.project-card:nth-child(3n) {
  grid-column: span 2;
}

.project-card__link {
  display: grid;
  gap: 0.9rem;
}

.project-card__copy {
  display: grid;
  grid-template-columns: minmax(9rem, 0.28fr) 0.55fr 1fr;
  gap: 1rem;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.project-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.project-card p:last-child {
  color: var(--ink-soft);
  line-height: 1.35;
}

.studio-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 6rem);
}

.studio-title {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
}

.service-column {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  min-height: 18rem;
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.service-column h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 2.7vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.service-column p {
  color: var(--ink-soft);
}

.quote-section {
  padding-top: clamp(5rem, 9vw, 10rem);
  padding-bottom: clamp(5rem, 9vw, 10rem);
}

.quote-section p {
  width: min(100%, 73rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 6.4vw, 7rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.footer-cta {
  padding-top: 3rem;
  padding-bottom: 2rem;
  overflow: hidden;
}

.footer-cta__marquee {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  color: var(--orange);
  font-size: clamp(4rem, 16vw, 16rem);
  font-weight: 950;
  letter-spacing: -0.095em;
  line-height: 0.75;
  text-transform: uppercase;
  animation: marquee 18s linear infinite;
}

.footer-cta__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.footer-cta__headline {
  font-size: clamp(3rem, 9vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.82;
}

.footer-contact {
  display: grid;
  gap: 0.45rem;
  min-width: 14rem;
}

.eyebrow {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.media-block {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 12rem;
}

.media-block--hero {
  aspect-ratio: 16 / 9;
}

.media-block--portrait {
  aspect-ratio: 4 / 5;
}

.media-block--wide {
  aspect-ratio: 16 / 10;
}

.media-block--square {
  aspect-ratio: 1 / 1;
}

.media-block__label,
.media-block__title {
  position: absolute;
  z-index: 1;
  color: rgba(255, 255, 255, 0.75);
}

.media-block__label {
  top: 0.75rem;
  left: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.media-block__title {
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.1;
}

.media-tone--mist {
  background: linear-gradient(140deg, #dedbd0, #a9adaf 58%, #4e5559);
}

.media-tone--linen {
  background: linear-gradient(140deg, #ead9c2, #c69776 55%, #695143);
}

.media-tone--graphite {
  background: linear-gradient(140deg, #5a5f66, #2b2d32 58%, #111);
}

.media-tone--ink {
  background: linear-gradient(140deg, #23262c, #0d0e11 55%, #384455);
}

.media-tone--chalk {
  background: linear-gradient(140deg, #f0e6d0, #d4be8f 57%, #9d6e4d);
}

.page-shell {
  min-height: 100svh;
  padding-top: clamp(9rem, 14vw, 14rem);
  padding-bottom: 4rem;
}

.section-intro,
.project-header,
.project-copy,
.info-layout {
  display: grid;
  gap: clamp(1.3rem, 3vw, 3rem);
  margin-bottom: clamp(2rem, 5vw, 5rem);
}

.section-intro {
  grid-template-columns: 1fr minmax(18rem, 34rem);
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.section-intro h1,
.project-header h1,
.info-lead h1 {
  font-size: clamp(4rem, 13vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.095em;
  line-height: 0.78;
}

.section-intro p,
.info-row p,
.project-copy p,
.diary-note p {
  color: var(--ink-soft);
  line-height: 1.45;
}

.diary-notes,
.info-sections {
  border-top: 1px solid var(--line);
  margin-bottom: clamp(2rem, 5vw, 5rem);
}

.diary-note,
.info-row {
  display: grid;
  grid-template-columns: minmax(10rem, 0.28fr) 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.diary-note h2 {
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.info-layout {
  grid-template-columns: minmax(18rem, 34rem) 1fr;
  gap: clamp(2rem, 6vw, 7rem);
}

.info-lead {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.project-header {
  grid-template-columns: 1fr auto;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.project-meta {
  display: grid;
  gap: 0.35rem;
  text-align: right;
  color: var(--ink-soft);
}

.project-media {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.project-copy {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.project-copy__block {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .brand-mark {
    justify-self: start;
    grid-column: auto;
  }

  .menu-toggle {
    grid-column: auto;
  }

  .nav-tagline {
    display: none;
  }

  .menu-panel__inner,
  .studio-section,
  .section-intro,
  .info-layout,
  .project-header,
  .project-copy,
  .footer-cta__bottom {
    grid-template-columns: 1fr;
  }

  .menu-link {
    font-size: clamp(3.4rem, 16vw, 7rem);
  }

  .menu-preview {
    display: none;
  }

  .hero-section {
    height: 286svh;
    min-height: 1500px;
  }

  .hero-stage {
    min-height: 560px;
  }

  .hero-float {
    width: clamp(7.4rem, 34vw, 12.5rem);
  }

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

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(3n) {
    grid-column: auto;
  }

  .project-card__copy {
    grid-template-columns: 1fr;
  }

  .project-meta {
    text-align: left;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 0.9rem;
  }

  .site-header {
    padding-top: 0.9rem;
  }

  .menu-panel {
    align-items: end;
  }

  .hero-logo {
    font-size: clamp(4.3rem, 22vw, 8rem);
  }

  .hero-scroll-note {
    left: var(--pad);
    right: auto;
  }

  .manifest-heading h2:last-child {
    justify-self: start;
    padding-right: 0;
  }

  .manifest-media-grid,
  .service-columns {
    grid-template-columns: 1fr;
  }

  .media-block--square {
    aspect-ratio: 16 / 10;
  }

  .diary-note,
  .info-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .hero-float {
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
