/* Joji Inc — site styles */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
  --teal: #2b7c74;
  --teal-deep: #1a4e49;
  --coral: #de5021;
  --coral-soft: #e99f86;
  --cream: #f9f0bb;
  --ink: #1a1a1a;
  --ink-muted: #5c5c5c;
  --paper: #faf9f6;
  --paper-warm: #f3efe6;
  --line: rgba(26, 26, 26, 0.12);
  --bc-cool: #19324a;
  --font-display: 'Syne', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body: 'Manrope', sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  animation: fadeDown 0.7s var(--ease) both;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-inner {
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0.85rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand span {
  letter-spacing: 0.28em;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
  transition: opacity 0.2s;
  position: relative;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1.5px;
  background: var(--teal);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown > button.dropdown-trigger,
.nav-dropdown > a.dropdown-trigger {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown > button.dropdown-trigger:hover,
.nav-dropdown.is-open > button.dropdown-trigger,
.nav-dropdown.is-open > a.dropdown-trigger,
.nav-dropdown > a.dropdown-trigger:hover {
  opacity: 1;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 12.5rem;
  padding: 0.2rem 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 120;
}

.nav-dropdown.is-open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  opacity: 0.9;
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.dropdown-menu a:first-of-type {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}

.dropdown-menu a:last-of-type {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.65rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.dropdown-menu a:hover {
  background: var(--paper-warm);
  opacity: 1;
}

.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0.65rem;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lang-toggle:hover {
  border-color: var(--teal);
}

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

.lang-toggle-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-width: 4.5rem;
  height: 1.85rem;
  padding: 0.15rem;
}

.lang-toggle-label {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
  user-select: none;
  pointer-events: none;
}

.lang-toggle:not(.is-fr) .lang-toggle-en,
.lang-toggle.is-fr .lang-toggle-fr {
  color: #fff;
}

.lang-toggle-thumb {
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: calc(50% - 0.15rem);
  height: calc(100% - 0.3rem);
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 4px 12px rgba(26, 78, 73, 0.28);
  transition: transform 0.28s var(--ease);
  z-index: 0;
}

.lang-toggle.is-fr .lang-toggle-thumb {
  transform: translateX(100%);
}

/* ——— Layout ——— */
main {
  min-height: 60vh;
}

.wrap {
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 38rem;
}

.prose {
  max-width: 42rem;
}

.prose p + p {
  margin-top: 1.1rem;
}

html[lang='fr'] [data-lang='en'],
html[lang='en'] [data-lang='fr'] {
  display: none !important;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border: 1.5px solid var(--ink);
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-teal {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.btn-teal:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: white;
}

.btn-ghost {
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  color: var(--teal);
}

.btn-ghost:hover {
  background: transparent;
  color: var(--coral);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.75rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
}

/* Joji home hero */
.hero-joji {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  background: var(--paper);
  position: relative;
}

.hero-joji--photo {
  justify-content: center;
  align-items: center;
  background: #000;
  overflow: hidden;
}

.hero-joji--photo .hero-joji-visual {
  position: absolute;
  inset: 0;
  min-height: 100%;
  flex: none;
  background: #000;
}

.hero-joji--photo .hero-joji-visual::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.15) 38%,
    rgba(0, 0, 0, 0.2) 62%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero-joji--photo .hero-joji-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  animation: none;
}

.hero-joji--photo .hero-joji-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad);
  max-width: 52rem;
  margin: 0 auto;
  color: #fff;
  transform: translateY(-6vh);
}

.hero-joji--photo .hero-joji-title,
.hero-joji--photo .hero-joji-title--brand {
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.hero-joji--photo .hero-joji-line {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.hero-joji-title--brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.8rem, 13vw, 8.25rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.15rem;
}

.hero-joji-title--brand span {
  letter-spacing: 0.28em;
}

.hero-joji--photo .btn-joji {
  background: #fff;
  color: #111;
}

.hero-joji--photo .btn-joji:hover {
  background: var(--paper);
  color: #111;
}

.hero-joji-copy {
  flex: 0 0 auto;
  text-align: center;
  padding: clamp(3.5rem, 10vh, 6.5rem) var(--pad) clamp(2rem, 4vh, 3rem);
  max-width: 42rem;
  margin: 0 auto;
  animation: fadeUp 0.9s var(--ease) 0.1s both;
}

.hero-joji-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 5.75rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1rem;
}

.hero-joji-line {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

.btn-joji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-joji:hover {
  background: var(--teal-deep);
  color: white;
  transform: translateY(-1px);
}

.hero-joji-visual {
  flex: 1 1 auto;
  min-height: min(48vh, 520px);
  position: relative;
  overflow: hidden;
}

.hero-joji-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: kenBurns 20s ease-in-out alternate infinite;
}

