:root {
  --bg: #0a0a0a;
  --panel: rgba(243, 241, 237, 0.03);
  --text: #f3f1ed;
  --text-muted: #adb1b6;
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.18);
  --gold-a: rgba(255, 174, 8, 0.37);
  --gold-b: rgba(255, 205, 102, 0.25);
  --gold: #ffae08;
  --gold2: #ffcd66;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --container: 1450px;
  --gap: clamp(24px, 4vw, 64px);

  /* Motion tokens */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --intro: 600ms;
}

.intro-seen { --intro: 0ms; }

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  flex: 0 0 24px;
  height: 1px;
  background: var(--gold2);
  transform-origin: left;
}

.eyebrow-light { color: rgba(243, 241, 237, 0.7); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: scale 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}

.btn:active { scale: 0.97; }

.btn img {
  width: 16px;
  height: 16px;
  transition: translate 200ms var(--ease-out);
}

.btn-panel {
  background: var(--panel);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover img { translate: 3px 0; }
  .btn-panel:hover {
    background: rgba(243, 241, 237, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 205, 102, 0.3);
  }
  .btn-light:hover { background: #fff; }
}

.btn-light {
  background: var(--text);
  color: #0a0a0a;
  font-size: 12px;
  padding: 8px 12px;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.btn-gold {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(90deg, var(--gold-a), var(--gold-b));
  color: #fff;
  font-weight: 500;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  translate: -100% 0;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { box-shadow: 0 8px 32px rgba(255, 174, 8, 0.28); }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn-gold:hover::after { animation: btnSheen 900ms var(--ease-out); }
}

@keyframes btnSheen {
  to { translate: 100% 0; }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gap);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 174, 8, 0.25);
  transition: transform 400ms var(--ease-drawer);
  view-transition-name: site-header;
}

.site-header.is-hidden { transform: translateY(calc(-100% - 12px)); }

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: #0a0a0a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Scroll progress */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progressGrow auto linear both;
    animation-timeline: scroll(root);
  }
}

@keyframes progressGrow {
  to { transform: scaleX(1); }
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-primary a {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}

.nav-primary a:hover,
.nav-primary a.is-active { color: var(--text); }

.nav-primary > a,
.nav-dropdown-toggle { position: relative; }

.nav-primary > a::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease-out);
}

.nav-primary > a.is-active::after,
.nav-dropdown-toggle.is-active::after { transform: scaleX(1); }

@media (hover: hover) and (pointer: fine) {
  .nav-primary > a:hover::after,
  .nav-item-dropdown:hover .nav-dropdown-toggle::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.mobile-nav-panel { display: contents; }

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-caret {
  transition: transform 200ms var(--ease-out);
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) scale(0.96);
  transform-origin: top center;
  margin-top: 16px;
  min-width: 170px;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 0s linear 150ms;
  z-index: 60;
}

/* Hover bridge across the gap between toggle and menu */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
}

.nav-dropdown-menu a {
  padding: 10px 12px;
  font-size: 11px;
  white-space: nowrap;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 174, 8, 0.1);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.lang-switch span { color: var(--text-muted); }

.lang-switch a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.lang-switch a:hover { color: var(--text); }

.lang-switch a.is-active {
  color: var(--gold2);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 20px;
  height: 1px;
  background: var(--text);
  transition: transform 200ms var(--ease-out), opacity 150ms ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Internal page banner */

.page-banner {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid rgba(255, 174, 8, 0.2);
  background: var(--bg);
}

.page-banner-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .page-banner-bg { animation: heroKenBurns 26s ease-in-out infinite alternate; }
}

.page-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0a0a0a 0%, rgba(10, 10, 10, 0.88) 32%, rgba(10, 10, 10, 0.55) 62%, rgba(10, 10, 10, 0.35) 100%);
}

.page-banner-glow {
  position: absolute;
  top: -60%;
  right: -10%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 174, 8, 0.2), rgba(255, 205, 102, 0.06) 55%, transparent 75%);
  pointer-events: none;
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 56px var(--gap) 56px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--text-muted); transition: color 200ms ease; }
.breadcrumb a:hover { color: var(--gold2); }
.breadcrumb-sep { color: rgba(255, 255, 255, 0.25); }
.breadcrumb-current { color: var(--text); }

.page-banner-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  margin: 0;
}

.page-banner-title { display: grid; }

.page-banner-rule {
  display: block;
  height: 3px;
  width: 72px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  transform-origin: left;
}

@media (prefers-reduced-motion: no-preference) {
  .breadcrumb {
    opacity: 0;
    animation: heroFadeUp 800ms var(--ease-out) 80ms forwards;
  }
  .page-banner-title .line-inner { animation: lineUp 1000ms var(--ease-out) 160ms both; }
  .page-banner-rule { animation: ruleGrow 900ms var(--ease-in-out) 420ms both; }
}

@keyframes ruleGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Portrait banners need more height so the face clears the title block */
.page-banner--portrait { min-height: 620px; }

@media (max-width: 768px) {
  .page-banner,
  .page-banner--portrait { min-height: 320px; }
  .page-banner-inner { padding: 40px 24px 32px; }
  .page-banner-glow { width: 380px; height: 380px; }
}

/* Hero banner */

.hero-banner {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 174, 8, 0.2);
}

.hero-banner-media {
  position: absolute;
  inset: -32px;
  overflow: hidden;
  will-change: translate;
}

.hero-banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  /* Cinema letterbox opening, first visit per session only */
  .hero-banner-media { animation: letterbox 1400ms var(--ease-in-out) both; }
  .hero-banner-bg {
    animation:
      heroZoom 2000ms var(--ease-out) both,
      heroKenBurns 26s ease-in-out 2000ms infinite alternate;
  }
  .intro-seen .hero-banner-media { animation: none; }
  .intro-seen .hero-banner-bg { animation: heroKenBurns 26s ease-in-out infinite alternate; }
}

@keyframes letterbox {
  from { clip-path: inset(38% 0 38% 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes heroZoom {
  from { scale: 1.2; }
  to { scale: 1; }
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}

.hero-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #0a0a0a 0%, #0a0a0a 34%, rgba(10, 10, 10, 0.88) 45%, rgba(10, 10, 10, 0.35) 60%, rgba(10, 10, 10, 0) 74%);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  max-width: 620px;
  padding: 96px var(--gap) 80px;
}

.hero-banner-eyebrow { margin-bottom: 16px; }

.hero-banner-title {
  display: grid;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 81.6px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-banner-title .line:first-child { color: var(--text); }
.hero-banner-title .line:last-child { color: var(--text-muted); }

.hero-banner-tagline {
  position: absolute;
  left: var(--gap);
  bottom: 35px;
  z-index: 2;
  max-width: 320px;
  color: rgba(243, 241, 237, 0.7);
  font-size: 14px;
}

.hero-banner-side {
  position: absolute;
  right: 24px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-banner-corner {
  position: absolute;
  right: var(--gap);
  bottom: 24px;
  z-index: 2;
  text-align: right;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--text-muted);
}

.hero-banner-corner p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero-banner-eyebrow,
  .hero-banner-tagline,
  .hero-banner-corner {
    opacity: 0;
    animation: heroFadeUp 900ms var(--ease-out) forwards;
  }

  .hero-banner-eyebrow { animation-delay: calc(var(--intro) + 40ms); }
  .hero-banner-title .line-inner { animation: lineUp 1100ms var(--ease-out) both; }
  .hero-banner-title .line:first-child .line-inner { animation-delay: calc(var(--intro) + 100ms); }
  .hero-banner-title .line:last-child .line-inner { animation-delay: calc(var(--intro) + 180ms); }
  .hero-banner-tagline,
  .hero-banner-corner { animation-delay: calc(var(--intro) + 460ms); }
  .hero-banner-side {
    opacity: 0;
    animation: fadeIn 1200ms ease calc(var(--intro) + 500ms) forwards;
  }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lineUp {
  from { transform: translateY(105%); }
  to { transform: none; }
}

@media (max-width: 768px) {
  .hero-banner { min-height: 620px; }
  .hero-banner-content { max-width: 100%; padding: 88px 24px 64px; }
  .hero-banner-side { display: none; }
  .hero-banner-tagline { left: 24px; max-width: calc(100% - 48px); }
  .hero-banner-corner { right: 24px; }
}

/* Hero */

.hero {
  border-bottom: 1px solid var(--border);
  padding: 64px 0 80px;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  flex: 1 1 420px;
  min-width: 0;
}

.hero-corner {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  flex: 1 1 260px;
  min-width: 0;
  max-width: 560px;
}

.hero-corner p:first-child {
  font-size: clamp(32px, 5vw, 82px);
  color: var(--text);
}

.hero-corner p:last-child {
  font-size: clamp(22px, 3.6vw, 66px);
  color: var(--text-muted);
}

.hero-copy { max-width: 900px; }

.hero-lead {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 840px;
}

/* About */

.about {
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.about-media {
  position: relative;
  border-left: 1px solid var(--border);
  overflow: hidden;
  perspective: 1000px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.4);
  transition: filter 600ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .about-media:hover img { filter: saturate(1); }
}

.about-media .tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #0a0a0a;
  padding: 8px 12px;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text);
}

.about-copy {
  padding: 112px var(--gap);
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 896px;
}

.about-copy h1,
.about-copy h2 {
  font-size: clamp(40px, 6vw, 90px);
  line-height: 1.05;
}

.about-person {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.about-person h2,
.about-person h3 {
  font-size: 30px;
  line-height: 1.2;
}

.about-person .role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  color: var(--text-muted);
}

.about-person-link {
  background-image: linear-gradient(var(--gold2), var(--gold2));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 300ms var(--ease-out), color 200ms ease;
}

.about-person-link:hover {
  background-size: 100% 1px;
  color: var(--gold2);
}

.about-copy > .btn { align-self: flex-start; }

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.about-filmstrip {
  grid-column: 1 / -1;
  display: flex;
  gap: 4px;
  padding: 0 var(--gap) 40px;
  overflow-x: auto;
}

.about-filmstrip img {
  height: 220px;
  width: auto;
  object-fit: cover;
  filter: saturate(0.5);
}

.about-filmstrip img:first-child { flex: 2 0 auto; }

/* Roles & affiliations (Khadija Alami page) */

/* Khadija Alami: roles & affiliations as 3D cards.
   Each card's inner layer tilts on spring-smoothed pointer input (JS);
   its children sit at different depths (translateZ) so the tilt reads as volume. */

.roles {
  position: relative;
  padding: clamp(80px, 9vw, 128px) 0;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(60% 50% at 80% 0%, rgba(255, 174, 8, 0.07), transparent 70%);
}

.roles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap);
  margin-bottom: 56px;
}

.roles h2 {
  max-width: 900px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.roles-count,
.role-card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 0.85;
  /* Gradient fill, not an outline: the font's overlapping contours show through a stroke */
  background: linear-gradient(180deg, rgba(255, 205, 102, 0.75), rgba(255, 205, 102, 0.08));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.roles-count { font-size: clamp(64px, 9vw, 132px); }

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.role-card { display: flex; }

.role-card-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 290px;
  padding: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01) 55%),
    #0d0d0d;
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 300ms ease, box-shadow 400ms var(--ease-out);
}

/* Soft gold light under the cursor (position set by JS) */
.role-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 174, 8, 0.13), transparent 62%);
  opacity: 0;
  transition: opacity 300ms ease;
}

/* The same light catching the edge: a 1px ring masked out of a radial gradient */
.role-card-inner::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 205, 102, 0.9), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 300ms ease;
}

.role-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  transform: translateZ(28px);
}

