@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --ink: #050505;
  --paper: #f4f4f0;
  --line: rgba(255, 255, 255, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, Arial, sans-serif;
}

a { color: inherit; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto auto minmax(360px, 1fr);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
}

.background-mark {
  position: absolute;
  z-index: -1;
  width: min(52vw, 720px);
  height: auto;
  right: -12vw;
  top: -10vw;
  opacity: 0.035;
  transform: rotate(13deg);
  pointer-events: none;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 3vw;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.11em;
}

.brand { display: inline-flex; width: max-content; text-decoration: none; }
.brand img { width: 50px; height: 26px; object-fit: contain; }
.brand img { filter: drop-shadow(0 0 12px rgba(255,255,255,.16)); }
.section-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.6vw, 2.8rem); }
.section-nav a { color: #a8a8a8; text-decoration: none; transition: color .2s ease; }
.section-nav a:hover, .section-nav a:focus-visible { color: #fff; }
.contact-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .7rem .85rem .7rem 1rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.contact-link span {
  width: 22px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #000;
}
.contact-link:hover, .contact-link:focus-visible { color: #000; background: #fff; border-color: #fff; transform: translateY(-1px); }
.contact-link:hover span, .contact-link:focus-visible span { background: #000; color: #fff; }

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(94vw, 1600px);
  margin: 0 auto;
  padding: clamp(2.3rem, 4.5vw, 5rem) 0 clamp(1.4rem, 2.7vw, 2.5rem);
}

h1 { margin: 0; max-width: 1050px; font-size: clamp(3.8rem, 8.3vw, 9rem); line-height: .83; letter-spacing: -.085em; font-weight: 600; }
h1 span { font-style: italic; font-weight: 800; }

.gallery-shell {
  position: relative;
  overflow-x: hidden;
  overflow-y: hidden;
  min-height: 0;
  scroll-margin-top: 76px;
  pointer-events: none;
  touch-action: pan-y;
}
.mosaic-canvas {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: max-content;
  padding: 0 0 7px;
}
.mosaic-row {
  display: flex;
  align-items: stretch;
  gap: 3px;
  width: max-content;
  animation: wall-scroll var(--wall-duration, 70s) linear infinite;
  will-change: transform;
}
.mosaic-segment { display: flex; align-items: stretch; gap: 3px; flex: 0 0 auto; }
.mosaic-group { display: flex; flex: 0 0 auto; min-width: 0; }
.mosaic-group.is-stack { flex-direction: column; justify-content: center; align-items: center; gap: 3px; }
.work-card {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #111;
}
.work-card img { display: block; width: 100%; height: 100%; object-fit: contain; background: #080808; }
.work-card .card-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  opacity: 0;
  transition: opacity .16s linear;
}
.work-card .card-video.is-ready { opacity: 1; }
.card-index { position: absolute; z-index: 2; right: 6px; top: 6px; color: rgba(255,255,255,.78); text-shadow: 0 1px 6px #000; font-size: .52rem; font-weight: 600; line-height: 1; letter-spacing: .08em; }

@keyframes wall-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--loop-distance), 0, 0); }
}

.clients {
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(170px, 20vw) 1fr;
  align-items: stretch;
  overflow: hidden;
  border-top: 1px solid #fff;
  background: #fff;
  color: var(--ink);
  scroll-margin-top: 76px;
}
.clients-label {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .8rem 3vw;
  border-right: 1px solid #dededb;
  background: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
}
.clients-label img { width: 86px; height: 40px; object-fit: contain; }
.clients-label span { width: 86px; text-align: center; }
.logo-marquee { display: flex; align-items: center; overflow: hidden; }
.logo-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(2.7rem, 5vw, 6rem);
  padding-left: clamp(2.7rem, 5vw, 6rem);
  animation: logos 28s linear infinite;
}
.brand-logo-slot { width: clamp(120px, 13vw, 185px); height: 46px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-logo-slot img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes logos { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.feedback {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 6rem) 3vw;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
  scroll-margin-top: 76px;
}
.feedback::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 46vw;
  aspect-ratio: 1;
  left: -24vw;
  top: 15%;
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  filter: blur(90px);
}
.feedback-mark { position: absolute; z-index: -1; width: min(52vw, 690px); right: -15vw; bottom: -18vw; opacity: .045; transform: rotate(-14deg); filter: drop-shadow(0 0 55px rgba(255,255,255,.12)); }
.feedback-heading { margin-bottom: clamp(2.2rem, 3.5vw, 3.5rem); }
.feedback-heading h2 { margin: 0; max-width: 850px; font-size: clamp(3rem, 5.2vw, 5.6rem); line-height: .9; letter-spacing: -.075em; font-weight: 600; }

