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

:root {
  --black: #0A0A0A;
  --black-2: #111111;
  --black-3: #1A1A1A;
  --surface: #141414;
  --surface-2: #1E1E1E;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.15);
  --white: #F0EDE6;
  --white-muted: rgba(240,237,230,0.5);
  --white-dim: rgba(240,237,230,0.25);
  --accent: #C8B97A;
  --accent-dim: rgba(200,185,122,0.15);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: min(1640px, calc(100vw - 48px));
  --margin-x: clamp(20px, 2.5vw, 40px);
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

@media (pointer: fine) {
  html,
  html * {
    cursor: none !important;
  }
}

@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring, .cursor-label { display: none !important; }
  .video-placeholder { cursor: pointer; }
}

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

.topo-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.topo-line {
  transition: none;
}

html.loader-skip .site-loader {
  display: none !important;
}

body.is-loading {
  overflow: hidden;
}

.nav,
.page,
.footer {
  transition:
    opacity 470ms var(--ease-out),
    transform 470ms var(--ease-out);
}

body.is-loading .nav,
body.is-loading .page,
body.is-loading .footer {
  opacity: 0;
  pointer-events: none;
}

body.is-loading .cursor-dot,
body.is-loading .cursor-ring,
body.is-loading .cursor-label {
  opacity: 0;
  pointer-events: none;
}

body.is-loading .nav {
  transform: translateY(-10px);
}

body.is-loading .page {
  transform: translateY(18px);
}

body.is-loaded .nav,
body.is-loaded .page,
body.is-loaded .footer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.is-loaded .nav {
  transition-delay: 93ms;
}

body.is-loaded .page {
  transition-delay: 147ms;
}

body.is-loaded .footer {
  transition-delay: 253ms;
}

body.is-loaded .cursor-dot,
body.is-loaded .cursor-ring,
body.is-loaded .cursor-label {
  opacity: 1;
  pointer-events: none;
}

.site-loader {
  --loader-size: 96px;
  --loader-span: 40px;
  --loader-open: 0;
  --loader-label-opacity: 0;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  pointer-events: all;
  background: transparent;
  transition: opacity 347ms var(--ease-out);
}

.site-loader-inner {
  position: relative;
  display: grid;
  place-items: center;
  transition: opacity 320ms var(--ease-out), transform 253ms var(--ease-out);
}

.site-loader.is-exiting .site-loader-inner {
  opacity: 0;
  transform: scale(0.94);
}

.site-loader.is-done {
  opacity: 0;
  pointer-events: none;
  transition: opacity 373ms var(--ease-out) 80ms;
}

.loader-frame {
  position: relative;
  width: var(--loader-size);
  height: var(--loader-size);
}

.loader-corner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 0 solid rgba(240, 237, 230, 0.38);
  will-change: transform;
}

.loader-corner-tl {
  transform: translate(
    calc(-50% - var(--loader-open) * var(--loader-span)),
    calc(-50% - var(--loader-open) * var(--loader-span))
  );
  border-top-width: 1px;
  border-left-width: 1px;
}

.loader-corner-tr {
  transform: translate(
    calc(-50% + var(--loader-open) * var(--loader-span)),
    calc(-50% - var(--loader-open) * var(--loader-span))
  );
  border-top-width: 1px;
  border-right-width: 1px;
}