.role-card-num { font-size: 48px; }

.role-card-org {
  max-width: 70%;
  text-align: right;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold2);
}

.role-card-body { transform: translateZ(48px); }

.role-card-title {
  font-size: clamp(20px, 1.75vw, 25px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.role-card-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.role-card-note::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold2);
}

@media (hover: hover) and (pointer: fine) {
  .role-card-inner:hover {
    border-color: rgba(255, 205, 102, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 70px -40px rgba(0, 0, 0, 0.95), 0 0 50px -24px rgba(255, 174, 8, 0.35);
  }
  .role-card-inner:hover .role-card-glow,
  .role-card-inner:hover::after { opacity: 1; }
}

@media (max-width: 1024px) {
  .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .roles-head { margin-bottom: 36px; }
  .roles-count { display: none; }
  .role-grid { grid-template-columns: 1fr; gap: 12px; }
  .role-card-inner { min-height: 0; gap: 32px; padding: 26px; }
}

/* About stats */

/* Space above the numbers; the band itself carries the panel background */
.about-stats { padding-top: clamp(64px, 8vw, 112px); }

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-stat {
  position: relative;
  padding: 56px var(--gap);
  border-right: 1px solid var(--border);
  text-align: center;
  isolation: isolate;
}

.about-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(255, 174, 8, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 400ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .about-stat:hover::before { opacity: 1; }
}

.about-stat:last-child { border-right: none; }

.about-stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--gold2);
  line-height: 1;
  margin: 0;
}

.about-stat-label {
  margin: 12px 0 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat { padding: 32px 24px; border-bottom: 1px solid var(--border); }
  .about-stat:nth-child(2n) { border-right: none; }
  .about-stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* About page: broadcaster / studio logos in an endless marquee */

.partners {
  padding: clamp(72px, 9vw, 128px) 0 0;
}

.partners-intro {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: end;
  gap: var(--gap);
  margin-bottom: clamp(48px, 6vw, 80px);
}

.partners-intro h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
}

.partners-text {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

.logo-marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
}

.logo-marquee-list {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo-marquee-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  padding: 0 clamp(40px, 5vw, 72px);
}

.logo-marquee-list img {
  display: block;
  height: var(--logo-h, 36px);
  width: auto;
  max-width: none;
  opacity: 0.55;
  transition: opacity 250ms ease;
}

/* Brand colours flattened to the site's off-white */
.logo-marquee-list img.is-mono { filter: brightness(0) invert(0.95); }

@media (prefers-reduced-motion: no-preference) {
  .logo-marquee-track { animation: marquee 36s linear infinite; }
}

@media (hover: hover) and (pointer: fine) {
  .logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
  .logo-marquee-list li:hover img { opacity: 1; }
}

/* Reduced motion: a still, centred row instead of a moving strip */
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-marquee-track { width: auto; justify-content: center; }
  .logo-marquee-list { flex-wrap: wrap; justify-content: center; }
  .logo-marquee-list[aria-hidden="true"] { display: none; }
}

@media (max-width: 768px) {
  .partners-intro { grid-template-columns: 1fr; gap: 24px; }
  .partners-text { font-size: 16px; }
  .logo-marquee-list li { height: 110px; padding: 0 32px; }
  .logo-marquee-list img { height: calc(var(--logo-h, 36px) * 0.8); }
}

/* Featured projects */

.featured-projects {
  padding: 112px 0;
  border-bottom: 1px solid var(--border);
}

.featured-projects-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.featured-projects-head h2 {
  font-size: clamp(36px, 6vw, 72px);
}

/* Services */

.services {
  padding: 112px var(--gap);
  border-bottom: 1px solid var(--border);
}

.services h1,
.services h2 {
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1.05;
  max-width: 1024px;
  margin-top: 24px;
}

.services-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
}

.services-list li {
  position: relative;
  isolation: isolate;
  display: grid;
  /* minmax(0, …) lets long titles wrap instead of pushing the row past the page */
  grid-template-columns: 90px minmax(0, 1.15fr) minmax(0, 1fr) 24px;
  align-items: center;
  gap: 20px;
  padding: 28px 12px;
  border-bottom: 1px solid var(--border);
}

/* Hover wash sweeping in from the left */
.services-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 174, 8, 0.09), rgba(255, 174, 8, 0) 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.services-list .num {
  font-family: var(--font-display);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  transition: color 200ms ease;
}

.services-list h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  transition: translate 300ms var(--ease-out);
}

.services-list p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.services-list img {
  width: 24px;
  height: 24px;
  transition: rotate 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .services-list li:hover::before { transform: scaleX(1); }
  .services-list li:hover .num { color: var(--gold2); }
  .services-list li:hover h3 { translate: 8px 0; }
  .services-list li:hover img { rotate: -45deg; }
}

/* Services page: stacking glass cards
   Each card sticks to the viewport and later cards slide over it, 25px
   lower, while JS scales the earlier ones down as they get covered. */

.services--stack-intro {
  border-bottom: none;
  padding-bottom: 24px;
}

.glass-stack {
  list-style: none;
  margin: 0;
  padding: 0 var(--gap);
  border-bottom: 1px solid var(--border);
  /* Warm light behind the glass so the blur has something to refract */
  background:
    radial-gradient(ellipse 50% 40% at 18% 30%, rgba(255, 174, 8, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 35% at 82% 65%, rgba(255, 205, 102, 0.1), transparent 70%),
    var(--bg);
}

.glass-stack-item {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-card {
  position: relative;
  top: calc(-5vh + var(--i) * 25px);
  width: min(70%, 1040px);
  height: 450px;
  border-radius: 0;
  isolation: isolate;
  transform-origin: center top;
  will-change: transform;
}

/* Electric border: masked to a 1.5px ring so it lights the edge instead of
   tinting the whole translucent card. Each card starts the sweep at a
   different angle. */
.glass-card::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  z-index: 2;
  border-radius: 0;
  padding: 1.5px;
  background: conic-gradient(
    from calc(var(--i) * 72deg),
    transparent 0deg,
    rgba(var(--card-rgb), 0.9) 60deg,
    rgba(var(--card-rgb), 0.6) 120deg,
    transparent 180deg,
    rgba(var(--card-rgb), 0.45) 240deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Covered cards recede into shadow (opacity driven by JS). An overlay, not
   opacity/filter on the card: those would make the card a backdrop root
   and stop the glass above from blurring it. */
.glass-card-shade {
  position: absolute;
  inset: -2px;
  z-index: 3;
  border-radius: 0;
  background: #0a0a0a;
  opacity: 0;
  pointer-events: none;
}

.glass-card-body {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 56px 64px;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(var(--card-rgb), 0.16), transparent 60%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 56px -16px rgba(var(--card-rgb), 0.4),
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

/* Optional photo behind a service card. z-index -1 inside the body's
   stacking context: above the glass tint, below the reflection, light,
   texture and text. The scrim darkens the text side. */
.glass-card-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.glass-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.glass-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.72) 38%, rgba(10, 10, 10, 0.2) 72%, rgba(10, 10, 10, 0.05) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.45), transparent 45%);
}

@media (hover: hover) and (pointer: fine) {
  .glass-card--image:hover .glass-card-media img { transform: scale(1.04); }
}

/* Soft halo under the text so it holds up over busy parts of a photo
   (lit screens, white paper) without darkening the whole image */
.glass-card--image .glass-card-title,
.glass-card--image .glass-card-text {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 24px rgba(10, 10, 10, 0.75);
}

@media (max-width: 768px) {
  /* Text spans the whole card on phones: darken evenly instead of left-only */
  .glass-card-media::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.88));
  }
}

/* Specular light following the pointer (position spring-driven by JS) */
.glass-card-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 300ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .glass-card:hover .glass-card-light { opacity: 1; }
}

/* Glass reflection, top shine and side reflection */
.glass-card-body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 30%, transparent 55%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%) 10px 10px / calc(100% - 20px) 2px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%) left top / 2px 100% no-repeat;
}

/* Frosted texture */
.glass-card-body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 1px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 1px, transparent 2px);
  background-size: 30px 30px, 25px 25px, 35px 35px;
}

.glass-card-index {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: rgb(var(--card-rgb));
}

.glass-card-title {
  position: relative;
  z-index: 1;
  max-width: 640px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.glass-card-text {
  position: relative;
  z-index: 1;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(243, 241, 237, 0.75);
}

.glass-card-num {
  position: absolute;
  right: 48px;
  bottom: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 16vw, 220px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--card-rgb), 0.35);
  pointer-events: none;
}

@media (max-width: 768px) {
  .glass-card {
    width: 100%;
    height: 440px;
  }
  .glass-card-body { padding: 40px 28px; }
  .glass-card-text { font-size: 16px; }
  .glass-card-num {
    right: 20px;
    bottom: 12px;
    font-size: 110px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass-card-body {
    background: #161616;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Studio */

.studio {
  position: relative;
  min-height: 850px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.studio-bg {
  position: absolute;
  top: -48px;
  left: 0;
  width: 100%;
  height: calc(100% + 96px);
  object-fit: cover;
  /* filter: saturate(0.4); */
}

.studio-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.1));
}

.studio-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 112px var(--gap);
  max-width: 900px;
}

.stat-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(60px, 10vw, 128px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: rgba(243, 241, 237, 0.3);
  line-height: 1;
}

.studio-inner h1,
.studio-inner h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
}

.studio-copy {
  max-width: 576px;
  font-size: 18px;
  color: rgba(243, 241, 237, 0.75);
  line-height: 1.6;
}

.studio-tags {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--border);
}

.studio-tags span {
  flex: 1;
  min-width: 120px;
  background: rgba(10, 10, 10, 0.85);
  padding: 16px;
  font-size: 12px;
  text-transform: uppercase;
  border-right: 1px solid var(--border);
}

.studio-tags span:last-child { border-right: none; }

.studio-cta {
  position: absolute;
  z-index: 2;
  left: var(--gap);
  bottom: 48px;
}

/* Work */

.work {
  padding: 112px 0;
  border-bottom: 1px solid var(--border);
}

.work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.work-head h1,
.work-head h2 {
  font-size: clamp(36px, 6vw, 72px);
  margin-top: 24px;
}

.work-filters {
  position: relative;
  display: flex;
  gap: 8px;
}

.filter-btn {
  height: 32px;
  padding: 0 12px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 200ms ease, scale 160ms var(--ease-out);
}

.filter-btn:active { scale: 0.97; }

.filter-btn:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .filter-btn:hover { border-color: rgba(255, 255, 255, 0.4); }
}

.filter-btn.active {
  background: var(--text);
  color: #0a0a0a;
  border-color: var(--text);
}

/* Active pill: an "active" copy of the list, clipped to the selected button */
.work-filters.has-indicator .filter-btn.active {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border-strong);
}

.work-filters-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.work-filters-overlay.is-animated { transition: clip-path 250ms var(--ease-in-out); }

.work-filters-overlay .filter-btn {
  background: var(--text);
  color: #0a0a0a;
  border-color: var(--text);
}

/* Hairlines come from each card's outline (not a grey grid background),
   so cards entering in 3D or filtered out never expose grey cells. */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.work-item {
  position: relative;
  background: #0a0a0a;
  min-height: 430px;
  overflow: hidden;
  display: block;
  perspective: 1000px;
  outline: 1px solid var(--border);
}

.work-item img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 600ms ease;
}

.work-item:hover img:first-child { filter: grayscale(0); }

.work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a0a0a, rgba(10, 10, 10, 0) 55%);
}

.work-meta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.work-tag {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.work-meta h3 { font-size: 30px; }

.work-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  z-index: 2;
  transition: rotate 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .work-item:hover .work-arrow { rotate: -45deg; }
}

