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

:root {
  --bg:      #F8F7F4;
  --dark:    #0A0908;
  --red:     #C41230;
  --text:    #1C1C1A;
  --muted:   #8C8B87;
  --border:  rgba(28,28,26,0.1);
  --border-d:rgba(248,247,244,0.09);
  --font-d:    'Cambo', serif;
  --font-b:    'Commissioner', sans-serif;
  --font-hero: 'Epilogue', sans-serif;
  --ease:      cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out:  cubic-bezier(0.33, 1, 0.68, 1);
  --container: 1440px;
  --nav-h:     6rem;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-b); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
@media (pointer: fine) { h1, h2, h3, h4, h5, h6, p, li, span, blockquote { cursor: default; } }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em.red { font-style: normal; color: var(--red); }
::selection { background: var(--red); color: var(--bg); }
.container { width: 100%; padding: 0 3.5rem; }
.hero__inner, .footer .container { max-width: var(--container); margin: 0 auto; }

/* ═══════════════════════════════════════════
   CURSOR — trailing ring overlay
═══════════════════════════════════════════ */
.cursor {
  position: fixed; left: 0; top: 0;
  width: 32px; height: 32px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  pointer-events: none; z-index: 10000;
  mix-blend-mode: difference;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), opacity 0.4s var(--ease);
  will-change: transform;
  opacity: 0;
}
.cursor.ready { opacity: 1; }
.cursor.grow  { width: 60px; height: 60px; }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 0 1.75rem;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), padding 0.35s var(--ease), border-color 0.4s, transform 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(248,247,244,0.94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: 0 0 1rem; border-color: var(--border);
  box-shadow: 0 8px 32px rgba(10,9,8,0.07);
}
.nav__inner {
  width: 100%; padding: 0 3.5rem; max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo a { display: block; }
.nav__logo img {
  height: 110px; width: auto;
  transition: height 0.35s var(--ease);
}
.nav.scrolled .nav__logo img { height: 72px; }
.nav__logo a:hover img,
.footer__logo a:hover img {
  animation: logo-shake 0.45s steps(1) forwards;
}
@keyframes logo-shake {
  0%   { transform: translate(0, 0); }
  12%  { transform: translate(-3px, 0); }
  24%  { transform: translate(3px, 1px); }
  38%  { transform: translate(-2px, -1px); }
  52%  { transform: translate(2px, 0); }
  66%  { transform: translate(-1px, 1px); }
  82%  { transform: translate(1px, -1px); }
  100% { transform: translate(0, 0); }
}
.nav__links { display: flex; gap: 2.75rem; align-items: center; margin-top: 0.9rem; }
.nav__link {
  font-family: var(--font-b); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text);
  position: relative; padding-bottom: 2px; transition: color 0.25s;
}
.nav.scrolled .nav__link { color: var(--text); }
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__cta {
  font-family: var(--font-b); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--red); color: #fff;
  padding: 10px 24px; border-radius: 100px;
  transition: background 0.3s, color 0.3s, transform 0.35s var(--ease);
  position: relative; overflow: hidden;
}
.nav__cta::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.25) 50%, transparent 85%);
  transform: translateX(-100%);
  transition: transform 0s;
}
.nav__cta:hover { background: #a50f28; transform: scale(1.04); }
.nav__cta:hover::after {
  transform: translateX(100%);
  transition: transform 1s ease;
}
.nav--hidden { transform: translateY(-100%); }

/* Burger button — hidden on desktop */
.nav__burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 110;
}
.nav__burger span {
  display: block; width: 26px; height: 1.5px;
  background: var(--text); transform-origin: center;
  transition: background 0.3s, transform 0.3s var(--ease), opacity 0.2s;
}
.nav.scrolled .nav__burger span { background: var(--text); }