.loader-corner-bl {
  transform: translate(
    calc(-50% - var(--loader-open) * var(--loader-span)),
    calc(-50% + var(--loader-open) * var(--loader-span))
  );
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.loader-corner-br {
  transform: translate(
    calc(-50% + var(--loader-open) * var(--loader-span)),
    calc(-50% + var(--loader-open) * var(--loader-span))
  );
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.loader-percent {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  color: rgba(240, 237, 230, 0.38);
  opacity: var(--loader-label-opacity);
  user-select: none;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-loader,
  .loader-frame,
  .topo-line,
  .nav,
  .page,
  .footer,
  .site-loader-inner {
    transition: none;
  }

  body.is-loaded .nav,
  body.is-loaded .page,
  body.is-loaded .footer,
  body.is-loaded .cursor-dot,
  body.is-loaded .cursor-ring,
  body.is-loaded .cursor-label {
    transition-delay: 0ms;
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  padding: 0 var(--margin-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.nav-logo {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: clamp(20px, 4vw, 32px);
  list-style: none;
}

.nav-links a {
  color: var(--white-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 300ms ease-out;
}

.nav-links a:hover { color: var(--white); }

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--margin-x) 64px;
  overflow-x: clip;
}

.studio-layout {
  width: 100%;
  max-width: 100%;
}

.hero {
  padding: clamp(128px, 17vh, 168px) 0 48px;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  width: 100%;
}

.hero-content {
  min-width: 0;
  padding-top: 8px;
}

.hero-portrait {
  position: relative;
  margin: 0;
  max-width: 380px;
  width: 100%;
  justify-self: end;
  container-type: inline-size;
}

.hero-portrait-stack {
  --frame: 2px;
  position: relative;
  width: 100%;
}

.hero-portrait-shell {
  position: relative;
  z-index: 1;
  padding: var(--frame);
  background: transparent;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero-portrait-border,
.video-frame-border {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: var(--frame);
  overflow: hidden;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

body.is-loading .hero-portrait-border::before {
  opacity: 0;
  animation-play-state: paused;
}

body.is-loaded .hero-portrait-border::before {
  opacity: 1;
  transition: opacity 480ms var(--ease-out) 120ms;
}

.hero-portrait-border::before,
.video-frame-border::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280%;
  height: 280%;
  background: conic-gradient(
    from 0deg,
    rgba(200, 185, 122, 0.95) 0deg,
    rgba(240, 237, 230, 0.35) 55deg,
    rgba(120, 132, 148, 0.85) 125deg,
    rgba(200, 185, 122, 0.35) 195deg,
    rgba(240, 237, 230, 0.65) 265deg,
    rgba(90, 110, 130, 0.65) 325deg,
    rgba(200, 185, 122, 0.95) 360deg
  );
  transform: translate(-50%, -50%);
  animation: portrait-frame-spin 20s linear infinite;
  will-change: transform;
}

@keyframes portrait-frame-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes section-line-flow {
  0% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-portrait-border::before,
  .video-frame-border::before {
    animation: none;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      145deg,
      rgba(200, 185, 122, 0.85) 0%,
      rgba(200, 185, 122, 0.25) 35%,
      rgba(90, 110, 130, 0.35) 70%,
      rgba(200, 185, 122, 0.55) 100%
    );
  }

  .section-label-line {
    animation: none;
    background-size: 100% 100%;
    background: linear-gradient(
      90deg,
      rgba(120, 132, 148, 0.5) 0%,
      rgba(200, 185, 122, 0.45) 50%,
      rgba(120, 132, 148, 0.5) 100%
    );
  }
}

.hero-portrait-deco-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: url('../assets/profile-topo-mask.png?v=4');
  mask-image: url('../assets/profile-topo-mask.png?v=4');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center top;
  mask-position: center top;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-mode: luminance;
  mask-mode: luminance;
}

.hero-portrait-deco {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.58;
}

.hero-portrait-inner {
  position: relative;
  z-index: 1;
  overflow: visible;
  background: var(--surface);
}

.hero-portrait-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.05);
}

.hero-portrait-pseudo {
  position: absolute;
  left: clamp(10px, 3.5cqi, 14px);
  bottom: clamp(10px, 3.5cqi, 14px);
  z-index: 3;
  font-family: var(--font-display);
  font-size: clamp(14px, 7.5cqi, 26px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
}

.hero-portrait-pseudo .accent {
  color: var(--accent);
}

.hero-portrait-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.75) 0%,
    rgba(10, 10, 10, 0.15) 35%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-role {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.8vw, 13px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--white-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-role::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--white-muted);
  flex-shrink: 0;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 120px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-title > span {
  display: block;
}

.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--white-muted);
}

.hero-title .accent {
  color: var(--accent);
}

.hero-desc {
  max-width: 520px;
  color: var(--white-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  text-transform: uppercase;
  margin-bottom: 48px;
}

.btn-primary,
.btn-accent,
.btn-ghost {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  transition: all 300ms ease-out;
  width: fit-content;
}

.btn-primary {
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--black);
}

.btn-accent {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dim);
}

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

.section-video {
  padding-top: 24px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.75vw, 18px);
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.section-label-text {
  flex-shrink: 0;
}

.section-label-line {
  flex: 1;
  min-width: 48px;
  height: 2px;
  align-self: center;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    rgba(115, 128, 142, 0.5) 0%,
    rgba(135, 132, 120, 0.48) 8%,
    rgba(158, 152, 132, 0.46) 16%,
    rgba(178, 168, 138, 0.45) 24%,
    rgba(192, 178, 132, 0.46) 32%,
    rgba(200, 185, 122, 0.52) 40%,
    rgba(200, 185, 122, 0.68) 50%,
    rgba(200, 185, 122, 0.52) 60%,
    rgba(188, 180, 158, 0.46) 68%,
    rgba(162, 158, 148, 0.46) 76%,
    rgba(138, 140, 148, 0.48) 84%,
    rgba(115, 128, 142, 0.5) 92%,
    rgba(115, 128, 142, 0.5) 100%
  );
  background-size: 250% 100%;
  background-position: 0% 0;
  animation: section-line-flow 18s linear infinite;
  will-change: background-position;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 56px);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 28px;
}