/* Typographic poster for projects without a photo yet: warm glow,
   hairline frame and the year set large in outline */
.work-placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 18% 0%, rgba(255, 174, 8, 0.16), transparent 62%),
    radial-gradient(60% 50% at 100% 100%, rgba(255, 205, 102, 0.07), transparent 70%),
    linear-gradient(160deg, #17140f 0%, #0c0c0c 55%, #0a0a0a 100%);
  transition: filter 600ms ease;
}

.work-placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 205, 102, 0.12);
  pointer-events: none;
}

.work-placeholder-year {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 6.5vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  /* Gradient fill rather than an outline: the font's overlapping contours
     show through a text-stroke (visible on the "1") */
  background: linear-gradient(180deg, rgba(255, 205, 102, 0.5), rgba(255, 205, 102, 0.06) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.75;
  transition: opacity 400ms ease, translate 500ms var(--ease-out);
}

/* Ranges ("2017–2020") need a smaller size to fit */
.work-placeholder-year.is-range { font-size: clamp(40px, 4.4vw, 68px); }

.work-item--text .work-placeholder { filter: saturate(0.6) brightness(0.9); }

@media (hover: hover) and (pointer: fine) {
  .work-item--text:hover .work-placeholder { filter: none; }
  .work-item--text:hover .work-placeholder-year {
    opacity: 1;
    translate: 0 -4px;
  }
}

.work-placeholder--large .work-placeholder-year {
  top: 48px;
  left: 48px;
  font-size: clamp(80px, 11vw, 168px);
}

.work-placeholder--large .work-placeholder-year.is-range { font-size: clamp(40px, 4.4vw, 64px); }

/* Depth layers (driven by JS springs) */
.depth-glare {
  position: absolute;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  background: radial-gradient(circle at center, rgba(255, 220, 150, 0.2), rgba(255, 220, 150, 0) 38%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

[data-depth]:hover .depth-glare { opacity: 1; }

.work-item.is-hidden { display: none; }

/* Work detail page: poster, description, production sheet */

.project { padding: clamp(72px, 9vw, 128px) 0; }

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}

/* The poster keeps its own proportions (posters here range from 16:9 to 2:3) */
.project-poster-col {
  position: sticky;
  top: 110px;
}

/* Tall, uniform frame; the image covers it and its framing (object-position)
   is set per project in hw-admin, since posters range from 16:9 to 2:3 */
.project-poster {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  perspective: 1000px;
  background: #111;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border);
}

.project-poster img {
  display: block;
  width: 100%;
  height: min(740px, calc(100vh - 160px));
  object-fit: cover;
}

/* No poster yet: same frame height as a real poster */
.project-poster--text { height: min(740px, calc(100vh - 160px)); }

.project-poster-title {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 40px;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 8px;
}

.project-body > .eyebrow { margin-bottom: -16px; }

.project-description {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
}

.project-lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
}

.project-sheet-title {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold2);
}

.project-sheet-list { margin: 0; }

.project-sheet-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 2fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.project-sheet-row dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 3px;
}

.project-sheet-row dd {
  margin: 0;
  font-size: 16px;
  color: var(--text);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Previous / next */
.project-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.project-pager-link {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(40px, 5vw, 72px) var(--gap);
  overflow: hidden;
}

.project-pager-link.is-next {
  align-items: flex-end;
  text-align: right;
  border-left: 1px solid var(--border);
}

.project-pager-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 174, 8, 0.1), rgba(255, 174, 8, 0) 75%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}

.project-pager-link.is-next::before {
  background: linear-gradient(270deg, rgba(255, 174, 8, 0.1), rgba(255, 174, 8, 0) 75%);
  transform-origin: right;
}

.project-pager-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold2);
}

.project-pager-label img {
  width: 14px;
  height: 14px;
  transition: translate 300ms var(--ease-out);
}

.is-prev .project-pager-label img { rotate: 180deg; }

.project-pager-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: translate 400ms var(--ease-out);
}

.project-pager-meta {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.project-pager-link:active .project-pager-title { scale: 0.99; }

@media (hover: hover) and (pointer: fine) {
  .project-pager-link:hover::before { transform: scaleX(1); }
  .is-prev:hover .project-pager-title { translate: 8px 0; }
  .is-next:hover .project-pager-title { translate: -8px 0; }
  .is-prev:hover .project-pager-label img { translate: -4px 0; }
  .is-next:hover .project-pager-label img { translate: 4px 0; }
}

.project-related { padding: clamp(72px, 9vw, 128px) 0; }

.project-related h2 {
  margin-bottom: 40px;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
}

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-poster-col {
    position: static;
    max-width: 520px;
  }
  .project-poster img,
  .project-poster--text {
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .project-sheet-row { grid-template-columns: 1fr; gap: 4px; }
  .project-pager { grid-template-columns: 1fr; }
  .project-pager-link.is-next { border-left: none; border-top: 1px solid var(--border); }
}

/* Morocco */

.morocco {
  display: grid;
  grid-template-columns: 7fr 5fr;
  border-bottom: 1px solid var(--border);
}

.morocco-media {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-height: 560px;
  background: var(--border);
}

.morocco-panel {
  position: relative;
  display: block;
  flex: 1 1 0%;
  overflow: hidden;
}

.morocco-panel img:first-child {
  width: 100%;
  height: calc(100% + 32px);
  margin-top: -16px;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 700ms var(--ease-out), filter 600ms ease;
}

.morocco-panel:hover img:first-child {
  transform: scale(1.05);
  filter: grayscale(0);
}

.morocco-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0) 60%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.morocco-panel-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0;
  translate: 0 8px;
  transition: opacity 250ms var(--ease-out), translate 300ms var(--ease-out);
}

.morocco-panel-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 1;
  width: 24px;
  height: 24px;
  padding: 4px;
  background: rgba(10, 10, 10, 0.5);
  transition: rotate 300ms var(--ease-out), background-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .morocco-panel:hover::after { opacity: 1; }
  .morocco-panel:hover .morocco-panel-label {
    opacity: 1;
    translate: 0 0;
  }
  .morocco-panel:hover .morocco-panel-arrow {
    rotate: -45deg;
    background: rgba(255, 174, 8, 0.35);
  }
}

@media (hover: none) {
  .morocco-panel::after,
  .morocco-panel-label {
    opacity: 1;
    translate: 0 0;
  }
}

.morocco-copy {
  border-left: 1px solid var(--border);
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
}

.morocco-copy h1,
.morocco-copy h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
}

.morocco-copy > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.morocco-stats {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.morocco-stats span { font-size: 14px; }

.morocco-cta { align-self: flex-start; margin-top: 8px; }

/* Morocco page: founder quote, incentives, production memos, closing band */

/* Quote: words light up as the section scrolls through (JS adds .is-lit) */
.mq {
  position: relative;
  padding: clamp(96px, 12vw, 176px) 0;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(50% 60% at 15% 20%, rgba(255, 174, 8, 0.08), transparent 70%);
}

.mq-inner { position: relative; max-width: 1180px; }

.mq-mark {
  position: absolute;
  top: -0.35em;
  left: calc(var(--gap) - 0.08em);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(140px, 16vw, 240px);
  line-height: 1;
  color: rgba(255, 205, 102, 0.18);
  pointer-events: none;
}

.mq-text { margin: 0; position: relative; }

.mq-text p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.9vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.mq-word {
  opacity: 0.2;
  transition: opacity 350ms ease, color 350ms ease;
}

.mq-word.is-lit { opacity: 1; }

.mq-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0 0;
}

.mq-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(1);
  box-shadow: 0 0 0 1px var(--border), 0 0 0 4px rgba(255, 205, 102, 0.12);
}

.mq-author figcaption { display: flex; flex-direction: column; gap: 2px; }
.mq-author strong { font-family: var(--font-display); font-size: 17px; }
.mq-author span { font-size: 13px; color: var(--gold2); }

/* Incentives: 3D cards sharing the role-card surface and tilt */
.incentives {
  padding: clamp(80px, 9vw, 128px) 0;
  border-bottom: 1px solid var(--border);
}

.incentives h2 {
  max-width: 820px;
  margin-bottom: 56px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}

.incentive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.incentive { display: flex; min-width: 0; }

.incentive-inner {
  min-width: 0;
  min-height: 300px;
}

.incentive-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  transform: translateZ(40px);
}

.incentive-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 4.4vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffe0a3, rgba(255, 174, 8, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Unit ("MAD") set small beside the number so every value fits its card */
.incentive-unit {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold2);
}

.incentive-body { transform: translateZ(28px); }

.incentive-label {
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
  overflow-wrap: anywhere;
}

/* Memos: accordion. Panels animate grid rows 0fr -> 1fr (no height measuring) */
.memos {
  padding: clamp(80px, 9vw, 128px) 0;
  border-bottom: 1px solid var(--border);
}

.memos-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}

.memos-intro { position: sticky; top: 120px; }

.memos-intro h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
}

.memos-text {
  margin-top: 20px;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.memo-list { border-top: 1px solid var(--border); }

.memo { border-bottom: 1px solid var(--border); }

.memo h3 { margin: 0; }

.memo-toggle {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 28px 8px;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.memo-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 174, 8, 0.08), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.memo-toggle:focus-visible { outline: 2px solid var(--gold2); outline-offset: -2px; }

.memo-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  transition: color 250ms ease;
}

.memo-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: translate 300ms var(--ease-out);
}

/* Plus that becomes a minus */
.memo-icon { position: relative; width: 18px; height: 18px; justify-self: end; }

.memo-icon::before,
.memo-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--gold2);
  transition: transform 300ms var(--ease-out);
}

.memo-icon::after { transform: rotate(90deg); }
.memo.is-open .memo-icon::after { transform: rotate(0deg); }
.memo.is-open .memo-num { color: var(--gold2); }

.memo-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 350ms var(--ease-out);
}

.memo.is-open .memo-panel { grid-template-rows: 1fr; }

.memo-panel-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 8px 0 72px;
  opacity: 0;
  translate: 0 -6px;
  transition: opacity 250ms ease, translate 350ms var(--ease-out), padding 350ms var(--ease-out);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.memo.is-open .memo-panel-inner {
  padding-bottom: 32px;
  opacity: 1;
  translate: 0 0;
  transition-delay: 60ms, 0ms, 0ms;
}

.memo-panel-inner p + p,
.memo-panel-inner ul + p,
.memo-panel-inner p + ul { margin-top: 14px; }

.memo-panel-inner ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.memo-panel-inner li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.memo-panel-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 10px;
  height: 1px;
  background: var(--gold2);
}

@media (hover: hover) and (pointer: fine) {
  .memo-toggle:hover::before { transform: scaleX(1); }
  .memo-toggle:hover .memo-title { translate: 6px 0; }
}

/* Closing band over the projector image */
.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 16vw, 220px) 0;
  isolation: isolate;
}

.closing-bg {
  position: absolute;
  top: -60px;
  left: 0;
  z-index: -2;
  width: 100%;
  height: calc(100% + 120px);
  object-fit: cover;
  object-position: 70% 50%;
}

.closing-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.7) 45%, rgba(10, 10, 10, 0.2) 100%);
}

.closing-inner { max-width: 760px; }

.closing h2 {
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.02;
}

.closing p {
  max-width: 520px;
  margin: 24px 0 36px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(243, 241, 237, 0.78);
}

@media (max-width: 1024px) {
  .incentive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .memos-grid { grid-template-columns: 1fr; }
  .memos-intro { position: static; }
}