.hero-joji-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--paper) 0%, transparent 18%);
  pointer-events: none;
}

/* Dual category gateways */
.feature-duo-section {
  padding: clamp(1.25rem, 3vw, 2rem) var(--pad) clamp(2.5rem, 5vw, 3.5rem);
  background: var(--paper);
}

.feature-duo {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.15rem);
}

.feature-tile {
  position: relative;
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: min(72vh, 640px);
  color: white;
  isolation: isolate;
}

.feature-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.feature-tile:hover img {
  transform: scale(1.04);
}

.feature-tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(
    to top,
    rgba(8, 16, 20, 0.78) 0%,
    rgba(8, 16, 20, 0.25) 45%,
    transparent 70%
  );
}

.feature-tile-copy {
  max-width: 22rem;
}

.feature-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.feature-tile h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: white;
  margin-bottom: 0.45rem;
  min-height: 2.3em;
}

.feature-tile p {
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.9;
  min-height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-tile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.btn-tile-ghost,
.btn-tile-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-tile-ghost {
  background: transparent;
  color: white;
}

.btn-tile-solid {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.feature-tile:hover .btn-tile-ghost {
  background: rgba(255, 255, 255, 0.15);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 18s ease-in-out alternate infinite;
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 28, 26, 0.78) 0%,
    rgba(10, 28, 26, 0.35) 45%,
    rgba(10, 28, 26, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(4rem, 12vw, 7rem) var(--pad) clamp(3rem, 8vw, 5rem);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  animation: fadeUp 0.9s var(--ease) 0.15s both;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 6rem);
  letter-spacing: 0.14em;
  line-height: 0.95;
  margin-bottom: 1.1rem;
}

.hero-line {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  max-width: 28rem;
  opacity: 0.92;
  line-height: 1.5;
}

.hero .btn {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.hero .btn:hover {
  background: white;
  color: var(--ink);
  border-color: white;
}

.hero .btn-teal {
  background: var(--coral);
  border-color: var(--coral);
}

.hero .btn-teal:hover {
  background: white;
  color: var(--coral);
  border-color: white;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.hero-brand--bc {
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  letter-spacing: 0.04em;
  max-width: 14ch;
}

.hero-brand--studio {
  letter-spacing: 0.18em;
  font-weight: 400;
}

.hero-meta {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.55;
}

.hero-meta p + p {
  margin-top: 0.2rem;
}

.hero-rent {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-studio .hero-media img {
  filter: brightness(1.12) contrast(0.96);
}

.hero-studio .hero-media::after {
  background: linear-gradient(
    to top,
    rgba(10, 28, 26, 0.55) 0%,
    rgba(10, 28, 26, 0.22) 50%,
    rgba(10, 28, 26, 0.08) 100%
  );
}

.hero-bc .hero-media::after {
  background: linear-gradient(
    to top,
    rgba(12, 24, 38, 0.82) 0%,
    rgba(12, 24, 38, 0.4) 45%,
    rgba(12, 24, 38, 0.22) 100%
  );
}

/* ——— Company carousel ——— */
.who-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.75rem;
}

.who-jump a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 0.2rem;
  transition: opacity 0.2s, border-color 0.2s;
}

.who-jump a:hover {
  opacity: 1;
  border-bottom-color: var(--teal);
  color: var(--teal);
}

.who-page-hero .section-label {
  margin-bottom: 1rem;
}

.who-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.who-page-hero-nav {
  min-width: 0;
}

.who-page-hero-visual {
  overflow: hidden;
  min-height: 100%;
  background: var(--paper-warm);
}

.who-page-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: clamp(14rem, 32vw, 22rem);
  object-fit: cover;
  object-position: center;
  aspect-ratio: 4 / 3;
}

.who-jump--hero {
  margin-top: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
}

.who-jump--hero a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  opacity: 1;
  line-height: 1.2;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  color: var(--ink);
  transition: color 0.2s;
  width: 100%;
}

.who-jump--hero a:hover {
  color: var(--teal);
  border-bottom-color: var(--line);
}

.who-jump--hero a:last-child {
  border-bottom: none;
}