/* Mobile menu — full-screen clip reveal */
.mobile-menu {
  position: fixed; inset: 0; background: var(--dark); z-index: 99;
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 3.5rem;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
}
.mobile-menu__nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu__link { display: block; overflow: hidden; line-height: 1.1; padding: 0.5rem 0; }
.mobile-menu__link span {
  display: block;
  font-family: var(--font-d); font-size: clamp(2.5rem, 10vw, 5rem); font-weight: 400;
  color: #fff; letter-spacing: -0.04em;
}
.mobile-menu__link:hover span { color: var(--red); }
.mobile-menu__footer { position: absolute; bottom: 3rem; left: 3.5rem; }
.mobile-menu__footer a { color: rgba(255,255,255,0.4); font-size: 0.875rem; transition: color 0.2s; }
.mobile-menu__footer a:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* ═══════════════════════════════════════════
   HERO — dark, dot-grid, giant "F", clip-path wipes
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh; position: relative;
  background: var(--bg);
  display: flex; align-items: center;
  padding: 12rem 0 8rem;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: -200%;
  width: 400%; height: 400%;
  z-index: 9; pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: hero-grain 0.4s steps(1) infinite;
}
@keyframes hero-grain {
  0%   { transform: translate(0,   0); }
  20%  { transform: translate(-5%, -10%); }
  40%  { transform: translate(-15%,  5%); }
  60%  { transform: translate( 7%, -25%); }
  80%  { transform: translate(-5%,  25%); }
  100% { transform: translate(15%, -5%); }
}
/* ── Hero video background ── */
.hero__video-wrap {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  background: var(--bg);
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  mix-blend-mode: screen;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: none;
}
/* ── Hero particle canvas (transparent overlay above video) ── */
#ph-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; z-index: 2;
  background: transparent;
  filter: blur(8px);
}
.ph-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center,
    transparent 30%,
    rgba(10,9,8,0.55) 100%
  );
  pointer-events: none; z-index: 3;
}
.hero__inner { position: relative; z-index: 10; }
.hero__headline {
  font-family: var(--font-hero); font-weight: 900;
  font-size: clamp(3rem, 6.8vw, 8.5rem);
  line-height: 0.9; letter-spacing: -0.045em;
  margin-bottom: 4rem; color: var(--red);
}
.hero__wipe { display: block; clip-path: inset(-20% 100% -20% 0); font-family: var(--font-d); }
.hero__wipe em { font-style: normal; color: var(--red); }

/* ── Hero word cycle ── */
.hero__cycle {
  display: block; position: relative;
  /* No overflow:hidden — rotation pushes corners outside the box and gets clipped.
     Height reserves layout space since children are position:absolute. */
  height: 1.3em;
  line-height: 1;
  margin-top: -0.1em;
  opacity: 0; transform: translateY(14px);
}
.cycle-word {
  position: absolute; top: 0; left: 0;
  font-family: var(--font-d);
  font-size: 1em;
  font-weight: 900;
  color: var(--dark);
  transform: none;
  transform-origin: left center;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  will-change: opacity;
  letter-spacing: -0.03em;
}
.cycle-word.active  { opacity: 1; }
.cycle-word.leaving { opacity: 0; transition: opacity 0.25s var(--ease); }
.cycle-stroke {
  position: absolute; left: 0; bottom: -0.05em;
  width: 100%; height: 0.22em;
  overflow: visible; z-index: -1;
  clip-path: inset(-6px 101% -6px 0);
}
.cycle-word.active .cycle-stroke {
  animation: brushReveal 0.65s ease forwards 0.05s;
}
@keyframes brushReveal {
  to { clip-path: inset(-6px 0% -6px 0); }
}

.hero__sub-row {
  display: flex; flex-direction: column; gap: 1.75rem;
  max-width: 860px; padding-top: 2.25rem;
  opacity: 0; transform: translateY(14px);
}
.hero__sub {
  font-family: var(--font-b); font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.4;
  color: rgba(10,9,8,0.7);
}
.hero__sub--display {
  font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em;
}
.hero__sub--display strong { font-weight: 700; color: var(--dark); }