@media (max-width: 640px) {
  .incentive-grid { grid-template-columns: 1fr; gap: 12px; }
  .incentive-inner { min-height: 0; }
  .memo-toggle { grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 12px; }
  .memo-panel-inner { padding-left: 8px; }
  .closing-scrim { background: rgba(10, 10, 10, 0.78); }
}

@media (prefers-reduced-motion: reduce) {
  .memo-panel,
  .memo-panel-inner { transition: none; }
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 5fr 7fr;
}

.contact-info {
  border-right: 1px solid var(--border);
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.contact-info h1,
.contact-info h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
}

.addresses {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.addresses address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.addresses strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.contact-links a:first-child,
.contact-links a:nth-child(2) { margin-bottom: 4px; }

.contact-links .underline {
  text-decoration: underline;
  margin-top: 8px;
}

.contact-form-wrap {
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-form label.full { margin-bottom: 0; }

.contact-form label > span { transition: color 200ms ease; }
.contact-form label:focus-within > span { color: var(--text); }

/* Focus underline drawn from the left */
.contact-form label:not(.full) { position: relative; }

.contact-form label:not(.full)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.contact-form label:not(.full):focus-within::after { transform: scaleX(1); }

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 8px 0;
  transition: border-color 200ms ease;
}

.contact-form textarea {
  border: 1px solid var(--border-strong);
  padding: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.form-status {
  flex: 1;
  color: var(--text-muted);
  font-size: 14px;
}

.contact-form-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  margin-bottom: 12px;
}

.contact-form-intro h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-form-intro p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.form-status--done {
  font-size: 18px;
  color: var(--text);
}

/* Social links under the form */
.contact-social {
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.contact-social-title {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold2);
}

.contact-social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-social-list a {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

/* Round badge holding the brand icon; fills gold on hover */
.contact-social-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 205, 102, 0.35);
  color: var(--gold2);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, scale 300ms var(--ease-out);
}

.contact-social-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  transition: translate 300ms var(--ease-out);
}

.contact-social-network {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 200ms ease;
}

.contact-social-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-social-list .contact-social-arrow {
  width: 16px;
  height: 16px;
  opacity: 0.5;
  rotate: -90deg; /* ↘ icon turned into an outbound ↗ */
  transition: translate 300ms var(--ease-out), opacity 200ms ease;
}

.contact-social-list a:active .contact-social-icon { scale: 0.92; }

.contact-social-list a:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-social-list a:hover .contact-social-icon {
    background-color: var(--gold2);
    border-color: var(--gold2);
    color: #0a0a0a;
    scale: 1.06;
  }
  .contact-social-list a:hover .contact-social-network { color: var(--gold2); }
  .contact-social-list a:hover .contact-social-text { translate: 4px 0; }
  .contact-social-list a:hover .contact-social-arrow { translate: 2px -2px; opacity: 1; }
}

@media (max-width: 768px) {
  .contact-social-list { grid-template-columns: 1fr; }
}

.credit-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  padding: 24px;
}

.credit-badge img { width: 40px; height: 40px; }

.credit-badge span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}

/* Contact map */

.contact-map {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: #151515;
}

/* Dark map: inverted, hue turned back, greyscale at rest like every other
   image on the site; colour returns on hover. Both states keep the same
   filter function list so the change interpolates instead of snapping. */
.contact-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) hue-rotate(180deg) contrast(0.9);
  transition: filter 600ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact-map:hover .contact-map-frame {
    filter: grayscale(0.2) invert(0.92) hue-rotate(180deg) contrast(0.9);
  }
}

/* Soft edges so the map melts into the sections around it */
.contact-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, #0a0a0a, rgba(10, 10, 10, 0) 14%, rgba(10, 10, 10, 0) 86%, #0a0a0a);
  pointer-events: none;
}

.contact-map-card {
  position: absolute;
  left: var(--gap);
  bottom: 48px;
  z-index: 2;
  width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.contact-map-card .eyebrow { margin-bottom: 4px; }

.contact-map-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.contact-map-card address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

@media (prefers-reduced-transparency: reduce) {
  .contact-map-card {
    background: #0a0a0a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Small screens: the card sits under the map (overlapping its edge) so it
   never hides the pin at the map's centre. */
@media (max-width: 768px) {
  .contact-map {
    height: auto;
    background: var(--bg);
  }
  .contact-map-frame {
    position: relative;
    display: block;
    height: 360px;
  }
  .contact-map::after {
    bottom: auto;
    height: 360px;
  }
  .contact-map-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -48px 16px 24px;
  }
}

/* Studio page: standing sets (décors). Sticky numbered index on the left
   follows the set in view; images turn from greyscale to colour when their
   set becomes active. */

.decors {
  padding: 112px 0;
  border-bottom: 1px solid var(--border);
}

.decors-intro {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: end;
  gap: var(--gap);
  margin-bottom: clamp(64px, 8vw, 112px);
}

.decors-intro h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
}

.decors-intro-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.decors-lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
}

.decors-layout {
  display: grid;
  grid-template-columns: minmax(240px, 4fr) 8fr;
  align-items: start;
  gap: var(--gap);
}

.decors-index {
  position: sticky;
  top: 120px;
  border-top: 1px solid var(--border);
}

/* One bar for the whole list, moved and sized by JS (translateY + scaleY) */
.decors-index-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 1px;
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 450ms var(--ease-in-out);
}

.decors-index-link {
  display: grid;
  grid-template-columns: 36px 1fr 18px;
  align-items: center;
  gap: 12px;
  padding: 22px 8px 22px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 250ms ease;
}

.decors-index-link:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: -2px;
}

.decors-index-num {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  transition: color 250ms ease;
}

.decors-index-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: translate 300ms var(--ease-out);
}

.decors-index-link img {
  width: 18px;
  height: 18px;
  opacity: 0;
  translate: -6px -6px;
  transition: opacity 250ms var(--ease-out), translate 300ms var(--ease-out);
}

.decors-index-link.is-active { color: var(--text); }
.decors-index-link.is-active .decors-index-num { color: var(--gold2); }

.decors-index-link.is-active img {
  opacity: 1;
  translate: 0 0;
}

@media (hover: hover) and (pointer: fine) {
  .decors-index-link:hover { color: var(--text); }
  .decors-index-link:hover .decors-index-title { translate: 6px 0; }
}

.decors-list {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 9vw, 128px);
}

.decor-item { scroll-margin-top: 120px; }

.decor-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
  perspective: 1000px;
}

/* Taller than its frame so the scroll parallax never shows an edge */
.decor-media img {
  position: absolute;
  left: 0;
  top: -40px;
  width: 100%;
  height: calc(100% + 80px);
  object-fit: cover;
  filter: grayscale(1) brightness(0.8);
  transition: filter 700ms ease;
}

.decor-item.is-active .decor-media img { filter: grayscale(0) brightness(1); }

@media (hover: hover) and (pointer: fine) {
  .decor-media:hover img { filter: grayscale(0) brightness(1); }
}

.decor-caption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 12px var(--gap);
  padding-top: 28px;
}

.decor-cat {
  grid-column: 1 / -1;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold2);
}

.decor-caption h3 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.decor-text {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.decors-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  margin-top: clamp(72px, 9vw, 128px);
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.decors-cta h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.decors-cta p {
  margin-top: 10px;
  max-width: 520px;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .decors-index-indicator { transition: none; }
}

@media (max-width: 900px) {
  .decors { padding: 72px 0; }
  .decors-intro,
  .decors-layout,
  .decor-caption { grid-template-columns: 1fr; }
  .decors-intro { gap: 24px; }
  .decors-index { display: none; }
  .decors-cta { flex-direction: column; align-items: flex-start; }
}

/* Studio page: title + text introducing the work accordion */

.work-intro { padding: 112px 0 16px; }

.work-intro-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: end;
  gap: var(--gap);
}

.work-intro h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
}

.work-intro-text {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .work-intro { padding: 72px 0 8px; }
  .work-intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .work-intro-text { font-size: 16px; }
}

/* Studio showcase */

.studio-showcase {
  border-bottom: 1px solid var(--border);
  padding: 40px var(--gap) 56px;
}

.showcase-grid {
  display: flex;
  gap: 1px;
  background: var(--border);
  margin-bottom: 24px;
  height: 560px;
}

.showcase-item {
  position: relative;
  display: block;
  flex: 1 1 0%;
  min-width: 0;
  background: #0a0a0a;
  overflow: hidden;
  transition: flex-grow 700ms var(--ease-drawer);
}

.showcase-item.is-feature { flex-grow: 2.4; }

.showcase-grid:hover .showcase-item { flex-grow: 1; }
.showcase-grid .showcase-item:hover { flex-grow: 3.2; }

.showcase-item img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 900ms var(--ease-out), filter 600ms ease;
}

.showcase-item:hover img:first-child {
  transform: scale(1.06);
  filter: grayscale(0);
}

.showcase-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0) 62%, rgba(10, 10, 10, 0.92) 100%);
  opacity: 0;
  transition: opacity 400ms ease;
}

.showcase-item:hover .showcase-scrim { opacity: 1; }

.showcase-caption-top,
.showcase-caption-bottom {
  position: absolute;
  left: 24px;
  right: 56px;
}

.showcase-caption-top { top: 24px; }
.showcase-caption-bottom { bottom: 24px; }

/* Captions resolve out of a soft blur, staggered after the panel starts opening.
   Exit has no delay so the panel answers immediately when the pointer leaves. */
.showcase-title,
.showcase-subtitle,
.showcase-description {
  opacity: 0;
  translate: 0 12px;
  filter: blur(4px);
  transition: opacity 300ms var(--ease-out), translate 400ms var(--ease-out), filter 300ms var(--ease-out);
}

.showcase-caption-top .showcase-title,
.showcase-caption-top .showcase-subtitle { translate: 0 -12px; }

@media (hover: hover) and (pointer: fine) {
  .showcase-item:hover .showcase-title,
  .showcase-item:hover .showcase-subtitle,
  .showcase-item:hover .showcase-description {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
  .showcase-item:hover .showcase-title { transition-delay: 150ms; }
  .showcase-item:hover .showcase-subtitle { transition-delay: 210ms; }
  .showcase-item:hover .showcase-description { transition-delay: 270ms; }

  /* At rest the open (first) panel reads as selected: colour + caption */
  .showcase-grid:not(:hover) .is-feature img:first-child { filter: grayscale(0); }
  .showcase-grid:not(:hover) .is-feature .showcase-scrim,
  .showcase-grid:not(:hover) .is-feature .showcase-title,
  .showcase-grid:not(:hover) .is-feature .showcase-subtitle,
  .showcase-grid:not(:hover) .is-feature .showcase-description {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@media (hover: none) {
  .showcase-scrim,
  .showcase-title,
  .showcase-subtitle,
  .showcase-description {
    opacity: 1;
    translate: 0 0;
    filter: none;
  }
}

.showcase-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}

.showcase-subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  margin: 4px 0 0;
}

.showcase-description {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  max-width: 460px;
  white-space: normal;
}

.showcase-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  padding: 4px;
  background: rgba(10, 10, 10, 0.5);
  z-index: 2;
}

.studio-cta-repeat { position: static; }

/* Edge-to-edge variant (Studio page); the button keeps the page margin */
.studio-showcase--full {
  padding-left: 0;
  padding-right: 0;
}

.studio-showcase--full .studio-cta-repeat { margin-left: var(--gap); }