.who-bio {
  scroll-margin-top: 5.5rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.who-bio:first-of-type {
  border-top: none;
  padding-top: 0;
}

.who-bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.who-bio-layout--reverse .who-bio-visual {
  order: 2;
}

.who-bio-layout--reverse .who-bio-body {
  order: 1;
}

.who-bio-visual img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.who-bio-body h2 {
  margin-bottom: 1.25rem;
}

.who-bio-body .cta-row {
  margin-top: 1.75rem;
}

.who-section {
  background: var(--paper);
  scroll-margin-top: 5rem;
}

.who-section > .wrap > h2 {
  margin-bottom: 0.25rem;
}

.who-header {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.who-header h2 {
  margin-bottom: 1rem;
}

.who-header .company-controls {
  margin-top: 0.75rem;
}

.who-carousel-section {
  background: var(--paper);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.who-carousel-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.who-carousel-track {
  gap: 1rem;
}

.who-tile-panel {
  flex: 0 0 min(100%, 920px);
  min-width: min(100%, 920px);
  scroll-snap-align: center;
  grid-template-columns: 1fr !important;
  padding-bottom: 0;
}

.who-carousel-tile {
  min-height: min(68vh, 580px);
  width: 100%;
  cursor: default;
}

.who-carousel-tile .feature-tile-copy p {
  -webkit-line-clamp: 3;
}

.who-carousel-tile .feature-tile-actions a {
  text-decoration: none;
}

.company-header {
  margin-bottom: 1.75rem;
}

.company-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
}

.company-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
}

.company-tab {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 700;
  padding: 0.35rem 0.85rem 0.45rem;
  opacity: 0.35;
  transition: opacity 0.25s var(--ease), color 0.25s;
  border-bottom: 2px solid transparent;
}

.company-tab:hover {
  opacity: 0.7;
}

.company-tab.is-active {
  opacity: 1;
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.company-arrows {
  display: flex;
  gap: 0.35rem;
}

.company-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: white;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.company-arrow:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.company-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.company-track.is-snapping-off {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

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

.company-panel {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-width: 100%;
  padding-bottom: 0.5rem;
}

/* ——— Studio calendar ——— */
.calendar-section {
  overflow: hidden;
}

.calendar-month-nav {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}

.calendar-month-nav::-webkit-scrollbar {
  display: none;
}

.calendar-tab {
  font-size: 0.95rem !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.4rem 0.65rem !important;
}

.calendar-panel {
  grid-template-columns: 1fr !important;
  align-items: stretch;
  min-height: auto;
}

.month-grid-wrap {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.month-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-bottom: 0.45rem;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cal-day {
  aspect-ratio: auto;
  min-height: 6.75rem;
  border: none;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.2rem;
  position: relative;
  padding: 0.35rem 0.3rem 0.4rem;
  text-align: left;
  transition: background 0.15s, box-shadow 0.2s;
  font-size: 0.95rem;
  overflow: hidden;
  cursor: pointer;
}

.cal-day.is-empty {
  background: var(--paper);
  pointer-events: none;
  min-height: 6.75rem;
}

.cal-day:not(.is-empty):hover {
  background: #f8faf9;
}

.cal-day.has-events {
  font-weight: 400;
}

.cal-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  align-self: flex-start;
  flex-shrink: 0;
}

.cal-day.is-selected .cal-day-num {
  background: var(--teal);
  color: white;
}

.cal-day.is-expanded {
  min-height: 14rem;
  overflow: visible;
  z-index: 2;
  box-shadow: 0 8px 28px rgba(20, 30, 40, 0.12);
  background: #fff;
}

.cal-day-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.12rem;
  width: 100%;
  min-width: 0;
}

.cal-chip {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  font-size: 0.68rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--ink);
  padding: 0.08rem 0.15rem;
  border-radius: 0.2rem;
}

.cal-chip-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--chip, var(--coral));
  flex-shrink: 0;
}

.cal-chip-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.cal-chip-more {
  font-size: 0.65rem;
  color: var(--ink-muted);
  padding: 0.05rem 0.15rem;
  font-weight: 600;
}

.cal-day-expand {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.35rem;
  width: 100%;
  min-width: 0;
}

.cal-day-expand[hidden] {
  display: none !important;
}

.cal-day-empty {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin: 0.25rem 0 0;
}

.cal-hour-row {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.35rem;
  align-items: start;
}

.cal-hour-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding-top: 0.15rem;
}

.cal-hour-slots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.cal-hour-slot {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  font-size: 0.7rem;
  line-height: 1.3;
  padding: 0.25rem 0.35rem;
  border-radius: 0.25rem;
  background: color-mix(in srgb, var(--chip, var(--teal)) 12%, white);
  text-align: left;
}

.cal-hour-slot strong {
  font-weight: 700;
}

.cal-chip--pending .cal-chip-dot,
.cal-hour-slot.is-pending .cal-chip-dot {
  background: #c9a227;
}

.cal-chip--booking .cal-chip-dot,
.cal-hour-slot.is-booking .cal-chip-dot {
  background: var(--teal);
}

.cal-day-book {
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
}

.btn-sm {
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
}

.cal-hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ——— Studio booking modal + admin ——— */
body.booking-open {
  overflow: hidden;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.booking-modal[hidden] {
  display: none !important;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 26, 0.45);
}

