/* ==========================================================
   CLANB — dark by default, CLANB brand colours
   Interaction model mirrors goats.com.pl (GSAP + ScrollTrigger + Lenis)
   Type: system-ui stack only
   ========================================================== */

:root {
  /* Type: Inter Tight throughout. */
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: var(--font); /* labels use Inter Tight too */

  /* CLANB brand (from the culture deck + logo pack) */
  --c-bg: #000000;          /* black */
  --c-dark: #000000;
  --c-menu-dark: #0a0a0a;
  --c-surface: #151515;
  --c-pink: #d81964;        /* the "B" pink, from the logo vector */
  --c-white: #ffffff;
  --c-text: rgba(255, 255, 255, .72);
  --c-border: rgba(255, 255, 255, .22);

  --header-top: clamp(20px, 2.5vw, 48px);
  --header-x-left: clamp(20px, 3.02vw, 58px);
  --header-x-right: clamp(16px, 2.24vw, 43px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--c-bg); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.35;
  color: var(--c-white);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html.is-menu-locked, html.is-menu-locked body { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--c-pink); outline-offset: 4px; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 300; padding: 10px 16px; background: #fff; color: #111; border-radius: 999px; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Hide header until JS has set it up (prevents flash) */
html.js-boot [data-animate="chrome"] { visibility: hidden; }

/* ---------------- Header ---------------- */


/* ---------------- Header (text only; background after scroll) ---------------- */
.site-header {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--header-x-left);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease-out), background-color .35s ease, padding .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(0, 0, 0, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__logo { color: var(--c-white); }
.site-header__logo svg { width: 40px; height: 40px; transition: width .35s ease, height .35s ease; }
.site-header.is-scrolled .site-header__logo svg { width: 34px; height: 34px; }

.navbar { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.navbar__links { display: flex; gap: clamp(18px, 2vw, 32px); }
.navbar__links a, .navbar__cta, .navbar__burger { position: relative; font-size: 15px; font-weight: 500; letter-spacing: -.01em; transition: color .3s ease; }
.navbar__links a { color: rgba(255, 255, 255, .82); }
.navbar__links a::after, .navbar__cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.navbar__cta { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-pink); }
.navbar__burger { display: none; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .navbar__links a:hover { color: #fff; }
  .navbar__links a:hover::after, .navbar__cta:hover::after { transform: scaleX(1); transform-origin: left; }
}
html.is-menu-open .site-header { z-index: 110; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.is-menu-open .site-header.is-hidden { transform: none; }
html.is-menu-open .site-header .navbar { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s .3s; }
@media (max-width: 900px) {
  .navbar__links { display: none; }
  .navbar__burger { display: inline-block; }
}
@media (max-width: 575.98px) {
  .site-header { padding: 16px 20px; }
  .site-header.is-scrolled { padding-top: 10px; padding-bottom: 10px; }
  .site-header__logo svg { width: 34px; height: 34px; }
  .site-header.is-scrolled .site-header__logo svg { width: 30px; height: 30px; }
  .navbar { gap: 20px; }
}

/* ---------------- Menu ---------------- */
.menu { position: fixed; inset: 0; z-index: 100; display: flex; visibility: hidden; }
.menu.is-open { visibility: visible; }
.menu__left, .menu__right { height: 100%; overflow: hidden; position: relative; background: var(--c-menu-dark); }
.menu__left { width: 44%; }
.menu__right { width: 56%; display: flex; align-items: center; }
.menu__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.menu__close { position: absolute; top: clamp(24px, 3.6vh, 40px); right: clamp(28px, 5.4vw, 104px); padding: 10px; color: #fff; transition: opacity .3s, transform .3s; }
.menu__close svg { width: 28px; height: 28px; }
.menu__nav { width: 100%; padding-left: clamp(40px, 24%, 260px); padding-right: clamp(24px, 8%, 120px); }
.menu__nav ul { max-width: clamp(300px, 38.3vw, 735px); }
.menu__nav li { border-bottom: 1px solid rgba(255, 255, 255, .25); overflow: hidden; }
.menu__nav li:last-child { border-bottom: 0; }
.menu__link { display: inline-block; padding: clamp(10px, 1.2vw, 20px) 0; font-size: clamp(30px, 3.6vw, 64px); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; transition: color .35s ease; }
.menu__lang { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 48px); padding-left: clamp(40px, 24%, 260px); }
.menu__lang ul { display: flex; gap: clamp(16px, 2vw, 28px); }
.menu__lang-link { font-size: clamp(16px, 1.25vw, 24px); font-weight: 600; text-transform: uppercase; transition: color .35s; }
.menu__lang-link.is-current { color: var(--c-pink); }
@media (hover: hover) and (pointer: fine) {
  .menu__close:hover { opacity: .6; transform: rotate(90deg); }
  .menu__link:hover, .menu__lang-link:hover { color: var(--c-pink); }
}

/* ---------------- Video toggle (sound + play) ---------------- */
.video-toggle {
  position: fixed; z-index: 35;
  left: var(--header-x-left); bottom: clamp(20px, 2.5vw, 48px);
  display: flex; gap: 10px;
}
.video-toggle__btn {
  height: 40px; min-width: 40px; padding: 0 14px 0 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255, 255, 255, .88); color: #1e1e1e;
  border-radius: 999px; box-shadow: 0 2px 16px rgba(0, 0, 0, .2);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.video-toggle__play { padding: 0; width: 40px; }
.video-toggle__btn svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle__sound .i-sound, .video-toggle__sound[aria-pressed="true"] .i-muted { display: none; }
.video-toggle__sound[aria-pressed="true"] .i-sound { display: block; }
.video-toggle__sound[aria-pressed="true"] { background: var(--c-pink); color: #fff; }
.video-toggle__play-i, .video-toggle.is-paused .video-toggle__pause { display: none; }
.video-toggle.is-paused .video-toggle__play-i { display: block; }
@media (hover: hover) and (pointer: fine) { .video-toggle__btn:hover { transform: scale(1.06); } }

/* ---------------- Hero ---------------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--c-dark); }
.hero__media { position: absolute; inset: 0; will-change: transform, opacity; }
.hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 160px; background: linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent); pointer-events: none; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ---------------- About ---------------- */
.about { position: relative; height: 200vh; background: var(--c-bg); }
.about__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 clamp(20px, 4vw, 80px); text-align: center;
}
.about__label { margin-bottom: clamp(24px, 2.9vw, 56px); font-size: clamp(12px, .95vw, 16px); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.about__title { font-size: clamp(36px, 5vw, 92px); font-weight: 600; line-height: .98; letter-spacing: -.035em; }
.about__line { display: block; }
.word { display: inline-block; }
.word--pink { color: var(--c-pink); }

/* ---------------- We make ---------------- */
.wemake { --wemake-pad-x: clamp(24px, 4.3vw, 83px); position: relative; background: var(--c-bg); overflow: clip; }
.wemake__screen { position: relative; }
.wemake__screen--intro { height: 100vh; height: 100svh; overflow: hidden; }
.wemake__intro-media { position: absolute; inset: 0; will-change: transform, opacity; }
.wemake__intro-media video { width: 100%; height: 100%; object-fit: cover; }
.wemake__screen--cards { background: var(--c-bg); padding: clamp(48px, 7vh, 96px) var(--wemake-pad-x); }
.wemake__artboard { --logo-b: rgba(216, 25, 100, .18); position: absolute; top: 0; left: 0; width: 100vw; height: 100%; overflow: hidden; pointer-events: none; will-change: transform; display: flex; align-items: center; justify-content: flex-end; color: rgba(255, 255, 255, .05); }
.wemake__artboard svg { height: 118%; width: auto; aspect-ratio: 1; margin-right: -6vw; }
.wemake__content { position: relative; }
.wemake__title { margin-bottom: clamp(28px, 4.5vh, 48px); font-size: clamp(28px, 3vw, 56px); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
.wemake__accent { color: var(--c-pink); }
.wemake__cards { display: flex; gap: clamp(14px, 1.4vw, 24px); }
.wemake-card { flex: 0 0 auto; width: clamp(220px, 16vw, 300px); aspect-ratio: 321 / 435; border-radius: clamp(16px, 1.46vw, 28px); overflow: hidden; background: var(--c-surface); }
.wemake-card__link { position: relative; display: block; width: 100%; height: 100%; }
.wemake-card__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.wemake-card__meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px;
  display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(to top, rgba(0, 0, 0, .78), transparent);
}
.wemake-card__meta b { font-size: clamp(16px, 1.1vw, 20px); font-weight: 600; }
.wemake-card__meta i { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .75); }
.wemake__progress { display: none; }
@media (hover: hover) and (pointer: fine) { .wemake-card__link:hover img { transform: scale(1.05); } }

.wemake--pinned .wemake__inner { display: flex; width: max-content; will-change: transform; }
.wemake--pinned .wemake__screen { flex-shrink: 0; width: 100vw; height: 100vh; height: 100svh; }
.wemake--pinned .wemake__screen--cards { display: flex; flex-direction: column; justify-content: center; width: auto; min-width: 100vw; }
.wemake--pinned .wemake__content { width: max-content; min-width: calc(100vw - var(--wemake-pad-x) * 2); }
.wemake--pinned .wemake__title { will-change: transform; }

@media (min-width: 1025px) and (max-height: 760px) {
  .wemake__title { font-size: clamp(28px, 3vw, 54px); margin-bottom: 20px; }
  .wemake-card { width: clamp(200px, 15vw, 270px); }
}
@media (max-width: 1024px) {
  .wemake__screen--intro { height: 70vh; height: 70svh; }
  .wemake__cards {
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(var(--wemake-pad-x) * -1); padding-inline: var(--wemake-pad-x); scroll-padding-inline: var(--wemake-pad-x);
  }
  .wemake__cards::-webkit-scrollbar { display: none; }
  .wemake-card { flex: 0 0 clamp(200px, 56vw, 280px); scroll-snap-align: start; }
  .wemake__progress { display: block; height: 3px; margin-top: 14px; background: var(--c-border); border-radius: 2px; overflow: hidden; }
  .wemake__progress-fill { display: block; width: 100%; height: 100%; background: var(--c-pink); transform: scaleX(0); transform-origin: 0 50%; }
}
@media (max-width: 575.98px) { .wemake__artboard { display: none; } }

/* ---------------- Word scrub text ---------------- */
.wtext, .howwedo { padding: clamp(100px, 16vh, 200px) clamp(24px, 7.5vw, 144px); background: var(--c-bg); }
.wtext__label { margin-bottom: clamp(24px, 3vw, 48px); font-size: clamp(12px, .95vw, 16px); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--c-pink); }
.wtext__heading { max-width: 18ch; font-size: clamp(32px, 4.2vw, 76px); font-weight: 600; line-height: .98; letter-spacing: -.035em; }
.wtext__heading em { font-style: normal; color: var(--c-pink); }
.wtext__body { max-width: 46ch; margin-top: clamp(32px, 4vw, 64px); margin-left: auto; font-size: clamp(17px, 1.35vw, 24px); line-height: 1.3; }

.howwedo { padding-top: 0; }
.howwedo__list { border-top: 1px solid var(--c-border); }
.howwedo__item {
  display: grid; grid-template-columns: clamp(48px, 6vw, 120px) 1fr minmax(0, 32ch); align-items: baseline; gap: clamp(16px, 3vw, 56px);
  padding: clamp(22px, 3vw, 44px) 0; border-bottom: 1px solid var(--c-border);
}
.howwedo__no { font-size: clamp(14px, 1.1vw, 20px); font-weight: 600; color: var(--c-pink); }
.howwedo__name { font-size: clamp(32px, 4.4vw, 80px); font-weight: 600; line-height: .95; letter-spacing: -.035em; }
.howwedo__desc { line-height: 1.35; color: var(--c-text); font-size: clamp(15px, 1.05vw, 18px); }

/* ---------------- Clients: logo marquee ---------------- */
.clients {
  position: relative; z-index: 2;
  padding: clamp(80px, 12vh, 140px) 0 clamp(110px, 16vh, 200px);
  background: var(--c-dark); text-align: center; overflow: hidden;
}
.logo-marquee {
  --tile: clamp(64px, 6.4vw, 96px);
  --gap: clamp(10px, 1vw, 16px);
  position: relative; display: grid; gap: var(--gap);
  max-width: 1100px; margin: 0 auto;
  /* fade the rows out at both ends */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}
/* soft blur creeping in from the edges */
.logo-marquee::before, .logo-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 22%; z-index: 2; pointer-events: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.logo-marquee::before { left: 0; -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); }
.logo-marquee::after { right: 0; -webkit-mask-image: linear-gradient(-90deg, #000, transparent); mask-image: linear-gradient(-90deg, #000, transparent); }
.logo-marquee__row { display: flex; width: max-content; }
.logo-marquee__track { display: flex; gap: var(--gap); padding-right: var(--gap); animation: marquee-left 42s linear infinite; }
.logo-marquee__row--right .logo-marquee__track { animation-name: marquee-right; }
.logo-marquee__row:hover .logo-marquee__track { animation-play-state: paused; }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes marquee-right { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.logo-tile {
  position: relative; flex: none; width: var(--tile); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: calc(var(--tile) * .24);
  background: linear-gradient(180deg, #1a1a1a, #101010);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 24px rgba(0, 0, 0, .5);
}
.logo-tile img { width: 66%; height: 52%; object-fit: contain; }
.logo-tile__dot {
  position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-pink); box-shadow: 0 0 0 3px #141414, 0 0 10px rgba(216, 25, 100, .8);
}

.clients__copy { position: relative; z-index: 3; max-width: 960px; margin: clamp(48px, 7vh, 80px) auto 0; padding: 0 24px; }
.clients__pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; margin-bottom: 22px;
  border: 1px solid rgba(216, 25, 100, .45); border-radius: 999px; background: rgba(216, 25, 100, .1);
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #ff7fb0;
}
.clients__pill span { width: 6px; height: 6px; border-radius: 50%; background: var(--c-pink); }
.clients__heading { margin: 0; font-size: clamp(38px, 5vw, 84px); font-weight: 600; line-height: .98; letter-spacing: -.04em; color: #fff; }
.clients__lead { max-width: 46ch; margin: 20px auto 0; color: var(--c-text); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.4; }
.clients__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 32px; }
.clients__btn {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 6px 0 22px;
  border-radius: 999px; background: var(--c-pink); color: #fff; font-weight: 600; font-size: 15px;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.clients__btn span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #000; transition: transform .3s var(--ease-out); }
.clients__btn:hover { box-shadow: 0 10px 30px rgba(216, 25, 100, .45); }
.clients__btn:hover span { transform: translateX(3px); }
.clients__note { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .6); font-size: 13px; }
.clients__mini { display: inline-flex; }
.clients__mini img { width: 26px; height: 26px; padding: 5px; object-fit: contain; border-radius: 8px; background: #161616; border: 1px solid rgba(255, 255, 255, .1); }
.clients__mini img + img { margin-left: -8px; }

@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track { animation: none; }
}

/* ---------------- Footer ---------------- */
.footer-goats {
  --footer-radius: clamp(28px, 3vw, 56px);
  position: relative; z-index: 3; margin-top: calc(var(--footer-radius) * -1);
  background: var(--c-bg); color: #fff;
  border-radius: var(--footer-radius) var(--footer-radius) 0 0;
  box-shadow: 0 -24px 48px rgba(0, 0, 0, .4); overflow: clip;
}
.footer-goats--scrub .footer-goats__wrap { height: var(--footer-scrub-h, 250vh); }
.footer-goats__sticky { position: sticky; top: 0; display: flex; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.footer-goats--scrub .footer-goats__sticky { height: 100vh; height: 100svh; min-height: 0; }
.footer-goats__video {
  display: block; width: 100%; height: 100%; object-fit: contain;
  /* feather the square video edge into the page */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}
.footer-goats__content {
  position: relative; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(48px, 11vh, 125px) clamp(24px, 5.6vw, 108px) clamp(28px, 6vh, 64px);
}
.footer-goats__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: start; gap: clamp(32px, 4vw, 80px); flex: 1; }
/* logo animation sits where the logo was; the video frame has ~7% padding, so offset it to line up */
.footer-goats__brand { --logo-w: clamp(150px, 13vw, 220px); display: block; width: var(--logo-w); aspect-ratio: 1; transform: translate(-13%, -13%); margin-bottom: calc(var(--logo-w) * -.13); transition: opacity .3s; }
.footer-goats__tagline { max-width: clamp(320px, 26vw, 500px); margin-top: clamp(20px, 4vh, 44px); font-size: clamp(15px, 1.1vw, 20px); line-height: 1.35; opacity: .95; }
.footer-goats__contact { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.footer-goats__email {
  display: inline-flex; align-items: center; justify-content: space-between; gap: clamp(8px, .8vw, 16px); width: 100%;
  padding-bottom: clamp(14px, 2vh, 24px); border-bottom: 1px solid rgba(255, 255, 255, .8);
  font-size: clamp(20px, 1.9vw, 34px); font-weight: 500; letter-spacing: -.02em; transition: color .3s ease;
}
.footer-goats__phone { margin-top: clamp(12px, 1.8vh, 22px); }
.footer-goats__email svg { flex-shrink: 0; width: clamp(18px, 1.4vw, 26px); height: clamp(18px, 1.4vw, 26px); }
.footer-goats__nav { margin-top: clamp(24px, 5vh, 64px); }
.footer-goats__nav a { display: inline-block; padding: clamp(5px, .8vh, 10px) 0; font-size: clamp(18px, 1.3vw, 24px); font-weight: 500; line-height: 1.1; transition: color .3s ease; }
.footer-goats__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: clamp(28px, 5vh, 56px); padding-top: clamp(20px, 3.5vh, 38px); border-top: 1px solid rgba(255, 255, 255, .7); }
.footer-goats__socials { display: flex; gap: clamp(16px, 1.56vw, 30px); font-weight: 500; }
.footer-goats__policy { font-size: clamp(13px, 1.05vw, 20px); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; transition: color .3s; }
@media (hover: hover) and (pointer: fine) {
  .footer-goats__email:hover, .footer-goats__nav a:hover, .footer-goats__policy:hover, .footer-goats__socials a:hover { color: var(--c-pink); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991.98px) {
  .menu__left { display: none; }
  .menu__right { width: 100%; }
  .menu__nav, .menu__lang { padding-left: clamp(24px, 10vw, 100px); }
  .howwedo__item { grid-template-columns: auto 1fr; }
  .howwedo__desc { grid-column: 2; }
}
@media (max-width: 767.98px) {
  body { font-size: 16px; }
  .menu__link { font-size: clamp(28px, 8vw, 44px); }
  .about__title { font-size: clamp(32px, 8.5vw, 56px); }
  .about__label { font-size: 12px; letter-spacing: .06em; }
  .video-toggle { bottom: 20px; }
  .video-toggle__btn { height: 38px; min-width: 38px; }
  .video-toggle__play { width: 38px; }
  .footer-goats__content { padding-bottom: 100px; }
  .footer-goats__top { grid-template-columns: 1fr; }
  .footer-goats__contact { width: 100%; }
  .footer-goats__bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .wtext__body { margin-left: 0; }
}
@media (max-width: 575.98px) {
  .video-toggle__label { display: none; }
  .video-toggle__sound { width: 38px; padding: 0; }
  .howwedo__item { grid-template-columns: 1fr; gap: 10px; }
  .howwedo__desc { grid-column: auto; }
}

/* ---------------- Mono labels (Heron-style) ---------------- */
.about__label, .wtext__label, .howwedo__no, .video-toggle__label,
.menu__lang-link, .footer-goats__policy, .footer-goats__socials, .wemake-card__meta i {
  font-family: var(--font-mono);
}
.video-toggle__label { font-size: 12px; }
.wemake-card__meta i { font-size: 12px; }
.footer-goats__socials { font-size: 14px; }
.about__label, .wtext__label { font-weight: 400; letter-spacing: .06em; }

/* ==========================================================
   Shared bits for new sections and inner pages
   ========================================================== */
.ext { display: inline-block; margin-left: .2em; font-size: .78em; opacity: .7; transform: translateY(-.1em); }
.menu__link .ext { font-size: .45em; transform: translateY(-.8em); }

.link-pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  height: 40px; padding: 0 18px; border: 1px solid var(--c-border); border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.link-pill--pink { background: var(--c-pink); border-color: var(--c-pink); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .link-pill:hover { background: #fff; border-color: #fff; color: var(--c-bg); }
}

.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); }
.section-row__title { font-size: clamp(30px, 3.6vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.section-row__title em, .page-hero__title em { font-style: normal; color: var(--c-pink); }

/* ---------------- Journal cards ---------------- */
.journal { padding: clamp(60px, 10vh, 120px) clamp(24px, 7.5vw, 144px); background: var(--c-bg); }
.journal--home { padding-top: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.4vw, 40px) clamp(16px, 1.8vw, 28px); }
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-card__media { margin: 0 0 6px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: var(--c-surface); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-card__tag { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-pink); }
.post-card__title { font-size: clamp(19px, 1.45vw, 26px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; transition: color .3s; }
.post-card__meta { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255, 255, 255, .5); }
@media (hover: hover) and (pointer: fine) {
  .post-card:hover .post-card__media img { transform: scale(1.05); }
  .post-card:hover .post-card__title { color: var(--c-pink); }
}

/* ---------------- Inner pages ---------------- */
.page-hero { padding: clamp(130px, 20vh, 200px) clamp(24px, 7.5vw, 144px) clamp(36px, 6vh, 72px); background: var(--c-bg); }
.page-hero__title { max-width: 16ch; font-size: clamp(38px, 5.4vw, 96px); font-weight: 600; line-height: .96; letter-spacing: -.04em; }
.page-hero__title .word { will-change: transform; }
.page-hero__lead { max-width: 52ch; margin-top: clamp(18px, 2vw, 28px); color: var(--c-text); font-size: clamp(16px, 1.25vw, 21px); line-height: 1.4; }
.article__meta { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .55); }
.article__back { display: inline-block; margin-bottom: 28px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .6); transition: color .3s; }
.article__back:hover { color: var(--c-pink); }
.article__cover { margin: 0 clamp(24px, 7.5vw, 144px); overflow: hidden; border-radius: 20px; }
.article__cover img { width: 100%; max-height: 72vh; object-fit: cover; }

.prose { max-width: 720px; margin: 0 auto; padding: clamp(48px, 8vh, 96px) 24px clamp(60px, 10vh, 120px); font-size: clamp(16px, 1.1vw, 18px); line-height: 1.6; color: rgba(255, 255, 255, .82); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(22px, 1.8vw, 30px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.prose h3 { margin-top: 1.8em; font-size: clamp(18px, 1.3vw, 22px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: #fff; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose strong { color: #fff; font-weight: 600; }
.prose a { color: var(--c-pink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.1em; list-style: none; }
.prose li { position: relative; }
.prose li + li { margin-top: .4em; }
.prose li::before { content: ""; position: absolute; left: -1.1em; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-pink); }
.prose figure { margin: 2em 0; overflow: hidden; border-radius: 16px; }
.prose figure img { width: 100%; }
.prose blockquote { margin: 2em 0; padding-left: 24px; border-left: 2px solid var(--c-pink); }
.prose blockquote p { font-size: clamp(22px, 1.9vw, 32px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.prose blockquote cite { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; font-style: normal; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .55); }
.prose--legal h2:first-child { margin-top: 0; }
.legal__other { padding-top: 2em; border-top: 1px solid var(--c-border); margin-top: 3em !important; }
.journal--related { padding-top: 0; }

/* Footer extras */
.footer-goats__address { margin-top: 18px; font-style: normal; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.5; color: rgba(255, 255, 255, .55); }
.footer-goats__legal { display: flex; gap: clamp(16px, 2vw, 32px); }
.footer-goats__policy { font-family: var(--font-mono); font-size: 12px; }

@media (max-width: 991.98px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .post-grid { grid-template-columns: 1fr; }
  .article__cover { margin: 0 16px; border-radius: 14px; }
}

/* ==========================================================
   Work: index, categories, projects
   ========================================================== */
.work-index { padding: 0 clamp(24px, 7.5vw, 144px) clamp(80px, 12vh, 160px); background: var(--c-bg); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(16px, 1.8vw, 28px); }
.work-card { display: flex; flex-direction: column; gap: 6px; }
.work-card__media { margin: 0 0 10px; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--c-surface); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.work-card__title { font-size: clamp(18px, 1.35vw, 24px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; transition: color .3s; }
.work-card__sub { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .5); }
@media (hover: hover) and (pointer: fine) {
  .work-card:hover .work-card__media img { transform: scale(1.05); }
  .work-card:hover .work-card__title { color: var(--c-pink); }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 3vw, 40px); }
.chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border: 1px solid var(--c-border); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .75);
  transition: background-color .3s, border-color .3s, color .3s;
}
.chip.is-current { background: var(--c-pink); border-color: var(--c-pink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: #fff; color: #fff; } }

.cat-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 0 clamp(24px, 7.5vw, 144px) clamp(56px, 8vh, 96px); background: var(--c-bg); }
.cat-intro__text { max-width: 62ch; color: rgba(255, 255, 255, .78); font-size: clamp(16px, 1.15vw, 19px); line-height: 1.5; }
.cat-intro__text p + p { margin-top: 1em; }
.cat-intro__videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: var(--c-surface); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gallery { columns: 3 260px; column-gap: clamp(12px, 1.4vw, 20px); }
.gallery__item { display: block; margin-bottom: clamp(12px, 1.4vw, 20px); break-inside: avoid; overflow: hidden; border-radius: 14px; background: var(--c-surface); }
.gallery__item img { width: 100%; height: auto; transition: transform .8s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery__item:hover img { transform: scale(1.03); } }

.next-link { display: flex; flex-direction: column; gap: 6px; margin-top: clamp(56px, 8vh, 96px); padding-top: 28px; border-top: 1px solid var(--c-border); font-size: clamp(28px, 3.4vw, 60px); font-weight: 600; letter-spacing: -.035em; line-height: 1; transition: color .3s; }
.next-link span, .project-nav__link span { font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.next-link:hover { color: var(--c-pink); }

.project__hero { margin: 0 clamp(24px, 7.5vw, 144px); overflow: hidden; border-radius: 20px; background: var(--c-surface); }
.project__hero img { width: 100%; max-height: 78vh; object-fit: cover; }
.prose--project { max-width: 760px; }
.prose--project .embed { margin: 2em 0; }
.prose--project figure.wide { margin-left: calc(50% - 50vw + clamp(24px, 7.5vw, 144px)); margin-right: calc(50% - 50vw + clamp(24px, 7.5vw, 144px)); border-radius: 20px; }
.project > .gallery { padding: 0 clamp(24px, 7.5vw, 144px); }
.project-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: clamp(56px, 8vh, 96px) clamp(24px, 7.5vw, 144px) clamp(80px, 12vh, 140px); padding-top: 28px; border-top: 1px solid var(--c-border); }
.project-nav__link { display: flex; flex-direction: column; gap: 8px; font-size: clamp(22px, 2.4vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; transition: color .3s; }
.project-nav__link--next { text-align: right; align-items: flex-end; }
.project-nav__link:hover { color: var(--c-pink); }

/* Homepage service rows link to their work */
.howwedo__item { display: block; padding: 0; }
.howwedo__link {
  display: grid; grid-template-columns: clamp(48px, 6vw, 120px) 1fr minmax(0, 32ch); align-items: baseline;
  column-gap: clamp(16px, 3vw, 56px); row-gap: 8px; padding: clamp(22px, 3vw, 44px) 0;
}
.howwedo__cta { grid-column: 3; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-pink); }
.howwedo__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 clamp(22px, 3vw, 40px) calc(clamp(48px, 6vw, 120px) + clamp(16px, 3vw, 56px)); }
.howwedo__name { transition: color .35s ease, transform .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .howwedo__link:hover .howwedo__name { color: var(--c-pink); transform: translateX(10px); }
}

/* Homepage work track: end card */
.wemake-card--end { background: var(--c-pink); }
.wemake-card--end .wemake-card__link { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
.wemake-card--end span { font-size: clamp(26px, 2.2vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.wemake-card--end b { align-self: flex-end; font-size: 48px; font-weight: 400; transition: transform .4s var(--ease-out); }
.wemake-card--end:hover b { transform: translateX(6px); }

@media (max-width: 991.98px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .howwedo__link { grid-template-columns: auto 1fr; }
  .howwedo__desc, .howwedo__cta { grid-column: 2; }
  .howwedo__chips { margin-left: 0; }
}
@media (max-width: 575.98px) {
  .cat-intro__videos { grid-template-columns: 1fr; }
  .project__hero { margin: 0 16px; border-radius: 14px; }
  .project-nav { grid-template-columns: 1fr; }
  .project-nav__link--next { text-align: left; align-items: flex-start; }
  .howwedo__link { grid-template-columns: 1fr; }
  .howwedo__desc, .howwedo__cta { grid-column: auto; }
}
