:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f7f2ea;
  --muted: rgba(247, 242, 234, 0.72);
  --quiet: rgba(247, 242, 234, 0.48);
  --line: rgba(247, 242, 234, 0.14);
  --panel: rgba(12, 12, 12, 0.74);
  --panel-strong: rgba(18, 18, 18, 0.9);
  --accent: #d5b990;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 18px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  --sans: Avenir, "Avenir Next", Montserrat, Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 8%, rgba(213, 185, 144, 0.12), transparent 30vw),
    linear-gradient(180deg, #050505 0%, #080706 42%, #030303 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

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

figure,
blockquote {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.brand,
.nav-links {
  pointer-events: auto;
}

.brand img {
  width: clamp(126px, 14vw, 210px);
  height: auto;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 180ms ease;
}

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

.section {
  position: relative;
  isolation: isolate;
  padding: clamp(88px, 12vw, 170px) var(--gutter);
  overflow: clip;
}

.section--full {
  min-height: 100svh;
}

.section-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero {
  display: grid;
  align-items: center;
  padding-top: 130px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.36) 46%, rgba(0, 0, 0, 0.68)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.1) 36%, rgba(5, 5, 5, 0.34)),
    url("assets/images/header-bg.b52e751a.webp") center / cover no-repeat;
  filter: saturate(0.86) contrast(1.08);
}

.hero::after,
.section--moss::after,
.dreamscapes::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  background: linear-gradient(0deg, var(--bg), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: start;
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.2;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero-grid > .eyebrow {
  grid-column: 2 / 5;
  margin-top: 8px;
}

.hero-copy {
  grid-column: 2 / 9;
}

h1,
h2 {
  margin: 0;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
  overflow-wrap: normal;
}

h1 {
  max-width: 920px;
  font-size: clamp(4rem, 12vw, 10.8rem);
}

h2 {
  max-width: 980px;
  font-size: clamp(2.8rem, 7vw, 7.4rem);
}

p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
}

.hero-copy p {
  max-width: 710px;
  margin-top: 32px;
  color: rgba(247, 242, 234, 0.82);
  font-size: clamp(1.05rem, 1.4vw, 1.42rem);
}

.platform-lockup {
  grid-column: 3 / 8;
  width: min(100%, 560px);
  margin-top: 16px;
}

.platform-lockup img {
  opacity: 0.9;
}

.site-note {
  grid-column: 3 / 9;
  max-width: 640px;
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
  color: var(--muted);
  font-size: 1rem;
  backdrop-filter: blur(16px);
}

.site-note strong {
  color: var(--ink);
}

.project {
  border-top: 1px solid var(--line);
}

.section--moss {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0.96)),
    url("assets/images/moss-bg_004.3d021172.webp") center / cover fixed;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
  min-width: 0;
}

.hero-grid > *,
.project-grid > * {
  min-width: 0;
}

.project-heading {
  grid-column: 2 / 10;
}

.copy {
  max-width: 760px;
  color: var(--muted);
}