.section-title-follow {
  margin-top: 48px;
}

.section-title .accent { color: var(--accent); }

.section-subtitle {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--white-muted);
  margin: 36px 0 24px;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

.showreel-grid { margin-bottom: 8px; }

.video-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
  border: none;
  transition: border-color 300ms ease-out;
}

.video-block-inner {
  --frame: 2px;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  padding: var(--frame);
  background: var(--black-3);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.video-block-inner.is-playing {
  padding: var(--frame);
  border: none;
}

.video-block-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,185,122,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.video-block-inner:has(.video-placeholder)::after {
  display: none;
}

.video-embed::after {
  display: none;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

@media (hover: hover) and (pointer: fine) {
  .video-preview-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    background: #000;
    pointer-events: none;
  }

  .video-preview-layer > div,
  .video-preview-layer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  .video-block-inner.is-previewing .video-placeholder,
  .short-player.is-previewing .video-placeholder {
    background: transparent;
    z-index: 3;
  }

  .video-block-inner.is-previewing .video-thumb,
  .short-player.is-previewing .video-thumb,
  .video-block-inner.is-previewing .video-block-icon,
  .short-player.is-previewing .short-player-icon,
  .video-block-inner.is-previewing .video-block-meta,
  .short-player.is-previewing .short-player-meta {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
}

.video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--black-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: inherit;
  font: inherit;
  text-align: center;
  overflow: hidden;
}

.video-placeholder:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.video-placeholder:hover .video-thumb,
.video-placeholder:focus-visible .video-thumb {
  transform: scale(1.04);
}

.video-placeholder > :not(.video-thumb) {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.video-frame-border {
  z-index: 3;
}

.video-block:hover .video-block-icon,
.video-placeholder:hover .video-block-icon {
  color: var(--accent);
  transform: scale(1.06);
}

.video-block-label {
  display: none;
}

.video-meta,
.short-meta {
  padding: 0 4px;
}

.video-meta .project-tags,
.short-meta .project-tags {
  margin-bottom: 0;
}

.video-block-icon {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--border-strong);
  z-index: 1;
  transition: color 300ms ease-out, transform 300ms ease-out;
}

.video-block-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(240, 237, 230, 0.82);
  text-transform: uppercase;
  z-index: 1;
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 250px));
  gap: 28px;
  justify-content: start;
  width: 100%;
  max-width: 100%;
}

.short-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  transition: transform 300ms var(--ease-out);
}

.short-card:hover {
  transform: translateY(-4px);
}

.short-player {
  --frame: 2px;
  aspect-ratio: 9 / 16;
  width: 100%;
  padding: var(--frame);
  background: var(--black-3);
  border: none;
  position: relative;
  overflow: hidden;
}

.short-player.is-playing {
  padding: var(--frame);
  border: none;
}

.video-block-inner.is-playing::after,
.short-player.is-playing::after {
  display: none;
}

.short-player-icon {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--border-strong);
  z-index: 1;
  transition: color 300ms ease-out, transform 300ms ease-out;
}

.short-card:hover .short-player-icon,
.video-placeholder:hover .short-player-icon {
  color: var(--accent);
  transform: scale(1.06);
}

.short-player-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, 0.82);
  z-index: 1;
}

.short-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.short-client {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--white-dim);
}

.projects-grid {
  gap: 24px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 300ms ease-out, border-color 300ms ease-out;
}

.tech-line {
  margin-top: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--white-dim);
  text-transform: uppercase;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--white-muted);
}

.btn-ghost:hover {
  border-color: var(--white-muted);
  color: var(--white);
}

.project-card:hover { background: var(--black-3); border-color: var(--border-strong); }

.project-thumb {
  height: 180px;
  background: var(--black-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,185,122,0.05) 0%, transparent 60%);
}

.project-thumb-icon {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--border-strong);
  z-index: 1;
}

.project-meta { padding: 20px 24px; }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  color: rgba(240, 237, 230, 0.82);
}

.tag.type {
  border-color: var(--accent);
  color: var(--accent);
}

.project-title {
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.project-client {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white-dim);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  align-items: stretch;
}

@media (min-width: 901px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.testimonial-card {
  background: var(--surface);
  padding: clamp(20px, 2.5vw, 28px) clamp(14px, 2vw, 20px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  height: 100%;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  background: var(--black-2);
}

.testimonial-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
  min-width: 0;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.testimonial-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-muted);
  line-height: 1.5;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 22ch;
}