@media (max-width: 1024px) {
  .showcase-grid { flex-wrap: wrap; height: auto; }
  .showcase-item { flex: 1 1 calc(50% - 1px); min-height: 260px; }
  .showcase-item.is-feature { flex: 1 1 100%; min-height: 360px; }
  .showcase-grid:hover .showcase-item,
  .showcase-item:hover { flex-grow: 1; }
  .showcase-item .showcase-scrim,
  .showcase-item .showcase-title,
  .showcase-item .showcase-subtitle,
  .showcase-item .showcase-description {
    opacity: 1;
    translate: 0 0;
    filter: none;
  }
  .showcase-description { max-width: 100%; }
  .showcase-title, .showcase-subtitle { white-space: normal; }
  /* Half-width tiles are too narrow for a project synopsis: title + tag only */
  .showcase-item:not(.is-feature) .showcase-caption-bottom { display: none; }
}

@media (max-width: 768px) {
  .showcase-item:not(.is-feature) .showcase-caption-top { left: 16px; right: 16px; top: 16px; }
  .showcase-item:not(.is-feature) .showcase-title { font-size: 16px; }
  .showcase-item:not(.is-feature) .showcase-subtitle { font-size: 12px; }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px 80px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-footer button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 200ms ease, scale 160ms var(--ease-out);
}

.site-footer button:active { scale: 0.97; }

@media (hover: hover) and (pointer: fine) {
  .site-footer button:hover { color: var(--gold2); }
}

/* "View" cursor bubble (fine pointers only, enabled by JS) */

.cursor-view {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  pointer-events: none;
  display: none;
}

.has-cursor .cursor-view { display: block; }
.has-cursor [data-cursor] { cursor: none; }

.cursor-view span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.32);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.cursor-view.is-active span {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-transparency: reduce) {
  .cursor-view span {
    background: #0a0a0a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Line masks (headings split by JS, hero/banner titles in markup) */

.line {
  display: block;
  overflow: hidden;
  padding: 0.12em 0 0.08em;
  margin: -0.12em 0 -0.08em;
}

.line-inner { display: block; }

.is-split { display: grid; }

/* Parallax */

.parallax-el { will-change: translate; }

/* Scroll reveal system — hidden states only apply once JS has tagged <html> */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal-item {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }

  .js .reveal-item.is-in {
    opacity: 1;
    transform: none;
  }

  /* 3D: cards stand up from a tilted plane */
  .js .reveal-item.reveal-3d {
    transform: perspective(1200px) translateY(56px) rotateX(16deg);
    transform-origin: 50% 100%;
    transition-duration: 1100ms;
  }

  .js .reveal-item.reveal-3d.is-in { transform: none; }

  /* Headings rise line by line out of a mask */
  .js .reveal-item.is-split {
    opacity: 1;
    transform: none;
  }

  .js .is-split .line-inner {
    transform: translateY(105%);
    transition: transform 1000ms var(--ease-out);
    transition-delay: calc(var(--d, 0ms) + var(--l, 0) * 80ms);
  }

  .js .is-split.is-in .line-inner { transform: none; }

  /* Eyebrow dash draws in after its label */
  .js .reveal-item.eyebrow::before {
    transform: scaleX(0);
    transition: transform 700ms var(--ease-in-out);
    transition-delay: calc(var(--d, 0ms) + 200ms);
  }

  .js .reveal-item.eyebrow.is-in::before { transform: scaleX(1); }

  /* Images: a curtain lifts bottom-up while the picture settles from a
     slight zoom. A transform curtain rather than clip-path on the element:
     Chrome's IntersectionObserver measures the clipped box, so a fully
     clipped target never reaches its threshold. */
  .js .reveal-clip::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: var(--bg);
    transform-origin: 50% 0%;
    transition: transform 1100ms var(--ease-in-out);
    transition-delay: var(--d, 0ms);
    pointer-events: none;
  }

  .js .reveal-clip > img:first-child {
    scale: 1.25;
    transition: scale 1400ms var(--ease-out), filter 600ms ease;
    transition-delay: var(--d, 0ms), 0ms;
  }

  .js .reveal-clip.is-in::before { transform: scaleY(0); }
  .js .reveal-clip.is-in > img:first-child { scale: 1; }

  /* Service rows: divider draws across as the row arrives */
  .js .services-list li.reveal-item { border-bottom-color: transparent; }

  .js .services-list li.reveal-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: var(--border);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1200ms var(--ease-in-out);
    transition-delay: var(--d, 0ms);
  }

  .js .services-list li.reveal-item.is-in::after { transform: scaleX(1); }
}

/* Reduced motion: keep the fade, drop the movement */
@media (prefers-reduced-motion: reduce) {
  .js .reveal-item,
  .js .reveal-clip {
    opacity: 0;
    transition: opacity 400ms ease;
  }

  .js .reveal-item.is-in,
  .js .reveal-clip.is-in { opacity: 1; }
}

/* Page transitions (cross-document View Transitions) */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  ::view-transition-old(root) { animation: vtOut 200ms var(--ease-out) both; }
  ::view-transition-new(root) { animation: vtIn 400ms var(--ease-out) 80ms both; }
}

@keyframes vtOut {
  to { opacity: 0; filter: blur(4px); }
}

@keyframes vtIn {
  from { opacity: 0; filter: blur(4px); }
}

/* Responsive */

@media (max-width: 1024px) {
  .about,
  .morocco,
  .contact { grid-template-columns: 1fr; }

  .about-media { border-left: none; border-bottom: 1px solid var(--border); min-height: 400px; }
  .about-copy { padding: 64px var(--gap); }
  .morocco-copy { border-left: none; border-top: 1px solid var(--border); }
  .contact-info { border-right: none; border-bottom: 1px solid var(--border); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hamburger menu: below 960px the full menu, language switch and CTA no longer fit */
@media (max-width: 960px) {
  .mobile-nav-panel { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .mobile-nav-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px var(--gap);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transition: opacity 250ms var(--ease-out), transform 300ms var(--ease-drawer);
  }

  @starting-style {
    .site-header.nav-open .mobile-nav-panel {
      opacity: 0;
      transform: translateY(-8px);
    }
  }

  .nav-primary > a::after,
  .nav-dropdown-toggle::after { display: none; }

  .site-header.nav-open .nav-primary,
  .site-header.nav-open .header-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions { gap: 16px; }

  .nav-item-dropdown { width: 100%; }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 4px;
    margin-left: 12px;
    border-top: none;
    border-left: 2px solid var(--gold2);
  }

  .nav-caret { display: none; }
}

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .services-list li { grid-template-columns: 40px minmax(0, 1fr); }
  .services-list p { grid-column: 2 / -1; }
  .services-list img { display: none; }
  .contact-form-wrap, .contact-info, .morocco-copy { padding: 48px var(--gap); }
  .site-footer { flex-direction: column; text-align: center; padding: 32px var(--gap); }
}

/* ---------------------------------------------------------------------
   Glass header (all pages) — simple bar: logo, links, location, contact
   --------------------------------------------------------------------- */

.site-header {
  top: 12px;
  margin: 12px var(--gap) 0;
  padding: 10px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 40px rgba(0, 0, 0, 0.28);
}

.brand-logo img { height: 36px; }

.nav-primary a { text-transform: none; font-size: 14px; letter-spacing: 0; }

.header-loc { font-size: 13px; color: var(--text-muted); padding-right: 8px; white-space: nowrap; }

.site-header .btn-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  text-transform: none;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: background-color 250ms ease, color 250ms ease, scale 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .site-header .btn-light:hover { background: var(--text); color: #0a0a0a; }
}

@media (max-width: 1180px) { .header-loc { display: none; } }

.home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 var(--gap);
}

/* ---------------------------------------------------------------------
   Homepage
   --------------------------------------------------------------------- */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.home-eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.home h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.home h2 .wi, .home h1 .wi { display: inline-block; will-change: transform; }
.home h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }

.home-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.home-hero-bg { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }

.home-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0) 40%, rgba(10, 10, 10, 0.8) 100%);
}

.home-hero-content { position: relative; padding: 0 var(--gap) clamp(40px, 7vw, 88px); }

.home-hero h1 { font-weight: 500; font-size: clamp(40px, 6.5vw, 96px); letter-spacing: -0.03em; line-height: 1; }
.home-hero p { margin-top: 16px; font-size: 14px; letter-spacing: 0.04em; color: rgba(243, 241, 237, 0.78); }

.home-link {
  display: inline-block;
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(243, 241, 237, 0.4);
  transition: border-color 200ms ease, color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .home-link:hover { color: var(--gold2); border-color: var(--gold2); }
}

.home-intro { max-width: 1100px; margin: 0 auto; padding: clamp(96px, 16vw, 220px) var(--gap); }

.home-intro-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.8vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

/* Work: pinned, vertical scroll drives the cards right to left (GSAP ScrollTrigger) */
.hscroll { position: relative; overflow: hidden; }
.hscroll-sticky { padding: clamp(48px, 7vw, 96px) 0; }

.hscroll-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 var(--gap);
  margin-bottom: clamp(32px, 5vw, 64px);
}

.hscroll-head h2 { font-weight: 500; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

.hscroll-track {
  display: flex;
  gap: clamp(24px, 3vw, 56px);
  padding: 0 var(--gap);
  overflow-x: auto;
  scrollbar-width: none;
  width: max-content;
  max-width: none;
}

.hscroll-track::-webkit-scrollbar { display: none; }

.hscroll-card { flex: 0 0 clamp(280px, 34vw, 560px); }

.hscroll-media { aspect-ratio: 16 / 10; overflow: hidden; background: #151515; margin-bottom: 20px; }
.hscroll-media img { width: 100%; height: 100%; object-fit: cover; scale: 1.18; will-change: transform; }

.hscroll-media.is-poster { display: grid; place-items: center; }
.hscroll-media.is-poster span { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 52px); color: rgba(243, 241, 237, 0.18); }

.hscroll-card h3 { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.hscroll-card p { margin-top: 4px; font-size: 13px; color: var(--text-muted); }
.hscroll-end { display: flex; align-items: center; font-size: 14px; flex-basis: 220px; }

.hscroll-progress { height: 1px; margin: clamp(32px, 5vw, 64px) var(--gap) 0; background: var(--border); }
.hscroll-progress i { display: block; height: 100%; background: var(--gold2); transform: scaleX(0); transform-origin: left; }

.hscroll.is-pinned .hscroll-sticky {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 0 40px;
}

.hscroll.is-pinned .hscroll-track { overflow: visible; will-change: transform; }

@media (max-width: 720px) {
  .hscroll-track { width: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gap); }
  .hscroll-card { scroll-snap-align: start; flex-basis: 78vw; }
  .hscroll-media img { scale: 1; }
}

/* Khadija */
.home-about {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  gap: clamp(40px, 8vw, 128px);
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(96px, 14vw, 200px) var(--gap);
}

.home-about-media { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: #151515; }
.home-about-media img { width: 100%; height: 100%; object-fit: cover; scale: 1.2; will-change: transform; }

.home-about h2 { font-weight: 500; font-size: clamp(32px, 4.5vw, 64px); letter-spacing: -0.03em; line-height: 1.05; }
.home-about-role { margin-top: 12px; color: var(--text-muted); }
.home-about-text { margin: 32px 0 40px; font-size: 18px; line-height: 1.6; color: rgba(243, 241, 237, 0.8); max-width: 30em; }

@media (max-width: 860px) { .home-about { grid-template-columns: 1fr; } }

/* Oasis Studios */
.home-studio {
  position: relative;
  min-height: min(90vh, 780px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.home-studio-scrim { position: absolute; inset: 0; background: rgba(10, 10, 10, 0.58); }

.home-studio-inner { position: relative; max-width: 780px; padding: 96px var(--gap); }
.home-studio .home-eyebrow { color: rgba(243, 241, 237, 0.75); }
.home-studio h2 { font-weight: 500; font-size: clamp(34px, 5.5vw, 76px); letter-spacing: -0.03em; line-height: 1.05; }
.home-studio-text { margin: 28px auto 40px; font-size: 18px; line-height: 1.6; color: rgba(243, 241, 237, 0.85); max-width: 32em; }

/* Contact — the original form, centred */
.home-contact {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 120px) var(--gap) clamp(96px, 14vw, 200px);
  text-align: center;
}

.home-contact .home-eyebrow { margin-bottom: 20px; }

.home-contact-lead {
  font-weight: 500;
  font-size: clamp(30px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 12em;
  margin: 0 auto;
}

.home-contact .contact-form-wrap { padding: clamp(40px, 6vw, 72px) 0 0; text-align: left; }
.home-contact .contact-form-intro { text-align: center; margin: 0 auto 12px; }
.home-contact .contact-social { margin-top: 24px; }
.home-contact-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 32px; margin-top: 56px; font-size: 14px; color: var(--text-muted); }
.home-contact-meta a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .home-contact-meta a:hover { color: var(--gold2); } }

@media (max-width: 720px) {
  .site-footer { padding: 32px var(--gap); flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Compact glass header on scroll
   --------------------------------------------------------------------- */

.site-header,
.home .site-header {
  --hm: var(--gap);
  margin-inline: var(--hm);
  transition: margin 700ms var(--ease-drawer), padding 500ms var(--ease-drawer), border-radius 500ms var(--ease-drawer), background-color 400ms ease, box-shadow 400ms ease;
}

.home .site-header { left: 0; right: 0; }

.site-header.is-hidden { transform: none; }

.site-header.is-compact {
  --hm: max(var(--gap), calc((100% - 960px) / 2));
  padding-block: 6px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.42);
}

.site-header .brand-logo img { transition: height 500ms var(--ease-drawer); }
.site-header.is-compact .brand-logo img { height: 26px; }
.site-header.is-compact .nav-primary { gap: 18px; }
.site-header.is-compact .header-loc { font-size: 12px; }
.site-header.is-compact .lang-switch { padding: 6px 8px; font-size: 13px; }
.site-header.is-compact .btn-light { padding: 7px 14px; font-size: 12px; }

@media (max-width: 1100px) {
  .site-header.is-compact { --hm: var(--gap); }
}

/* ---------------------------------------------------------------------
   Buttons — pills with an animated fill
   --------------------------------------------------------------------- */

.btn,
.home-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
}

.btn::before,
.home-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--text);
  transform: translateY(102%);
  transition: transform 550ms var(--ease-drawer);
}

