:root {
  --ink: #11110f;
  --muted: #666762;
  --paper: #f4f4f1;
  --panel: #e7e7e2;
  --white: #fff;
  --line: rgba(17, 17, 15, 0.18);
  --page: min(1500px, calc(100vw - 48px));
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.42;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 16px;
  left: 50%;
  display: flex;
  width: var(--page);
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  box-shadow:
    0 18px 54px rgba(17, 17, 15, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(30px) saturate(190%) contrast(108%);
  backdrop-filter: blur(30px) saturate(190%) contrast(108%);
  overflow: hidden;
  transition: color 280ms ease, background 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 16% -30%, rgba(255, 255, 255, 0.88), transparent 38%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.06) 52%, rgba(255, 255, 255, 0.24));
  transition: opacity 280ms ease, background 280ms ease;
}

.site-header.is-over-dark {
  color: var(--white);
  background: rgba(12, 12, 12, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.site-header.is-over-dark::before {
  background:
    radial-gradient(circle at 16% -30%, rgba(255, 255, 255, 0.3), transparent 38%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.13), rgba(0, 0, 0, 0.1) 52%, rgba(255, 255, 255, 0.08));
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.brand {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 13px;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-studio {
  position: relative;
  --hero-x: 0px;
  --hero-y: 0px;
  --light-x: 50%;
  --light-y: 42%;
  min-height: min(760px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: #20211e;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media > img,
.hero-media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translate3d(var(--hero-x), var(--hero-y), 0) scale(1.055);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 480ms ease;
}

.hero-media > .is-active {
  opacity: 0.92;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.36) 0%, transparent 34%, transparent 68%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 48%, rgba(0, 0, 0, 0.12));
}

.hero-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle 240px at var(--light-x) var(--light-y), rgba(255, 255, 255, 0.12), transparent 72%);
  mix-blend-mode: soft-light;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  width: var(--page);
  min-height: min(760px, 100svh);
  margin-inline: auto;
  padding: 150px 0 62px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr);
  gap: 40px;
  align-items: end;
}