.testimonial-quote {
  margin-top: auto;
  padding-top: 10px;
  max-width: 24ch;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(240, 237, 230, 0.82);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.about-text,
.about-specs {
  background: var(--surface);
  padding: 40px;
}

.about-text p {
  color: var(--white-muted);
  margin-bottom: 16px;
  max-width: 420px;
}

.about-text p:last-child { margin-bottom: 0; }

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-row:last-child { border-bottom: none; }

.spec-row dt { color: var(--accent); }
.spec-row dd { color: var(--white-muted); text-align: right; }

.section-contact { border-bottom: none; }

.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(32px, 6vw, 56px);
  text-align: center;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 72px);
  letter-spacing: 0.05em;
  line-height: 0.95;
  margin-bottom: 24px;
}

.contact-desc {
  color: var(--white-muted);
  margin-bottom: 32px;
}

.page-rdv {
  padding-top: 120px;
  padding-bottom: 64px;
}

.rdv-header {
  margin-bottom: 40px;
}

.rdv-header .section-label {
  margin-bottom: 24px;
}

.rdv-header .section-title {
  margin-bottom: 16px;
}

.rdv-desc {
  color: rgba(240, 237, 230, 0.82);
  max-width: 560px;
  line-height: 1.7;
}

.rdv-layout,
.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr) minmax(0, 190px);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.rdv-deco,
.studio-deco {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 28px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rdv-deco-list,
.studio-deco-list {
  list-style: none;
  display: grid;
  gap: 22px;
}

.rdv-deco-item,
.studio-deco-item {
  border-left: 1px solid rgba(200, 185, 122, 0.35);
  padding-left: 14px;
  color: rgba(240, 237, 230, 0.55);
  line-height: 1.5;
}

.rdv-deco-item strong,
.studio-deco-item strong {
  display: block;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.studio-deco-item span,
.rdv-deco-item span {
  color: rgba(240, 237, 230, 0.68);
}

.rdv-deco-note,
.rdv-deco-mail,
.studio-deco-note,
.studio-deco-mail {
  color: rgba(240, 237, 230, 0.45);
  letter-spacing: 0.1em;
}

.rdv-deco-right .rdv-deco-list,
.studio-deco-right .studio-deco-list {
  margin-top: auto;
}

.rdv-panel,
.studio-panel {
  min-width: 0;
}

.rdv-panel-frame,
.studio-panel-frame {
  position: relative;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(200, 185, 122, 0.05) 0%, transparent 42%),
    var(--surface);
  border: 1px solid var(--border);
}

.rdv-corner,
.studio-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 1;
}

.rdv-corner-tl,
.studio-corner-tl {
  top: 10px;
  left: 10px;
  border-top: 1px solid rgba(200, 185, 122, 0.55);
  border-left: 1px solid rgba(200, 185, 122, 0.55);
}

.rdv-corner-tr,
.studio-corner-tr {
  top: 10px;
  right: 10px;
  border-top: 1px solid rgba(200, 185, 122, 0.55);
  border-right: 1px solid rgba(200, 185, 122, 0.55);
}

.rdv-corner-bl,
.studio-corner-bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 1px solid rgba(200, 185, 122, 0.35);
  border-left: 1px solid rgba(200, 185, 122, 0.35);
}

.rdv-corner-br,
.studio-corner-br {
  bottom: 10px;
  right: 10px;
  border-bottom: 1px solid rgba(200, 185, 122, 0.35);
  border-right: 1px solid rgba(200, 185, 122, 0.35);
}

.rdv-shell {
  --frame: 2px;
  position: relative;
  padding: var(--frame);
  background: var(--black-3);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.rdv-shell .video-frame-border {
  z-index: 3;
}

.rdv-calendly {
  position: relative;
  z-index: 1;
  background: var(--black-3);
  overflow: visible;
}

.rdv-calendly .calendly-inline-widget {
  width: 100%;
  min-width: 0;
  min-height: 640px;
  height: auto;
  transition: height 0.2s ease-out;
}

.rdv-calendly .calendly-inline-widget iframe {
  width: 100% !important;
  min-width: 0 !important;
}

.rdv-panel-mail {
  margin-top: 20px;
}

.rdv-panel-meta,
.studio-panel-meta {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, 0.45);
}

.rdv-tech-line {
  margin-top: 28px;
  text-align: center;
}

.page-rdv .legal-back {
  margin-top: 36px;
}

.studio-panel-frame--content {
  padding: clamp(20px, 3vw, 32px);
}

.hero-layout {
  width: 100%;
}