.booking-modal-dialog {
  position: relative;
  width: min(32rem, 100%);
  max-height: min(92vh, 44rem);
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.booking-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-muted);
}

.booking-modal-dialog h2 {
  margin: 0 1.5rem 0.35rem 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.booking-note,
.booking-pay-hint,
.admin-lede {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.booking-form fieldset {
  border: 1px solid var(--line);
  margin: 0;
  padding: 0.85rem 0.9rem 1rem;
  display: grid;
  gap: 0.65rem;
}

.booking-form legend {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 0.35rem;
}

.booking-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.booking-form input,
.booking-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  border: 1px solid var(--line);
  background: white;
  padding: 0.55rem 0.65rem;
  width: 100%;
}

.booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.booking-availability {
  margin: 0;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.booking-availability.is-good {
  color: #0b8043;
}

.booking-availability.is-bad {
  color: #c62828;
}

.booking-error {
  margin: 0;
  color: #c62828;
  font-size: 0.9rem;
}

.booking-success {
  margin: 0;
  color: #0b8043;
  font-size: 0.9rem;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

#admin-panel[hidden] {
  display: none !important;
}

#admin-gate[hidden] {
  display: none !important;
}

.admin-gate,
.admin-pin-form {
  display: grid;
  gap: 0.75rem;
  max-width: 20rem;
}

.admin-pin-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-pin-form input {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
}

.admin-pin-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.admin-booking-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-booking {
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  background: white;
}

.admin-booking-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.admin-booking p {
  margin: 0.25rem 0;
  font-size: 0.92rem;
}

.admin-notes {
  color: var(--ink-muted);
  font-style: italic;
}

.admin-status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 0.2rem;
}

.admin-status--pending {
  background: #fff3cd;
  color: #7a5b00;
}

.admin-status--approved {
  background: #e6f4ea;
  color: #0b8043;
}

.admin-status--rejected {
  background: #fce8e6;
  color: #c62828;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

#admin-panel {
  display: none;
}

body.joji-admin-unlocked #admin-panel {
  display: block;
}

body.joji-admin-unlocked #admin-gate {
  display: none;
}

.admin-pm code {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.bk-card-element {
  border: 1px solid var(--line);
  padding: 0.7rem 0.75rem;
  background: #fff;
  margin-top: 0.5rem;
}

.bk-card-element.StripeElement--focus {
  border-color: var(--ink);
}

.admin-status--cancel_requested {
  background: #fdecd8;
  color: #a35200;
}

.admin-status--cancelled {
  background: #eceff1;
  color: #546e7a;
}

.admin-booking.is-cancel {
  border-left: 3px solid #e8912d;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.85rem 0.9rem;
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  margin-top: 0.3rem;
  font-variant-numeric: tabular-nums;
}

.stat-delta {
  font-size: 0.74rem;
  margin-top: 0.3rem;
  font-variant-numeric: tabular-nums;
}

.stat-delta span {
  color: var(--ink-muted);
}

.stat-delta.is-up {
  color: #0b8043;
}

.stat-delta.is-down {
  color: #c62828;
}

.stat-delta.is-flat {
  color: var(--ink-muted);
}

.stat-sub {
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 0.35rem;
}

.an-block {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  margin-top: 1.5rem;
}

.an-block h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.an-block h4 {
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 1rem 0 0.5rem;
}

.an-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 0.4rem;
}

.an-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.an-kpis div {
  border: 1px solid var(--line);
  padding: 0.6rem 0.65rem;
  background: #fff;
}

.an-kpis strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.an-kpis span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.an-bar-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
}

.an-bar-track {
  height: 0.5rem;
  background: rgba(20, 30, 40, 0.08);
  display: block;
}