.hero__cta-block { display: flex; flex-direction: column; gap: 1.25rem; }
.hero__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2.25rem; font-family: var(--font-b);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid transparent; transition: all 0.35s var(--ease);
  white-space: nowrap; border-radius: 100px;
  position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.25) 50%, transparent 85%);
  transform: translateX(-100%);
  transition: transform 0s;
}
.btn:hover::after {
  transform: translateX(100%);
  transition: transform 1s ease;
}
.btn--red { background: var(--red); color: #fff; border-color: var(--red); }
.btn:hover { transform: scale(1.04); }
.btn--red:hover { background: #a50f28; border-color: #a50f28; }
.btn--outline-red { border-color: var(--red); color: var(--red); }
.btn--outline-red:hover { background: var(--red); border-color: var(--red); color: #fff; }
.hero__scroll {
  position: absolute; bottom: 2.8rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 0.6rem;
  opacity: 0; z-index: 10;
}
.hero__scroll-label {
  font-family: var(--font-b); font-size: 10px;
  letter-spacing: 0.44em; text-transform: uppercase;
  color: var(--red);
}
.hero__scroll-line { width: 1px; height: 48px; background: rgba(196,18,48,0.2); overflow: hidden; position: relative; }
.hero__scroll-line::after {
  content: ''; position: absolute; inset: 0; background: var(--red);
  animation: scan 2s ease-in-out infinite;
}
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ── Hero headline row (headline + badge side by side) ── */
.hero__headline-row {
  display: flex; align-items: flex-start; gap: 2rem;
  margin-bottom: 4rem;
}
.hero__headline-row .hero__headline { margin-bottom: 0; flex: 1; }


/* ═══════════════════════════════════════════
   ABOUT INTRO
═══════════════════════════════════════════ */
.about-intro { padding: 8rem 0; }
.about-intro .container { max-width: var(--container); margin: 0 auto; }
.about-intro__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.about-intro__content { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.about-intro__heading {
  font-family: var(--font-d); font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 400; line-height: 1; letter-spacing: -0.02em; color: var(--text);
}
.about-intro__heading--sm { font-size: clamp(1.75rem, 3vw, 3rem); }
.about-intro__text {
  font-family: var(--font-b); font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400; line-height: 1.75; color: var(--text);
}
.about-intro__image {
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px;
  position: relative;
}
.about-intro__image .studio-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.2s ease;
}
.about-intro__image .studio-img.active { opacity: 1; }

/* ═══════════════════════════════════════════
   CLIENTS — no background, plain carousel strip
═══════════════════════════════════════════ */
.clients { padding: 6rem 0; }
.clients .container { margin-bottom: 4.5rem; }
.clients__heading { text-align: center; }
.section-label {
  font-family: var(--font-b); font-size: 0.6rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 0.75rem;
}
.section-header { margin-bottom: 4rem; }
/* Carousel strip — no coloured background */
.clients__strip {
  overflow: hidden; padding: 0.5rem 0;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.clients__strip + .clients__strip { margin-top: 3rem; }
.clients__track {
  display: flex; align-items: center; gap: 0;
  width: max-content; animation: marquee 75s linear infinite;
}
.clients__track--reverse { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client-logo { padding: 0 1.75rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.client-logo img {
  display: block;
  width: 200px; height: 74px;
  object-fit: contain;
  filter: brightness(0);
}


/* ═══════════════════════════════════════════
   WORK GRID — desktop card layout
═══════════════════════════════════════════ */
.work-grid { position: relative; overflow: hidden; padding: 6rem 3.5rem 8rem; }
.work-grid__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  max-width: var(--container); margin: 0 auto 2rem;
  position: relative; z-index: 1;
}
.work-grid__title {
  font-family: var(--font-d); font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1;
  color: rgba(248,247,244,0.92);
}
.wg-bg-img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.1);
  filter: blur(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.wg-bg-img.active { opacity: 1; transform: scale(1.06); }
.work-grid__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: var(--container); margin: 0 auto;
  position: relative; z-index: 1;
  grid-template-rows: auto;
}
.wg-card {
  position: relative; display: block;
  aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
}
.wg-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
.wg-card:nth-child(8) { grid-column: 3 / 5; aspect-ratio: 3 / 2; }
.wg-card__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s var(--ease);
}
.wg-card:hover .wg-card__img { transform: scale(1.04); }
.wg-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 10;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.22) 50%, transparent 85%);
  transform: translateX(-100%);
  transition: transform 0s;
  pointer-events: none;
}
.wg-card:hover::after {
  transform: translateX(100%);
  transition: transform 1s ease;
}
.wg-card__overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,9,8,0.88) 0%, rgba(10,9,8,0.18) 60%, transparent 100%);
  padding: 3rem 1.5rem 1.5rem;
}
.wg-card__title {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.1;
  color: rgba(248,247,244,0.95); display: block;
}
.wg-card__services {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.18rem;
  margin-bottom: 0.7rem;
}
.wg-card__services span {
  font-family: var(--font-b); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(248,247,244,0.94); background: rgba(10,9,8,0.55);
  padding: 0.3rem 0.65rem; border-radius: 0; line-height: 1;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.about-page-header { padding: 10rem 0 4rem; }
.about-page-header .container { max-width: var(--container); margin: 0 auto; }
.about-page-header__title {
  font-family: var(--font-d); font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1;
  color: var(--text); margin-top: 0.5rem;
}
.about-page-intro { padding: 0 0 8rem; }
.about-page-intro .container { max-width: var(--container); margin: 0 auto; }
.about-page-intro__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.about-page-intro__content { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.about-page-intro__text {
  font-family: var(--font-b); font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 400; line-height: 1.75; color: var(--text);
}
.about-page-intro__image { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.about-page-intro__image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) {
  .about-page-intro__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-page-intro__image { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  .about-page-header { padding: 8rem 0 3rem; }
  .about-page-intro { padding: 0 0 5rem; }
}

/* ═══════════════════════════════════════════
   CAPABILITIES PAGE — header
═══════════════════════════════════════════ */
.cap-page-header { padding: 10rem 0 5rem; }
.cap-page-header .container { max-width: var(--container); margin: 0 auto; }
.cap-page-header__title {
  font-family: var(--font-d); font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1;
  color: var(--text); margin: 0.5rem 0 1.5rem;
}
.cap-page-header__intro {
  font-family: var(--font-b); font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400; line-height: 1.7; color: var(--muted);
  max-width: 560px;
}

/* ═══════════════════════════════════════════
   CAPABILITIES — editorial rows
═══════════════════════════════════════════ */
.cap { padding: 8rem 0; position: relative; }
.cap .container { max-width: var(--container); margin: 0 auto; padding: 0 3.5rem; position: relative; z-index: 1; }
#cap-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  filter: blur(8px);
}
.cap__header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: end; padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.cap__title {
  font-family: var(--font-d); font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1; color: var(--text);
}
.cap__intro {
  font-family: var(--font-b); font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400; color: var(--text); line-height: 1.7; align-self: end;
  text-align: right;
}
.cap__rows {
  position: relative;
  border-bottom: 1px dotted var(--border);
}
.cap__row {
  position: sticky; top: var(--nav-h);
  background: var(--bg);
  display: flex; align-items: center;
  border-top: 1px dotted var(--border);
  margin-bottom: 0;
}
.cap__row:nth-child(1) { z-index: 1; }
.cap__row:nth-child(2) { z-index: 2; }
.cap__row:nth-child(3) { z-index: 3; }
.cap__row:nth-child(4) { z-index: 4; }
.cap__row-inner {
  display: grid; grid-template-columns: 5rem 1fr 420px;
  gap: 3.5rem; align-items: start; padding: 4rem 3rem;
  width: 100%;
}
.cap__num {
  font-family: var(--font-d); font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 400;
  color: var(--red); letter-spacing: -0.02em;
  line-height: 1;
}
.cap__content { display: flex; flex-direction: column; gap: 1rem; }
.cap__name {
  font-family: var(--font-d); font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; color: var(--text);
}
.cap__desc {
  font-family: var(--font-b); font-size: 1.25rem;
  color: var(--text); line-height: 1.6;
}
.cap__list {
  list-style: none; display: flex; flex-direction: column; gap: 0.4rem;
  margin-top: 0.5rem;
}
.cap__list li {
  font-family: var(--font-b); font-size: 1.1rem;
  color: var(--muted); padding-left: 1.25rem; position: relative; line-height: 1.5;
}
.cap__list li::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px;
  background-color: var(--red);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h8M7 3l3 3-3 3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h8M7 3l3 3-3 3'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
}
.cap__image { overflow: hidden; border-radius: 8px; clip-path: inset(0 round 8px); height: 360px; }
.cap__image img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-alt--page { min-height: 100vh; padding-top: calc(var(--nav-h) + 6rem); display: flex; align-items: center; }
.contact-alt__label { color: rgba(248,247,244,0.35); margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════
   CONTACT — typographic dark layout
═══════════════════════════════════════════ */
.contact-alt { background: var(--dark); padding: 7rem 0 8rem; }
.contact-alt .container { max-width: var(--container); margin: 0 auto; }
.contact-alt__display {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(3.5rem, 8vw, 8rem);
  letter-spacing: -0.03em; line-height: 1;
  color: var(--red); margin-bottom: 3rem;
}
.contact-alt__footer {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  border-top: 1px solid rgba(248,247,244,0.12); padding-top: 2.5rem;
}
.contact-alt__note {
  font-family: var(--font-b); font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400; color: rgba(248,247,244,0.75); line-height: 1.7;
}
.contact-alt__cta { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-end; }
.contact-alt__email {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-b); font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500; color: #fff;
  position: relative; padding-bottom: 3px;
  align-self: flex-end;
  transition: color 0.35s var(--ease), gap 0.35s var(--ease);
}
.contact-alt__email::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.45s var(--ease);
}
.contact-alt__email svg { transition: transform 0.35s var(--ease); flex-shrink: 0; }
.contact-alt__email:hover { color: var(--red); gap: 1rem; }
.contact-alt__email:hover::after { transform: scaleX(1); }
.contact-alt__email:hover svg { transform: translateX(6px); }