.hero-layout .studio-panel-frame {
  container-type: inline-size;
  container-name: hero-panel;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(200, 185, 122, 0.06) 0%, transparent 45%),
    rgba(20, 20, 20, 0.55);
}

.hero-layout .hero-grid {
  width: 100%;
  max-width: 100%;
}

/* Hero mobile / cadre étroit : format vertical (titre → photo carrée) */
@container hero-panel (width < 720px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(16px, 5cqi, 24px);
    align-items: stretch;
    justify-items: stretch;
  }

  .hero-content {
    order: 1;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-portrait {
    order: 2;
    justify-self: center;
    width: min(82%, 14rem);
    max-width: 220px;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
  }

  .hero-title {
    font-size: clamp(1.85rem, 15cqi, 2.75rem);
    line-height: 0.9;
    margin-bottom: clamp(12px, 3.5cqi, 18px);
    width: 100%;
    text-align: center;
  }

  .hero-role {
    font-size: clamp(0.5625rem, 2.8cqi, 0.6875rem);
    margin-bottom: clamp(10px, 3cqi, 16px);
    letter-spacing: 0.16em;
    justify-content: center;
    width: 100%;
  }

  .hero-content .btn-primary {
    font-size: clamp(0.5625rem, 2.6cqi, 0.6875rem);
    padding: clamp(9px, 2.5cqi, 11px) clamp(12px, 3cqi, 16px);
    letter-spacing: 0.12em;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    align-self: center;
  }

  .hero-portrait-pseudo {
    font-size: clamp(0.625rem, 5cqi, 0.875rem);
  }
}

@container hero-panel (width < 400px) {
  .hero-portrait {
    width: min(88%, 13rem);
    max-width: 200px;
  }

  .hero-title {
    font-size: clamp(1.65rem, 14cqi, 2.35rem);
  }
}

.section-studio-layout {
  margin-top: 8px;
}

.section-studio-layout .section-title:first-child {
  margin-top: 0;
}

.studio-panel-frame .contact-block {
  background: transparent;
  border: none;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 32px);
}

.studio-panel-frame .testimonials-grid {
  gap: 20px;
}

@media (max-width: 1100px) {
  .rdv-layout,
  .studio-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rdv-deco {
    display: none;
  }

  .studio-layout:not(.hero-layout):not(.section-studio-layout) > .studio-deco {
    display: none;
  }

  .studio-layout.hero-layout,
  .studio-layout.section-studio-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "layout-panel layout-panel"
      "layout-left layout-right";
    gap: clamp(12px, 3vw, 22px);
  }

  .studio-layout.hero-layout > .studio-panel,
  .studio-layout.section-studio-layout > .studio-panel {
    grid-area: layout-panel;
  }

  .studio-layout.hero-layout > .studio-deco-left,
  .studio-layout.section-studio-layout > .studio-deco-left {
    grid-area: layout-left;
  }

  .studio-layout.hero-layout > .studio-deco-right,
  .studio-layout.section-studio-layout > .studio-deco-right {
    grid-area: layout-right;
  }

  .studio-layout.hero-layout > .studio-deco,
  .studio-layout.section-studio-layout > .studio-deco {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 7px 0 0;
    font-size: 10.5px;
    letter-spacing: 0.105em;
  }

  .studio-layout.hero-layout .studio-deco-list,
  .studio-layout.section-studio-layout .studio-deco-list {
    gap: 18px;
  }

  .studio-layout.hero-layout .studio-deco-item,
  .studio-layout.section-studio-layout .studio-deco-item {
    padding-left: 12px;
    line-height: 1.48;
  }

  .studio-layout.hero-layout .studio-deco-item strong,
  .studio-layout.section-studio-layout .studio-deco-item strong {
    font-size: 11.5px;
    margin-bottom: 6px;
    letter-spacing: 0.125em;
  }

  .studio-layout.hero-layout .studio-deco-note,
  .studio-layout.hero-layout .studio-deco-mail,
  .studio-layout.section-studio-layout .studio-deco-note,
  .studio-layout.section-studio-layout .studio-deco-mail {
    font-size: 9.5px;
    letter-spacing: 0.085em;
    line-height: 1.42;
  }

  .studio-layout.hero-layout > .studio-deco-right .studio-deco-list,
  .studio-layout.section-studio-layout > .studio-deco-right .studio-deco-list {
    margin-top: 0;
  }

  .studio-layout.section-studio-layout {
    gap: clamp(12px, 3vw, 22px);
  }

  .studio-layout.section-studio-layout > .studio-deco {
    padding-top: 0;
  }

  .rdv-panel-frame,
  .studio-panel-frame {
    padding: 14px;
  }
}