.an-bar-fill {
  display: block;
  height: 100%;
  background: var(--teal, #2b8a86);
}

.an-bar-meta {
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.an-list {
  list-style: none;
  margin-top: 0.6rem;
}

.an-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.an-list li span:last-child {
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cancel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
}

.cancel-meta {
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.admin-subhead {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.admin-booking.is-placeholder {
  border-style: dashed;
  background: #fffdf6;
}

.admin-hours {
  margin-top: 0.75rem;
}

.admin-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-hours-table th,
.admin-hours-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-hours-table th {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.admin-hours-table td:last-child,
.admin-hours-table th:last-child,
.admin-hours-table td:nth-child(n + 2),
.admin-hours-table th:nth-child(n + 2) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.admin-hours-table tbody tr:hover {
  background: rgba(20, 30, 40, 0.03);
}

.admin-hours-table .is-zero td {
  color: var(--ink-muted);
}

.admin-hours-table tfoot td {
  border-bottom: none;
  border-top: 2px solid var(--ink);
  font-weight: 700;
  padding-top: 0.75rem;
}

.admin-hours-note {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.admin-invoices {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}

.admin-month-file {
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  background: white;
}

.admin-invoice-list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.admin-invoice-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.calendar-month-head .calendar-year {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.35rem;
}

.calendar-month-head h3 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0;
}

.cal-empty {
  color: var(--ink-muted);
  padding: 1rem 0;
  font-size: 0.95rem;
}

.studio-contact {
  border-top: 1px solid var(--line);
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-img {
  overflow: hidden;
}

.reveal-img img {
  transform: scale(1.04);
  transition: transform 1.1s var(--ease);
}

.reveal-img.is-visible img {
  transform: scale(1);
}

.page-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(43, 124, 116, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(222, 80, 33, 0.06), transparent 50%),
    var(--paper);
}

.page-hero.bc-theme {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(25, 50, 74, 0.1), transparent 55%),
    var(--paper);
}

.page-hero .section-label {
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.class-carousel {
  position: relative;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 2.5rem 1fr 2.5rem;
  align-items: center;
  gap: 0.65rem;
}

.class-carousel.is-static {
  /* Keep arrow column gutters so card width matches yoga carousel */
  grid-template-columns: 2.5rem 1fr 2.5rem;
}

.class-carousel.is-static .class-carousel-btn {
  visibility: hidden;
  pointer-events: none;
}

.class-item {
  border: 1px solid var(--line);
  background: white;
  transition: border-color 0.25s;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.class-item:hover {
  border-color: var(--teal);
}

.class-item img,
.workshop-card-media,
.workshop-card-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  background: #fff;
}

.class-carousel .class-item img,
.class-carousel .workshop-card-media img {
  filter: grayscale(1);
  transition: filter 0.25s ease;
}

.class-carousel .class-item:hover img,
.class-carousel .class-item:focus-within img {
  filter: grayscale(0);
}

.class-carousel-viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.class-carousel-track {
  display: flex;
  gap: 1.15rem;
  will-change: transform;
}

.class-carousel-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  justify-self: center;
  align-self: center;
  box-shadow: 0 6px 16px rgba(20, 30, 40, 0.08);
  transition: border-color 0.2s, color 0.2s;
  z-index: 2;
}

.class-carousel-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.class-item-body {
  padding: 0.75rem 0.85rem 0.9rem;
}

.class-item-body h3 {
  font-size: 0.92rem;
  margin: 0;
}

.class-item-body p {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: var(--ink-muted);
  margin: 0.35rem 0 0;
  white-space: pre-line;
}

@media (max-width: 720px) {
  .class-carousel {
    grid-template-columns: 1fr;
    padding: 0 2.25rem;
  }

  .class-carousel .class-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .class-carousel-prev {
    left: 0;
  }

  .class-carousel-next {
    right: 0;
  }

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

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem 1.5rem;
}

/* Who we are — Jim selected works (match yoga class card size) */
.selected-works-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1rem;
}

.selected-work-card {
  min-width: 0;
}

.selected-work-card .class-item-body {
  padding: 0.55rem 0.65rem 0.7rem;
}

.selected-work-card .class-item-body h3 {
  font-size: 0.78rem;
  line-height: 1.25;
}

.work-card {
  background: transparent;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-warm);
}

.work-card-body {
  padding-top: 0.85rem;
}

.work-year {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-bottom: 0.25rem;
}

.work-card h3 {
  font-size: 1.1rem;
}

.work-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: 0.2rem;
}

/* ——— Works accordion ——— */
.works-cat {
  border: none;
}

.works-cat-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 0.25rem 0;
  width: 100%;
}

.works-cat-summary::-webkit-details-marker {
  display: none;
}

.works-cat-summary h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

.works-cat-icon,
.works-acc-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.works-cat-icon::before,
.works-acc-icon::before {
  content: '+';
}

.works-cat[open] > .works-cat-summary .works-cat-icon::before,
.works-banner.is-open .works-acc-icon::before {
  content: '−';
}

.works-cat-summary:hover .works-cat-icon {
  color: var(--teal);
}

.works-cat-panel {
  padding: 1rem 0 0.5rem;
}

.works-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.works-banner {
  min-width: 0;
}

.works-banner-toggle {
  position: relative;
  display: block;
  width: 100%;
  min-height: 7.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  isolation: isolate;
  background: color-mix(in srgb, var(--ink) 3%, transparent);
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.works-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  filter: grayscale(0.35);
  transition: opacity 0.35s var(--ease), transform 0.7s var(--ease);
  z-index: 0;
}

.works-banner-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(
    to top,
    rgba(8, 16, 20, 0.78) 0%,
    rgba(8, 16, 20, 0.28) 55%,
    rgba(8, 16, 20, 0.12) 100%
  );
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.works-banner-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
  padding-right: 1.75rem;
  max-width: 28rem;
}