/* ═══════════════════════════════════════════
   BACK TO TOP — fixed floating button
═══════════════════════════════════════════ */
.scroll-top {
  position: fixed; bottom: 2.5rem; right: 2.5rem; z-index: 90;
  width: 2.75rem; height: 2.75rem;
  background: var(--red); border: 1px solid var(--red);
  border-radius: 50%; display: grid; place-items: center;
  color: #fff;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.25s;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: #a50f28; border-color: #a50f28; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer { background: var(--dark); border-top: 1px solid var(--border-d); padding: 2.5rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer__logo a { display: block; }
.footer__logo img { height: 60px; filter: brightness(0) invert(1); }
.footer__links { display: flex; gap: 2rem; }
.footer__links a { font-family: var(--font-b); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(248,247,244,0.4); transition: color 0.2s; }
.footer__links a:hover { color: rgba(248,247,244,0.85); }
.footer__copy { font-family: var(--font-b); font-size: 0.75rem; letter-spacing: 0.1em; color: rgba(248,247,244,0.25); }

/* ═══════════════════════════════════════════
   REVEAL
═══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.vis { opacity: 1; transform: none; }
.clients .reveal { transform: none; }

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (max-width: 1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Studio */
  .about-intro { padding: 5rem 0; }
  .about-intro__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-intro__image { aspect-ratio: 16 / 9; }

}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (max-width: 768px)
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Cursor */
  .cursor { display: none; }

  /* Container & nav */
  .container { padding: 0 1.5rem; }
  .nav__inner { padding: 0 1.5rem; }
  .nav__logo img { height: 80px; }

  /* Hero */
  .hero { padding: 7rem 0 5rem; }
  .hero__headline-row { flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }

  .hero__sub-row { max-width: 100%; }
  .hero__scroll { display: none; }

  /* Studio */
  .about-intro { padding: 4rem 0; }

  /* Clients */
  .clients { padding: 3.5rem 0; }
  .client-logo { padding: 0 0.75rem; }
  .client-logo img { width: 140px; height: 54px; }
  .clients__track { animation-duration: 40s; }

  /* Capabilities */
  .cap { padding: 4rem 0; }
  .cap__intro { text-align: left; }
  .cap__header { grid-template-columns: 1fr; gap: 1.5rem; }
  .cap__row { position: relative; top: auto; background: transparent; }
  .cap__row-inner { grid-template-columns: 1fr; gap: 1rem; padding: 2.5rem 0; }
  .cap__num { margin-bottom: 0.25rem; }
  .cap__image { margin-top: 1rem; }
  .cap .container { padding: 0 1.5rem; }

  /* Work grid — horizontal swipe carousel */
  .work-grid { padding: 5rem 0 6rem; }
  .work-grid__header { padding: 0 1.5rem; margin-bottom: 1.5rem; }
  .work-grid__inner {
    display: flex; overflow-x: scroll;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 0.75rem;
    padding: 0 1.5rem; max-width: none; margin: 0;
    scroll-padding-left: 1.5rem;
  }
  .work-grid__inner::-webkit-scrollbar { display: none; }
  .wg-card,
  .wg-card:nth-child(1),
  .wg-card:nth-child(8) { flex: 0 0 78vw; scroll-snap-align: start; aspect-ratio: 3 / 4; }

  /* Contact */
  .contact-alt { padding: 4rem 0 5rem; }
  .contact-alt__footer { grid-template-columns: 1fr; gap: 2rem; }
  .contact-alt__cta { align-items: flex-start; }
  .contact-alt__email { align-self: flex-start; }

  /* Mobile menu */
  .mobile-menu { padding: 3rem 1.5rem; }
  .mobile-menu__footer { left: 1.5rem; }

  /* Footer */
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .footer__logo img { height: 50px; }
  .footer__links { flex-direction: column; gap: 1rem; }
  .footer__copy { align-self: flex-start; }

}
