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

:root {
  --bg: #f5f4f0;
  --fg: #111;
  --fg-muted: #888;
  --nav-h: 52px;
  --radius: 14px;
  --font: 'Geist', -apple-system, sans-serif;
}

html { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 13px; font-weight: 300; }
body { min-height: 100vh; display: flex; flex-direction: column; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: var(--bg);
}

.nav-name {
  font-size: 13px; font-weight: 300; letter-spacing: -0.01em;
  color: var(--fg); text-decoration: none;
}

.nav-links { display: flex; gap: 8px; align-items: center; }

.nav-links a {
  font-family: var(--font);
  font-size: 13px; font-weight: 300; letter-spacing: -0.01em;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border: none; outline: none;
}

.nav-links a.pill-ghost { background: #e8e7e3; color: #444; }
.nav-links a.pill-ghost:hover { background: #deddd8; }
.nav-links a.pill-ghost.active { background: #e8e7e3; color: #444; }

.nav-links a.pill-solid { background: var(--fg); color: #fff; }
.nav-links a.pill-solid:hover { background: #333; }

.page {
  display: none;
  padding-top: var(--nav-h);
  flex: 1;
  scroll-margin-top: var(--nav-h);
}
.page.active { display: block; animation: pageIn 0.35s ease both; }

@keyframes pageIn {
  from { opacity: 0; filter: blur(6px); transform: translateY(6px); }
  to   { opacity: 1; filter: blur(0);   transform: translateY(0); }
}

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 8px; transition: background 0.15s;
}
.burger span {
  display: block; width: 18px; height: 1px; background: var(--fg);
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg); z-index: 99;
  padding: 16px 24px 24px;
  flex-direction: column; gap: 8px;
  border-bottom: 0.5px solid #dddcd8;
  animation: menuIn 0.2s ease both;
}
.mobile-menu.open { display: flex; }
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu a {
  font-family: var(--font); font-size: 14px; font-weight: 300;
  letter-spacing: -0.01em; text-decoration: none;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu a.m-ghost { background: #e8e7e3; color: #444; }
.mobile-menu a.m-ghost.active { background: #e8e7e3; color: #444; }
.mobile-menu a.m-solid { background: var(--fg); color: #fff; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .burger { display: flex; }
}

.grid {
  padding: 0 20px 64px;
  columns: 5 160px;
  column-gap: 10px;
}

@media (max-width: 900px) { .grid { display: block; columns: 3; column-gap: 10px; } }
@media (max-width: 560px) {
  .grid {
    position: relative;
    columns: unset !important;
    padding: 0 24px 48px; }
  .grid .item {
    position: absolute;
    width: calc(50% - 4px);
  }
}

.item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #ccc;
}

.item img,
.item video {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
}
.item video { object-fit: cover; }

#contact.active {
  display: flex; align-items: flex-start; justify-content: center;
  min-height: calc(100vh - var(--nav-h));
  padding: calc(var(--nav-h) + 40px) 24px 140px;
}
.contact-inner { text-align: left; max-width: 552px; width: 100%; }

.contact-inner .studio-label { margin-bottom: 18px; }

.contact-headline {
  font-size: 30px; font-weight: 300; line-height: 1.3;
  letter-spacing: -0.02em; color: var(--fg);
}

.contact-subhead {
  font-size: 14px; font-weight: 300; line-height: 1.75;
  letter-spacing: -0.01em; color: #444;
  margin-top: 20px;
}

.contact-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

.contact-flow { margin-top: 48px; }

.flow { display: flex; flex-direction: column; }

.flow-step {
  display: flex; align-items: baseline; gap: 16px;
  padding: 12px 0;
  border-top: 0.5px solid #dddcd8;
}
.flow-step:last-child { border-bottom: 0.5px solid #dddcd8; }

.flow-num {
  font-size: 12px; font-weight: 300; color: var(--fg-muted);
  letter-spacing: -0.01em; min-width: 20px; flex-shrink: 0;
}

.flow-title {
  font-size: 13px; font-weight: 400; color: var(--fg);
  letter-spacing: -0.01em; min-width: 92px; flex-shrink: 0;
}

.flow-desc {
  font-size: 13px; font-weight: 300; color: var(--fg-muted);
  letter-spacing: -0.01em; line-height: 1.6;
}

@media (max-width: 560px) {
  .flow-step { flex-wrap: wrap; gap: 0 16px; }
  .flow-title { min-width: 0; }
  .flow-desc { width: 100%; padding-left: 36px; margin-top: 3px; }
}

.contact-channels {
  display: flex; flex-direction: column;
  margin-top: 44px;
}

.channel {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 15px 0;
  border-top: 0.5px solid #dddcd8;
  text-decoration: none;
  transition: opacity 0.15s;
}
.channel:first-child { border-top: none; }
.channel:last-child { border-bottom: 0.5px solid #dddcd8; }

.channel-label {
  font-size: 13px; font-weight: 300; color: var(--fg-muted);
  letter-spacing: -0.01em;
}

.channel-value {
  font-size: 13px; font-weight: 300; color: var(--fg);
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

a.channel:hover .channel-value { color: var(--fg-muted); }
.channel-static { cursor: default; }
.channel-static .channel-value { color: var(--fg-muted); }

.channel-value { margin-left: auto; transition: opacity 0.2s ease, color 0.15s; }

.channel-copied {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%) scale(0.96);
  background: var(--fg); color: #fff;
  font-size: 11.5px; font-weight: 300; letter-spacing: -0.01em;
  padding: 5px 12px; border-radius: 999px;
  white-space: nowrap; pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.channel.is-copied .channel-value { opacity: 0; }
.channel.is-copied .channel-copied {
  opacity: 1; transform: translateY(-50%) scale(1);
}

.contact-note {
  font-size: 12px; font-weight: 300; color: var(--fg-muted);
  letter-spacing: -0.01em; line-height: 1.6;
  margin-top: 22px;
}

@media (max-width: 640px) {
  #contact.active { padding: calc(var(--nav-h) + 32px) 24px 100px; align-items: flex-start; }
  .contact-headline { font-size: 22px; }
  .contact-subhead { font-size: 13.5px; line-height: 1.7; }
  .contact-cta { flex-direction: column; align-items: stretch; }
  .contact-cta .cta-pill { text-align: center; }
}

footer {
  border-top: 0.5px solid #dddcd8;
  padding: 28px 24px;
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  margin-top: auto;
}

.footer-left { display: flex; flex-direction: column; gap: 6px; }
.footer-name { font-size: 13px; font-weight: 300; color: var(--fg); letter-spacing: -0.01em; }
.footer-desc { font-size: 12px; color: var(--fg-muted); font-weight: 300; letter-spacing: -0.01em; max-width: 260px; line-height: 1.5; }

.footer-right { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.footer-right a {
  font-size: 12px; font-weight: 300; color: var(--fg-muted);
  text-decoration: none; letter-spacing: -0.01em;
  transition: color 0.15s;
}
.footer-right a:hover { color: var(--fg); }

.footer-copy {
  width: 100%; font-size: 11px; color: #bbb; font-weight: 300;
  letter-spacing: -0.01em; padding-top: 12px;
  border-top: 0.5px solid #e8e7e3; margin-top: 4px;
}

@media (max-width: 640px) {
  footer { flex-direction: column; }
}

.studio-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 24px 140px;
}

.studio-section { margin-bottom: 88px; }

.studio-label {
  font-size: 11px; font-weight: 300; letter-spacing: 0.04em;
  color: var(--fg-muted); text-transform: uppercase;
  margin-bottom: 22px; display: block;
}

.studio-hero { margin-bottom: 96px; }

.studio-headline {
  font-size: 30px; font-weight: 300; line-height: 1.35;
  letter-spacing: -0.02em; color: var(--fg);
  max-width: 520px;
}

.studio-subhead {
  font-size: 14px; font-weight: 300; line-height: 1.75;
  letter-spacing: -0.01em; color: #444;
  max-width: 480px;
  margin-top: 22px;
}

.studio-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }

.cta-pill {
  font-family: var(--font);
  font-size: 13px; font-weight: 300; letter-spacing: -0.01em;
  text-decoration: none; padding: 10px 22px; border-radius: 999px;
  cursor: pointer; transition: background 0.15s, color 0.15s;
  display: inline-block;
}
.cta-pill-solid { background: var(--fg); color: #fff; }
.cta-pill-solid:hover { background: #333; }
.cta-pill-ghost { background: #e8e7e3; color: #444; }
.cta-pill-ghost:hover { background: #deddd8; }

.disciplines { display: flex; flex-direction: column; }

.discipline {
  display: flex; flex-direction: column; gap: 5px;
  padding: 18px 0;
  border-top: 0.5px solid #dddcd8;
}
.discipline:last-child { border-bottom: 0.5px solid #dddcd8; }

.discipline-title {
  font-size: 14px; font-weight: 400; color: var(--fg);
  letter-spacing: -0.01em;
}

.discipline-summary {
  font-size: 13px; font-weight: 300; color: var(--fg-muted);
  letter-spacing: -0.01em;
}

.timeline { display: flex; flex-direction: column; }

.timeline-item {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 14px 0;
  border-top: 0.5px solid #dddcd8;
  gap: 16px;
}
.timeline-item:last-child { border-bottom: 0.5px solid #dddcd8; }

.timeline-left { display: flex; flex-direction: column; gap: 3px; }

.timeline-role {
  font-size: 13px; font-weight: 300; color: var(--fg);
  letter-spacing: -0.01em;
}

.timeline-company {
  font-size: 12px; font-weight: 300; color: var(--fg-muted);
  letter-spacing: -0.01em;
}

.timeline-year {
  font-size: 11.5px; font-weight: 300; color: var(--fg-muted);
  letter-spacing: -0.01em; white-space: nowrap; padding-top: 2px;
}

.studio-closing { margin-bottom: 0; }

.studio-closing-text {
  font-size: 18px; font-weight: 300; letter-spacing: -0.02em;
  color: var(--fg); margin-bottom: 10px;
}

.studio-closing-sub {
  font-size: 13.5px; font-weight: 300; line-height: 1.7;
  letter-spacing: -0.01em; color: var(--fg-muted);
  max-width: 420px; margin-bottom: 26px;
}

.studio-closing .studio-cta { margin-top: 0; }

.studio-trusted { margin-bottom: 72px; }

.trusted-row {
  display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center;
}

.trusted-logo {
  position: relative;
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
}

.trusted-logo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  display: block; object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.15s, filter 0.15s;
}
.trusted-logo:hover img { opacity: 1; filter: grayscale(0); }

.trusted-name {
  position: absolute;
  bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(3px);
  background: var(--fg); color: #fff;
  font-size: 11px; font-weight: 300; letter-spacing: -0.01em;
  padding: 4px 10px; border-radius: 999px;
  white-space: nowrap; pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.trusted-logo:hover .trusted-name {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .studio-wrap { padding-top: 32px; }
  .studio-section { margin-bottom: 64px; }
  .studio-hero { margin-bottom: 72px; }
  .studio-headline { font-size: 21px; }
  .studio-subhead { font-size: 13.5px; line-height: 1.7; }
  .studio-cta { flex-direction: column; align-items: stretch; }
  .cta-pill { text-align: center; }
  .studio-trusted { margin-bottom: 56px; }
  .trusted-row { gap: 22px 28px; }
  .trusted-logo { width: 24px; height: 24px; }
}

#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 200;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--fg);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.15s;
  pointer-events: none;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scroll-top:hover { background: #333; }

#scroll-top svg {
  width: 14px; height: 14px; stroke: #fff;
  stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round;
}

.item,
.timeline-item,
.studio-section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.item.revealed,
.timeline-item.revealed,
.studio-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.item:nth-child(2) { transition-delay: 0.04s; }
.item:nth-child(3) { transition-delay: 0.08s; }
.item:nth-child(4) { transition-delay: 0.12s; }
.item:nth-child(5) { transition-delay: 0.16s; }
.item:nth-child(6) { transition-delay: 0.20s; }
.item:nth-child(n+7) { transition-delay: 0.24s; }

#lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
#lightbox.open {
  opacity: 1; pointer-events: auto;
}

#lb-media {
  display: flex; align-items: center; justify-content: center;
  max-width: calc(100vw - 140px);
  user-select: none;
}

#lb-media.lb-out { opacity: 0; transform: scale(0.97); transition: opacity 0.15s ease, transform 0.15s ease; }
#lb-media.lb-in  { opacity: 1; transform: scale(1);    transition: opacity 0.2s ease, transform 0.2s ease; }

#lb-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
#lb-close:hover { background: rgba(255,255,255,0.15); }
#lb-close svg {
  width: 16px; height: 16px; stroke: #fff;
  stroke-width: 1.5; fill: none; stroke-linecap: round;
}

#lb-prev, #lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
#lb-prev { left: 20px; }
#lb-next { right: 20px; }
#lb-prev:hover, #lb-next:hover { background: rgba(255,255,255,0.16); }
#lb-prev svg, #lb-next svg {
  width: 18px; height: 18px; stroke: #fff;
  stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round;
}

#lb-info {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  padding: 6px 16px; border-radius: 999px;
}
#lb-counter {
  font-family: var(--font); font-size: 11.5px; font-weight: 300;
  color: rgba(255,255,255,0.6); letter-spacing: -0.01em; white-space: nowrap;
}

@media (max-width: 640px) {
  #lightbox {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 0 32px;
    gap: 0;
  }
  #lb-media {
    max-width: calc(100vw - 32px);
    width: 100%;
    flex-shrink: 0;
  }
  #lb-prev, #lb-next {
    display: none !important;
  }
  #lb-arrows {
    display: flex !important;
    gap: 12px;
    margin-top: 20px;
    flex-shrink: 0;
  }
  #lb-info {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.work-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 100px;
}

.work-intro { max-width: 520px; margin-bottom: 64px; }

.work-headline {
  font-size: 30px; font-weight: 300; line-height: 1.3;
  letter-spacing: -0.02em; color: var(--fg);
}

.work-sub {
  font-size: 14px; font-weight: 300; line-height: 1.75;
  letter-spacing: -0.01em; color: #444;
  margin-top: 20px;
}

.work-list { display: flex; flex-direction: column; }

.work-item {
  display: block; text-decoration: none;
  padding: 30px 0;
  border-top: 0.5px solid #dddcd8;
}
.work-item:last-child { border-bottom: 0.5px solid #dddcd8; }

.work-cover {
  width: 100%; aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden; background: #e8e7e3;
  margin-bottom: 18px;
}
.work-cover img,
.work-cover video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.work-item:hover .work-cover img,
.work-item:hover .work-cover video { transform: scale(1.02); }

.work-meta {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px;
}

.work-title {
  font-size: 15px; font-weight: 400; color: var(--fg);
  letter-spacing: -0.01em;
}

.work-year {
  font-size: 12px; font-weight: 300; color: var(--fg-muted);
  letter-spacing: -0.01em; white-space: nowrap;
}

.work-tagline {
  font-size: 13px; font-weight: 300; color: #555;
  letter-spacing: -0.01em; line-height: 1.6;
  margin-top: 5px; max-width: 520px;
}

.work-services {
  font-size: 12px; font-weight: 300; color: var(--fg-muted);
  letter-spacing: -0.01em; margin-top: 8px;
}

.case-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 100px;
}

.case-headline {
  font-size: 30px; font-weight: 300; line-height: 1.3;
  letter-spacing: -0.02em; color: var(--fg);
  max-width: 560px;
}

.case-tagline {
  font-size: 14px; font-weight: 300; line-height: 1.75;
  letter-spacing: -0.01em; color: #444;
  margin-top: 20px; max-width: 520px;
}

.case-facts {
  display: flex; flex-direction: column;
  margin: 44px 0 56px;
}
.case-fact {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; padding: 13px 0;
  border-top: 0.5px solid #dddcd8;
}
.case-fact:last-child { border-bottom: 0.5px solid #dddcd8; }
.case-fact-label {
  font-size: 13px; font-weight: 300; color: var(--fg-muted);
  letter-spacing: -0.01em; flex-shrink: 0;
}
.case-fact-value {
  font-size: 13px; font-weight: 300; color: var(--fg);
  letter-spacing: -0.01em; text-align: right; line-height: 1.6;
}

.case-section { margin-bottom: 56px; }

.case-body {
  font-size: 14px; font-weight: 300; line-height: 1.75;
  letter-spacing: -0.01em; color: #444;
  max-width: 520px;
}
.case-body + .case-body { margin-top: 20px; }

.case-media { margin: 40px 0; }
.case-media img,
.case-media video {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); background: #e8e7e3;
}
.case-caption {
  font-size: 12px; font-weight: 300; color: var(--fg-muted);
  letter-spacing: -0.01em; margin-top: 10px;
}

.case-media-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

.case-next {
  border-top: 0.5px solid #dddcd8;
  padding-top: 30px; margin-top: 20px;
}

@media (max-width: 640px) {
  .work-wrap, .case-wrap { padding-top: calc(var(--nav-h) + 32px); }
  .work-headline, .case-headline { font-size: 22px; }
  .work-sub, .case-tagline, .case-body { font-size: 13.5px; line-height: 1.7; }
  .work-intro { margin-bottom: 48px; }
  .work-item { padding: 24px 0; }
  .case-media-pair { grid-template-columns: 1fr; }
  .case-fact { flex-direction: column; gap: 3px; }
  .case-fact-value { text-align: left; }
}

.work-wrap,
.case-wrap {
  animation: pageIn 0.35s ease both;
}

.work-item,
.case-section,
.case-media,
.case-facts,
.case-next {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.work-item.revealed,
.case-section.revealed,
.case-media.revealed,
.case-facts.revealed,
.case-next.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .work-wrap, .case-wrap { animation: none; }
  .work-item, .case-section, .case-media, .case-facts, .case-next {
    opacity: 1; transform: none; transition: none;
  }
}

.item img,
.item video,
#lb-media img,
#lb-media video {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.item img,
.item video,
#lb-media img {
  pointer-events: none;
}