.works-banner-year {
  display: inline-block;
  width: fit-content;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  background: transparent;
  padding: 0;
  border-radius: 0;
  transition: color 0.25s, background 0.25s, padding 0.25s;
}

.works-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.works-banner-desc {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), opacity 0.25s, margin 0.25s;
}

.works-banner-toggle .works-acc-icon {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 2;
}

.works-banner-toggle:hover,
.works-banner.is-open .works-banner-toggle {
  border-color: transparent;
  color: white;
}

.works-banner-toggle:hover .works-banner-img,
.works-banner.is-open .works-banner-img {
  opacity: 1;
  transform: scale(1);
}

.works-banner-toggle:hover .works-banner-shade,
.works-banner.is-open .works-banner-shade {
  opacity: 1;
}

.works-banner-toggle:hover .works-banner-year,
.works-banner.is-open .works-banner-year {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.works-banner-toggle:hover .works-acc-icon,
.works-banner.is-open .works-acc-icon {
  color: rgba(255, 255, 255, 0.85);
}

.works-banner-toggle:hover .works-banner-desc,
.works-banner.is-open .works-banner-desc {
  max-height: 4.5rem;
  opacity: 0.92;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.works-banner-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.works-banner-toggle:hover .works-banner-desc--full,
.works-banner.is-open .works-banner-desc--full {
  max-height: 9.5rem;
  overflow-y: auto;
  -webkit-line-clamp: unset;
  display: block;
  padding-right: 0.5rem;
}

.works-banner {
  position: relative;
}

.works-banner-link {
  position: absolute;
  right: 0.9rem;
  bottom: 0.85rem;
  z-index: 2;
}

.works-acc-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.works-acc-page {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  min-width: 3.5rem;
  text-align: center;
}

.works-acc-nav .company-arrow:disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ——— Works / In situ tall-strip carousel ——— */
.situ-lede {
  max-width: 42rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.situ-carousel {
  position: relative;
  margin: 0 calc(-1 * var(--pad, 1.25rem));
  padding: 0 var(--pad, 1.25rem);
}

.situ-track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 2.5rem 0.75rem 0;
}

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

.situ-slide {
  flex: 0 0 clamp(7.5rem, 14vw, 11rem);
  scroll-snap-align: start;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--paper-warm);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.situ-track.is-expanding {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.situ-slide:hover,
.situ-slide:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 30, 40, 0.16);
  outline: none;
  z-index: 1;
}

.situ-slide.is-expanded {
  flex-grow: 0;
  flex-shrink: 0;
  scroll-snap-align: center;
  cursor: zoom-out;
  z-index: 2;
  transform: none;
  box-shadow: 0 16px 40px rgba(20, 30, 40, 0.18);
  background: var(--paper-warm);
}

.situ-slide.is-expanded:hover,
.situ-slide.is-expanded:focus-visible {
  transform: none;
}

.situ-slide img {
  display: block;
  width: 100%;
  height: clamp(16rem, 42vh, 26rem);
  object-fit: cover;
  object-position: center;
}

.situ-slide.is-dezoom img {
  object-fit: cover;
  transform: scale(0.86);
  transform-origin: center center;
}

@supports (object-view-box: inset(0%)) {
  .situ-slide.is-dezoom img {
    transform: none;
    object-view-box: inset(10%);
  }
}

.situ-slide.is-expanded img,
.situ-slide.is-expanded.is-dezoom img {
  object-fit: contain;
  object-position: center;
  transform: none;
  object-view-box: unset;
  background: transparent;
}

.situ-slide.is-expanded[data-wide="1"] {
  background: #0b0b0b;
}

.situ-slide.is-expanded[data-wide="1"] .situ-caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.3) 60%, transparent);
}

.situ-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.55rem 0.65rem;
  display: grid;
  gap: 0.25rem;
  background: linear-gradient(to top, rgba(8, 16, 20, 0.82), transparent);
  color: white;
  pointer-events: none;
}

.situ-slide.is-expanded .situ-caption {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 1rem;
}

.situ-desc {
  display: none;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  margin-top: 0.35rem;
  pointer-events: auto;
}

.situ-slide.is-expanded .situ-desc {
  display: block;
}

.situ-title {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
}

.situ-cap-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  opacity: 0.85;
}

.situ-next,
.situ-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(20, 30, 40, 0.1);
  transition: border-color 0.2s, color 0.2s;
}

.situ-next {
  right: var(--pad, 1.25rem);
}

.situ-prev {
  left: var(--pad, 1.25rem);
}

.situ-next:hover,
.situ-prev:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ——— Movies ——— */
.movie-list {
  display: grid;
  gap: 2rem;
}