.btn-gold {
  flex-direction: row-reverse;
  padding: 10px 10px 10px 28px;
  gap: 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 205, 102, 0.45), 0 6px 24px rgba(255, 174, 8, 0.12);
  transition: color 350ms ease, box-shadow 300ms ease, scale 160ms var(--ease-out);
}

.btn-gold img {
  width: 40px;
  height: 40px;
  padding: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: translate 450ms var(--ease-drawer), background-color 350ms ease, filter 350ms ease, rotate 450ms var(--ease-drawer);
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border: 1px solid rgba(243, 241, 237, 0.35);
  transition: color 350ms ease, border-color 350ms ease, scale 160ms var(--ease-out);
}

.home-link:active { scale: 0.97; }
.home-link span { display: inline-block; transition: translate 450ms var(--ease-drawer); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover::before,
  .home-link:hover::before { transform: none; }
  .btn-gold:hover,
  .home-link:hover { color: #0a0a0a; border-color: var(--text); }
  .btn-gold:hover img { background: #0a0a0a; filter: invert(1); translate: 0 0; rotate: -45deg; }
  .home-link:hover span { translate: 6px 0; }
}

/* ---------------------------------------------------------------------
   Contact form — soft glass panel, filled rounded fields
   --------------------------------------------------------------------- */

.contact-form {
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-form .form-grid { gap: 20px; margin-bottom: 20px; }

.contact-form label { margin-bottom: 0; gap: 10px; font-size: 11px; letter-spacing: 0.08em; }
.contact-form label:not(.full)::after { display: none; }
.contact-form label:focus-within > span { color: var(--gold2); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.contact-form textarea { min-height: 150px; border: 1px solid transparent; }

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 205, 102, 0.7);
  box-shadow: 0 0 0 5px rgba(255, 174, 8, 0.12);
}

.contact-form .form-footer { margin-top: 24px; justify-content: space-between; }

/* ---------------------------------------------------------------------
   Work: project name + lighting dots
   --------------------------------------------------------------------- */

.hscroll-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gap);
  margin-top: clamp(28px, 4vw, 52px);
}

.hscroll-name { display: flex; align-items: baseline; gap: 18px; overflow: hidden; min-width: 0; }
.hscroll-count { font-size: 13px; color: var(--gold2); font-variant-numeric: tabular-nums; }
.hscroll-title { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -0.02em; white-space: nowrap; }

.hscroll-dots { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }

.hscroll-dots li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(243, 241, 237, 0.22);
  transition: background-color 400ms ease, box-shadow 400ms ease, scale 400ms var(--ease-out);
}

.hscroll-dots li.is-active {
  background: var(--gold2);
  box-shadow: 0 0 0 4px rgba(255, 205, 102, 0.18), 0 0 16px 2px rgba(255, 174, 8, 0.7);
  scale: 1.35;
}

@media (max-width: 720px) { .hscroll-nav { display: none; } }

/* ---------------------------------------------------------------------
   Oasis Studios — drone-shot camera drift and passing clouds
   --------------------------------------------------------------------- */

.home-studio-cam { position: absolute; inset: -14% -4%; will-change: transform; }
.home-studio-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }

.home-studio-clouds {
  position: absolute;
  top: 0;
  left: -25%;
  width: 150%;
  height: 52%;
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.5) 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.5) 55%, transparent 100%);
  will-change: transform;
}

/* ---------------------------------------------------------------------
   Services — 3 left, image in the middle, 2 right
   --------------------------------------------------------------------- */

.home-services { max-width: 1500px; margin: 0 auto; padding: clamp(96px, 14vw, 200px) var(--gap); }

.home-services-head { text-align: center; margin-bottom: clamp(56px, 8vw, 112px); }
.home-services-head .home-eyebrow { margin-bottom: 20px; }

.home-services h2 {
  font-weight: 500;
  font-size: clamp(40px, 7vw, 112px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--text);
  margin: 0 auto;
  max-width: 11em;
}

.home-services-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 26vw) 1fr;
  gap: clamp(28px, 4.5vw, 80px);
  align-items: center;
}

.svc-col { list-style: none; margin: 0; padding: 0; }
.svc-col li { border-top: 1px solid var(--border); }
.svc-col li:last-child { border-bottom: 1px solid var(--border); }

.svc-col a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: clamp(22px, 2.6vw, 38px) 0;
  transition: opacity 400ms ease, color 300ms ease, padding 500ms var(--ease-drawer);
}

.svc-col a span { font-size: 13px; color: var(--gold2); font-variant-numeric: tabular-nums; min-width: 22px; }
.svc-col a b { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 34px); line-height: 1.12; letter-spacing: -0.02em; }

.svc-right a { flex-direction: row-reverse; text-align: right; }

.home-services-grid.has-hover .svc-col a { opacity: 0.32; }
.home-services-grid.has-hover .svc-col a.is-hover { opacity: 1; color: var(--gold2); }
.svc-left a.is-hover { padding-left: 14px; }
.svc-right a.is-hover { padding-right: 14px; }

.svc-image {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  background: #151515;
}

.svc-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  scale: 1.12;
  transition: opacity 700ms ease, scale 1200ms var(--ease-out);
}

.svc-image img.is-active { opacity: 1; scale: 1; }

@media (max-width: 900px) {
  .home-services-grid { grid-template-columns: 1fr; }
  .svc-image { order: -1; max-width: 420px; width: 100%; margin: 0 auto 8px; aspect-ratio: 4 / 3; }
  .svc-right a { flex-direction: row; text-align: left; }
  .svc-right { margin-top: -1px; }
}

/* Header CTA — same gold as the form button */
.site-header .btn-light {
  background: linear-gradient(90deg, var(--gold-a), var(--gold-b));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 205, 102, 0.45), 0 4px 18px rgba(255, 174, 8, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .site-header .btn-light:hover { background: linear-gradient(90deg, var(--gold-a), var(--gold-b)); color: #0a0a0a; }
}

/* Hero video */
video.home-hero-bg { background: #0a0a0a; }

/* Filming in Morocco */
.home-morocco { max-width: 1500px; margin: 0 auto; padding: clamp(96px, 14vw, 200px) var(--gap); text-align: center; }
.home-morocco-head { margin-bottom: clamp(48px, 7vw, 96px); }
.home-morocco-head .home-eyebrow { margin-bottom: 20px; }
.home-morocco h2 { font-weight: 500; font-size: clamp(36px, 6vw, 96px); line-height: 1.02; letter-spacing: -0.04em; max-width: 10em; margin: 0 auto; }

.home-morocco-panels { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); margin-bottom: clamp(40px, 6vw, 80px); text-align: left; }

.home-morocco-panel { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 24px; background: #151515; }
.home-morocco-panel img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; transition: scale 1200ms var(--ease-out); }
.home-morocco-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 10, 0.75)); }
.home-morocco-panel span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1.4vw, 20px); letter-spacing: -0.01em; }

@media (hover: hover) and (pointer: fine) {
  .home-morocco-panel:hover img { scale: 1.05; }
}

@media (max-width: 900px) { .home-morocco-panels { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   Word masks (heading words rise out of them on every page)
   ===================================================================== */

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.wi { display: inline-block; will-change: transform; }
img[data-parallax] { scale: 1.16; will-change: transform; }

/* =====================================================================
   Footer
   ===================================================================== */

.site-footer { display: block; padding: clamp(48px, 7vw, 96px) var(--gap) 32px; border-top: 1px solid var(--border); text-transform: none; }

.site-footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.site-footer-brand img { height: 40px; width: auto; }
.site-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; font-size: 14px; }
.site-footer-nav a { color: var(--text-muted); transition: color 0.2s ease; }
.site-footer-nav a:hover { color: var(--text); }
.site-footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 14px; color: var(--text-muted); }
.site-footer-contact a:first-child { font-family: var(--font-display); font-size: 18px; color: var(--gold2); }
.site-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; font-size: 12px; text-transform: uppercase; color: var(--text-muted); }

@media (max-width: 720px) {
  .site-footer-top { grid-template-columns: 1fr; gap: 24px; }
  .site-footer-nav { justify-content: flex-start; }
  .site-footer-contact { align-items: flex-start; }
}

/* =====================================================================
   Services triptych (homepage)
   ===================================================================== */

.svc-tri { display: flex; gap: 12px; height: clamp(440px, 64vh, 680px); }

.svc-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #151515;
  transition: flex 900ms var(--ease-drawer);
  will-change: flex;
}

.svc-panel.is-open { flex: 2.4 1 0; }

.svc-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.85);
  transition: filter 900ms ease;
}

.svc-panel.is-open > img { filter: brightness(0.82) saturate(1); }

.svc-panel-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0) 40%, rgba(10, 10, 10, 0.88) 100%); }
.svc-panel-num { position: absolute; top: 24px; left: 24px; font-size: 13px; color: var(--gold2); }
.svc-panel-body { position: absolute; left: 24px; right: 24px; bottom: 24px; }

.svc-panel h3 {
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  transition: font-size 700ms var(--ease-drawer);
}