.media-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 234, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.media-card.no-frame {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.media-card.natural {
  width: min(100%, var(--w));
  aspect-ratio: var(--ratio);
}

.media-card img,
.media-card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-card video {
  background: #000;
}

.mosaic,
.wide-stack,
.duo,
.ssgold-pair,
.mini-triptych {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.project-grid--zahf .project-heading {
  grid-column: 2 / 10;
}

.zahf-hero {
  grid-column: 2 / 10;
  justify-self: center;
}

.project-grid--zahf .copy-a {
  grid-column: 2 / 7;
}

.tall-shot-row {
  grid-column: 1 / 11;
  grid-template-columns: repeat(4, minmax(0, max-content));
  justify-content: center;
  align-items: end;
}

.tall-shot-row .media-card:nth-child(even) {
  transform: translateY(44px);
}

.project-grid--zahf .copy-b {
  grid-column: 4 / 10;
  margin-top: 58px;
}

.project-grid--stacked .copy,
.project-grid--stacked .end-copy {
  grid-column: 2 / 9;
}

.bhutan-hero-video {
  grid-column: 1 / 11;
  justify-self: center;
}

.wide-stack {
  grid-column: 2 / 10;
  justify-items: center;
}

.bhutan-support {
  justify-self: start;
  margin-left: min(8vw, 92px);
}

.slim-wide {
  justify-self: start;
  margin-left: min(8vw, 92px);
}

.project-grid--hcl .project-heading,
.project-grid--hcl .copy-a {
  grid-column: 2 / 9;
}

.hcl-collage {
  grid-column: 1 / 11;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(18px, 2.2vw, 28px);
  align-items: end;
}

.hcl-collage .panorama {
  grid-column: 2;
  justify-self: end;
}

.phone-strip {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  align-self: stretch;
}

.phone-strip.media-card.natural {
  width: auto;
  height: 100%;
}

.interface-shot {
  grid-column: 2;
  justify-self: center;
}

.project-grid--hcl .copy-b {
  grid-column: 2 / 8;
}

.secondary-shot {
  grid-column: 3 / 10;
  justify-self: center;
  margin-top: clamp(-96px, -6vw, -48px);
}

.quote {
  grid-column: 2 / 10;
  max-width: 830px;
  padding: clamp(24px, 4vw, 42px);
  border-left: 2px solid var(--accent);
  background: rgba(0, 0, 0, 0.3);
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 2.3rem);
  font-weight: 700;
  line-height: 1.18;
}

.quote cite {
  display: block;
  margin-top: 18px;
  color: var(--quiet);
  font-size: 0.88rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-grid--knma .project-heading,
.project-grid--knma .copy-a {
  grid-column: 2 / 9;
}

.knma-main {
  grid-column: 3 / 10;
  justify-self: center;
}

.project-grid--knma .copy-b {
  grid-column: 2 / 8;
}

.mini-triptych {
  grid-column: 2 / 10;
  grid-template-columns: repeat(3, 300px);
  justify-content: center;
}

.project-grid--knma .copy-c {
  grid-column: 5 / 10;
}

.knma-saket {
  grid-column: 2 / 9;
  justify-self: center;
}

.knma-quote {
  grid-column: 4 / 10;
}

.project-grid--dryice .project-heading,
.project-grid--dryice .copy {
  grid-column: 2 / 10;
}

.duo {
  grid-column: 1 / 11;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

.lucy {
  grid-column: 3 / 9;
  justify-self: center;
}

.project-grid--ssgold .project-heading,
.project-grid--ssgold .copy-a {
  grid-column: 2 / 9;
}

.ssgold-pair {
  grid-column: 2 / 10;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

.ssgold-gif {
  grid-column: 5 / 10;
  justify-self: center;
}

.project-grid--ssgold .copy-b {
  grid-column: 5 / 10;
}

.ssgold-wide {
  grid-column: 1 / 11;
  justify-self: center;
}

.project-grid--ssgold .copy-c {
  grid-column: 2 / 8;
}

.dreamscapes {
  min-height: 100svh;
  background: #050505;
}

.sand-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.62)),
    url("assets/images/image-asset_003.59ae5a49.webp") center bottom / cover no-repeat;
  opacity: 0.42;
}

.project-grid--dream .project-heading {
  grid-column: 2 / 10;
}

.equirect {
  grid-column: 1 / 11;
  justify-self: center;
}

.dream-copy {
  grid-column: 2 / 9;
  max-width: 820px;
}

.kuula-card {
  grid-column: 1 / 11;
  width: min(100%, 1080px);
  justify-self: center;
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
}

.kuula-card iframe {
  width: 100%;
  aspect-ratio: 4096 / 2048;
  border: 0;
  border-radius: 12px;
  background: #000;
}

.kuula-card a {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-inner {
  max-width: 880px;
}

.about h2 {
  margin-bottom: 28px;
}

.about p:last-child {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.4;
}

.contact-copy {
  margin-top: clamp(26px, 4vw, 42px);
}

.contact-copy a {
  color: var(--accent);
  border-bottom: 1px solid rgba(213, 185, 144, 0.6);
}

.site-footer {
  padding: 46px var(--gutter);
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--quiet);
}

.footer-inner img {
  width: 160px;
}

.footer-inner p {
  color: var(--quiet);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .project-grid,
  .hcl-collage,
  .duo,
  .ssgold-pair {
    grid-template-columns: 1fr;
  }

  .hero-grid > *,
  .hero-grid > .eyebrow,
  .hero-copy,
  .project-grid > *,
  .project-heading,
  .project-grid--zahf .copy-a,
  .project-grid--zahf .copy-b,
  .project-grid--stacked .copy,
  .project-grid--stacked .end-copy,
  .project-grid--hcl .project-heading,
  .project-grid--hcl .copy-a,
  .project-grid--hcl .copy-b,
  .project-grid--knma .project-heading,
  .project-grid--knma .copy-a,
  .project-grid--knma .copy-b,
  .project-grid--knma .copy-c,
  .project-grid--dryice .project-heading,
  .project-grid--dryice .copy,
  .project-grid--ssgold .project-heading,
  .project-grid--ssgold .copy-a,
  .project-grid--ssgold .copy-b,
  .project-grid--ssgold .copy-c,
  .project-grid--dream .project-heading,
  .quote,
  .knma-quote,
  .secondary-shot,
  .knma-main,
  .knma-saket,
  .lucy,
  .equirect,
  .bhutan-hero-video,
  .bhutan-support,
  .ssgold-gif,
  .dream-copy,
  .kuula-card {
    grid-column: 1;
  }

  .platform-lockup {
    justify-self: start;
    width: min(100%, 330px);
  }

  .project-grid.project-grid > * {
    grid-column: 1 / -1;
  }

  .hero-copy,
  .hero-copy p,
  .site-note,
  .copy {
    width: 100%;
    max-width: 100%;
  }

  .tall-shot-row {
    grid-template-columns: repeat(2, minmax(0, max-content));
  }

  .tall-shot-row .media-card:nth-child(even) {
    transform: none;
  }

  .hcl-collage .panorama,
  .phone-strip,
  .interface-shot {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  .project-grid--zahf .copy-a {
    justify-self: stretch;
    inline-size: 100%;
    max-inline-size: 100%;
  }

  .bhutan-support,
  .slim-wide,
  .secondary-shot {
    margin-left: 0;
    margin-top: 0;
  }

  .mini-triptych {
    grid-template-columns: repeat(2, minmax(0, 300px));
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .section {
    padding-block: 74px;
  }

  .hero {
    padding-top: 110px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 3.45rem);
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.65rem);
  }

  .site-note {
    padding: 18px;
  }

  .hero-copy,
  .site-note {
    max-width: 350px;
  }

  .tall-shot-row,
  .mini-triptych {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .media-card {
    border-radius: 14px;
  }

  .hcl-collage {
    grid-template-columns: minmax(46px, 0.16fr) minmax(0, 1fr);
    align-items: stretch;
    column-gap: 10px;
  }

  .hcl-collage .panorama {
    grid-column: 1 / -1;
  }

  .phone-strip {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
    justify-self: stretch;
  }

  .phone-strip.media-card.natural {
    width: 100%;
    height: 100%;
  }

  .interface-shot {
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
    justify-self: stretch;
  }

  .interface-shot.media-card.natural {
    width: 100%;
    height: auto;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

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