.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.testimonial {
  position: relative;
  min-width: 0;
  min-height: 330px;
  margin: 0;
  padding: clamp(1.25rem, 1.7vw, 1.9rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: #0b0b0b;
}
.testimonial-featured { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.testimonial-topline { display: flex; justify-content: space-between; gap: 1rem; color: #838383; text-transform: uppercase; font-size: .58rem; font-weight: 600; line-height: 1; letter-spacing: .08em; }
.testimonial-featured .testimonial-topline { color: #6d6d68; }
.testimonial blockquote { margin: 1.7rem 0; font-size: clamp(1.35rem, 1.8vw, 2rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.testimonial figcaption { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .8rem; border-top: 1px solid rgba(255,255,255,.18); padding-top: .9rem; }
.testimonial-featured figcaption { border-color: #c9c9c4; }
.client-avatar { width: 42px; aspect-ratio: 1; display: block; object-fit: cover; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.testimonial-featured .client-avatar { border-color: rgba(0,0,0,.16); }
.client-identity { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.client-identity strong { font-size: .88rem; line-height: 1.1; }
.client-identity span { color: #858585; font-size: .68rem; line-height: 1.3; }
.testimonial-featured .client-identity span { color: #5e5e59; }
.client-reach { grid-column: 1 / -1; width: max-content; max-width: 100%; padding: .48rem .62rem; border: 1px solid currentColor; text-align: center; text-transform: uppercase; font-size: .55rem; font-weight: 600; line-height: 1.3; letter-spacing: .05em; }
.quote-mark { position: absolute; right: .6rem; top: -3rem; color: rgba(255,255,255,.06); font: 600 15rem/1 Georgia, serif; }
.testimonial-number { position: absolute; right: 1.3rem; top: 1.3rem; color: #777; font-size: .58rem; font-weight: 600; line-height: 1; }

.principles {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(5rem, 10vw, 10rem) 3vw;
  border-top: 1px solid var(--line);
  background: #020202;
}
.principles::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.025) 52%, transparent 74%);
}
.principles-mark {
  position: absolute;
  z-index: -1;
  width: min(65vw, 900px);
  left: -28vw;
  bottom: -25vw;
  opacity: .045;
  transform: rotate(18deg);
  filter: drop-shadow(0 0 70px rgba(255,255,255,.18));
}
.principles-glow {
  position: absolute;
  z-index: -2;
  width: min(52vw, 650px);
  aspect-ratio: 1;
  right: -20vw;
  top: 5%;
  border-radius: 50%;
  background: rgba(255,255,255,.055);
  filter: blur(120px);
}
.principles-inner { width: min(92vw, 1100px); text-align: center; }
.principles h2 {
  margin: 0 auto clamp(2.8rem, 6vw, 5.5rem);
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: .82;
  letter-spacing: -.09em;
  font-weight: 600;
}
.principles h2 span { display: inline-block; margin-right: .16em; font-style: italic; font-weight: 800; text-shadow: 0 0 38px rgba(255,255,255,.16); }
.principles-copy { width: min(92vw, 720px); margin: 0 auto; color: #777; }
.principles-copy p { margin: 0 auto 1.25rem; font-size: clamp(.96rem, 1.25vw, 1.15rem); line-height: 1.55; letter-spacing: -.018em; }
.principles-copy .principles-lead { color: #dedede; font-size: clamp(1.25rem, 2.15vw, 2rem); line-height: 1.24; letter-spacing: -.04em; }

.advisory {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0 3vw clamp(3rem, 6vw, 6rem);
  background: #020202;
}
.advisory-mark {
  position: absolute;
  z-index: -1;
  width: min(55vw, 760px);
  right: -17vw;
  top: -14vw;
  opacity: .055;
  transform: rotate(-12deg);
  filter: drop-shadow(0 0 50px rgba(255,255,255,.16));
}
.advisory-inner {
  width: min(94vw, 1500px);
  min-height: 600px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  grid-template-rows: auto 1fr auto;
  gap: 2rem clamp(2rem, 6vw, 7rem);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(255,255,255,.045), rgba(255,255,255,.01) 46%, transparent);
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 0 80px rgba(255,255,255,.025);
}
.advisory-index { grid-column: 1 / -1; margin: 0; color: #7b7b7b; text-transform: uppercase; font-size: .65rem; font-weight: 600; line-height: 1; letter-spacing: .12em; }
.advisory h2 { align-self: center; margin: 0; font-size: clamp(4rem, 8vw, 8.5rem); line-height: .84; letter-spacing: -.085em; font-weight: 600; }
.advisory-copy { align-self: center; color: #9c9c9c; font-size: clamp(.96rem, 1.25vw, 1.15rem); line-height: 1.55; }
.advisory-copy p { margin: 0 0 1.3rem; }
.advisory-prompt { display: inline-block; margin-top: .8rem; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid #777; padding-bottom: .35rem; }
.contact-actions {
  grid-column: 1 / -1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.instagram-link {
  padding: .85rem 1rem;
  color: #a7a7a7;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  transition: color .2s ease;
}
.instagram-link:hover, .instagram-link:focus-visible { color: #fff; }
.talk-button {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.talk-button:hover, .talk-button:focus-visible { transform: translateY(-2px); box-shadow: 0 0 35px rgba(255,255,255,.22); }

@media (max-width: 820px) {
  .site-header { grid-template-columns: auto 1fr auto; min-height: 68px; padding-inline: 12px; font-size: .56rem; }
  .brand img { width: 42px; height: 23px; }
  .section-nav { justify-self: center; gap: .8rem; }
  .contact-link { gap: .45rem; padding: .45rem .5rem .45rem .68rem; font-size: .52rem; }
  .contact-link span { width: 18px; font-size: .62rem; }
  .hero-copy { padding: 3rem 12px 1.8rem; width: 100%; }
  h1 { font-size: clamp(3rem, 13.5vw, 4.25rem); line-height: .92; letter-spacing: -.075em; }
  .hero { min-height: auto; grid-template-rows: auto auto auto; padding-bottom: 1.6rem; }
  .mosaic-canvas { width: max-content; }
  .clients { min-height: 0; grid-template-columns: 1fr; }
  .clients-label {
    min-height: 52px;
    padding: .55rem 16px;
    flex-direction: row;
    justify-content: flex-start;
    gap: .7rem;
    border-right: 0;
    border-bottom: 1px solid #dededb;
  }
  .clients-label img { width: 50px; height: 25px; }
  .clients-label span { width: auto; text-align: left; }
  .logo-marquee { min-height: 68px; }
  .brand-logo-slot { width: 112px; height: 38px; }
  .logo-track { gap: 2.6rem; padding-left: 2.6rem; }
  .background-mark { width: 90vw; right: -40vw; top: 5vh; }
  .feedback { padding: 3.5rem 12px; }
  .feedback-heading h2 { font-size: clamp(2.8rem, 11vw, 3.8rem); }
  .feedback-grid { grid-template-columns: repeat(3, minmax(275px, 84vw)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .feedback-grid::-webkit-scrollbar { display: none; }
  .testimonial { min-height: 310px; scroll-snap-align: start; }
  .testimonial blockquote { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .principles { min-height: auto; padding: 6rem 18px; }
  .principles h2 { margin-bottom: 3rem; font-size: clamp(4.1rem, 18vw, 7rem); }
  .principles-copy { width: 100%; }
  .principles-copy .principles-lead { font-size: 1.35rem; }
  .principles-mark { width: 110vw; left: -60vw; bottom: -28vw; }
  .advisory { padding: 0 12px 3rem; }
  .advisory-inner { width: 100%; min-height: 560px; padding: 1.6rem; grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; border-radius: 18px; }
  .advisory-index, .contact-actions { grid-column: 1; }
  .advisory h2 { font-size: clamp(3.8rem, 16vw, 6rem); }
  .contact-actions { width: 100%; justify-self: stretch; display: grid; grid-template-columns: auto 1fr; }
  .talk-button { justify-content: space-between; }
}

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