.svc-panel.is-open h3 { font-size: clamp(24px, 2.8vw, 44px); }

.svc-panel-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 700ms var(--ease-drawer); }
.svc-panel-desc > div { overflow: hidden; }
.svc-panel.is-open .svc-panel-desc { grid-template-rows: 1fr; }

.svc-panel p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(243, 241, 237, 0.85);
  max-width: 36em;
  opacity: 0;
  translate: 0 12px;
  transition: opacity 500ms ease, translate 600ms var(--ease-out);
}

.svc-panel-more {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 3px;
  font-size: 13px;
  border-bottom: 1px solid rgba(243, 241, 237, 0.45);
  opacity: 0;
  transition: opacity 500ms ease 150ms;
}

.svc-panel.is-open p,
.svc-panel.is-open .svc-panel-more { opacity: 1; translate: 0 0; }

@media (max-width: 860px) {
  .svc-tri { flex-direction: column; height: auto; }
  .svc-panel, .svc-panel.is-open { flex: none; height: 300px; }
  .svc-panel h3, .svc-panel.is-open h3 { font-size: 26px; }
  .svc-panel-desc { grid-template-rows: 1fr; }
  .svc-panel p, .svc-panel-more { opacity: 1; translate: 0 0; }
  .svc-panel > img { filter: brightness(0.75); }
}

/* =====================================================================
   Location bands ("Filming in Morocco")
   ===================================================================== */

.loc { max-width: 1500px; margin: 0 auto; padding: clamp(96px, 14vw, 200px) var(--gap); text-align: center; }
.loc--page { padding-top: clamp(24px, 4vw, 48px); }
.loc-head { margin-bottom: clamp(40px, 6vw, 80px); }
.loc-head .home-eyebrow { margin-bottom: 20px; }
.loc h2 { font-weight: 500; font-size: clamp(36px, 6vw, 96px); line-height: 1.02; letter-spacing: -0.04em; max-width: 10em; margin: 0 auto; }
.loc-copy { max-width: 36em; margin: 28px auto 0; font-size: 18px; line-height: 1.6; color: rgba(243, 241, 237, 0.78); }

.loc-bands { display: flex; flex-direction: column; gap: 10px; text-align: left; }

.loc-band {
  position: relative;
  display: block;
  height: 96px;
  border-radius: 22px;
  overflow: hidden;
  background: #151515;
  transition: height 900ms var(--ease-drawer);
  will-change: height;
}

.loc-band.is-open { height: clamp(320px, 42vw, 540px); }

.loc-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.08;
  filter: brightness(0.6);
  transition: scale 1400ms var(--ease-out), filter 900ms ease;
}

.loc-band.is-open img { scale: 1; filter: brightness(0.92); }

.loc-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 10, 0.7));
  opacity: 0;
  transition: opacity 900ms ease;
}

.loc-band.is-open::after { opacity: 1; }

.loc-band-num {
  position: absolute;
  right: 28px;
  top: 50%;
  translate: 0 -50%;
  z-index: 1;
  font-size: 13px;
  color: var(--gold2);
  transition: top 900ms var(--ease-drawer), translate 900ms var(--ease-drawer);
}

.loc-band.is-open .loc-band-num { top: 28px; translate: 0 0; }

.loc-band-label {
  position: absolute;
  left: 28px;
  bottom: 50%;
  translate: 0 50%;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: bottom 900ms var(--ease-drawer), translate 900ms var(--ease-drawer), font-size 900ms var(--ease-drawer);
}

.loc-band.is-open .loc-band-label { bottom: 28px; translate: 0 0; font-size: clamp(28px, 4.2vw, 60px); }

.loc-stats { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 40px; font-size: 14px; color: var(--text-muted); }
.loc-link { margin-top: 36px; }

@media (max-width: 720px) {
  .loc-band, .loc-band.is-open { height: 180px; }
  .loc-band img, .loc-band.is-open img { scale: 1; filter: brightness(0.85); }
  .loc-band::after { opacity: 1; }
  .loc-band-num, .loc-band.is-open .loc-band-num { top: 20px; translate: 0 0; right: 20px; }
  .loc-band-label, .loc-band.is-open .loc-band-label { bottom: 20px; left: 20px; translate: 0 0; font-size: 24px; }
}

/* =====================================================================
   Inner pages — shared
   ===================================================================== */

.pg-hero { max-width: 1300px; margin: 0 auto; padding: clamp(72px, 12vw, 180px) var(--gap) clamp(40px, 6vw, 80px); }
.pg-hero .breadcrumb { animation: none; opacity: 1; margin-bottom: 32px; letter-spacing: 0.08em; }
.pg-hero .home-eyebrow { margin-bottom: 20px; }

.pg-hero h1 {
  font-weight: 500;
  font-size: clamp(44px, 8vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: none;
  max-width: 10em;
}

.pg-hero-lead {
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 34em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: rgba(243, 241, 237, 0.85);
}

.pg-hero-media { margin-top: clamp(40px, 6vw, 80px); aspect-ratio: 21 / 9; border-radius: 28px; overflow: hidden; background: #151515; }
.pg-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.pg-h2,
.ab-partners-head h2, .wk-head h2, .svc-row-body h2, .st-decors-head h2, .st-work-intro h2,
.kh-bio h2, .kh-roles-head h2, .inc-head h2, .mm-intro h2, .cl-inner h2 {
  font-weight: 500;
  font-size: clamp(32px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 12em;
}

.cta { max-width: 1300px; margin: 0 auto; padding: clamp(72px, 10vw, 160px) var(--gap); text-align: center; }
.cta h2 { font-weight: 500; font-size: clamp(34px, 6vw, 88px); line-height: 1.02; letter-spacing: -0.04em; max-width: 11em; margin: 0 auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 32px; margin-top: clamp(32px, 5vw, 56px); }

/* About */
.ab-media { max-width: 1500px; margin: 0 auto; padding: 0 var(--gap); }
.ab-media-frame { aspect-ratio: 21 / 9; border-radius: 28px; overflow: hidden; background: #151515; }
.ab-media-frame img { width: 100%; height: 100%; object-fit: cover; }

.ab-story { max-width: 1300px; margin: 0 auto; padding: clamp(72px, 10vw, 160px) var(--gap); }
.ab-story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.ab-story-side { position: sticky; top: 120px; }
.ab-story-side h2 { font-weight: 500; font-size: clamp(32px, 4.5vw, 64px); letter-spacing: -0.035em; line-height: 1.02; }
.ab-story-role { margin-top: 12px; color: var(--text-muted); }
.ab-story-side .home-link { margin-top: 32px; }
.ab-story-text p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: rgba(243, 241, 237, 0.82); }
.ab-story-text p + p { margin-top: 24px; }
.ab-story-text .home-link { margin-top: 40px; }

.ab-stats { max-width: 1300px; margin: 0 auto; padding: 0 var(--gap) clamp(72px, 10vw, 160px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ab-stat { padding-top: 32px; border-top: 1px solid var(--border); }
.ab-stat-value { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5vw, 80px); letter-spacing: -0.04em; line-height: 1; color: var(--gold2); }
.ab-stat-label { margin-top: 12px; font-size: 14px; color: var(--text-muted); }

.ab-partners { max-width: 1300px; margin: 0 auto; padding: 0 var(--gap) clamp(72px, 10vw, 160px); }
.ab-partners-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.ab-partners-text { margin-top: 24px; font-size: 18px; line-height: 1.65; color: rgba(243, 241, 237, 0.8); }
.ab-logos { list-style: none; margin: 0; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px 48px; }
.ab-logos img { height: var(--logo-h, 36px); width: auto; opacity: 0.75; transition: opacity 0.3s ease; }
.ab-logos img.is-mono { filter: brightness(0) invert(1); }
.ab-logos li:hover img { opacity: 1; }

@media (max-width: 860px) {
  .ab-story-grid { grid-template-columns: 1fr; }
  .ab-story-side { position: static; }
  .ab-stats { grid-template-columns: repeat(2, 1fr); }
  .ab-logos { justify-content: center; }
}

/* Work grid + cards */
.wk { max-width: 1500px; margin: 0 auto; padding: 0 var(--gap) clamp(72px, 10vw, 160px); }
.wk-toolbar { margin-bottom: clamp(32px, 4vw, 56px); }
.wk-featured { max-width: 1500px; margin: 0 auto; padding: clamp(72px, 10vw, 160px) var(--gap); }
.wk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); }
.wk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px) clamp(20px, 2.5vw, 40px); }

.wk-grid .work-item { display: block; position: relative; padding: 0; margin: 0; border: 0; background: none; aspect-ratio: auto; height: auto; min-height: 0; overflow: visible; transform: none; box-shadow: none; }
.wk-grid .work-item::before, .wk-grid .work-item::after { content: none; }
.work-item-media { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #151515; margin-bottom: 18px; display: grid; place-items: center; }
.wk-grid .work-item img { position: static; width: 100%; height: 100%; object-fit: cover; filter: none; scale: 1; transition: scale 900ms var(--ease-out); }
.work-item-year { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 52px); color: rgba(243, 241, 237, 0.18); }
.wk-grid .work-item h3 { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; margin: 0; }
.wk-grid .work-item p { margin-top: 4px; font-size: 13px; color: var(--text-muted); }
.wk-grid .work-item.is-hidden { display: none; }

@media (hover: hover) and (pointer: fine) {
  .wk-grid .work-item:hover img { scale: 1.05; }
}

.wk .work-filters { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; }
.wk .filter-btn { border-radius: 999px; padding: 10px 18px; font-size: 13px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-muted); text-transform: none; letter-spacing: 0; }
.wk .filter-btn.active,
.wk .work-filters.has-indicator .filter-btn.active { background: var(--text); color: #0a0a0a; border-color: var(--text); }
.wk .work-filters-overlay { display: none; }

@media (max-width: 900px) { .wk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wk-grid { grid-template-columns: 1fr; } }

/* Project detail */
.pj { max-width: 1300px; margin: 0 auto; padding: 0 var(--gap) clamp(72px, 10vw, 140px); }
.pj-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.pj-poster-col { position: sticky; top: 110px; }
.pj-poster { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: #151515; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.pj-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-poster-year { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); color: rgba(243, 241, 237, 0.15); }
.pj-poster figcaption { position: absolute; left: 24px; bottom: 24px; font-family: var(--font-display); font-weight: 500; font-size: 22px; }
.pj-body .pj-lead { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -0.02em; }
.pj-body p + p { margin-top: 20px; font-size: 17px; line-height: 1.65; color: rgba(243, 241, 237, 0.8); }
.pj-sheet { margin: clamp(40px, 5vw, 64px) 0 0; border-top: 1px solid var(--border); }
.pj-sheet-row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.pj-sheet-row dt { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); padding-top: 3px; }
.pj-sheet-row dd { margin: 0; font-size: 16px; }
.pj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(32px, 4vw, 48px); }

.pj-pager { max-width: 1300px; margin: 0 auto; padding: 0 var(--gap); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pj-pager-link { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 24px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); transition: background-color 0.3s ease, border-color 0.3s ease; }
.pj-pager-link.is-next { text-align: right; align-items: flex-end; }
.pj-pager-link .home-eyebrow { margin: 0; }
.pj-pager-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.02em; }
.pj-pager-meta { font-size: 13px; color: var(--text-muted); }

@media (hover: hover) and (pointer: fine) {
  .pj-pager-link:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 205, 102, 0.4); }
}

@media (max-width: 860px) {
  .pj-grid { grid-template-columns: 1fr; }
  .pj-poster-col { position: static; }
  .pj-poster { aspect-ratio: 16 / 10; }
  .pj-pager { grid-template-columns: 1fr; }
  .pj-sheet-row { grid-template-columns: 120px 1fr; }
}