.movie-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.movie-item:has(.movie-thumb) {
  grid-template-columns: minmax(8rem, 12rem) 5.5rem 1fr;
}

.movie-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.movie-dur {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal);
}

/* ——— Info pages (press / contact) ——— */
.info-hero {
  position: relative;
  min-height: min(52vh, 420px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.info-hero-visual {
  position: absolute;
  inset: 0;
}

.info-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: kenBurns 22s ease-in-out alternate infinite;
}

.info-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 24, 22, 0.88) 0%,
    rgba(12, 24, 22, 0.45) 48%,
    rgba(12, 24, 22, 0.2) 100%
  );
}

.info-hero--press .info-hero-visual::after {
  background: linear-gradient(
    to top,
    rgba(18, 28, 40, 0.9) 0%,
    rgba(18, 28, 40, 0.5) 50%,
    rgba(18, 28, 40, 0.22) 100%
  );
}

.info-hero-copy {
  position: relative;
  z-index: 1;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  width: 100%;
  padding: clamp(4.5rem, 12vh, 7rem) var(--pad) clamp(2.25rem, 5vh, 3.25rem);
  animation: fadeUp 0.9s var(--ease) 0.08s both;
}

.info-hero .section-label {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.65rem;
}

.info-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  color: #fff;
}

.info-hero-lede {
  max-width: 28rem;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.wrap--narrow {
  max-width: 46rem;
}

/* Contact panels */
.contact-panels-section {
  padding: 0;
  background: var(--paper);
}

.contact-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 0.65rem var(--pad) 0;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-panel {
  position: relative;
  display: block;
  min-height: min(58vh, 480px);
  overflow: hidden;
  color: #fff;
}

.contact-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.contact-panel:hover img {
  transform: scale(1.05);
}

.contact-panel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  background: linear-gradient(
    to top,
    rgba(12, 24, 22, 0.88) 0%,
    rgba(12, 24, 22, 0.35) 55%,
    transparent 100%
  );
}

.contact-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0.15rem 0 0.35rem;
}

.contact-panel-line {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.contact-panel .btn-tile-solid {
  align-self: flex-start;
  margin-top: 0.85rem;
  pointer-events: none;
}

.contact-links-section {
  background: var(--paper-warm);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
}

.contact-link-block h3 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.contact-link-block a {
  display: block;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.contact-link-block a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* Press */
.press-section {
  background: var(--paper);
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
}

.press-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.press-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem 1.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.25s var(--ease);
}

.press-item:hover {
  background: rgba(43, 124, 116, 0.04);
}

.press-item-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.press-item-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.press-item-body p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin-top: 0.35rem;
  line-height: 1.45;
}

.press-cta {
  margin-top: clamp(2.75rem, 6vw, 4rem);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(43, 124, 116, 0.12), transparent 55%),
    var(--paper-warm);
  border: 1px solid var(--line);
}

.press-cta h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin: 0.35rem 0 0.65rem;
}

.press-cta p {
  color: var(--ink-muted);
  max-width: 28rem;
  margin: 0 0 1.25rem;
}

/* ——— Agenda ——— */
.agenda-list {
  display: grid;
  gap: 0;
}

.agenda-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.agenda-date {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bc-cool);
  line-height: 1.3;
}

.agenda-date .year {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-bottom: 0.2rem;
}

/* ——— BC archive timeline ——— */
.bc-archive-timeline {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.bc-archive-nav {
  position: sticky;
  top: 3.75rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  padding: 0.85rem 0;
  margin: 0 0 0.5rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bc-archive-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.2rem 0.45rem;
  transition: color 0.2s ease;
}

.bc-archive-nav a:hover,
.bc-archive-nav a:focus-visible {
  color: var(--bc-cool);
}

.bc-archive-nav-sep {
  color: var(--line);
  padding: 0 0.1rem;
  user-select: none;
}

.bc-archive-year {
  border-bottom: 1px solid var(--line);
}

.bc-archive-year-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 1.1rem 0;
}

.bc-archive-year-summary::-webkit-details-marker {
  display: none;
}

.bc-archive-year-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--coral);
}