@media (max-width: 900px) {
  .page-rdv {
    padding-top: clamp(92px, 22vw, 112px);
    padding-bottom: 12px;
  }

  .page-rdv.page {
    padding-bottom: 12px;
  }

  .rdv-header {
    margin-bottom: 24px;
  }

  .rdv-header .section-title {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .rdv-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .rdv-layout {
    gap: 0;
  }

  .rdv-panel-frame {
    padding: 12px;
  }

  .rdv-shell {
    overflow: visible;
  }

  .rdv-calendly {
    overflow: visible;
  }

  .rdv-calendly .calendly-inline-widget {
    min-height: min(52vh, 480px);
  }

  .rdv-panel-mail {
    margin-top: 14px;
  }

  .page-rdv .legal-back {
    margin-top: 16px;
    margin-bottom: 0;
  }

  .page-rdv + .footer {
    margin-top: 20px;
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .rdv-calendly .calendly-inline-widget {
    min-height: min(48vh, 440px);
  }
}

.footer {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px var(--margin-x) 40px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.footer-brand {
  color: var(--white-muted);
  margin: 0;
}

.footer-link {
  color: var(--white-dim);
  transition: color 200ms ease;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link-short {
  display: none;
}

@media (max-width: 900px) {
  .footer {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: space-between;
    gap: clamp(2px, 0.9vw, 8px);
    font-size: clamp(6.5px, 1.85vw, 10px);
    letter-spacing: clamp(0.01em, 0.12vw, 0.06em);
    padding-top: 20px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .footer::-webkit-scrollbar {
    display: none;
  }

  .footer-brand,
  .footer-link {
    white-space: nowrap;
    margin: 0;
  }

  .footer-brand {
    flex-shrink: 0;
    font-size: clamp(6.5px, 1.85vw, 10px);
  }

  .footer-links {
    display: contents;
  }

  .footer-link {
    flex-shrink: 1;
    min-width: 0;
    color: var(--white-muted);
  }

  .footer-link-full {
    display: none;
  }

  .footer-link-short {
    display: inline;
  }
}

.legal-section-first {
  border-top: none;
  padding-top: 0;
}

.page-legal {
  padding-top: 120px;
  padding-bottom: 64px;
}

.legal {
  max-width: 720px;
}

.legal-label {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.5vw, 15px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 72px);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 12px;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(240, 237, 230, 0.65);
  margin-bottom: 48px;
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid var(--border-strong);
}

.legal-section h2 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.legal-section p,
.legal-list {
  color: rgba(240, 237, 230, 0.88);
  line-height: 1.75;
}

.legal-list strong {
  color: var(--white);
  font-weight: 500;
}

.legal-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section a:hover {
  color: var(--white);
}

.legal-back {
  margin-top: 48px;
}

.legal-back .btn-primary {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

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

.cursor-dot,
.cursor-ring,
.cursor-label {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  top: 0;
  left: 0;
  transition: opacity 150ms ease-out;
}

body.cursor-over-embed .cursor-dot,
body.cursor-over-embed .cursor-ring,
body.cursor-over-embed .cursor-label {
  opacity: 0;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--white-muted);
  transform: translate(-50%, -50%);
  transition:
    width 70ms ease-out,
    height 70ms ease-out,
    border-color 70ms ease-out;
  transition-delay: 0ms;
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--accent);
}

.cursor-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 70ms ease-out;
  transition-delay: 0ms;
}

.cursor-label.visible { opacity: 1; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border-strong); }

@media (min-width: 1400px) {
  .hero-title {
    font-size: clamp(96px, 8vw, 132px);
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .hero-portrait-inner::after {
    background: linear-gradient(
      to top,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(10, 10, 10, 0.35) 42%,
      transparent 68%
    );
  }
}

@media (min-width: 1101px) {
  .hero-portrait {
    aspect-ratio: auto;
    container-type: inline-size;
  }

  .hero-portrait-inner {
    aspect-ratio: auto;
  }

  .hero-portrait-photo,
  .hero-portrait-deco {
    aspect-ratio: 4 / 5;
    object-position: center top;
  }

  .hero-portrait-deco {
    object-position: center top;
  }
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
  }
}

/* Tablette : texte à gauche, portrait carré à droite */
@media (max-width: 1100px) and (min-width: 901px) {
  .hero-title {
    font-size: clamp(44px, 8vw, 72px);
    margin-bottom: 20px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) min(210px, 52vw);
    gap: clamp(12px, 2.5vw, 18px);
    align-items: center;
  }

  .hero-portrait {
    order: 2;
    justify-self: end;
    width: min(210px, 52vw);
    max-width: 210px;
    min-width: 0;
    aspect-ratio: 1 / 1;
    margin: 0;
    container-type: normal;
  }

  .hero-content {
    order: 1;
    min-width: 0;
    width: auto;
    padding-top: 0;
    position: relative;
    z-index: 1;
  }

  .hero-content .btn-primary {
    white-space: nowrap;
  }

  .hero-portrait-stack,
  .hero-portrait-shell {
    width: auto;
    max-width: 100%;
    height: auto;
    overflow: visible;
  }

  .hero-portrait-inner {
    aspect-ratio: 1 / 1 !important;
    width: 100%;
    height: auto;
    overflow: visible;
    padding-bottom: 0;
  }

  .hero-portrait-pseudo {
    font-size: clamp(10px, 9cqi, 14px);
    left: clamp(6px, 3cqi, 10px);
    bottom: clamp(4px, 2.5cqi, 8px);
  }

  .hero-portrait-photo,
  .hero-portrait-deco {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
    object-position: 22% top;
  }

  .hero-portrait-deco-wrap {
    -webkit-mask-position: center top;
    mask-position: center top;
  }
}