.overline {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.no-break {
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.hero-feature {
  display: flex;
  padding-bottom: 76px;
  grid-column: 2;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  text-align: right;
}

.hero-feature > span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-feature a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.hero-switcher {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-switcher button {
  position: relative;
  padding: 13px 16px 0;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease;
}

.hero-switcher button::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-switcher button:hover,
.hero-switcher button.is-active {
  color: var(--white);
}

.hero-switcher button.is-active::before {
  transform: scaleX(1);
}

.hero-switcher button span {
  margin-right: 8px;
  color: inherit;
  font-size: 9px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 18px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: transparent;
}

.button-ghost {
  color: var(--white);
  background: rgba(0, 0, 0, 0.08);
}

.button-ghost:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.studio-intro,
.hero-intro,
.scope-section,
.projects-section,
.contact-section,
.site-footer {
  width: var(--page);
  margin-inline: auto;
}

.hero-intro {
  display: grid;
  padding: 78px 0 82px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: end;
  border-bottom: 1px solid var(--ink);
}

.hero-intro h1 {
  max-width: 900px;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5.3vw, 78px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero-intro-side > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
}

.hero-intro .hero-actions {
  margin-top: 28px;
}

.studio-intro {
  display: grid;
  padding: 112px 0;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 80px;
  border-bottom: 1px solid var(--line);
}

.studio-intro h2,
.scope-heading h2,
.projects-heading h2,
.contact-section h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 82px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro-copy {
  align-self: end;
}

.intro-copy p {
  max-width: 620px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 22px);
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.scope-section {
  display: grid;
  padding: 112px 0;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 80px;
  border-bottom: 1px solid var(--line);
}

.scope-heading h2 {
  max-width: 580px;
  font-size: clamp(40px, 4.5vw, 68px);
}

.scope-reel-wrap {
  position: relative;
}

.scope-reel {
  position: relative;
  height: 390px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 87%, transparent 100%);
}

.scope-reel::-webkit-scrollbar {
  display: none;
}

.scope-grid {
  padding: 52px 0;
}

.scope-grid > div {
  display: grid;
  padding: 17px 0;
  grid-template-columns: 54px 1fr;
  border-bottom: 1px solid var(--line);
  scroll-snap-align: start;
}

.scope-grid > div:first-child {
  border-top: 1px solid var(--line);
}

.scope-grid span {
  color: var(--muted);
  font-size: 11px;
}

.scope-grid strong {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 520;
  letter-spacing: -0.025em;
}

.scope-controls {
  display: flex;
  margin-top: 14px;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.scope-controls > span {
  margin-right: auto;
  color: var(--muted);
  font-size: 10px;
}

.scope-controls button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.scope-controls button:hover:not(:disabled) {
  color: var(--white);
  background: var(--ink);
}

.scope-controls button:disabled {
  opacity: 0.24;
  cursor: default;
}

.projects-section {
  padding: 24px 0 124px;
  border-bottom: 1px solid var(--line);
}

.projects-heading {
  display: grid;
  margin-bottom: 48px;
  padding-bottom: 28px;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  border-bottom: 1px solid var(--ink);
}

.projects-heading .overline {
  grid-column: 1 / -1;
}

.projects-heading h2 {
  margin: 0;
}

.projects-heading > p:last-child {
  max-width: 420px;
  margin: 0 0 5px;
  color: var(--muted);
}

.project-list {
  display: grid;
  gap: 0;
}

.project-card a {
  display: grid;
  padding: 22px 0;
  grid-template-columns: minmax(320px, 0.86fr) minmax(380px, 1.14fr);
  gap: clamp(28px, 4vw, 68px);
  border-bottom: 1px solid var(--line);
}

.project-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 410px;
  background: var(--panel);
}

.project-card-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-card-media img {
  transform: scale(1.02);
}

.project-card[data-project="mosquito"] .project-card-media img {
  transform: scale(1.18);
}

.project-card[data-project="mosquito"]:hover .project-card-media img {
  transform: scale(1.22);
}

.project-card-number,
.project-card-open {
  position: absolute;
  top: 16px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  font-size: 11px;
  font-weight: 600;
}

.project-card-number {
  left: 16px;
}

.project-card-open {
  right: 16px;
}

.project-card-info {
  display: flex;
  min-width: 0;
  padding: 8px 0;
  flex-direction: column;
  align-items: flex-start;
}

.project-card-client {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.project-card-summary,
.project-card-scope {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-card-scope {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.project-card-summary {
  margin-top: 22px;
  font-size: 16px;
}

.contact-section {
  padding: 108px 0 118px;
  text-align: center;
  border-top: 1px solid var(--ink);
}

.contact-section h2 {
  margin-bottom: 18px;
}

.contact-section > p:not(.overline) {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 17px;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  color: var(--ink);
  background: transparent;
}

.contact-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink);
}

.site-footer {
  display: grid;
  padding: 24px 0 30px;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.site-footer > :nth-child(2) {
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

/* Project pages */
.project-page .site-header {
  position: fixed;
  top: 16px;
}

.project-root {
  width: var(--page);
  margin-inline: auto;
  padding: 110px 0 128px;
}

.project-loading,
.project-error {
  min-height: 60vh;
  padding-top: 80px;
}

.case-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.project-gallery {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.gallery-item {
  grid-column: span 6;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
}

.gallery-item.wide {
  grid-column: span 12;
}

.gallery-item.half {
  grid-column: span 6;
}

.gallery-item.third {
  grid-column: span 4;
}

.gallery-item img {
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.gallery-item.wide img {
  height: auto;
  min-height: 0;
}

.gallery-item.portrait {
  aspect-ratio: 4 / 5;
}

.gallery-item.story {
  aspect-ratio: 9 / 16;
}

.gallery-item.portrait img,
.gallery-item.story img,
.gallery-item.story video {
  height: 100%;
  object-fit: cover;
}

.gallery-item video {
  width: 100%;
  height: auto;
  background: #111;
}

.gallery-label {
  display: grid;
  padding: 34px 0 12px;
  grid-column: span 12;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid var(--ink);
}

.gallery-label:first-child {
  padding-top: 8px;
  border-top: 0;
}

.gallery-label span {
  color: var(--muted);
  font-size: 11px;
}

.gallery-label strong {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 42px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.screen-mockup,
.browser-mockup,
.video-mockup,
.story-mockup,
.reel-mockup,
.photo-mockup {
  padding: clamp(10px, 1.8vw, 24px);
  background: #e3e3de;
  border-radius: 20px;
}

.mockup-screen-bar,
.browser-toolbar {
  display: grid;
  min-height: 38px;
  padding: 0 14px;
  grid-template-columns: 58px 1fr minmax(58px, 0.75fr);
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  background: #171717;
  border-radius: 13px 13px 0 0;
}

.mockup-screen-bar > span,
.browser-toolbar > span {
  display: flex;
  gap: 5px;
}

.mockup-brand {
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.mockup-brand-avatar {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  font-size: 7px;
  font-weight: 700;
}

.mockup-brand-avatar img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.mockup-screen-bar i,
.browser-toolbar i {
  display: block;
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.mockup-screen-bar small,
.browser-toolbar small {
  overflow: hidden;
  font-size: 9px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-brand small {
  max-width: 160px;
  color: inherit;
  text-align: left;
}

.screen-canvas {
  overflow: hidden;
  background: #111;
  border-radius: 0 0 13px 13px;
}

.screen-mockup .screen-canvas img,
.browser-mockup img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.browser-shell {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(17, 17, 15, 0.14);
  border-radius: 14px;
  box-shadow: 0 20px 52px rgba(17, 17, 15, 0.15);
}

.browser-toolbar {
  color: var(--muted);
  background: #f7f7f5;
  border-bottom: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 0;
}

.browser-toolbar i {
  background: rgba(17, 17, 15, 0.25);
}

.video-mockup {
  overflow: hidden;
}

.video-mockup .video-frame,
.video-mockup > video {
  overflow: hidden;
  border-radius: 0 0 13px 13px;
}

.story-mockup {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.9), transparent 34%),
    #dfdfda;
}

.reel-mockup {
  display: grid;
  min-height: 720px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.94), transparent 36%),
    #dfdfda;
}

.reel-phone-shell {
  position: relative;
  width: min(100%, 390px);
  height: 680px;
  padding: 22px 7px 7px;
  overflow: hidden;
  background: #151515;
  border-radius: 34px;
  box-shadow: 0 24px 58px rgba(17, 17, 15, 0.24);
}

.reel-phone-speaker {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  width: 58px;
  height: 4px;
  background: #555;
  border-radius: 99px;
  transform: translateX(-50%);
}

.reel-phone-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 25px;
  background: var(--white);
}

.story-phone-shell {
  position: relative;
  width: min(100%, 360px);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #111;
  border: 7px solid #181818;
  border-radius: 30px;
  box-shadow: 0 24px 58px rgba(17, 17, 15, 0.24);
}

.story-phone-shell > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.story-progress,
.story-head,
.story-reply {
  position: absolute;
  z-index: 2;
}

.story-progress {
  top: 12px;
  right: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.story-progress i {
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 99px;
}

.story-head {
  top: 23px;
  right: 13px;
  left: 13px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 7px;
  align-items: center;
  color: var(--white);
  font-size: 10px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.story-head .social-avatar {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 8px;
}

.story-reply {
  right: 13px;
  bottom: 14px;
  left: 13px;
  padding: 9px 12px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 9px;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.social-mockup {
  padding: clamp(12px, 2vw, 26px);
  background: #e7e7e2;
}

.social-post-shell {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(17, 17, 15, 0.14);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(17, 17, 15, 0.12);
}

.social-post-head {
  display: grid;
  min-height: 58px;
  padding: 10px 12px;
  grid-template-columns: 36px 1fr auto;
  gap: 9px;
  align-items: center;
  color: #181818;
}

.social-post-head > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.social-post-head strong {
  font-size: 12px;
  line-height: 1.2;
}

.social-post-head small {
  overflow: hidden;
  color: #777;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: #202020;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  overflow: hidden;
}

.social-avatar img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.social-more {
  color: #555;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.social-mockup img {
  width: 100%;
  height: auto;
  min-height: 0;
  background: #f2f2ef;
  object-fit: contain;
}

.social-post-actions {
  display: flex;
  min-height: 38px;
  padding: 7px 12px 4px;
  gap: 13px;
  align-items: center;
  color: #1d1d1d;
  font-size: 19px;
  line-height: 1;
}

.social-save {
  margin-left: auto;
}

.social-post-caption {
  display: flex;
  padding: 0 12px 13px;
  gap: 7px;
  color: #555;
  font-size: 10px;
}

.social-post-caption strong {
  color: #1d1d1d;
}

.photo-mockup {
  background: #deded9;
}

.photo-shell {
  padding: 9px 9px 12px;
  background: var(--white);
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 15px;
  box-shadow: 0 18px 44px rgba(17, 17, 15, 0.13);
}

.photo-shell img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 9px;
  object-fit: contain;
}

.photo-shell figcaption {
  padding: 10px 3px 0;
  color: #5f5f5a;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.external-video-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0 0 13px 13px;
  background: #111;
}

.external-video-link img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: filter 220ms ease, transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.external-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  padding-left: 4px;
  place-items: center;
  color: #111;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.external-video-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 12px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 650;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.external-video-link:hover img {
  filter: brightness(0.86);
  transform: scale(1.018);
}

.youtube-play {
  color: var(--white);
  background: #ff0033;
}

.plain-media {
  overflow: visible;
  background: transparent;
}

.plain-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.brand-banner {
  position: relative;
  display: grid;
  min-height: 180px;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, 0.7fr);
  overflow: hidden;
  background: #f5cb27;
  border-radius: 18px;
}

.brand-banner-photo {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.brand-banner-logo {
  display: grid;
  padding: clamp(22px, 4vw, 52px);
  place-items: center;
}

.brand-banner-logo img {
  width: min(100%, 320px);
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.infinite-carousel-mockup {
  padding: clamp(12px, 1.8vw, 24px);
  overflow: hidden;
  background: #e3e3de;
  border-radius: 20px;
}

.infinite-carousel-head {
  display: flex;
  min-height: 44px;
  padding: 0 4px 12px;
  align-items: center;
  justify-content: space-between;
  color: #5f5f5a;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.infinite-carousel-head .mockup-brand {
  display: flex;
  gap: 8px;
  color: #1d1d1d;
}

.infinite-carousel-window {
  overflow: hidden;
  border-radius: 14px;
  outline: 0;
}

.infinite-carousel-track {
  display: flex;
  width: max-content;
  animation: infinite-carousel-slide var(--carousel-speed, 36s) linear infinite;
  will-change: transform;
}

.infinite-carousel-mockup.is-reverse .infinite-carousel-track {
  animation-direction: reverse;
}

.infinite-carousel-window:hover .infinite-carousel-track,
.infinite-carousel-window:focus .infinite-carousel-track {
  animation-play-state: paused;
}

.infinite-carousel-group {
  display: flex;
  flex: 0 0 auto;
  padding-right: 12px;
  gap: 12px;
}

.infinite-carousel-card {
  display: block;
  width: clamp(210px, 28vw, 292px);
  padding: 7px;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(17, 17, 15, 0.12);
}

.infinite-carousel-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: contain;
}

@keyframes infinite-carousel-slide {
  to {
    transform: translateX(-50%);
  }
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #141414;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  height: 100%;
  border: 0;
}

.project-sidebar {
  position: sticky;
  top: 106px;
  align-self: start;
}

.project-sidebar h1 {
  margin: 12px 0 20px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.sidebar-banner {
  margin: 24px 0 0;
  overflow: hidden;
  border-radius: 12px;
  background: #ddd;
}

.sidebar-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.is-zoomable {
  cursor: zoom-in;
}

.media-lightbox[hidden] {
  display: none;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  padding: clamp(20px, 4vw, 60px);
  place-items: center;
  background: rgba(10, 10, 9, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.media-lightbox > img {
  width: auto;
  max-width: 94vw;
  height: auto;
  max-height: 90vh;
  min-height: 0;
  object-fit: contain;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.48);
}

.media-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 48px;
  height: 48px;
  color: #111;
  background: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.project-summary {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.sidebar-section {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}

.sidebar-section h2 {
  margin: 0 0 13px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sidebar-section > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.project-facts {
  margin: 0;
}

.project-facts div {
  display: grid;
  padding: 9px 0;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.project-facts dt {
  color: var(--muted);
}

.project-facts dd {
  margin: 0;
}

.next-project {
  display: grid;
  margin-top: 100px;
  padding: 24px 0;
  grid-template-columns: 170px 1fr auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.next-project span {
  color: var(--muted);
  font-size: 12px;
}

.next-project strong {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.045em;
}

@media (max-width: 980px) {
  .studio-intro,
  .hero-intro,
  .scope-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-feature {
    display: none;
  }

  .project-card a {
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 28px;
  }

  .case-layout {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: static;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0 36px;
    padding-bottom: 28px;
  }

  .project-sidebar .overline,
  .project-sidebar h1 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100vw - 28px);
  }

  .site-header {
    top: 10px;
    width: var(--page);
    padding: 12px 14px;
  }

  .brand {
    font-size: 15px;
  }

  .site-nav {
    gap: 14px;
    font-size: 11px;
  }

  .site-nav a:nth-child(2) {
    display: none;
  }

  .hero-studio,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    padding: 90px 0 28px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .studio-intro,
  .scope-section {
    padding: 76px 0;
  }

  .hero-intro {
    padding: 58px 0 62px;
    gap: 30px;
  }

  .hero-intro h1 {
    font-size: clamp(42px, 12.5vw, 68px);
  }

  .projects-section {
    padding: 48px 0 76px;
  }

  .hero-switcher {
    bottom: 22px;
  }

  .hero-switcher button {
    padding: 12px 6px 0;
    font-size: 10px;
  }

  .hero-switcher button span {
    display: block;
    margin: 0 0 3px;
  }

  .scope-reel {
    height: 330px;
  }

  .projects-heading {
    grid-template-columns: 1fr;
  }

  .project-list {
    gap: 0;
  }

  .project-card a {
    padding: 18px 0 26px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-card-media {
    aspect-ratio: 4 / 3;
  }

  .project-card-info {
    gap: 16px;
  }

  .project-card-scope {
    margin-top: 4px;
  }

  .contact-section {
    padding: 74px 0 80px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > :nth-child(2) {
    display: none;
  }

  .project-root {
    padding-top: 22px;
  }

  .case-topline {
    gap: 20px;
  }

  .project-sidebar {
    display: block;
  }

  .brand-banner {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .brand-banner-photo {
    min-height: 150px;
    aspect-ratio: 16 / 7;
  }

  .brand-banner-logo {
    min-height: 92px;
    padding: 22px;
  }

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

  .gallery-item,
  .gallery-item.half,
  .gallery-item.third {
    grid-column: span 1;
  }

  .gallery-item.wide,
  .gallery-label {
    grid-column: 1 / -1;
  }

  .gallery-item.social-mockup {
    grid-column: 1 / -1;
  }

  .gallery-item.story-mockup {
    grid-column: 1 / -1;
  }

  .gallery-item.reel-mockup {
    grid-column: 1 / -1;
  }

  .gallery-item.infinite-carousel-mockup {
    grid-column: 1 / -1;
  }

  .infinite-carousel-card {
    width: min(72vw, 260px);
  }

  .reel-mockup {
    min-height: 660px;
  }

  .reel-phone-shell {
    height: 620px;
  }

  .gallery-item img {
    height: auto;
    min-height: 0;
  }

  .next-project {
    margin-top: 68px;
    grid-template-columns: 1fr auto;
  }

  .next-project span:first-child {
    grid-column: 1 / -1;
  }
}

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

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

  .scope-reel {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .infinite-carousel-track {
    animation: none;
  }

  .infinite-carousel-window {
    overflow-x: auto;
  }

  .infinite-carousel-group[aria-hidden="true"] {
    display: none;
  }
}