.bc-archive-year-sub {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.bc-archive-year-summary::after {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  margin-left: auto;
  border-right: 1.5px solid var(--ink-muted);
  border-bottom: 1.5px solid var(--ink-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  align-self: center;
}

.bc-archive-year[open] > .bc-archive-year-summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.bc-archive-year-panel {
  padding: 0 0 1.25rem;
}

.bc-archive-row {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.bc-archive-date {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bc-cool);
  line-height: 1.35;
  font-size: 0.95rem;
}

.bc-archive-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
}

.bc-archive-body p {
  color: var(--ink-muted);
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.bc-archive-badge {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  padding: 0.12rem 0.4rem;
}

.bc-archive-row.is-cancelled {
  opacity: 0.55;
}

.bc-archive-row.is-cancelled .bc-archive-body h3 {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.bc-archive-row.is-cancelled .bc-archive-badge {
  text-decoration: none;
}

.bc-archive-was {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.5rem;
  padding-top: 0.35rem;
}

.bc-archive-was-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted);
  columns: 1;
}

.bc-archive-was-list li {
  padding: 0.28rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.bc-archive-was-list li:last-child {
  border-bottom: none;
}

/* Legacy contact blocks (BC page footer etc.) */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.contact-block h3 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.contact-block a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.contact-block a:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

.contact-block p + p {
  margin-top: 0.35rem;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: var(--paper-warm);
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer-meta a {
  border-bottom: 1px solid var(--line);
}

.footer-meta a:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.socials a:hover {
  opacity: 1;
  color: var(--teal);
}

/* ——— Bio layout ——— */
.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.bio-layout img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ——— Mobile ——— */
@media (max-width: 900px) {
  .bio-layout,
  .company-panel,
  .who-bio-layout,
  .who-bio-layout--reverse {
    grid-template-columns: 1fr;
  }

  .who-bio-layout--reverse .who-bio-visual,
  .who-bio-layout--reverse .who-bio-body {
    order: unset;
  }

  .who-bio-visual {
    order: -1;
  }

  .who-bio-visual img {
    aspect-ratio: 4 / 5;
  }

  .feature-duo {
    grid-template-columns: 1fr;
  }

  .who-page-hero-inner {
    grid-template-columns: 1fr;
  }

  .who-page-hero-visual {
    order: -1;
  }

  .who-page-hero-visual img {
    min-height: 12rem;
    aspect-ratio: 16 / 10;
  }

  .selected-works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .contact-panels,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-panels {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .contact-panel {
    min-height: min(48vh, 400px);
  }

  .feature-tile {
    min-height: min(58vh, 480px);
  }

  .who-tile-panel {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .who-carousel-tile {
    min-height: min(56vh, 460px);
  }

  .hero-joji-copy {
    padding-top: clamp(2.5rem, 8vh, 4rem);
  }

  .works-banner-grid {
    grid-template-columns: 1fr;
  }

  .works-banner-toggle {
    min-height: 6.5rem;
  }

  .cal-day {
    min-height: 4.5rem;
    padding: 0.25rem 0.15rem 0.3rem;
  }

  .cal-day.is-empty {
    min-height: 4.5rem;
  }

  .cal-day.is-expanded {
    min-height: 11rem;
  }

  .cal-chip-text {
    font-size: 0.58rem;
  }

  .cal-hour-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .company-arrows {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-dropdown {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--pad) 1.5rem;
    gap: 0;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a,
  .nav-dropdown > button,
  .nav-dropdown > button.dropdown-trigger,
  .nav-dropdown > a.dropdown-trigger {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0.5rem 0.75rem;
    background: transparent;
  }

  .nav-dropdown.is-open .dropdown-menu,
  .site-nav.is-open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0.45rem 0;
  }

  .dropdown-menu a:first-of-type,
  .dropdown-menu a:last-of-type {
    border: none;
    box-shadow: none;
    padding: 0.45rem 0;
  }

  .lang-toggle {
    margin: 1rem 0 0;
    align-self: flex-start;
  }


  .agenda-item,
  .movie-item,
  .bc-archive-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .bc-archive-was {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bc-archive-nav {
    top: 0;
    font-size: 0.72rem;
  }

  .movie-item:has(.movie-thumb) {
    grid-template-columns: 1fr;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

/* Header nav: the desktop row (Home / Who we are / Works / Studio /
   Ballets Confidentiels / Press / Contact) doesn't have room to stay on one
   line below ~1180px — it used to wrap mid-row, throwing items onto a second
   line with almost no gap so they looked jammed/misaligned against the rest.
   Switch to the same mobile menu used under 900px a bit earlier instead, so
   the nav is always either one clean row or the dropdown menu — never a
   half-wrapped row. */
@media (min-width: 901px) and (max-width: 1180px) {
  .nav-toggle {
    display: flex;
  }

  .nav-dropdown {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--pad) 1.5rem;
    gap: 0;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a,
  .nav-dropdown > button,
  .nav-dropdown > button.dropdown-trigger,
  .nav-dropdown > a.dropdown-trigger {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0.5rem 0.75rem;
    background: transparent;
  }

  .nav-dropdown.is-open .dropdown-menu,
  .site-nav.is-open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0.45rem 0;
  }

  .lang-toggle {
    margin: 1rem 0 0;
    align-self: flex-start;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media img {
    animation: none;
  }
}