@media (max-width: 900px) {
  .span-4, .span-6 { grid-column: span 12; }
  .showreel-grid .video-block.span-4 {
    grid-column: span 12;
  }
  .showreel-grid {
    max-width: min(520px, 100%);
    margin-inline: auto;
  }
  .shorts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 3vw, 22px);
    justify-content: stretch;
    width: 100%;
    max-width: min(440px, 100%);
    margin-inline: auto;
  }

  .studio-panel-frame--content {
    overflow-x: clip;
  }

  .studio-layout.hero-layout {
    gap: clamp(18px, 4vw, 26px);
    width: min(100%, 20.5rem);
    max-width: 20.5rem;
    margin-inline: auto;
    justify-items: center;
  }

  .studio-layout.section-studio-layout {
    gap: clamp(20px, 5vw, 28px);
  }

  .hero-layout > .studio-panel {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  /* Cadre hero : plus haut, moins large (format vertical) */
  .hero-layout .studio-panel-frame {
    width: min(100%, 20.5rem);
    max-width: 20.5rem;
    margin-inline: auto;
    padding: clamp(22px, 6vw, 32px) clamp(18px, 4.5vw, 26px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 5vw, 26px);
    align-items: stretch;
    justify-items: stretch;
    width: 100%;
  }

  .hero-portrait {
    order: 2;
    justify-self: center;
    width: min(78%, 13.75rem);
    max-width: 220px;
    min-width: 0;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    container-type: inline-size;
    z-index: 0;
    isolation: isolate;
  }

  .hero-content {
    order: 1;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding-top: 0;
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-role {
    justify-content: center;
    width: 100%;
  }

  .hero-title {
    width: 100%;
    text-align: center;
    font-size: clamp(2rem, 11.5vw, 2.85rem);
    line-height: 0.9;
    margin-bottom: clamp(12px, 3vw, 18px);
  }

  .hero-content .btn-primary {
    align-self: center;
  }

  .hero-role {
    margin-bottom: clamp(12px, 3vw, 16px);
  }

  .hero-portrait-stack,
  .hero-portrait-shell {
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
  }

  .hero-portrait-inner {
    aspect-ratio: 1 / 1 !important;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-bottom: 0;
  }

  .hero-portrait-photo,
  .hero-portrait-deco {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
    object-position: 22% top;
  }

  .hero-portrait-deco-wrap {
    inset: 0;
    -webkit-mask-position: center top;
    mask-position: center top;
  }

  .hero-portrait-pseudo {
    font-size: clamp(10px, 9cqi, 14px);
    left: clamp(6px, 3cqi, 10px);
    bottom: clamp(4px, 2.5cqi, 8px);
  }

  /* Colonnes déco : alignées sur la largeur du cadre hero */
  .studio-layout.hero-layout > .studio-deco,
  .studio-layout.section-studio-layout > .studio-deco {
    font-size: clamp(0.5rem, 2.15vw, 0.625rem);
    letter-spacing: 0.09em;
    padding: 0;
    color: rgba(240, 237, 230, 0.55);
    align-items: center;
    width: 100%;
  }

  .studio-layout.hero-layout .studio-deco-list,
  .studio-layout.section-studio-layout .studio-deco-list {
    gap: clamp(10px, 2.5vw, 14px);
    width: 100%;
    align-items: center;
  }

  .studio-layout.hero-layout .studio-deco-item,
  .studio-layout.section-studio-layout .studio-deco-item {
    width: 100%;
    max-width: 9.5rem;
    padding: 0;
    padding-top: clamp(8px, 2vw, 10px);
    margin-top: clamp(8px, 2vw, 10px);
    border-left: none;
    border-top: 1px solid rgba(200, 185, 122, 0.22);
    line-height: 1.4;
    text-align: center;
  }

  .studio-layout.hero-layout .studio-deco-item:first-child,
  .studio-layout.section-studio-layout .studio-deco-item:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }

  .studio-layout.hero-layout .studio-deco-item strong,
  .studio-layout.section-studio-layout .studio-deco-item strong {
    font-size: clamp(0.5rem, 2.1vw, 0.6rem);
    margin-bottom: 4px;
    letter-spacing: 0.1em;
    color: rgba(200, 185, 122, 0.75);
  }

  .studio-deco-item span,
  .rdv-deco-item span {
    overflow-wrap: anywhere;
    color: rgba(240, 237, 230, 0.62);
  }

  .section-title {
    font-size: clamp(1.35rem, 5.5vw, 2.25rem);
    margin-bottom: clamp(16px, 4vw, 24px);
    letter-spacing: 0.04em;
  }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
}