/* Services page */
.svc-rows { max-width: 1400px; margin: 0 auto; padding: 0 var(--gap) clamp(72px, 10vw, 140px); display: flex; flex-direction: column; gap: clamp(64px, 10vw, 160px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; scroll-margin-top: 120px; }
.svc-row.is-flip .svc-row-media { order: 2; }
.svc-row-media { aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #151515; display: grid; place-items: center; }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row-num-big { font-family: var(--font-display); font-size: 96px; color: rgba(243, 241, 237, 0.12); }
.svc-row-text { margin: 28px 0 36px; font-size: 18px; line-height: 1.65; color: rgba(243, 241, 237, 0.8); max-width: 30em; }

@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row.is-flip .svc-row-media { order: 0; }
}

/* Studios */
.st-hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; margin: 16px var(--gap) 0; border-radius: 28px; }
.st-hero-cam { position: absolute; inset: -6% 0; }
.st-hero-cam video { width: 100%; height: 100%; object-fit: cover; }
.st-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0.25), rgba(10, 10, 10, 0) 40%, rgba(10, 10, 10, 0.82)); }
.st-hero-inner { position: relative; padding: clamp(40px, 6vw, 80px); max-width: 960px; }
.st-hero-inner .breadcrumb { animation: none; opacity: 1; margin-bottom: 28px; }
.st-hero h1 { font-weight: 500; font-size: clamp(40px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.04em; text-transform: none; }
.st-hero-stat { margin-top: 24px; font-size: 15px; color: rgba(243, 241, 237, 0.8); display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.st-hero-stat span { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3vw, 44px); color: var(--gold2); letter-spacing: -0.03em; }

.st-intro { max-width: 1300px; margin: 0 auto; padding: clamp(72px, 10vw, 160px) var(--gap); }
.st-intro-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.st-intro-copy { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.3; letter-spacing: -0.02em; }
.st-tags { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--border); }
.st-tags li { padding: 18px 0; border-bottom: 1px solid var(--border); font-size: 15px; }

.st-decors { max-width: 1400px; margin: 0 auto; padding: 0 var(--gap) clamp(72px, 10vw, 160px); }
.st-decors-head { max-width: 800px; margin-bottom: clamp(40px, 6vw, 80px); }
.st-decors-lead { margin-top: 24px; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.4; }
.st-decors-body { margin-top: 16px; font-size: 17px; line-height: 1.65; color: rgba(243, 241, 237, 0.8); }
.st-decor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.st-decor-media { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #151515; margin-bottom: 22px; }
.st-decor-media img { width: 100%; height: 100%; object-fit: cover; }
.st-decor .home-eyebrow { margin-bottom: 10px; }
.st-decor h3 { font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; }
.st-decor h3 + p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.st-decors-cta { margin-top: clamp(48px, 7vw, 96px); padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.st-decors-cta h3 { font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.02em; }
.st-decors-cta p { margin-top: 10px; color: var(--text-muted); max-width: 40em; }
.st-work-intro { max-width: 1300px; margin: 0 auto; padding: 0 var(--gap) clamp(24px, 4vw, 48px); }
.st-work-intro h2 + p { margin-top: 24px; font-size: 18px; line-height: 1.65; color: rgba(243, 241, 237, 0.8); max-width: 40em; }

@media (max-width: 900px) {
  .st-intro-grid { grid-template-columns: 1fr; }
  .st-decor-grid { grid-template-columns: 1fr; }
  .st-decors-cta { grid-template-columns: 1fr; }
}

/* Khadija */
.kh { max-width: 1300px; margin: 0 auto; padding: clamp(72px, 10vw, 160px) var(--gap); }
.kh-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.kh-portrait { position: sticky; top: 110px; }
.kh-portrait-frame { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #151515; }
.kh-portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.kh-portrait-tag { margin-top: 16px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.kh-bio h2 { margin-bottom: 32px; }
.kh-bio p { font-size: 17px; line-height: 1.65; color: rgba(243, 241, 237, 0.8); }
.kh-bio p + p { margin-top: 22px; }
.kh-bio .kh-lead { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.35; letter-spacing: -0.02em; color: var(--text); }
.kh-bio .home-link { margin-top: 40px; }

.kh-roles { max-width: 1300px; margin: 0 auto; padding: 0 var(--gap) clamp(72px, 10vw, 160px); }
.kh-roles-head h2 { margin-bottom: clamp(32px, 5vw, 56px); }
.kh-role-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.kh-role-list li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.kh-role-num { font-size: 13px; color: var(--gold2); padding-top: 6px; }
.kh-role-org { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.kh-role-list h3 { font-weight: 500; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.015em; }
.kh-role-note { margin-top: 6px; font-size: 14px; color: var(--text-muted); }

@media (max-width: 860px) {
  .kh-grid { grid-template-columns: 1fr; }
  .kh-portrait { position: static; }
}

/* Morocco page */
.mq { padding: clamp(72px, 10vw, 160px) var(--gap); border: 0; }
.mq-inner { max-width: 1000px; margin: 0 auto; padding: 0; }
.mq-mark { display: none; }
.mq-text { margin: 0; }
.mq-text p { font-size: clamp(22px, 2.6vw, 40px); font-weight: 500; line-height: 1.35; }

.inc { max-width: 1300px; margin: 0 auto; padding: 0 var(--gap) clamp(72px, 10vw, 160px); }
.inc-head { max-width: 800px; margin-bottom: clamp(40px, 5vw, 64px); }
.inc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.inc-item { padding: 32px 28px; border-radius: 24px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.inc-value { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4vw, 60px); letter-spacing: -0.04em; line-height: 1; color: var(--gold2); }
.inc-value small { font-size: 0.4em; margin-left: 8px; letter-spacing: 0; color: var(--text); }
.inc-label { margin-top: 18px; font-size: 16px; line-height: 1.45; }
.inc-note { margin-top: 8px; font-size: 13px; color: var(--text-muted); }

.mm { max-width: 1300px; margin: 0 auto; padding: 0 var(--gap) clamp(72px, 10vw, 160px); }
.mm-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.mm-intro { position: sticky; top: 120px; }
.mm-text { margin-top: 20px; font-size: 17px; line-height: 1.65; color: rgba(243, 241, 237, 0.8); max-width: 24em; }

.cl { max-width: 1500px; margin: 0 auto; padding: 0 var(--gap) clamp(72px, 10vw, 160px); }
.cl-media { position: relative; aspect-ratio: 21 / 9; min-height: 420px; border-radius: 28px; overflow: hidden; background: #151515; }
.cl-media > img { width: 100%; height: 100%; object-fit: cover; }
.cl-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.78)); }
.cl-inner { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(28px, 5vw, 72px); max-width: 860px; }
.cl-inner p { margin: 20px 0 32px; font-size: 18px; line-height: 1.6; color: rgba(243, 241, 237, 0.85); max-width: 32em; }

@media (max-width: 860px) {
  .inc-grid { grid-template-columns: repeat(2, 1fr); }
  .mm-grid { grid-template-columns: 1fr; }
  .mm-intro { position: static; }
  .cl-media { aspect-ratio: 4 / 5; }
}

/* Contact page */
.ct { max-width: 1300px; margin: 0 auto; padding: 0 var(--gap) clamp(72px, 10vw, 140px); }
.ct-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.ct-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.ct-block .home-eyebrow { margin-bottom: 12px; }
.ct-block address { font-style: normal; font-size: 16px; line-height: 1.6; color: rgba(243, 241, 237, 0.85); }
.ct-mail { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; color: var(--gold2); margin-bottom: 8px; }
.ct-tel { display: block; font-size: 16px; color: rgba(243, 241, 237, 0.85); }
.ct-social { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ct-social a { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(243, 241, 237, 0.85); }
.ct-social i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.06); font-size: 14px; font-style: normal; }
.ct-form .contact-form-wrap { padding: 0; }
.contact-map { margin: 0 var(--gap) clamp(72px, 10vw, 140px); border: 0; border-radius: 28px; overflow: hidden; height: clamp(360px, 50vh, 560px); }

@media (max-width: 860px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-side { position: static; }
}

/* Fixes after review */
.wk-grid .work-item { outline: 0; perspective: none; }
.st-intro-grid--single { grid-template-columns: 1fr; max-width: 960px; }
.st-intro-grid--single .home-link { margin-top: 36px; }

/* Homepage "About" — the founder's photo as a wide rounded card, copy on the dark side */
.home-about { display: block; max-width: 1500px; margin: 0 auto; padding: clamp(96px, 14vw, 200px) var(--gap); }

.home-about-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(480px, 62vh, 760px);
  border-radius: 28px;
  overflow: hidden;
  background: #151515;
}

.home-about-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.12; }

.home-about-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.9) 78%),
    linear-gradient(180deg, rgba(10, 10, 10, 0) 60%, rgba(10, 10, 10, 0.55) 100%);
}

.home-about-copy { position: relative; width: min(48%, 600px); padding: clamp(32px, 5vw, 80px); }
.home-about-copy .home-eyebrow { color: rgba(243, 241, 237, 0.75); }
.home-about-text { margin: 28px 0 36px; }

@media (max-width: 860px) {
  .home-about-card { display: block; min-height: 0; }
  .home-about-card > img { position: static; display: block; aspect-ratio: 4 / 3; height: auto; scale: 1; }
  .home-about-scrim { display: none; }
  .home-about-copy { width: auto; padding: 28px 24px 36px; }
}

/* Hero: title centred at the bottom, hairline scroll cue */
.home-hero { align-items: flex-end; justify-content: center; text-align: center; }
.home-hero-content { padding: 0 var(--gap) clamp(120px, 16vh, 168px); width: 100%; }
.home-hero h1 { font-size: clamp(40px, 6.5vw, 96px); }

.home-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  width: 1px;
  height: 72px;
  translate: -50% 0;
  background: rgba(243, 241, 237, 0.22);
  overflow: hidden;
}

.home-scroll i {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40%;
  background: var(--text);
  animation: scrollCue 2.2s var(--ease-in-out) infinite;
}

@keyframes scrollCue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(260%); }
}

@media (prefers-reduced-motion: reduce) { .home-scroll i { animation: none; height: 100%; opacity: 0.5; } }

/* Homepage contact: tighter gap before the footer */
.home-contact { padding-bottom: clamp(32px, 4vw, 56px); }
.home-contact .contact-social { margin-bottom: 0; }
.site-footer { padding-top: clamp(32px, 4vw, 56px); }

.inc-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .inc-grid { grid-template-columns: 1fr; } }

/* Menu: larger and a little bolder */
.nav-primary a { font-size: 16px; font-weight: 500; }
.nav-primary { gap: 6px; }
.header-loc { font-size: 14px; font-weight: 500; }
.lang-switch { font-size: 15px; font-weight: 500; }
.site-header .btn-light { font-size: 14px; font-weight: 600; }
.site-header.is-compact .nav-primary a { font-size: 15px; }
.site-header.is-compact .header-loc { font-size: 13px; }
.site-header.is-compact .btn-light { font-size: 13px; }
.site-header.is-compact .lang-switch { font-size: 14px; }
.nav-primary { gap: 26px; }
.site-header.is-compact .nav-primary { gap: 18px; }

/* Hero title in capitals */
.home-hero h1 { text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(34px, 5.6vw, 84px); }

/* Menu centred in the bar and bold (desktop) */
@media (min-width: 961px) {
  .nav-primary { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
}
.nav-primary a { font-weight: 700; }
.nav-primary a.is-active { color: var(--text); }