@media (max-width: 600px) {
  :root {
    --margin-x: clamp(18px, 5.5vw, 26px);
  }

  .nav {
    height: auto;
    min-height: 56px;
    padding: 10px var(--margin-x);
    align-items: center;
    gap: 8px 10px;
  }

  .nav-logo {
    font-size: clamp(10px, 2.8vw, 12px);
    letter-spacing: 0.14em;
    flex-shrink: 0;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: clamp(10px, 2.8vw, 14px);
    margin-left: auto;
  }

  .nav-links a {
    font-size: clamp(8px, 2.2vw, 10px);
    letter-spacing: 0.08em;
    color: rgba(240, 237, 230, 0.62);
    white-space: nowrap;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    color: var(--white);
  }

  .hero {
    padding-top: clamp(100px, 24vw, 118px);
    padding-bottom: 40px;
    min-height: auto;
  }

  .page-legal {
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .page-legal .legal {
    max-width: 100%;
  }

  .studio-layout.hero-layout > .studio-deco,
  .studio-layout.section-studio-layout > .studio-deco {
    letter-spacing: 0.095em;
  }

  .studio-layout.hero-layout {
    gap: clamp(14px, 3.5vw, 20px);
    width: min(100%, 19rem);
    max-width: 19rem;
  }

  .studio-layout.section-studio-layout {
    gap: clamp(24px, 6.5vw, 36px);
  }

  .studio-layout.hero-layout .studio-deco-list,
  .studio-layout.section-studio-layout .studio-deco-list {
    gap: 10px;
  }

  .studio-layout.hero-layout .studio-deco-item,
  .studio-layout.section-studio-layout .studio-deco-item {
    padding-left: 8px;
    line-height: 1.38;
  }

  .hero-layout .studio-panel-frame {
    width: min(100%, 19rem);
    max-width: 19rem;
    padding: clamp(20px, 5.5vw, 28px) clamp(16px, 4vw, 22px);
  }

  .hero-title {
    font-size: clamp(1.85rem, 10.5vw, 2.55rem);
  }

  .hero-portrait {
    width: min(86%, 12.75rem);
    max-width: 204px;
  }

  .hero-portrait-photo,
  .hero-portrait-deco {
    object-position: 22% top;
  }

  .section-title {
    font-size: clamp(1.15rem, 5vw, 1.75rem);
  }

  .studio-layout.hero-layout {
    padding-bottom: 12px;
  }

  .studio-layout.hero-layout > .studio-deco {
    padding-top: 4px;
  }
  .showreel-grid {
    max-width: min(400px, 100%);
  }
  .shorts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 2.8vw, 16px);
    max-width: min(320px, 100%);
  }

  .short-card:hover {
    transform: none;
  }
}

@media (max-width: 380px) {
  .showreel-grid {
    max-width: min(300px, 100%);
  }
  .shorts-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 220px;
    margin-inline: auto;
  }
}

.scroll-top {
  position: fixed;
  right: clamp(16px, 2.5vw, 28px);
  bottom: calc(clamp(20px, 4vw, 32px) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(10px);
  color: var(--white-muted);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 320ms var(--ease-out),
    visibility 320ms var(--ease-out),
    color 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  color: var(--accent);
  border-color: rgba(200, 185, 122, 0.45);
  background: rgba(20, 20, 20, 0.95);
  outline: none;
}

.scroll-top:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-dim);
}

.scroll-top-icon {
  display: block;
}

@media (pointer: coarse) {
  .scroll-top {
    cursor: pointer;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: opacity 150ms ease, visibility 150ms ease, color 150ms ease, border-color 150ms ease;
  }
}
