:root {
  --bg: #091019;
  --panel: rgba(14, 20, 31, 0.9);
  --panel-soft: rgba(18, 27, 41, 0.82);
  --footer-bg: #101a28;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f7f3ec;
  --muted: #a7b0bd;
  --accent-rgb: 229, 229, 229;
  --accent-soft-rgb: 242, 242, 242;
  --accent: #e5e5e5;
  --accent-soft: #f2f2f2;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --body-glow-1: rgba(var(--accent-rgb), 0.16);
  --body-glow-2: rgba(var(--accent-soft-rgb), 0.1);
  --body-start: #091019;
  --body-mid: #0b121d;
  --body-end: #09111a;
  --grid-line: rgba(255, 255, 255, 0.025);
  --stage-bg: #04070d;
  --stage-overlay-1: rgba(4, 7, 13, 0.76);
  --stage-overlay-2: rgba(4, 7, 13, 0.42);
  --stage-overlay-3: rgba(4, 7, 13, 0.78);
  --topbar-bg: rgba(11, 17, 27, 0.82);
  --topbar-stage-bg: rgba(8, 12, 20, 0.42);
  --menu-active-bg: rgba(255, 255, 255, 0.05);
  --hero-bg:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), transparent 42%),
    linear-gradient(145deg, rgba(12, 18, 28, 0.94), rgba(18, 27, 41, 0.84));
  --home-hero-bg:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), transparent 42%),
    linear-gradient(145deg, rgba(10, 15, 23, 0.78), rgba(16, 24, 36, 0.64));
  --surface-elevated: linear-gradient(180deg, rgba(16, 23, 35, 0.98), rgba(11, 17, 26, 0.96));
  --surface-subtle: rgba(255, 255, 255, 0.04);
  --surface-subtle-2: rgba(255, 255, 255, 0.03);
  --surface-pill: rgba(255, 255, 255, 0.05);
  --surface-kpi: rgba(255, 255, 255, 0.04);
  --badge-bg:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-soft-rgb), 0.08));
  --label-color: #fff1b8;
  --label-soft: #ffeaa3;
  --link-accent: #fff0b0;
  --pill-text: #fff0b2;
  --meta-accent: #ffe7a0;
  --client-pill-text: #fff1ba;
  --tag-text: #dee5ef;
  --video-frame-bg: #02050b;
  --back-to-top-bg: rgba(8, 12, 20, 0.72);
  --back-to-top-border: rgba(255, 255, 255, 0.14);
  --back-to-top-hover-bg: rgba(var(--accent-rgb), 0.9);
  --back-to-top-hover-text: #28150c;
  --empty-bg: rgba(14, 20, 31, 0.88);
  --home-copy: rgba(247, 243, 236, 0.84);
  --status-bg: rgba(58, 211, 133, 0.14);
  --status-border: rgba(88, 244, 163, 0.46);
  --status-text: #8df6bf;
  --status-dot: #51f4a5;
  --status-ping: rgba(81, 244, 165, 0.56);
  --focus-ring: rgba(var(--accent-rgb), 0.92);
  --site-shell-width: 80vw;
  --site-chrome-width: min(70vw, 1180px);
}

:root[data-theme="light"] {
  --bg: #f6efe6;
  --panel: rgba(255, 252, 248, 0.92);
  --panel-soft: rgba(255, 248, 240, 0.9);
  --footer-bg: #eadbcb;
  --line: rgba(46, 28, 18, 0.12);
  --text: #24160e;
  --muted: #6d6258;
  --shadow: 0 20px 60px rgba(118, 86, 61, 0.12);
  --body-glow-1: rgba(var(--accent-rgb), 0.12);
  --body-glow-2: rgba(var(--accent-soft-rgb), 0.14);
  --body-start: #f9f3eb;
  --body-mid: #f5ede3;
  --body-end: #f2e8dc;
  --grid-line: rgba(44, 30, 20, 0.045);
  --stage-bg: #e7ddd2;
  --stage-overlay-1: rgba(248, 242, 234, 0.66);
  --stage-overlay-2: rgba(248, 242, 234, 0.3);
  --stage-overlay-3: rgba(248, 242, 234, 0.74);
  --topbar-bg: rgba(255, 252, 248, 0.82);
  --topbar-stage-bg: rgba(255, 252, 248, 0.58);
  --menu-active-bg: rgba(36, 22, 14, 0.06);
  --hero-bg:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.14), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(250, 244, 236, 0.92));
  --home-hero-bg:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.14), transparent 42%),
    linear-gradient(145deg, rgba(255, 252, 248, 0.78), rgba(251, 244, 236, 0.62));
  --surface-elevated: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 240, 233, 0.96));
  --surface-subtle: rgba(36, 22, 14, 0.05);
  --surface-subtle-2: rgba(36, 22, 14, 0.04);
  --surface-pill: rgba(36, 22, 14, 0.05);
  --surface-kpi: rgba(36, 22, 14, 0.05);
  --badge-bg:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.36)),
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-soft-rgb), 0.08));
  --label-color: #8c6d10;
  --label-soft: #8c6d10;
  --link-accent: #715707;
  --pill-text: #7d610d;
  --meta-accent: #7d610d;
  --client-pill-text: #6f5609;
  --tag-text: #3a2a1f;
  --video-frame-bg: #d9cec2;
  --back-to-top-bg: rgba(255, 252, 248, 0.88);
  --back-to-top-border: rgba(36, 22, 14, 0.12);
  --back-to-top-hover-bg: rgba(var(--accent-rgb), 0.92);
  --back-to-top-hover-text: #28150c;
  --empty-bg: rgba(255, 252, 248, 0.92);
  --home-copy: rgba(36, 22, 14, 0.82);
  --status-bg: rgba(49, 183, 104, 0.14);
  --status-border: rgba(49, 144, 89, 0.4);
  --status-text: #1c6b41;
  --status-dot: #2ac477;
  --status-ping: rgba(42, 196, 119, 0.5);
  --focus-ring: #24160e;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #28150c;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  display: none;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--accent-rgb), 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(var(--accent-soft-rgb), 0.12), transparent 26%),
    linear-gradient(180deg, rgba(6, 10, 16, 0.96), rgba(6, 10, 16, 0.92));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 320ms ease, visibility 0s linear 320ms;
}

:root[data-theme="light"] .page-loader {
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--accent-rgb), 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(var(--accent-soft-rgb), 0.14), transparent 26%),
    linear-gradient(180deg, rgba(248, 242, 234, 0.96), rgba(242, 232, 220, 0.93));
}

.page-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.page-loader__inner {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.page-loader__spinner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--accent);
  animation: page-loader-spin 900ms linear infinite;
}

:root[data-theme="light"] .page-loader__spinner {
  border-color: rgba(36, 22, 14, 0.16);
  border-top-color: #8a6b0c;
}

.page-loader__label {
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(1rem, 2vw, 1.12rem);
  letter-spacing: 0.04em;
}

@keyframes page-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.page-shell {
  width: var(--site-shell-width);
  margin: 0 auto;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell-stage {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 28px;
}

.home-stage {
  position: relative;
  min-height: 100svh;
  overflow: clip;
}

.home-stage-media,
.home-stage-overlay {
  position: absolute;
  inset: 0;
}

.home-stage-media {
  z-index: 0;
  overflow: hidden;
  background: var(--stage-bg);
}

.home-stage-media::after {
  content: "Activer le son";
  position: absolute;
  left: max(18px, calc((100vw - 1180px) / 2 + 20px));
  bottom: clamp(80px, 8vw, 112px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.66);
  color: #f7f3ec;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateY(6px);
  backdrop-filter: blur(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.home-stage-media video,
.home-stage-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.home-stage-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: transform 420ms ease, filter 420ms ease;
}

.home-stage-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-stage-controls {
  position: absolute;
  left: max(18px, calc((100vw - 1180px) / 2 + 20px));
  right: auto;
  bottom: clamp(18px, 3vw, 34px);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.focus-hero-stage.is-video-hovered .home-stage-video {
  filter: saturate(1.08) brightness(1.05);
  transform: scale(1.018);
}

.focus-hero-stage.is-sound-hint-visible .home-stage-media::after,
.focus-hero-stage.is-video-clickable .home-stage-media::after {
  opacity: 1;
  transform: translateY(0);
}

.focus-hero-stage.is-video-clickable .home-stage-media::after {
  content: "Pause";
}

.focus-hero-stage.is-video-paused .home-stage-media::after {
  content: "Lecture";
}

.home-stage-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.72);
  color: #f7f3ec;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.home-stage-control svg {
  display: block;
  width: 22px;
  height: 22px;
}

.home-stage-control:hover,
.home-stage-control:focus-visible {
  transform: translateY(-1px);
  border-color: transparent;
  background: rgba(var(--accent-rgb), 0.92);
  color: #28150c;
}

.home-stage-overlay {
  z-index: 0;
  background:
    linear-gradient(180deg, var(--stage-overlay-1) 0%, var(--stage-overlay-2) 28%, var(--stage-overlay-3) 100%),
    radial-gradient(circle at 20% 20%, rgba(var(--accent-rgb), 0.18), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(var(--accent-soft-rgb), 0.12), transparent 26%);
}

.hero,
.section-block,
.content-panel,
.toolbar,
.video-card,
.testimonial-card,
.cta-band,
.site-footer,
.latest-card,
.hero-badge-card,
.portrait-card,
.process-card,
.faq-item,
.timeline-item {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topbar {
  position: relative;
  z-index: 40;
  width: 100vw;
  min-height: var(--topbar-height, 84px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 18px;
}

.topbar-inner {
  position: fixed;
  top: 0;
  left: 50%;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  align-items: center;
  width: 100vw;
  min-height: 84px;
  padding: 16px max(16px, calc((100vw - var(--site-chrome-width)) / 2 + 20px));
  margin: 0;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 0;
  background: var(--topbar-stage-bg);
  box-shadow: none;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  will-change: width, top, transform, border-radius, background, box-shadow;
  transition:
    width 440ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 440ms cubic-bezier(0.16, 1, 0.3, 1),
    top 440ms cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 440ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms ease,
    background 320ms ease,
    box-shadow 440ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 240ms ease;
}

.topbar.is-sticky .topbar-inner {
  top: 14px;
  width: var(--site-chrome-width);
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--topbar-bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.brand,
.menu-link,
.inline-link,
.card-link,
.contact-link,
.footer-column a {
  color: var(--text);
  text-decoration: none;
}

.brand {
  font-family: "PPAgrandir", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.brand-mark span {
  font-size: 0.92rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: 38px;
  transition: filter 180ms ease, opacity 180ms ease;
}

:root[data-theme="light"] .brand-logo {
  filter: brightness(0) saturate(100%) opacity(0.94);
}

.menu {
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-subtle);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.menu-toggle__box {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.menu-toggle__line {
  display: block;
  width: 100%;
  height: 1.8px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.topbar.is-menu-open .menu-toggle__line:nth-child(1) {
  transform: translateY(5.8px) rotate(45deg);
}

.topbar.is-menu-open .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.topbar.is-menu-open .menu-toggle__line:nth-child(3) {
  transform: translateY(-5.8px) rotate(-45deg);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  background: var(--menu-active-bg);
}

.menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.menu-link:hover,
.menu-link:focus-visible,
.menu-link.is-active {
  color: var(--text);
  background: var(--menu-active-bg);
  transform: translateY(-1px);
}

.hero {
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--hero-bg);
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.home-page .hero {
  width: min(960px, 100%);
  margin-top: clamp(28px, 8vh, 96px);
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  background: var(--home-hero-bg);
  backdrop-filter: blur(20px);
  border-color: var(--line);
}

.home-page .hero-home {
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.72fr);
  align-content: stretch;
}

.home-page .hero-copy,
.home-page .hero-badge-card p {
  color: var(--home-copy);
}

.home-page .hero-copy-block {
  max-width: 34rem;
}

.has-scroll-reveal .scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  filter: blur(10px);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.has-scroll-reveal .scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.eyebrow,
.section-label,
.chip-count,
.card-type,
.hero-kpi-label,
.small-pill,
.step-number,
.timeline-date {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--label-color);
  font-size: 0.76rem;
  font-weight: 800;
}

.hero h1,
.section-head h2,
.content-panel h2,
.toolbar h1,
.toolbar h2,
.card-title,
.latest-card h3,
.testimonial-card h3,
.faq-item h3,
.timeline-item h3,
.availability-item strong {
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.92;
}

.hero-copy,
.hero-badge-card p,
.latest-card p,
.content-panel p,
.testimonial-card blockquote,
.cta-copy,
.timeline-item p,
.faq-item p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--status-border);
  background: var(--status-bg);
  color: var(--status-text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.availability-pill:hover,
.availability-pill:focus-visible {
  transform: translateY(-1px);
  border-color: var(--status-dot);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 24px rgba(10, 20, 16, 0.2);
}

.availability-pill__dot-wrap {
  position: relative;
  display: inline-flex;
  width: 9px;
  height: 9px;
}

.availability-pill__dot-ping,
.availability-pill__dot-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.availability-pill__dot-ping {
  background: var(--status-ping);
  transform: scale(1.8);
  opacity: 0.5;
}

.availability-pill__dot-core {
  background: var(--status-dot);
  box-shadow: 0 0 0 1px rgba(7, 16, 10, 0.24);
  animation: availability-blink 2.2s ease-in-out infinite;
}

.hero-copy-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@keyframes availability-blink {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.82);
    opacity: 0.32;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--back-to-top-border);
  border-radius: 50%;
  background: var(--back-to-top-bg);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.back-to-top > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 18px;
  line-height: 1;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--back-to-top-hover-bg);
  border-color: transparent;
  color: var(--back-to-top-hover-text);
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 98px;
  min-height: 50px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--text);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  transition: transform 220ms ease;
}

.theme-toggle[data-theme="dark"]::before {
  transform: translateX(100%);
}

.theme-toggle__icons {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.theme-toggle__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  color: var(--muted);
  transition: color 180ms ease, opacity 180ms ease;
}

.theme-toggle__option svg {
  width: 18px;
  height: 18px;
  display: block;
}

.theme-toggle[data-theme="light"] .theme-toggle__option--light,
.theme-toggle[data-theme="dark"] .theme-toggle__option--dark {
  color: #28150c;
}

.theme-toggle[data-theme="light"] .theme-toggle__option--dark,
.theme-toggle[data-theme="dark"] .theme-toggle__option--light {
  opacity: 0.88;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--text);
  background: var(--menu-active-bg);
  transform: translateY(-1px);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.section-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.inline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.inline-action:hover,
.inline-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.42);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #28150c;
  font-weight: 800;
}

.button-secondary {
  background: var(--surface-subtle);
  color: var(--text);
  border: 1px solid var(--line);
}

.button-primary:hover,
.button-secondary:hover,
.inline-link:hover,
.card-link:hover,
.contact-link:hover,
.footer-column a:hover {
  transform: translateY(-1px);
}

.hero-aside {
  display: flex;
}

.hero-badge-card {
  width: 100%;
  border-radius: 28px;
  padding: 28px;
  background: var(--badge-bg);
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 100%;
}

.hero-badge-photo {
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.06) 0%, rgba(7, 11, 18, 0.82) 100%),
    url("../PP-1.jpg") center center / cover no-repeat;
}

.hero-badge-photo strong,
.hero-badge-photo p,
.hero-badge-photo .hero-badge-label {
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.hero-badge-label,
.testimonial-role {
  color: var(--label-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge-card strong {
  display: block;
  margin-top: 12px;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.hero-kpi {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-kpi);
  border: 1px solid var(--line);
}

.hero-kpi-value {
  display: block;
  font-family: "PPAgrandir", sans-serif;
  font-size: 1.9rem;
}

.hero-kpi-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.page-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  flex: 1 0 auto;
}

.skills-band {
  grid-column: 1 / -1;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 14px;
  margin-bottom: clamp(28px, 4vw, 44px);
  overflow-x: clip;
  overflow-y: visible;
}

.skills-band__tilt {
  margin-inline: -8px;
  transform: rotate(-3deg);
  transform-origin: center;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background:
    linear-gradient(90deg, #cfcfcf 0%, #e5e5e5 45%, #f2f2f2 78%, #ffffff 100%);
}

.skills-band__viewport {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.skills-band__marquee {
  display: flex;
  width: max-content;
  min-width: 100%;
  padding: 12px 0;
  animation: skills-band-scroll 30s linear infinite;
  will-change: transform;
}

.skills-band__list {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0 16px 0 0;
}

.skills-band__list li {
  display: inline-flex;
  align-items: center;
  color: #1c140e;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.skills-band__list li::after {
  content: "✦";
  margin: 1px 0 0 16px;
  color: #1c140e;
  font-size: 1rem;
  line-height: 1;
  transform: rotate(-12deg);
}

@keyframes skills-band-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.section-block,
.cta-band {
  min-width: 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.section-block.section-latest-integrated {
  --latest-shell-max: 1060px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: clamp(12px, 2.4vw, 32px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.section-block.section-latest-integrated .section-head {
  width: min(100%, var(--latest-shell-max));
  margin-inline: auto;
  margin-bottom: 12px;
}

.section-block.section-latest-integrated .latest-carousel-shell {
  width: min(100%, var(--latest-shell-max));
  max-width: var(--latest-shell-max);
}

.section-block.section-latest-integrated .latest-carousel-btn.is-prev {
  left: clamp(8px, 4vw, 42px);
}

.section-block.section-latest-integrated .latest-carousel-btn.is-next {
  right: clamp(8px, 4vw, 42px);
}

.site-footer {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--footer-bg);
}

.section-block:not(.home-faq),
.content-panel,
.toolbar,
.cta-band,
.site-footer {
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(var(--accent-rgb), 0.16),
    0 0 34px rgba(var(--accent-rgb), 0.12);
}

:root[data-theme="light"] .section-block:not(.home-faq),
:root[data-theme="light"] .content-panel,
:root[data-theme="light"] .toolbar,
:root[data-theme="light"] .cta-band,
:root[data-theme="light"] .site-footer {
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(var(--accent-rgb), 0.24),
    0 0 26px rgba(var(--accent-rgb), 0.1);
}

.section-block.section-latest-integrated,
:root[data-theme="light"] .section-block.section-latest-integrated {
  box-shadow: none;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.08;
  max-width: 18ch;
}

.inline-link,
.card-link {
  color: var(--link-accent);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.content-panel a {
  color: var(--link-accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.content-panel a:hover,
.content-panel a:focus-visible {
  color: var(--accent-soft);
}

.latest-grid,
.content-grid,
.contact-grid,
.process-grid,
.faq-list,
.timeline,
.footer-grid {
  display: grid;
  gap: 20px;
}

.latest-grid,
.content-grid,
.contact-grid,
.footer-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.content-grid,
.contact-grid {
  align-items: start;
}

.latest-card,
.content-panel,
.testimonial-card,
.process-card,
.faq-item,
.timeline-item {
  border-radius: var(--radius-lg);
  background: var(--surface-elevated);
}

.latest-card {
  grid-column: span 4;
  padding: 24px;
}

.latest-media {
  display: block;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--video-frame-bg);
}

.latest-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 220ms ease;
}

.latest-media:hover .latest-thumb,
.latest-media:focus-visible .latest-thumb {
  transform: scale(1.03);
}

.latest-card h3 {
  margin-top: 12px;
  font-size: 1.4rem;
  line-height: 1.1;
}

.latest-grid.latest-carousel {
  grid-template-columns: 1fr;
  gap: 0;
}

.latest-carousel-shell {
  position: relative;
  width: min(100%, 1120px);
  margin-inline: auto;
  --carousel-side-shift: clamp(220px, 24vw, 320px);
  --carousel-far-shift: clamp(340px, 36vw, 500px);
}

.latest-carousel-viewport {
  overflow: hidden;
  overflow-y: hidden;
  padding: 10px 34px 14px;
}

.latest-carousel-track {
  position: relative;
  width: 100%;
  min-height: 430px;
}

.latest-grid.latest-carousel .latest-card {
  position: absolute;
  top: 0;
  left: 50%;
  grid-column: auto;
  width: min(78%, 840px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 12%, rgba(var(--accent-rgb), 0.12), transparent 36%),
    linear-gradient(168deg, rgba(17, 26, 39, 0.96), rgba(11, 18, 28, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 880ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 640ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 640ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center center;
  opacity: 0;
  transform: translateX(-50%) translateY(10px) scale(0.9);
  filter: saturate(0.82) brightness(0.88);
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.latest-grid.latest-carousel .latest-card.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  filter: none;
  pointer-events: auto;
  z-index: 3;
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.34);
}

.latest-grid.latest-carousel .latest-card.is-prev {
  opacity: 0.36;
  transform: translateX(calc(-50% - var(--carousel-side-shift, 220px))) translateY(6px) scale(0.87);
  filter: saturate(0.7) brightness(0.76);
  z-index: 2;
}

.latest-grid.latest-carousel .latest-card.is-next {
  opacity: 0.36;
  transform: translateX(calc(-50% + var(--carousel-side-shift, 220px))) translateY(6px) scale(0.87);
  filter: saturate(0.7) brightness(0.76);
  z-index: 2;
}

.latest-grid.latest-carousel .latest-card.is-hidden-left {
  opacity: 0;
  transform: translateX(calc(-50% - var(--carousel-far-shift, 360px))) translateY(12px) scale(0.82);
}

.latest-grid.latest-carousel .latest-card.is-hidden-right {
  opacity: 0;
  transform: translateX(calc(-50% + var(--carousel-far-shift, 360px))) translateY(12px) scale(0.82);
}

:root[data-theme="light"] .latest-grid.latest-carousel .latest-card {
  background:
    radial-gradient(circle at 12% 12%, rgba(var(--accent-rgb), 0.14), transparent 34%),
    linear-gradient(168deg, rgba(255, 251, 244, 0.98), rgba(248, 241, 232, 0.96));
  border-color: rgba(54, 38, 21, 0.16);
}

.latest-card-client {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.latest-grid.latest-carousel .latest-media {
  margin-top: 0;
  position: relative;
  display: block;
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: #04070d;
}

.latest-grid.latest-carousel .latest-thumb {
  transition: transform 760ms cubic-bezier(0.19, 1, 0.22, 1);
}

.latest-grid.latest-carousel .latest-card.is-active .latest-thumb {
  transform: scale(1.015);
}

.latest-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 13, 0.06) 0%, rgba(4, 7, 13, 0.62) 100%),
    linear-gradient(110deg, rgba(var(--accent-rgb), 0.16), transparent 42%);
  pointer-events: none;
  transition: opacity 260ms ease;
}

.latest-grid.latest-carousel .latest-card.is-active .latest-media-overlay {
  opacity: 0.32;
}

.latest-grid.latest-carousel .latest-card.is-prev .latest-media-overlay,
.latest-grid.latest-carousel .latest-card.is-next .latest-media-overlay {
  opacity: 0.68;
}

.latest-play-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 12, 20, 0.56);
  color: #fff3cf;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.latest-play-badge svg {
  width: 18px;
  height: 18px;
}

.latest-card-meta {
  display: grid;
  gap: 8px;
  padding: 2px 4px 4px;
  min-width: 0;
}

.latest-grid.latest-carousel .latest-card h3 {
  margin-top: 0;
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
  line-height: 1.32;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.32em);
}

.latest-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #121c2b;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.94);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.latest-carousel-shell.is-scrollable .latest-carousel-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.latest-carousel-btn.is-prev {
  left: 10px;
}

.latest-carousel-btn.is-next {
  right: 10px;
}

.latest-carousel-btn svg {
  width: 20px;
  height: 20px;
}

.latest-carousel-btn:hover,
.latest-carousel-btn:focus-visible {
  background: rgba(var(--accent-rgb), 0.88);
  border-color: transparent;
  color: #28150c;
}

.latest-carousel-btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: translateY(-50%) scale(0.96);
}

:root[data-theme="light"] .latest-carousel-btn {
  background: #fffaf3;
  color: #24160e;
  border-color: var(--line);
}

:root[data-theme="light"] .latest-carousel-btn:hover,
:root[data-theme="light"] .latest-carousel-btn:focus-visible {
  background: rgba(var(--accent-rgb), 0.92);
  color: #2e1b07;
}

.latest-empty {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--empty-bg);
}

.latest-empty h3 {
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: 1.35rem;
}

.latest-empty p {
  margin: 10px 0 0;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
}

.card-link-inline {
  margin-top: 0;
}

.card-link-icon {
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-pill);
}

.card-link-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.small-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-pill);
  color: var(--pill-text);
  font-size: 0.72rem;
  font-weight: 800;
}

.about-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.about-highlight .content-panel {
  grid-column: 1 / -1;
}

.about-highlight-card {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(var(--accent-rgb), 0.16), transparent 32%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.about-inline-photo {
  width: 100%;
  max-width: 220px;
  min-height: 220px;
  margin: 0;
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface-subtle);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.about-inline-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-highlight-copy {
  display: grid;
  gap: 12px;
}

.about-highlight-copy > * {
  margin: 0;
}

.about-highlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.portrait-card {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-soft-rgb), 0.08));
  display: grid;
  place-items: center;
  min-height: 100%;
  overflow: hidden;
}

.portrait-card span {
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(4rem, 10vw, 7rem);
  letter-spacing: -0.05em;
}

.portrait-photo {
  padding: 0;
}

.portrait-photo img,
.contact-photo,
.cv-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.content-panel {
  grid-column: span 6;
  padding: 28px;
}

.content-panel-wide {
  grid-column: 1 / -1;
}

.content-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.project-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 24px;
  align-items: end;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(var(--accent-rgb), 0.24),
    0 0 40px rgba(var(--accent-rgb), 0.2);
  color: #000814;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.52), transparent 18%),
    radial-gradient(circle at 86% 24%, rgba(255, 255, 255, 0.16), transparent 22%),
    radial-gradient(circle at 82% 78%, rgba(9, 16, 25, 0.08), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f2f2f2 40%, #e5e5e5 72%, #cfcfcf 100%);
}

.project-cta::after {
  content: "";
  position: absolute;
  inset: auto -60px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(9, 16, 25, 0.16);
  filter: blur(12px);
}

.project-cta > * {
  position: relative;
  z-index: 1;
}

.project-cta-kicker {
  margin: 0 0 10px;
  color: rgba(33, 20, 11, 0.68);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-cta h2 {
  margin: 0;
  max-width: 12ch;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.94;
}

.project-cta p {
  max-width: 56ch;
  margin: 14px 0 0;
  color: rgba(33, 20, 11, 0.8);
  font-size: 1rem;
  line-height: 1.7;
}

.project-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 260px;
}

.project-cta-button,
.project-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.project-cta-button {
  background: #091019;
  color: #f7f3ec;
  box-shadow: 0 16px 32px rgba(9, 16, 25, 0.22);
}

.project-cta-link {
  border: 1px solid rgba(33, 20, 11, 0.18);
  background: rgba(255, 249, 214, 0.34);
  color: #21140b;
}

.project-cta-button:hover,
.project-cta-link:hover {
  transform: translateY(-2px);
}

.testimonial-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 8px;
  right: 14px;
  color: rgba(var(--accent-rgb), 0.2);
  font-family: "PPAgrandir", sans-serif;
  font-size: 4.1rem;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card h3 {
  margin-top: 12px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.testimonial-card blockquote {
  margin: 16px 0 0;
  padding: 0;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.testimonial-logo {
  width: 46px;
  height: 46px;
  aspect-ratio: 1 / 1;
  padding: 3px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
}

.testimonial-logo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.testimonial-client-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.testimonial-client-copy h3 {
  margin: 0;
}

.testimonials-section {
  grid-column: 1 / -1;
  align-self: stretch;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 24px;
  border-radius: 0;
  min-width: 0;
  overflow-x: hidden;
}

.testimonials-shell {
  width: var(--site-shell-width);
  margin: 0 auto;
  padding: 28px 0;
}

.testimonials-marquee {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-width: 0;
  box-sizing: border-box;
  contain: layout paint;
  margin-top: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  mask-image: none;
}

.testimonials-track {
  display: flex;
  gap: 18px;
  width: max-content;
  min-width: 0;
}

.testimonials-marquee .testimonial-card {
  flex: 0 0 clamp(290px, 34vw, 420px);
  width: clamp(290px, 34vw, 420px);
  scroll-snap-align: start;
}

.testimonials-marquee.is-auto {
  overflow: hidden;
  scroll-snap-type: none;
  mask-image: none;
}

.testimonials-marquee.is-auto .testimonials-track {
  will-change: transform;
}

.testimonial-author {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.84;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 24px 26px;
  border-radius: 28px;
  background: var(--panel);
}

.toolbar h1,
.toolbar h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.04;
}

.filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-start;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.42);
}

.filter-chip.is-active {
  color: #26150d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
}

.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  font-size: 0.72rem;
  font-weight: 800;
}

.results-copy {
  margin: -8px 4px 0;
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.video-card {
  grid-column: span 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-elevated);
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 200ms ease;
  transition-delay: var(--delay, 0ms), var(--delay, 0ms), var(--delay, 0ms), 0ms;
}

.video-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.video-card:hover {
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.42);
}

.video-card::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--card-color, var(--accent)), var(--card-color-soft, var(--accent-soft)));
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--video-frame-bg);
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-frame video {
  object-fit: cover;
  background: #02050b;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(2, 5, 11, 0.44));
  pointer-events: none;
}

.video-preview-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 20, 0.58);
  color: #f7f3ec;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.video-preview-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.video-preview-play {
  position: absolute;
  inset: auto 18px 18px auto;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(8, 12, 20, 0.68);
  color: #f7f3ec;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.video-preview-play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  display: block;
}

.video-card:hover .video-preview-play,
.video-preview-link:focus-visible .video-preview-play {
  transform: scale(1.04);
  background: rgba(var(--accent-rgb), 0.9);
  color: #28150c;
}

.video-placeholder {
  min-height: 320px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-soft-rgb), 0.08));
}

.video-placeholder strong {
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 0.98;
}

.video-placeholder p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.card-body {
  padding: 20px 20px 24px;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.card-type {
  color: var(--meta-accent);
  font-size: 0.73rem;
  font-weight: 800;
}

.card-runtime {
  color: var(--muted);
  font-size: 0.92rem;
}

.card-title {
  font-size: 1.48rem;
  line-height: 1.08;
}

.card-description {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.card-footer,
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.client-pill,
.tag,
.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-pill);
  color: var(--tag-text);
  font-size: 0.82rem;
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
  text-align: center;
}

.contact-link {
  min-height: 44px;
}

.client-pill {
  color: var(--client-pill-text);
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offer-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(var(--accent-rgb), 0.34);
  background:
    radial-gradient(circle at 10% -8%, rgba(var(--accent-soft-rgb), 0.26), transparent 42%),
    radial-gradient(circle at 90% 14%, rgba(var(--accent-rgb), 0.18), transparent 34%),
    linear-gradient(165deg, rgba(15, 23, 35, 0.96), rgba(9, 15, 23, 0.94));
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(var(--accent-rgb), 0.2),
    0 0 58px rgba(var(--accent-rgb), 0.18);
}

.offer-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.9), transparent);
  opacity: 0.9;
}

.offer-section::after {
  content: "";
  position: absolute;
  inset: auto -120px -130px auto;
  width: min(360px, 40vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.3), transparent 68%);
  filter: blur(4px);
  pointer-events: none;
}

.offer-section > * {
  position: relative;
  z-index: 1;
}

:root[data-theme="light"] .offer-section {
  border-color: rgba(var(--accent-rgb), 0.44);
  background:
    radial-gradient(circle at 10% -8%, rgba(var(--accent-soft-rgb), 0.24), transparent 42%),
    radial-gradient(circle at 90% 14%, rgba(var(--accent-rgb), 0.16), transparent 34%),
    linear-gradient(165deg, rgba(255, 251, 244, 0.98), rgba(249, 241, 230, 0.96));
  box-shadow:
    0 24px 68px rgba(118, 86, 61, 0.15),
    0 0 0 1px rgba(var(--accent-rgb), 0.24),
    0 0 42px rgba(var(--accent-rgb), 0.14);
}

.offer-section .section-head {
  align-items: flex-start;
  gap: 24px;
}

.offer-section .section-label {
  margin-bottom: 12px;
  color: #fff1b6;
}

:root[data-theme="light"] .offer-section .section-label {
  color: #735707;
}

.offer-section .section-head h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 0.98;
}

.offer-section .inline-link {
  align-self: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.44);
  background: rgba(8, 12, 20, 0.48);
  color: #fff2ba;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

:root[data-theme="light"] .offer-section .inline-link {
  background: rgba(255, 252, 248, 0.78);
  color: #5f4707;
  box-shadow: 0 12px 26px rgba(118, 86, 61, 0.12);
}

.offer-section .inline-link:hover,
.offer-section .inline-link:focus-visible {
  transform: translateY(-1px);
  border-color: transparent;
  background: rgba(var(--accent-rgb), 0.92);
  color: #28150c;
}

.offer-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 6px;
}

.offer-section .offer-pill-row .tag {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-color: rgba(var(--accent-rgb), 0.32);
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-soft-rgb), 0.1)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

:root[data-theme="light"] .offer-section .offer-pill-row .tag {
  border-color: rgba(var(--accent-rgb), 0.34);
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent-soft-rgb), 0.1)),
    rgba(255, 255, 255, 0.56);
  color: #3a2a1f;
}

.offer-intro {
  margin: 14px 0 0;
  max-width: 60ch;
  padding: 10px 14px;
  border-left: 2px solid rgba(var(--accent-rgb), 0.7);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0));
  color: rgba(247, 243, 236, 0.86);
  line-height: 1.74;
}

:root[data-theme="light"] .offer-intro {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent-rgb), 0.04));
  color: rgba(45, 30, 19, 0.76);
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
  align-items: stretch;
}

.offer-section .process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 250px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, rgba(var(--accent-soft-rgb), 0.22), transparent 30%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    linear-gradient(165deg, rgba(18, 27, 41, 0.95), rgba(10, 16, 26, 0.95));
  backdrop-filter: blur(10px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(var(--accent-rgb), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    box-shadow 320ms ease,
    background 320ms ease;
  animation: offer-card-breathe 9s ease-in-out infinite;
}

:root[data-theme="light"] .offer-section .process-card {
  background:
    radial-gradient(circle at 12% 10%, rgba(var(--accent-soft-rgb), 0.22), transparent 30%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.66)),
    linear-gradient(165deg, rgba(252, 244, 232, 0.94), rgba(247, 236, 220, 0.92));
  box-shadow:
    0 18px 40px rgba(118, 86, 61, 0.14),
    0 0 0 1px rgba(var(--accent-rgb), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.offer-section .process-card::before {
  content: "";
  position: absolute;
  inset: -28% auto -28% -42%;
  width: 42%;
  transform: translateX(-130%) rotate(16deg);
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0.5;
  pointer-events: none;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.offer-section .process-card:hover,
.offer-section .process-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), 0.56);
  box-shadow:
    0 30px 64px rgba(0, 0, 0, 0.34),
    0 0 38px rgba(var(--accent-rgb), 0.18);
}

.offer-section .process-card:hover::before,
.offer-section .process-card:focus-within::before {
  transform: translateX(350%) rotate(16deg);
  opacity: 0.9;
}

.offer-section .process-card:nth-child(2) {
  animation-delay: 0.22s;
}

.offer-section .process-card:nth-child(3) {
  animation-delay: 0.44s;
}

.offer-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--accent-rgb), 0.38);
  background:
    linear-gradient(145deg, rgba(var(--accent-soft-rgb), 0.95), rgba(var(--accent-rgb), 0.76)),
    rgba(255, 255, 255, 0.2);
  box-shadow:
    0 14px 28px rgba(var(--accent-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  overflow: hidden;
  color: #22170f;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
  animation: offer-icon-glow 4.8s ease-in-out infinite;
}

.offer-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.24);
  pointer-events: none;
}

.offer-icon::after {
  content: "";
  position: absolute;
  inset: -65% auto auto -25%;
  width: 50%;
  height: 220%;
  transform: rotate(18deg);
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
}

.offer-icon svg {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  display: block;
}

.offer-section .process-card:hover .offer-icon {
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow:
    0 18px 34px rgba(var(--accent-rgb), 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.offer-section .process-card h3 {
  margin: 2px 0 0;
  max-width: 14ch;
  color: #fff3c4;
  font-size: clamp(1.45rem, 2.2vw, 1.7rem);
  line-height: 1.04;
}

:root[data-theme="light"] .offer-section .process-card h3 {
  color: #3a2a1f;
}

.offer-section .process-card p {
  margin: 0;
  margin-top: auto;
  max-width: 30ch;
  font-size: 0.98rem;
  color: rgba(247, 243, 236, 0.88);
  line-height: 1.72;
}

:root[data-theme="light"] .offer-section .process-card p {
  color: rgba(45, 30, 19, 0.84);
}

@keyframes offer-card-breathe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes offer-icon-glow {
  0%,
  100% {
    box-shadow:
      0 14px 28px rgba(var(--accent-rgb), 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.52);
  }

  50% {
    box-shadow:
      0 18px 34px rgba(var(--accent-rgb), 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.62);
  }
}

.offer-actions {
  margin-top: 24px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(var(--accent-rgb), 0.2);
}

.offer-actions .button-primary {
  min-height: 54px;
  padding: 0 24px;
  box-shadow: 0 16px 34px rgba(var(--accent-rgb), 0.22);
}

.offer-actions .button-secondary {
  min-height: 54px;
  padding: 0 22px;
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(255, 255, 255, 0.04);
}

:root[data-theme="light"] .offer-actions .button-secondary {
  background: rgba(255, 255, 255, 0.65);
}

.process-card {
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #26150d;
  font-weight: 800;
  font-size: 0.8rem;
}

.process-card h3,
.faq-item h3,
.timeline-item h3 {
  margin-top: 16px;
  font-size: 1.25rem;
  line-height: 1.15;
}

.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item,
.timeline-item {
  padding: 24px;
}

.home-faq {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  background:
    radial-gradient(circle at 10% -14%, rgba(var(--accent-rgb), 0.2), transparent 36%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    var(--surface-elevated);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-theme="light"] .home-faq {
  border-color: rgba(var(--accent-rgb), 0.32);
  box-shadow:
    0 24px 70px rgba(118, 86, 61, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.home-faq::after {
  content: "";
  position: absolute;
  inset: auto -8% -52% auto;
  width: min(460px, 48vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-soft-rgb), 0.2), transparent 66%);
  pointer-events: none;
}

.home-faq::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.85), transparent);
  opacity: 0.8;
}

.home-faq-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.home-faq-intro .section-label {
  margin-bottom: 10px;
}

.home-faq-lead {
  margin: 12px 0 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.72;
}

.home-faq-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.42);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--label-soft);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.home-faq-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.7);
  background: rgba(var(--accent-rgb), 0.24);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.home-faq .faq-list {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  align-items: start;
}

.home-faq .faq-list {
  margin-top: 6px;
  gap: 14px;
}

.home-faq-item {
  position: relative;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.14);
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease,
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background 320ms ease;
  padding: 0;
}

.home-faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 34px rgba(0, 0, 0, 0.24);
}

.home-faq-item.is-open {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(168deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 44px rgba(0, 0, 0, 0.26);
}

.faq-question {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  transition: background 320ms ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question-title {
  font-family: "PPAgrandir", sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  font-size: 1.1rem;
  transition: color 300ms ease, letter-spacing 300ms ease;
}

.faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background 280ms ease,
    border-color 280ms ease,
    box-shadow 320ms ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.8px;
  border-radius: 999px;
  background: var(--label-soft);
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.home-faq-item.is-open .faq-toggle {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.home-faq-item.is-open .faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.35);
}

.home-faq-item.is-open .faq-question {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 90%);
}

.home-faq-item.is-open .faq-question-title {
  color: var(--label);
  letter-spacing: 0.01em;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  will-change: max-height, opacity;
  transition:
    max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    padding 220ms ease;
  padding: 0 24px;
}

.faq-answer > * {
  margin: 0;
}

.home-faq-item.is-open .faq-answer {
  opacity: 1;
  padding: 0 24px 30px;
}

.faq-answer[aria-hidden="true"] {
  pointer-events: none;
}

.faq-answer p {
  margin: 0;
}

.faq-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
}

.timeline-vertical {
  position: relative;
  grid-template-columns: 1fr;
  gap: 26px;
  --timeline-progress: 0px;
  --timeline-content-offset: 84px;
  --timeline-axis-x: 32px;
  padding-left: var(--timeline-content-offset);
}

.timeline-vertical::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: calc(var(--timeline-axis-x) - 1px);
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), 0.18) 48%, var(--accent-soft));
  opacity: 0.92;
}

.timeline-vertical::after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(var(--timeline-axis-x) - 1px);
  width: 2px;
  height: var(--timeline-progress);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.34);
  opacity: 0.98;
  transition: height 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item {
  position: relative;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.timeline-vertical .timeline-item {
  padding: 22px 24px 24px;
  opacity: 0;
  transform: translateY(18px);
  animation: timeline-step-in 680ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.timeline-vertical .timeline-item:nth-child(2) {
  animation-delay: 120ms;
}

.timeline-vertical .timeline-item:nth-child(3) {
  animation-delay: 220ms;
}

.timeline-marker {
  position: absolute;
  top: 28px;
  --timeline-marker-size: 18px;
  left: calc(var(--timeline-axis-x) - var(--timeline-content-offset) - (var(--timeline-marker-size) / 2));
  width: var(--timeline-marker-size);
  height: var(--timeline-marker-size);
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.38);
  border: 0;
  box-shadow:
    0 0 0 5px rgba(var(--accent-rgb), 0.08),
    0 2px 8px rgba(0, 0, 0, 0.2);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    opacity 220ms ease;
  opacity: 0.72;
}

.timeline-item.is-past .timeline-marker {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0.12);
  opacity: 1;
}

.timeline-item.is-active {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.38);
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-soft-rgb), 0.02)),
    var(--surface-subtle);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.timeline-item.is-active .timeline-marker {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow:
    0 0 0 8px rgba(var(--accent-rgb), 0.18),
    0 0 24px rgba(var(--accent-rgb), 0.42);
  opacity: 1;
  animation: timeline-marker-blink 1.8s ease-in-out infinite;
}

.timeline-date {
  display: block;
  color: var(--meta-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-location {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

@keyframes timeline-step-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes timeline-marker-blink {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 8px rgba(var(--accent-rgb), 0.18),
      0 0 22px rgba(var(--accent-rgb), 0.3);
  }

  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 0 10px rgba(var(--accent-rgb), 0.24),
      0 0 30px rgba(var(--accent-rgb), 0.5);
  }
}

.contact-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.contact-page-stack {
  margin-top: clamp(18px, 3vw, 34px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
  gap: 20px;
  align-items: start;
}

.contact-info-column {
  display: grid;
  gap: 20px;
}

.contact-form-section {
  align-self: start;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.4vw, 24px);
}

.contact-form-section .section-head {
  align-items: start;
  margin-bottom: 14px;
}

.contact-form-section .section-head h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.contact-panel-title {
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.contact-profile-panel {
  display: grid;
  justify-items: start;
}

.contact-profile-panel .profile-media {
  width: min(210px, 100%);
  margin: 16px 0 14px;
}

.contact-profile-panel h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
}

.contact-profile-panel .availability-pill {
  margin-top: 8px;
}

.contact-list--icons {
  margin-top: 16px;
}

.contact-icon-link {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  justify-content: center;
  padding: 0;
}

.contact-icon-link svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-layout .availability-grid {
  gap: 8px;
  margin-top: 14px;
}

.contact-layout .availability-item {
  padding: 10px 12px;
  border-radius: 12px;
}

.contact-layout .contact-form-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  padding: clamp(16px, 2vw, 18px);
  border-radius: 18px;
}

.contact-layout .contact-form {
  flex: 1;
  gap: 12px;
}

.contact-layout .form-grid {
  gap: 10px 12px;
}

.contact-layout .form-field {
  gap: 6px;
}

.contact-layout .form-field span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.contact-layout .form-input {
  min-height: 44px;
  padding-inline: 12px;
  border-radius: 12px;
}

.contact-layout .form-textarea {
  min-height: 108px;
  padding: 12px;
}

.contact-layout .form-hint,
.contact-layout .contact-form-note {
  display: none;
}

.contact-layout .contact-form-actions {
  gap: 10px;
}

@media (max-width: 760px) {
  .contact-info-column {
    grid-template-columns: 1fr;
  }

  .contact-profile-panel .profile-media {
    width: min(190px, 100%);
  }

  .contact-list--icons {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .contact-list--icons .contact-icon-link {
    width: 46px;
    min-width: 46px;
    justify-content: center;
  }
}

.intro-grid .cv-panel,
.contact-grid .profile-panel {
  grid-column: span 5;
}

.intro-grid .bio-panel,
.contact-grid .availability-panel {
  grid-column: span 7;
}

.profile-panel {
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--accent-rgb), 0.14), transparent 34%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.cv-media,
.profile-media {
  margin: 18px 0 22px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-subtle);
}

.cv-media {
  aspect-ratio: 0.78 / 1;
}

.profile-media {
  max-width: 260px;
  aspect-ratio: 1 / 1;
}

.profile-panel .profile-media {
  margin: 16px 0 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.profile-panel .contact-list {
  margin-top: 16px;
  gap: 12px;
}

.profile-panel .contact-link {
  min-height: 44px;
  padding: 0 14px;
  background: var(--surface-subtle);
}

.availability-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.availability-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
}

.availability-item span {
  color: var(--muted);
}

.contact-embed {
  margin-top: 20px;
  overflow: hidden;
  min-height: 720px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface-subtle-2);
}

.contact-embed iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
}

.contact-form-shell {
  margin-top: 20px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--surface-subtle-2);
}

.contact-alt-card {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  background:
    radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.14), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.contact-alt-card h3 {
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.contact-alt-lead {
  margin: 0;
  max-width: 58ch;
  color: var(--text);
  line-height: 1.8;
}

.contact-alt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.contact-alt-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 10px;
  line-height: 1.7;
}

.form-feedback {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  font-weight: 700;
  line-height: 1.6;
}

.form-feedback:focus {
  outline: none;
}

.form-feedback.is-success {
  color: #1f4a16;
  background: rgba(202, 255, 166, 0.28);
  border-color: rgba(144, 201, 77, 0.42);
}

.form-feedback.is-warning {
  color: #6a5204;
  background: rgba(var(--accent-soft-rgb), 0.26);
  border-color: rgba(var(--accent-rgb), 0.4);
}

.form-feedback.is-error {
  color: #7d241d;
  background: rgba(255, 153, 145, 0.2);
  border-color: rgba(214, 83, 74, 0.34);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field span {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--meta-accent);
}

.form-field--full {
  grid-column: 1 / -1;
}

.cv-note {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  color: var(--text);
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.form-input::placeholder {
  color: var(--muted);
}

.form-hint,
.form-error {
  display: block;
  font-size: 0.86rem;
  line-height: 1.5;
}

.form-hint {
  color: var(--muted);
}

.form-error {
  color: #ffb4ac;
  font-weight: 700;
}

:root[data-theme="light"] .form-error {
  color: #8f1f17;
}

.form-error:empty {
  display: none;
}

.form-input:hover,
.form-input:focus-visible {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.48);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
}

.form-field.is-invalid .form-input {
  border-color: rgba(255, 114, 104, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 114, 104, 0.14);
}

.form-textarea {
  min-height: 180px;
  padding: 16px;
  resize: vertical;
}

.turnstile-wrap {
  display: flex;
  align-items: center;
  min-height: 74px;
}

.turnstile-wrap .cf-turnstile {
  max-width: 100%;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-form-note {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.7;
}

.contact-form .button-primary[disabled] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.legal-simple {
  padding-block: clamp(28px, 5vw, 58px);
}

.legal-simple__content {
  max-width: 860px;
  margin-inline: auto;
}

.legal-simple__content h1,
.legal-simple__content h2 {
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  line-height: 1.08;
}

.legal-simple__content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.legal-simple__content h2 {
  margin-top: 34px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.legal-simple__content p,
.legal-simple__content li {
  color: var(--muted);
  line-height: 1.78;
}

.legal-simple__content p {
  margin: 14px 0 0;
}

.legal-simple__content ul {
  margin: 14px 0 0;
  padding-left: 1.25rem;
}

.page-shell,
.page-stack,
.content-grid,
.contact-grid,
.hero-home,
.project-cta,
.toolbar,
.section-head,
.content-panel,
.video-card,
.latest-card,
.testimonial-card,
.process-card,
.faq-item,
.timeline-item {
  min-width: 0;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.cta-copy {
  margin: 6px 0 0;
  max-width: 60ch;
}

.site-footer {
  margin-top: 24px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  padding-inline: max(22px, calc((100vw - var(--site-shell-width)) / 2 + 28px));
}

.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-column h3 {
  margin: 0 0 14px;
  font-family: "PPAgrandir", sans-serif;
  font-size: 1.1rem;
}

.footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-column p,
.footer-column a {
  margin: 0;
  color: var(--muted);
}

.footer-icon-link,
.footer-info-row {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.footer-icon-link {
  width: fit-content;
}

.footer-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-icon-link:hover .footer-icon,
.footer-icon-link:focus-visible .footer-icon {
  color: var(--link-accent);
  transform: translateY(-1px);
}

.footer-copy {
  margin: 24px 0 0;
  color: var(--muted);
  text-align: center;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--empty-bg);
  text-align: center;
}

.empty-state h3 {
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: 1.7rem;
}

.empty-state p {
  margin: 12px auto 0;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.7;
}

.error-panel {
  display: grid;
  justify-items: start;
  gap: 18px;
  min-height: min(72vh, 760px);
  align-content: center;
  padding: clamp(28px, 5vw, 54px);
}

.error-kicker {
  margin: 0;
  color: var(--label-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.error-code {
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(4.2rem, 15vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: rgba(var(--accent-rgb), 0.92);
}

.error-panel h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
}

.error-lead {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.8;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 1040px) {
  .hero-home,
  .about-highlight,
  .project-cta,
  .cta-band,
  .toolbar,
  .section-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .about-highlight-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-inline-photo {
    max-width: 200px;
    min-height: 200px;
    margin: 0 auto;
  }

  .latest-card,
  .content-panel,
  .process-card,
  .faq-item,
  .timeline-item {
    grid-column: 1 / -1;
  }

  .video-grid {
    gap: 16px;
  }

  .skills-band__list li {
    font-size: 0.79rem;
  }

  .home-faq-top {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .home-faq-cta {
    justify-self: start;
  }

  .home-faq .faq-list {
    gap: 12px;
  }

  .faq-question {
    padding: 18px;
  }

  .home-faq-item.is-open .faq-answer {
    padding: 0 18px 24px;
  }

  .latest-carousel-shell {
    width: min(100%, 980px);
    --carousel-side-shift: clamp(170px, 23vw, 250px);
    --carousel-far-shift: clamp(260px, 35vw, 360px);
  }

  .latest-carousel-viewport {
    padding-inline: 20px;
  }

  .latest-grid.latest-carousel .latest-card {
    width: min(84%, 720px);
    padding: 12px;
    border-radius: 20px;
  }

  .latest-carousel-btn.is-prev {
    left: 6px;
  }

  .latest-carousel-btn.is-next {
    right: 6px;
  }

  .video-card {
    grid-column: span 6;
  }

  .process-grid,
  .faq-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .offer-section .section-head {
    align-items: flex-start;
  }

  .offer-section .section-head h2 {
    max-width: none;
  }

  .offer-section .inline-link {
    align-self: flex-start;
  }

  .offer-intro {
    max-width: none;
  }

  .offer-section .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-section .process-card {
    min-height: 228px;
  }

  .testimonials-marquee {
    mask-image: none;
  }

  .testimonials-marquee .testimonial-card {
    width: min(84vw, 380px);
    min-width: min(84vw, 380px);
  }

  .site-footer {
    padding-inline: 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-column {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .intro-grid .cv-panel,
  .intro-grid .bio-panel,
  .contact-grid .profile-panel,
  .contact-grid .availability-panel {
    grid-column: 1 / -1;
  }

  .intro-grid .bio-panel {
    order: 1;
  }

  .intro-grid .cv-panel {
    order: 2;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .testimonials-shell {
    width: min(1180px, calc(100% - 20px));
  }

  .skills-band {
    margin-top: 10px;
    margin-bottom: 24px;
  }

  .about-inline-photo {
    max-width: 170px;
    min-height: 170px;
  }

  .faq-index {
    width: 38px;
    height: 38px;
    font-size: 0.68rem;
  }

  .faq-question {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }

  .faq-toggle {
    grid-column: 2;
    justify-self: end;
    margin-top: 2px;
  }

  .profile-panel .profile-media {
    max-width: 190px;
  }

  .skills-band__list {
    gap: 12px;
  }

  .skills-band__list li {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .skills-band__list li::after {
    margin-left: 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: var(--topbar-height, 84px);
  }

  .topbar-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    min-height: auto;
    padding: 16px;
  }

  .brand-mark {
    flex: 1 1 auto;
    min-width: 0;
  }

  .menu-toggle {
    display: none;
    margin-left: auto;
  }

  .menu {
    display: flex;
    width: 100%;
    order: 3;
    margin-left: 0;
    justify-content: flex-start;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .js .menu {
    display: none;
  }

  .js .topbar.is-menu-open .menu {
    display: flex;
  }

  .topbar.is-sticky .topbar-inner {
    top: 10px;
    width: calc(100vw - 20px);
    padding: 16px;
    border-radius: 20px;
  }

  .page-shell-stage {
    min-height: auto;
    padding-bottom: 24px;
  }

  .home-stage {
    min-height: 100dvh;
  }

  .video-grid {
    gap: 14px;
  }

  .video-card {
    grid-column: span 6;
  }

  .card-body {
    padding: 16px 16px 18px;
  }

  .card-topline {
    margin-bottom: 10px;
  }

  .card-title {
    font-size: 1.18rem;
  }

  .card-footer {
    gap: 4px;
    margin-top: 14px;
  }

  .video-preview-badge {
    top: 12px;
    left: 12px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.66rem;
  }

  .video-preview-play {
    right: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
  }

  .video-preview-play svg {
    width: 18px;
    height: 18px;
  }

  .site-footer {
    padding-inline: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-column {
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .footer-column:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .footer-column h3 {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .footer-column p,
  .footer-column a {
    line-height: 1.6;
  }

  .footer-column a,
  .contact-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-copy {
    margin-top: 18px;
    text-align: left;
  }

  .filter-row,
  .hero-actions,
  .contact-list,
  .contact-alt-actions,
  .error-actions,
  .project-cta-actions,
  .contact-form-actions {
    flex-direction: column;
  }

  .timeline-vertical {
    --timeline-content-offset: 56px;
    --timeline-axis-x: 22px;
  }

  .timeline-marker {
    --timeline-marker-size: 16px;
  }

  .menu-link,
  .theme-toggle,
  .filter-chip,
  .button-primary,
  .button-secondary,
  .contact-link,
  .project-cta-button,
  .project-cta-link {
    width: 100%;
    justify-content: space-between;
  }

  .contact-form-shell {
    padding: 18px;
  }

  .contact-form-note {
    max-width: none;
  }

  .availability-item {
    flex-direction: column;
    align-items: start;
  }

  .brand-mark span {
    display: none;
  }

  .brand-logo {
    height: 30px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .latest-carousel-shell {
    width: 100%;
    --carousel-side-shift: clamp(95px, 28vw, 145px);
    --carousel-far-shift: clamp(165px, 44vw, 245px);
  }

  .latest-grid.latest-carousel .latest-card {
    width: min(94%, 560px);
    padding: 10px;
    border-radius: 16px;
  }

  .latest-grid.latest-carousel .latest-card h3 {
    font-size: 0.98rem;
    line-height: 1.34;
    -webkit-line-clamp: 3;
    min-height: calc(3 * 1.34em);
  }

  .latest-grid.latest-carousel .latest-card.is-prev,
  .latest-grid.latest-carousel .latest-card.is-next {
    opacity: 0.28;
  }

  .latest-carousel-btn {
    width: 44px;
    height: 44px;
  }

  .latest-carousel-btn.is-prev {
    left: 4px;
  }

  .latest-carousel-btn.is-next {
    right: 4px;
  }

  .offer-section .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-section .process-card {
    padding: 22px;
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .site-footer {
    padding-inline: 14px;
  }

  .video-grid {
    gap: 12px;
  }

  .card-body {
    padding: 14px 14px 16px;
  }

  .topbar-inner,
  .topbar.is-sticky .topbar-inner,
  .hero,
  .section-block,
  .content-panel,
  .toolbar,
  .testimonial-card,
  .cta-band,
  .site-footer,
  .latest-card,
  .hero-badge-card,
  .portrait-card {
    padding: 22px;
  }

  .portrait-photo {
    padding: 0;
  }

  .hero-badge-photo {
    padding: 0;
  }

  .latest-carousel-shell {
    --carousel-side-shift: clamp(72px, 32vw, 108px);
    --carousel-far-shift: clamp(118px, 50vw, 176px);
  }

  .latest-carousel-viewport {
    padding-inline: 8px;
  }

  .latest-grid.latest-carousel .latest-card {
    width: min(98%, 500px);
    padding: 10px;
    border-radius: 16px;
  }

  .latest-grid.latest-carousel .latest-card.is-prev,
  .latest-grid.latest-carousel .latest-card.is-next {
    opacity: 0.2;
  }

  .latest-grid.latest-carousel .latest-card h3 {
    font-size: 0.96rem;
    line-height: 1.34;
    -webkit-line-clamp: 3;
    min-height: calc(3 * 1.34em);
  }

  .latest-carousel-btn {
    width: 44px;
    height: 44px;
  }

  .latest-play-badge {
    width: 38px;
    height: 38px;
  }
}

/* Ajuste uniquement la section "Mes derniers montages" en pleine largeur */
.section-block.section-latest-integrated .latest-carousel-track {
  min-height: 372px;
}

.section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card {
  width: min(68%, 700px);
}

@media (max-width: 1040px) {
  .section-block.section-latest-integrated .latest-carousel-track {
    min-height: 350px;
  }

  .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card {
    width: min(76%, 620px);
  }
}

@media (max-width: 760px) {
  .section-block.section-latest-integrated .latest-carousel-track {
    min-height: 324px;
  }

  .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card {
    width: min(86%, 500px);
  }
}

@media (max-width: 560px) {
  .section-block.section-latest-integrated .latest-carousel-track {
    min-height: 286px;
  }

.section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card {
  width: min(92%, 430px);
}
}

/* Responsive baseline (global) */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

.topbar,
.skills-band,
.testimonials-section,
.testimonials-marquee,
.section-block.section-latest-integrated,
.site-footer {
  box-sizing: border-box;
}

@media (max-width: 1040px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .section-block,
  .content-panel,
  .toolbar,
  .cta-band {
    padding: 24px;
    border-radius: 20px;
  }

  .hero-home,
  .home-page .hero-home,
  .about-highlight-card,
  .project-cta,
  .home-faq-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-aside,
  .project-cta-actions {
    min-width: 0;
  }

  .video-grid {
    gap: 16px;
  }

  .video-card {
    grid-column: span 6;
  }

  .testimonials-marquee .testimonial-card {
    width: min(82vw, 360px);
    min-width: min(82vw, 360px);
  }

  .contact-embed,
  .contact-embed iframe {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 16px, 1180px);
  }

  .topbar {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .topbar-inner,
  .topbar.is-sticky .topbar-inner {
    left: 0;
    transform: none;
    width: 100%;
    padding: 14px;
    border-radius: 16px;
  }

  .topbar.is-sticky .topbar-inner {
    top: 8px;
  }

  .hero,
  .section-block:not(.section-latest-integrated):not(.testimonials-section),
  .content-panel,
  .toolbar,
  .cta-band,
  .project-cta,
  .site-footer {
    padding: 18px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.3rem);
    line-height: 0.95;
  }

  .hero-copy {
    margin-top: 14px;
    font-size: 0.97rem;
    line-height: 1.65;
  }

  .section-head {
    gap: 12px;
  }

  .section-head h2,
  .toolbar h1,
  .toolbar h2 {
    max-width: none;
    font-size: clamp(1.35rem, 7vw, 1.9rem);
    line-height: 1.08;
  }

  .filter-row,
  .hero-actions,
  .offer-actions,
  .project-cta-actions,
  .contact-form-actions,
  .contact-list {
    flex-direction: column;
    align-items: stretch;
  }

  .button-primary,
  .button-secondary,
  .project-cta-button,
  .project-cta-link,
  .contact-link,
  .home-faq-cta,
  .inline-action {
    width: 100%;
    justify-content: center;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .video-card {
    grid-column: 1 / -1;
  }

  .about-inline-photo {
    max-width: 160px;
    min-height: 160px;
  }

  .timeline-vertical {
    --timeline-content-offset: 44px;
    --timeline-axis-x: 16px;
    gap: 18px;
  }

  .timeline-vertical .timeline-item {
    padding: 16px 16px 18px;
  }

  .timeline-marker {
    --timeline-marker-size: 14px;
    top: 22px;
  }

  .section-block.section-latest-integrated,
  .skills-band,
  .testimonials-section {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .section-block.section-latest-integrated {
    padding-inline: 0;
  }

  .section-block.section-latest-integrated .section-head,
  .section-block.section-latest-integrated .latest-carousel-shell,
  .testimonials-shell {
    width: min(100%, calc(100% - 16px));
    max-width: 100%;
    margin-inline: auto;
  }

  .section-block.section-latest-integrated .latest-carousel-track {
    min-height: 252px;
  }

  .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card {
    width: min(100%, 430px);
    padding: 8px;
    border-radius: 14px;
  }

  .latest-carousel-viewport {
    padding-inline: 6px;
  }

  .latest-carousel-btn {
    width: 44px;
    height: 44px;
  }

  .latest-play-badge {
    width: 34px;
    height: 34px;
  }

  .testimonials-marquee {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 14px;
    padding-inline: 8px;
    box-sizing: border-box;
  }

  .testimonials-marquee .testimonial-card {
    width: min(84vw, 320px);
    min-width: min(84vw, 320px);
    padding: 18px;
  }

  .site-footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    padding: 18px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-embed,
  .contact-embed iframe {
    min-height: 540px;
  }

  .contact-form-shell {
    padding: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-input {
    min-height: 50px;
  }

  .form-textarea {
    min-height: 150px;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: min(100% - 12px, 1180px);
  }

  .hero,
  .section-block:not(.section-latest-integrated):not(.testimonials-section),
  .content-panel,
  .toolbar,
  .cta-band,
  .project-cta,
  .site-footer {
    padding: 16px;
    border-radius: 16px;
  }

  .section-block.section-latest-integrated .section-head,
  .section-block.section-latest-integrated .latest-carousel-shell,
  .testimonials-shell {
    width: min(100%, calc(100% - 12px));
  }

  .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card {
    width: min(100%, 380px);
  }

  .testimonials-marquee .testimonial-card {
    width: min(88vw, 300px);
    min-width: min(88vw, 300px);
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .page-shell,
  .page-shell-stage {
    width: 100%;
    max-width: 100%;
    padding-inline: 8px;
  }

  .topbar {
    min-height: 78px;
  }

  .topbar-inner,
  .topbar.is-sticky .topbar-inner {
    left: 0;
    width: 100%;
    max-width: 100%;
    min-height: 76px;
    padding: 14px 16px;
    gap: 12px;
    flex-wrap: nowrap;
    overflow: visible;
    transform: none;
  }

  .brand-mark {
    flex: 0 1 auto;
    max-width: calc(100% - 72px);
  }

  .brand-logo {
    height: 32px;
  }

  .menu-toggle,
  .js .menu-toggle {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 60;
    display: inline-flex !important;
    flex: 0 0 48px;
    margin-left: 0;
  }

  .js .menu {
    position: fixed;
    top: 76px;
    left: 8px;
    right: 8px;
    width: auto;
    margin-left: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--topbar-bg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }

  .js .topbar.is-menu-open .menu {
    display: flex;
  }

  .hero,
  .content-panel,
  .toolbar,
  .section-block,
  .project-cta,
  .video-card,
  .latest-card {
    overflow-wrap: anywhere;
  }

  .home-page .hero,
  .hero-home {
    width: 100%;
    max-width: 100%;
  }

  .hero h1,
  .toolbar h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .content-panel h2,
  .section-head h2,
  .project-cta h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .home-page .hero {
    margin-top: clamp(34px, 6vh, 56px);
  }

  .button-primary,
  .button-secondary,
  .project-cta-button,
  .project-cta-link,
  .contact-link {
    justify-content: center;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-badge-photo {
    min-height: 176px;
    padding: 18px;
  }

  .hero-badge-card strong {
    max-width: 100%;
    font-size: clamp(1.65rem, 8vw, 2.2rem);
    overflow-wrap: anywhere;
  }

  .contact-link,
  .project-cta-link {
    min-height: 44px;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .page-shell {
    width: 100%;
    padding-inline: 6px;
  }

  .hero,
  .section-block:not(.section-latest-integrated):not(.testimonials-section),
  .content-panel,
  .toolbar,
  .project-cta {
    padding: 16px;
  }

  .hero h1,
  .toolbar h1 {
    font-size: clamp(1.8rem, 8.2vw, 2.35rem);
  }

  .hero-copy {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .button-primary,
  .button-secondary,
  .contact-link,
  .project-cta-button,
  .project-cta-link {
    padding-inline: 14px;
  }

  .hero-badge-card strong {
    font-size: clamp(1.5rem, 7.6vw, 1.9rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .has-scroll-reveal .scroll-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .video-card,
  .filter-chip,
  .menu-link,
  .menu-toggle,
  .menu-toggle__line,
  .topbar-inner,
  .theme-toggle,
  .home-stage-control,
  .button-primary,
  .button-secondary,
  .contact-link,
  .card-link,
  .back-to-top,
  .timeline-vertical .timeline-item,
  .timeline-marker,
  .availability-pill {
    transition: none;
  }

  .timeline-vertical::after {
    transition: none;
  }

  .page-loader {
    transition: none;
  }

  .page-loader__spinner {
    animation: none;
  }

  .home-faq-item,
  .latest-grid.latest-carousel .latest-card,
  .home-faq-cta,
  .faq-question,
  .faq-question-title,
  .faq-toggle,
  .latest-carousel-btn,
  .latest-carousel-track,
  .latest-carousel-viewport,
  .faq-answer,
  .faq-answer > * {
    transition: none;
  }

  .home-faq-item:hover {
    transform: none;
  }

  .skills-band__marquee {
    animation: none;
    transform: none;
  }

  .passion-list li {
    animation: none;
    transform: none;
  }

  .testimonials-marquee.is-auto .testimonials-track {
    transform: none !important;
  }

  .availability-pill__dot-ping {
    opacity: 0.5;
  }

  .availability-pill__dot-core {
    animation: none;
  }

  .video-card {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .timeline-vertical .timeline-item {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .timeline-item.is-active .timeline-marker {
    animation: none;
  }

  .offer-section .process-card,
  .offer-icon {
    transition: none;
    animation: none;
  }

  .offer-section .process-card::before,
  .offer-icon::after {
    transition: none;
  }

  .offer-section .process-card:hover,
  .offer-section .process-card:focus-within,
  .offer-section .process-card:hover .offer-icon {
    transform: none;
  }
}

/* Homepage recut */
.home-edit-page .home-recut-stage {
  min-height: auto;
  padding-bottom: clamp(28px, 4vw, 56px);
}

.home-edit-page .home-stage-overlay {
  background:
    linear-gradient(90deg, rgba(4, 7, 13, 0.88) 0%, rgba(4, 7, 13, 0.42) 52%, rgba(4, 7, 13, 0.82) 100%),
    linear-gradient(180deg, rgba(4, 7, 13, 0.28) 0%, rgba(4, 7, 13, 0.7) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 96px);
}

:root[data-theme="light"] .home-edit-page .home-stage-overlay {
  background:
    linear-gradient(90deg, rgba(248, 242, 234, 0.88) 0%, rgba(248, 242, 234, 0.48) 52%, rgba(248, 242, 234, 0.84) 100%),
    linear-gradient(180deg, rgba(248, 242, 234, 0.18) 0%, rgba(248, 242, 234, 0.74) 100%),
    repeating-linear-gradient(90deg, rgba(36, 22, 14, 0.055) 0 1px, transparent 1px 96px);
}

.home-edit-page .page-shell-stage {
  min-height: auto;
  padding-bottom: clamp(24px, 4vw, 52px);
}

.home-edit-page .topbar {
  margin-bottom: clamp(16px, 3vw, 34px);
}

.home-edit-page .hero.edit-hero,
.home-edit-page .home-page .hero.edit-hero {
  position: relative;
  overflow: hidden;
  width: min(1180px, 100%);
  margin-top: clamp(16px, 5vh, 62px);
  padding: clamp(24px, 4.8vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(10, 15, 23, 0.82), rgba(18, 27, 41, 0.58));
}

:root[data-theme="light"] .home-edit-page .hero.edit-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.34)),
    linear-gradient(145deg, rgba(255, 252, 248, 0.82), rgba(251, 244, 236, 0.62));
}

.home-edit-page .edit-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255, 255, 255, 0.045) 23px 24px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.18), transparent 38%);
  opacity: 0.52;
}

:root[data-theme="light"] .home-edit-page .edit-hero::before {
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(36, 22, 14, 0.04) 23px 24px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.16), transparent 38%);
}

.home-edit-page .edit-hero > * {
  position: relative;
  z-index: 1;
}

.home-edit-page .edit-hero.scroll-reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.home-edit-page .edit-hero__copy {
  justify-content: end;
  min-height: 0;
}

.home-edit-page .edit-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.9rem, 5.25vw, 5.25rem);
  line-height: 0.93;
  overflow-wrap: normal;
}

.home-edit-page .edit-hero .hero-copy {
  max-width: 62ch;
  color: var(--home-copy);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.edit-hero__formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.edit-hero__formats span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--tag-text);
  font-size: 0.82rem;
  font-weight: 700;
}

:root[data-theme="light"] .edit-hero__formats span {
  background: rgba(36, 22, 14, 0.045);
}

.edit-hero__deck {
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto auto;
  gap: 14px;
  align-self: stretch;
  min-width: 0;
}

.edit-monitor {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: var(--video-frame-bg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

:root[data-theme="light"] .edit-monitor {
  border-color: rgba(36, 22, 14, 0.14);
}

.edit-monitor__screen,
.edit-monitor__screen img {
  width: 100%;
  height: 100%;
}

.edit-monitor__screen {
  position: absolute;
  inset: 0;
}

.edit-monitor__screen img {
  display: block;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.05);
  transition: transform 700ms cubic-bezier(0.19, 1, 0.22, 1), filter 260ms ease;
}

.edit-hero__deck:hover .edit-monitor__screen img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.08);
}

.edit-monitor__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 13, 0.02), rgba(4, 7, 13, 0.62)),
    repeating-linear-gradient(0deg, transparent 0 11px, rgba(255, 255, 255, 0.035) 11px 12px);
}

.edit-monitor__timecode,
.edit-monitor__label {
  position: absolute;
  z-index: 1;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 7, 13, 0.58);
  color: #f7f3ec;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.edit-monitor__timecode {
  top: 16px;
  color: var(--accent-soft);
}

.edit-monitor__label {
  bottom: 16px;
}

.edit-timeline {
  position: relative;
  min-height: 132px;
  padding: 18px 14px 14px 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 52px);
}

:root[data-theme="light"] .edit-timeline {
  background:
    linear-gradient(180deg, rgba(36, 22, 14, 0.045), rgba(36, 22, 14, 0.02)),
    repeating-linear-gradient(90deg, rgba(36, 22, 14, 0.08) 0 1px, transparent 1px 52px);
}

.edit-timeline__head {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 22%;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.22), 0 0 24px rgba(var(--accent-rgb), 0.34);
  animation: edit-playhead 7s linear infinite;
}

.edit-timeline__head::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--accent);
}

.edit-timeline__track {
  display: block;
  height: 22px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.edit-timeline__clip,
.edit-timeline__wave {
  position: absolute;
  height: 22px;
  border-radius: 6px;
}

.edit-timeline__clip {
  top: 18px;
  background: rgba(var(--accent-rgb), 0.76);
}

.edit-timeline__clip--a {
  left: 34px;
  width: 28%;
}

.edit-timeline__clip--b {
  left: 39%;
  width: 24%;
  background: rgba(var(--accent-soft-rgb), 0.62);
}

.edit-timeline__clip--c {
  left: 67%;
  width: 21%;
}

.edit-timeline__wave {
  top: 74px;
  background:
    repeating-linear-gradient(90deg, rgba(var(--accent-rgb), 0.82) 0 3px, transparent 3px 8px),
    rgba(255, 255, 255, 0.045);
}

.edit-timeline__wave--a {
  left: 34px;
  width: 43%;
}

.edit-timeline__wave--b {
  left: 52%;
  width: 36%;
}

.edit-hero__signal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.edit-hero__signal div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

:root[data-theme="light"] .edit-hero__signal div {
  background: rgba(36, 22, 14, 0.045);
}

.edit-hero__signal dt {
  color: var(--label-color);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.edit-hero__signal dd {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

@keyframes edit-playhead {
  0% {
    left: 12%;
  }

  48% {
    left: 78%;
  }

  52% {
    left: 78%;
  }

  100% {
    left: 12%;
  }
}

.home-edit-shell {
  width: var(--site-shell-width);
}

.home-edit-stack {
  gap: clamp(28px, 5vw, 58px);
  margin-top: clamp(28px, 5vw, 58px);
}

.sequence-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(var(--accent-rgb), 0.9);
  color: #1c140e;
}

.sequence-strip__viewport {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: sequence-strip-scroll 32s linear infinite;
}

.sequence-strip__list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 12px 11px;
  list-style: none;
  white-space: nowrap;
}

.sequence-strip__list li {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sequence-strip__list li::after {
  content: "/";
  margin-left: 22px;
  opacity: 0.54;
}

@keyframes sequence-strip-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.editorial-intro {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 74px);
  padding-block: clamp(18px, 4vw, 42px);
  border-block: 1px solid var(--line);
}

.editorial-intro__label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--label-color);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-intro__copy h2,
.case-sequence-head h2,
.use-cases-section h2,
.method-section h2,
.profile-cut-section h2 {
  max-width: 18ch;
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 4.6rem);
  line-height: 0.96;
}

.editorial-intro__copy p,
.case-sequence__content p,
.use-case-row p,
.method-section__copy p,
.method-track p,
.profile-cut-section__copy p {
  color: var(--muted);
  line-height: 1.75;
}

.editorial-intro__copy p {
  max-width: 70ch;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.case-sequence-section {
  display: grid;
  gap: 22px;
}

.case-sequence-head {
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.case-sequence-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-sequence {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02)),
    var(--panel-soft);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

:root[data-theme="light"] .case-sequence {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28)),
    var(--panel-soft);
}

.case-sequence:hover,
.case-sequence:focus-within {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.42);
}

.case-sequence--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  grid-template-rows: auto;
}

.case-sequence__media {
  position: relative;
  display: block;
  min-height: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--video-frame-bg);
  color: var(--text);
  text-decoration: none;
}

.case-sequence--wide .case-sequence__media {
  aspect-ratio: auto;
  min-height: 420px;
}

.case-sequence__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 620ms cubic-bezier(0.19, 1, 0.22, 1), filter 240ms ease;
}

.case-sequence:hover .case-sequence__media img,
.case-sequence:focus-within .case-sequence__media img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.08);
}

.case-sequence__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 13, 0.02), rgba(4, 7, 13, 0.5)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 64px);
}

.case-sequence__play {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.94);
  color: #28150c;
  font-size: 0.82rem;
  font-weight: 900;
}

.case-sequence__content {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(18px, 3vw, 34px);
}

.case-sequence__meta {
  margin: 0;
  color: var(--label-color);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-sequence__content h3 {
  max-width: 18ch;
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 3.25rem);
  line-height: 0.98;
}

.case-sequence:not(.case-sequence--wide) .case-sequence__content h3 {
  font-size: clamp(1.35rem, 2.35vw, 2.2rem);
}

.case-sequence__content p {
  margin: 0;
}

.case-sequence__brief {
  display: grid;
  gap: 10px;
  margin: 0;
}

.case-sequence__brief div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.case-sequence__brief dt {
  color: var(--label-color);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-sequence__brief dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.use-cases-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.use-cases-section__heading {
  position: sticky;
  top: 110px;
}

.use-cases-section h2 {
  max-width: 12ch;
}

.use-case-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.use-case-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(120px, 0.22fr);
  gap: clamp(14px, 2.5vw, 32px);
  align-items: start;
  padding: clamp(20px, 3.2vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}

.use-case-row__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--label-color);
  font-size: 0.72rem;
  font-weight: 900;
}

.use-case-row h3 {
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.05;
}

.use-case-row p {
  max-width: 60ch;
  margin: 10px 0 0;
}

.use-case-row strong {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--tag-text);
  font-size: 0.78rem;
  text-align: center;
}

.use-case-row:hover .use-case-row__index,
.use-case-row:focus-within .use-case-row__index {
  border-color: rgba(var(--accent-rgb), 0.58);
  background: rgba(var(--accent-rgb), 0.12);
}

.method-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(24px, 4.5vw, 52px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.13), transparent 42%),
    var(--panel);
}

:root[data-theme="light"] .method-section {
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.13), transparent 42%),
    var(--panel);
}

.method-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 63px, rgba(255, 255, 255, 0.04) 63px 64px);
}

:root[data-theme="light"] .method-section::before {
  background: repeating-linear-gradient(90deg, transparent 0 63px, rgba(36, 22, 14, 0.045) 63px 64px);
}

.method-section > * {
  position: relative;
  z-index: 1;
}

.method-section__copy {
  align-self: center;
}

.method-section__copy p {
  margin: 18px 0 24px;
}

.method-track {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid rgba(var(--accent-rgb), 0.44);
}

.method-track li {
  position: relative;
  padding: 0 0 30px 28px;
}

.method-track li:last-child {
  padding-bottom: 0;
}

.method-track li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0.1);
}

.method-track span {
  color: var(--label-color);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.method-track h3 {
  margin: 8px 0 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(1.18rem, 1.8vw, 1.6rem);
}

.method-track p {
  margin: 8px 0 0;
}

.profile-cut-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 66px);
  align-items: center;
  padding-block: clamp(16px, 3vw, 36px);
}

.profile-cut-section__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
}

.profile-cut-section__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(4, 7, 13, 0.42)),
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(255, 255, 255, 0.04) 17px 18px);
}

.profile-cut-section__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-cut-section__copy p {
  max-width: 70ch;
  margin: 18px 0 0;
}

.profile-cut-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.edit-testimonials-section {
  border-radius: 0;
  border-block: 1px solid var(--line);
  background: transparent;
}

.edit-testimonials-section .section-head h2 {
  max-width: 18ch;
}

.edit-final-cta.project-cta {
  border-radius: 18px;
}

.edit-final-cta .project-cta h2,
.edit-final-cta h2 {
  max-width: 14ch;
}

@media (max-width: 1040px) {
  .home-edit-page .hero.edit-hero {
    grid-template-columns: 1fr;
  }

  .home-edit-page .edit-hero__copy {
    min-height: auto;
  }

  .edit-hero__deck {
    grid-template-rows: auto auto auto;
  }

  .case-sequence--wide,
  .use-cases-section,
  .method-section,
  .profile-cut-section {
    grid-template-columns: 1fr;
  }

  .case-sequence--wide .case-sequence__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .use-cases-section__heading {
    position: static;
  }
}

@media (max-width: 760px) {
  .home-edit-page .page-shell-stage {
    width: calc(100% - 16px);
    padding-inline: 0;
  }

  .home-edit-page .menu-toggle,
  .home-edit-page.js .menu-toggle,
  .js .home-edit-page .menu-toggle {
    display: inline-flex !important;
    position: fixed;
    top: 14px;
    right: auto;
    left: calc(100dvw - 62px);
    z-index: 80;
    background: var(--accent);
    color: #28150c;
    border-color: transparent;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  }

  .home-edit-page .menu-toggle::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .home-edit-page .menu-toggle__box {
    display: none;
  }

  .home-edit-page .menu-toggle,
  .home-edit-page.js .menu-toggle,
  .js .home-edit-page .menu-toggle {
    display: none !important;
  }

  .home-edit-page .topbar-inner {
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: auto;
    padding: 12px;
  }

  .home-edit-page .brand-mark {
    max-width: 150px;
  }

  .home-edit-page .brand-mark span {
    display: none;
  }

  .home-edit-page .menu,
  .js .home-edit-page .menu,
  .js .home-edit-page .topbar.is-menu-open .menu {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100dvw - 24px) !important;
    max-width: calc(100dvw - 24px);
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    gap: 4px;
  }

  .home-edit-page .menu-link {
    max-width: 100%;
    min-width: 0;
    justify-content: center;
    min-height: 38px;
    padding-inline: 6px;
    font-size: 0.76rem;
    width: auto;
  }

  .home-edit-page .theme-toggle {
    display: none !important;
  }

  .home-edit-shell {
    width: 100%;
    padding-inline: 8px;
  }

  .home-edit-page .hero.edit-hero {
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
    padding: 18px;
    border-radius: 16px;
  }

  .home-edit-page .edit-hero,
  .home-edit-page .edit-hero > *,
  .home-edit-page .edit-hero__copy,
  .home-edit-page .edit-hero__deck {
    min-width: 0;
  }

  .home-edit-page .edit-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9.8vw, 3.15rem);
  }

  .home-edit-page .edit-hero .hero-copy {
    max-width: 100%;
    font-size: 0.96rem;
    overflow-wrap: anywhere;
  }

  .edit-monitor {
    min-height: 260px;
  }

  .edit-hero__signal,
  .case-sequence-list {
    grid-template-columns: 1fr;
  }

  .editorial-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-sequence-head {
    align-items: start;
  }

  .case-sequence__brief div,
  .use-case-row {
    grid-template-columns: 1fr;
  }

  .use-case-row strong {
    justify-self: start;
  }

  .method-section {
    padding: 18px;
    border-radius: 16px;
  }

  .profile-cut-section__photo {
    max-height: 360px;
  }
}

@media (max-width: 420px) {
  .home-edit-page .edit-hero h1 {
    font-size: clamp(2rem, 9.6vw, 2.65rem);
    max-width: 100%;
  }

  .edit-hero__formats span,
  .project-cta-button,
  .project-cta-link {
    width: 100%;
    justify-content: center;
  }

  .edit-monitor {
    min-height: 220px;
  }

  .edit-timeline {
    min-height: 116px;
    padding-left: 28px;
  }

  .case-sequence__content {
    padding: 16px;
  }

  .case-sequence__content h3 {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sequence-strip__viewport,
  .edit-timeline__head {
    animation: none;
  }

  .edit-monitor__screen img,
  .case-sequence__media img,
  .case-sequence {
    transition: none;
  }

  .edit-hero__deck:hover .edit-monitor__screen img,
  .case-sequence:hover .case-sequence__media img,
  .case-sequence:focus-within .case-sequence__media img,
  .case-sequence:hover,
  .case-sequence:focus-within {
    transform: none;
  }
}

/* Focused homepage structure */
.home-focus-page .focus-hero-stage {
  min-height: 100svh;
  display: grid;
}

.home-focus-page .home-stage-overlay {
  background:
    linear-gradient(90deg, rgba(4, 7, 13, 0.62) 0%, rgba(4, 7, 13, 0.16) 50%, rgba(4, 7, 13, 0.44) 100%),
    linear-gradient(180deg, rgba(4, 7, 13, 0.14) 0%, rgba(4, 7, 13, 0.54) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 112px);
}

:root[data-theme="light"] .home-focus-page .home-stage-overlay {
  background:
    linear-gradient(90deg, rgba(248, 242, 234, 0.68) 0%, rgba(248, 242, 234, 0.2) 50%, rgba(248, 242, 234, 0.52) 100%),
    linear-gradient(180deg, rgba(248, 242, 234, 0.12) 0%, rgba(248, 242, 234, 0.56) 100%),
    repeating-linear-gradient(90deg, rgba(36, 22, 14, 0.032) 0 1px, transparent 1px 112px);
}

.home-focus-page .page-shell-stage {
  min-height: 100svh;
  justify-content: flex-start;
  padding-bottom: clamp(28px, 6vh, 76px);
}

.focus-hero {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: clamp(54px, 12vh, 118px) 0 0;
  padding: clamp(18px, 3vw, 32px) 0 clamp(18px, 3vw, 32px) clamp(18px, 3vw, 34px);
  overflow: hidden;
  border-left: 2px solid rgba(var(--accent-rgb), 0.78);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

:root[data-theme="light"] .focus-hero {
  background: transparent;
}

.focus-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(580px, 84%);
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(255, 255, 255, 0.032) 25px 26px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.11), transparent 78%);
  opacity: 0.28;
}

:root[data-theme="light"] .focus-hero::before {
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(36, 22, 14, 0.04) 23px 24px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.12), transparent 52%);
}

.focus-hero > * {
  position: relative;
  z-index: 1;
}

.focus-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 0.92;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.62);
}

.focus-hero--minimal {
  width: min(500px, 100%);
  margin-top: clamp(34px, 12vh, 104px);
  padding: clamp(12px, 2vw, 22px) 0 clamp(12px, 2vw, 22px) clamp(16px, 2.4vw, 24px);
  border-left-color: rgba(var(--accent-rgb), 0.62);
}

.focus-hero--minimal::before {
  width: min(360px, 78%);
  opacity: 0.18;
}

.focus-hero--minimal h1 {
  max-width: 15ch;
  font-size: clamp(2.1rem, 4.3vw, 4.05rem);
  line-height: 0.96;
}

.focus-hero--minimal .availability-pill {
  margin-top: 16px;
}

.focus-hero__copy {
  max-width: 50ch;
  margin: 18px 0 0;
  color: var(--home-copy);
  font-size: clamp(0.98rem, 1.22vw, 1.08rem);
  line-height: 1.7;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.58);
}

.focus-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.focus-hero__timeline {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr 0.58fr 1.1fr;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.focus-hero__timeline span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.8);
}

.focus-hero__timeline span:nth-child(even) {
  background: rgba(var(--accent-soft-rgb), 0.48);
}

.home-focus-shell {
  width: var(--site-shell-width);
}

.home-focus-stack {
  gap: clamp(28px, 5vw, 58px);
  margin-top: clamp(28px, 5vw, 58px);
}

.home-about-snapshot {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 68px);
  align-items: center;
  padding: clamp(20px, 4vw, 42px) 0;
  border-block: 1px solid var(--line);
}

.home-about-snapshot__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
}

.home-about-snapshot__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 44%, rgba(4, 7, 13, 0.42)),
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(255, 255, 255, 0.04) 17px 18px);
}

.home-about-snapshot__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-about-snapshot h2,
.home-faq-testimonials__intro h2 {
  max-width: 16ch;
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 4.25rem);
  line-height: 0.98;
}

.home-about-snapshot p,
.home-faq-testimonials__intro p,
.home-quote-card blockquote {
  color: var(--muted);
  line-height: 1.75;
}

.home-about-snapshot__copy > p:not(.section-label) {
  max-width: 70ch;
  margin: 20px 0 0;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.home-about-snapshot__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.home-about-snapshot__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-pill);
  color: var(--tag-text);
  font-size: 0.82rem;
  font-weight: 800;
}

.home-about-snapshot--compact {
  display: block;
  width: min(880px, 100%);
  margin-inline: auto;
  padding: clamp(24px, 4vw, 46px) 0;
}

.home-about-snapshot--compact .home-about-snapshot__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px clamp(20px, 4vw, 46px);
  align-items: end;
}

.home-about-snapshot--compact .section-label {
  grid-column: 1 / -1;
}

.home-about-snapshot--compact h2 {
  max-width: 18ch;
  font-size: clamp(1.85rem, 3.2vw, 3.15rem);
  line-height: 1;
}

.home-about-snapshot--compact .home-about-snapshot__copy > p:not(.section-label) {
  max-width: 50ch;
  margin-top: 6px;
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
}

.home-about-snapshot--compact .button-secondary {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: center;
  white-space: nowrap;
}

.home-method-reel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.1), transparent 46%),
    var(--panel);
  box-shadow: var(--shadow);
}

.home-method-reel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 71px, rgba(255, 255, 255, 0.038) 71px 72px);
}

:root[data-theme="light"] .home-method-reel::before {
  background: repeating-linear-gradient(90deg, transparent 0 71px, rgba(36, 22, 14, 0.04) 71px 72px);
}

.home-method-reel > * {
  position: relative;
  z-index: 1;
}

.home-method-reel__copy {
  display: block;
}

.home-method-reel__copy .section-label {
  grid-column: 1 / -1;
}

.home-method-reel__copy h2 {
  max-width: 19ch;
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(2.25rem, 4.8vw, 4.65rem);
  line-height: 0.96;
}

.home-method-reel__copy p:not(.section-label) {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.home-method-reel__board {
  display: grid;
  gap: 22px;
  align-content: start;
  min-width: 0;
}

.method-edit-timeline {
  --method-pointer-x: clamp(38px, 5vw, 64px);
  --method-scrub: 0;
  --method-scrub-x: 0%;
  --method-brightness: 1;
  --method-lift: 0px;
  position: relative;
  min-height: clamp(400px, 36vw, 510px);
  padding: clamp(22px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--method-scrub-x) 48%, rgba(var(--accent-rgb), 0.13), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    linear-gradient(135deg, rgba(4, 7, 13, 0.82), rgba(9, 16, 25, 0.66));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32),
    0 28px 90px rgba(0, 0, 0, 0.22);
  cursor: ew-resize;
  touch-action: pan-y;
}

.method-edit-timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, 0.025) 31px 32px);
  opacity: 0.8;
}

.method-edit-timeline > * {
  position: relative;
  z-index: 1;
}

:root[data-theme="light"] .method-edit-timeline {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), transparent),
    rgba(255, 252, 248, 0.5);
}

.method-edit-timeline__ruler {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-left: clamp(38px, 5vw, 64px);
  color: var(--muted);
  font-size: clamp(0.72rem, 0.85vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.method-edit-timeline__lane {
  position: relative;
  height: clamp(170px, 15vw, 214px);
  margin-top: clamp(18px, 2vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.052), transparent 16%),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.method-edit-timeline__lane--audio {
  height: clamp(66px, 5.6vw, 86px);
  margin-top: 14px;
}

.method-edit-timeline__lane::before {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  color: var(--label-color);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.method-edit-timeline__lane--video::before {
  content: "V1";
}

.method-edit-timeline__lane--audio::before {
  content: "A1";
}

:root[data-theme="light"] .method-edit-timeline__lane {
  background: rgba(36, 22, 14, 0.06);
}

.method-clip,
.method-wave {
  position: absolute;
  display: block;
  border-radius: 9px;
}

.method-clip {
  display: flex;
  height: clamp(44px, 4.8vw, 58px);
  overflow: hidden;
  align-items: center;
  padding: 0 clamp(10px, 1vw, 16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.92), rgba(var(--accent-soft-rgb), 0.72));
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.1);
  transition: filter 180ms ease, transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.method-clip__label {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  color: var(--back-to-top-hover-text);
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(0.76rem, 1vw, 1rem);
  font-weight: 800;
  line-height: 1;
  opacity: 0.72;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease;
}

.method-clip--brief {
  top: 16px;
  left: 8%;
  width: 24%;
}

.method-clip--rush {
  top: 16px;
  left: 36%;
  width: 34%;
  background: rgba(var(--accent-soft-rgb), 0.62);
}

.method-clip--cut {
  top: 90px;
  left: 16%;
  width: 38%;
}

.method-clip--finish {
  top: 90px;
  left: 58%;
  width: 32%;
  background: rgba(var(--accent-soft-rgb), 0.68);
}

.method-wave {
  top: 12px;
  height: calc(100% - 24px);
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent),
    rgba(var(--accent-soft-rgb), 0.11);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  opacity: 0.78;
  transition: filter 180ms ease, opacity 180ms ease;
}

.method-wave::before,
.method-wave::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.method-wave::before {
  inset: 10px 12px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.88), rgba(var(--accent-soft-rgb), 0.7));
  clip-path: polygon(
    0 52%,
    3% 30%,
    6% 74%,
    9% 38%,
    12% 58%,
    15% 22%,
    18% 78%,
    21% 46%,
    25% 64%,
    29% 28%,
    33% 70%,
    37% 35%,
    41% 56%,
    45% 18%,
    49% 82%,
    53% 42%,
    57% 62%,
    61% 26%,
    65% 76%,
    69% 48%,
    73% 68%,
    77% 32%,
    81% 72%,
    85% 40%,
    89% 60%,
    93% 34%,
    96% 70%,
    100% 50%,
    100% 100%,
    0 100%
  );
  opacity: 0.86;
}

.method-wave::after {
  inset-inline: 10px;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
}

.method-wave--a {
  left: 8%;
  width: 43%;
}

.method-wave--b {
  left: 55%;
  width: 35%;
}

.method-edit-timeline__playhead {
  position: absolute;
  top: clamp(58px, 6.3vw, 82px);
  bottom: clamp(22px, 3vw, 38px);
  left: var(--method-pointer-x);
  width: 2px;
  background: var(--label-color);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.24), 0 0 26px rgba(var(--accent-rgb), 0.38);
  animation: none;
  transition: left 90ms linear, box-shadow 160ms ease;
}

.method-edit-timeline__playhead::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--label-color);
  transform: translateX(-50%);
}

.method-edit-timeline.is-auto-driven .method-edit-timeline__playhead,
.method-edit-timeline.is-pointer-driven .method-edit-timeline__playhead {
  left: var(--method-pointer-x);
  animation: none;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.36), 0 0 42px rgba(var(--accent-rgb), 0.72);
}

.method-edit-timeline.is-auto-driven .method-clip,
.method-edit-timeline.is-auto-driven .method-wave,
.method-edit-timeline.is-pointer-driven .method-clip,
.method-edit-timeline.is-pointer-driven .method-wave {
  filter: saturate(1.2) brightness(var(--method-brightness));
}

.method-edit-timeline.is-auto-driven .method-clip,
.method-edit-timeline.is-pointer-driven .method-clip {
  opacity: 0.46;
  transform: translateY(var(--method-lift));
}

.method-edit-timeline.is-auto-driven .method-wave,
.method-edit-timeline.is-pointer-driven .method-wave {
  opacity: 0.62;
}

.method-edit-timeline.is-scrub-brief .method-clip--brief,
.method-edit-timeline.is-scrub-rush .method-clip--rush,
.method-edit-timeline.is-scrub-cut .method-clip--cut,
.method-edit-timeline:not(.is-scrub-rush):not(.is-scrub-cut):not(.is-scrub-finish) .method-clip--brief,
.method-edit-timeline.is-scrub-finish .method-clip--finish {
  opacity: 1;
  border-color: rgba(var(--accent-rgb), 0.72);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.18),
    0 18px 42px rgba(var(--accent-rgb), 0.22);
  filter: saturate(1.22) brightness(1.12);
  transform: translateY(-4px);
}

.method-edit-timeline.is-scrub-brief .method-clip--brief,
.method-edit-timeline:not(.is-scrub-rush):not(.is-scrub-cut):not(.is-scrub-finish) .method-clip--brief {
  z-index: 2;
}

.method-edit-timeline.is-scrub-rush .method-clip--rush {
  z-index: 2;
}

.method-edit-timeline.is-scrub-cut .method-clip--cut {
  z-index: 2;
}

.method-edit-timeline.is-scrub-finish .method-clip--finish {
  z-index: 2;
}

.method-edit-timeline.is-scrub-brief .method-clip--brief .method-clip__label,
.method-edit-timeline.is-scrub-rush .method-clip--rush .method-clip__label,
.method-edit-timeline.is-scrub-cut .method-clip--cut .method-clip__label,
.method-edit-timeline.is-scrub-finish .method-clip--finish .method-clip__label,
.method-edit-timeline:not(.is-scrub-rush):not(.is-scrub-cut):not(.is-scrub-finish) .method-clip--brief .method-clip__label {
  opacity: 1;
  transform: translateY(-1px);
}

.home-method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-method-steps li {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-elevated);
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease, background 180ms ease;
}

.home-method-steps li:hover,
.home-method-steps li:focus-within,
.home-method-steps li.is-active {
  border-color: rgba(var(--accent-rgb), 0.44);
  transform: translateY(-2px);
}

.home-method-steps li.is-active {
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.13), transparent 58%),
    var(--surface-elevated);
}

.home-method-steps span {
  color: var(--label-color);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.home-method-steps strong {
  display: block;
  margin-top: 8px;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.home-method-steps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

@keyframes method-playhead-sweep {
  0%,
  10% {
    left: 24px;
  }

  78%,
  100% {
    left: calc(100% - 28px);
  }
}

.focus-latest.section-block.section-latest-integrated {
  padding-top: clamp(12px, 2vw, 24px);
}

.home-faq-testimonials {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.home-faq-testimonials__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 58px);
  align-items: end;
}

.home-faq-testimonials__intro p:not(.section-label) {
  max-width: 58ch;
  margin: 0;
}

.home-faq-testimonials__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.home-faq-testimonials .faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-testimonials-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-elevated);
}

.home-quote-card {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.home-quote-card > span {
  color: var(--label-color);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-quote-card blockquote {
  margin: 10px 0 0;
  padding: 0;
}

.home-quote-card strong {
  display: block;
  margin-top: 12px;
  font-family: "PPAgrandir", sans-serif;
}

@media (max-width: 1040px) {
  .home-about-snapshot,
  .home-method-reel,
  .home-faq-testimonials__intro,
  .home-faq-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .home-about-snapshot__photo {
    max-height: 380px;
  }
}

@media (max-width: 760px) {
  .home-focus-page .focus-hero-stage {
    min-height: auto;
    padding-bottom: 28px;
  }

  .home-focus-page .page-shell-stage {
    min-height: auto;
    width: 100%;
    max-width: 100%;
    padding-inline: 8px;
  }

  .focus-hero {
    width: calc(100dvw - 32px);
    max-width: calc(100dvw - 32px);
    margin-inline: auto;
    margin-top: 10px;
    padding: 16px 0 16px 16px;
  }

  .focus-hero,
  .focus-hero > *,
  .home-about-snapshot,
  .home-about-snapshot > *,
  .home-method-reel,
  .home-method-reel > *,
  .home-faq-testimonials,
  .home-faq-testimonials > * {
    min-width: 0;
  }

  .focus-hero h1 {
    max-width: 9.5ch;
    font-size: clamp(2.05rem, 9.2vw, 2.85rem);
    line-height: 0.98;
  }

  .focus-hero--minimal {
    width: calc(100dvw - 48px);
    max-width: calc(100dvw - 48px);
    margin-top: 16px;
    padding: 14px 0 14px 16px;
  }

  .focus-hero--minimal h1 {
    max-width: 9.4ch;
    font-size: clamp(1.85rem, 8vw, 2.48rem);
  }

  .focus-hero--minimal .availability-pill {
    margin-top: 12px;
  }

  .focus-hero__copy {
    max-width: 30ch;
    font-size: 0.96rem;
    overflow-wrap: anywhere;
  }

  .focus-hero__actions {
    display: grid;
    width: 100%;
  }

  .focus-hero__actions,
  .focus-hero__actions .button-primary,
  .focus-hero__actions .button-secondary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-focus-shell {
    width: 100%;
    padding-inline: 8px;
  }

  .home-about-snapshot {
    padding-inline: 0;
  }

  .home-about-snapshot--compact {
    width: 100%;
    padding-block: 28px;
  }

  .home-about-snapshot--compact .home-about-snapshot__copy {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-about-snapshot--compact .button-secondary {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 6px;
  }

  .home-about-snapshot h2,
  .home-method-reel__copy h2,
  .home-faq-testimonials__intro h2 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .home-about-snapshot--compact h2 {
    font-size: clamp(1.75rem, 8.2vw, 2.35rem);
  }

  .home-about-snapshot--compact .home-about-snapshot__copy > p:not(.section-label) {
    margin-top: 0;
    font-size: 0.98rem;
  }

  .home-method-reel__copy h2 {
    font-size: clamp(1.85rem, 8.3vw, 2.55rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .home-method-reel__copy p:not(.section-label) {
    font-size: 0.95rem;
  }

  .home-method-reel {
    padding: 18px;
    border-radius: 16px;
  }

  .home-method-reel__copy {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .method-edit-timeline {
    min-height: 350px;
    padding: 18px 16px 20px;
  }

  .method-edit-timeline__lane {
    height: 152px;
    margin-top: 16px;
  }

  .method-edit-timeline__lane--audio {
    height: 52px;
  }

  .method-clip {
    height: 50px;
    padding-inline: 8px;
  }

  .method-clip__label {
    width: 100%;
    font-size: 0.66rem;
    line-height: 1.08;
    white-space: normal;
  }

  .method-wave {
    height: calc(100% - 20px);
  }

  .method-edit-timeline__playhead {
    top: 54px;
  }

  .home-method-steps {
    grid-template-columns: 1fr;
  }

  .home-faq-testimonials {
    padding: 18px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .method-edit-timeline__playhead,
  .home-method-steps li {
    animation: none;
    transition: none;
  }

  .home-method-steps li:hover,
  .home-method-steps li:focus-within {
    transform: none;
  }
}

/* Immersive homepage scroll */
.home-immersive-page {
  overflow-x: hidden;
  --hero-scroll: 0;
  --hero-y: 0px;
  --hero-scale: 1.03;
}

.home-immersive-page .home-stage-media {
  transform: translate3d(0, var(--hero-y), 0) scale(var(--hero-scale));
  transform-origin: center;
  will-change: transform;
}

.home-immersive-page .home-focus-stack {
  gap: clamp(8px, 2vw, 28px);
  perspective: 1600px;
  perspective-origin: 50% 40%;
  transform-style: preserve-3d;
}

.home-depth-scene {
  --scene-y: 0px;
  --scene-z: 0px;
  --scene-tilt-x: 0deg;
  --scene-tilt-y: 0deg;
  --scene-tilt-y-inverse: 0deg;
  --scene-focus: 0;
  --scene-plane-opacity: 0.08;
  position: relative;
  isolation: isolate;
  transform: translate3d(0, var(--scene-y), var(--scene-z)) rotateX(var(--scene-tilt-x));
  transform-style: preserve-3d;
  will-change: transform;
}

.home-depth-scene::after {
  content: "";
  position: absolute;
  inset: clamp(12px, 2vw, 28px);
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.08), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 72px);
  opacity: var(--scene-plane-opacity);
  transform: translateZ(-96px) scale(1.035);
}

:root[data-theme="light"] .home-depth-scene::after {
  border-color: rgba(var(--accent-rgb), 0.22);
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.1), transparent 42%),
    repeating-linear-gradient(90deg, rgba(36, 22, 14, 0.034) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(36, 22, 14, 0.028) 0 1px, transparent 1px 72px);
}

.home-immersive-page .home-about-snapshot.home-depth-scene,
.home-immersive-page .home-method-reel.home-depth-scene,
.home-immersive-page .home-faq-testimonials.home-depth-scene {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: max(18px, calc((100vw - var(--site-shell-width)) / 2));
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-immersive-page .home-about-snapshot.home-depth-scene {
  padding-block: clamp(58px, 10vw, 124px);
  background:
    radial-gradient(circle at 18% 30%, rgba(var(--accent-rgb), 0.11), transparent 28%),
    linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.05) 44%, transparent);
}

.home-immersive-page .home-about-snapshot--compact.home-depth-scene {
  padding-block: clamp(34px, 6vw, 72px);
}

.home-immersive-page .home-about-snapshot--compact .home-about-snapshot__copy {
  width: min(880px, 100%);
  margin-inline: auto;
}

.home-immersive-page .home-about-snapshot__photo {
  transform: translateZ(70px) rotateY(var(--scene-tilt-y));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  transition: transform 160ms linear;
}

.home-immersive-page .home-about-snapshot__copy {
  transform: translateZ(42px);
}

.home-immersive-page .home-method-reel.home-depth-scene {
  grid-template-columns: 1fr;
  padding-block: clamp(62px, 10vw, 132px);
  background:
    linear-gradient(115deg, rgba(var(--accent-rgb), 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 44%);
}

.home-immersive-page .home-method-reel::before {
  opacity: 0.68;
}

.home-immersive-page .home-method-reel__copy {
  transform: translateZ(54px);
}

.home-immersive-page .home-method-reel__board {
  transform: translateZ(128px) rotateY(var(--scene-tilt-y-inverse));
}

.home-immersive-page .method-edit-timeline,
.home-immersive-page .home-method-steps li,
.home-immersive-page .home-testimonials-panel,
.home-immersive-page .home-faq-item {
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.16);
}

.home-immersive-page .focus-latest.home-depth-scene {
  padding-block: clamp(56px, 9vw, 118px);
}

.home-immersive-page .focus-latest .section-head,
.home-immersive-page .focus-latest .latest-carousel-shell,
.home-immersive-page .focus-latest .latest-grid {
  transform: translateZ(54px);
}

.home-immersive-page .home-faq-testimonials.home-depth-scene {
  padding-block: clamp(58px, 9vw, 116px);
  background:
    radial-gradient(circle at 82% 18%, rgba(var(--accent-rgb), 0.12), transparent 28%),
    linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.045) 46%, transparent);
}

.home-immersive-page .home-faq-testimonials__intro {
  transform: translateZ(34px);
}

.home-immersive-page .home-faq-testimonials .faq-list {
  transform: translateZ(46px);
}

.home-immersive-page .home-testimonials-panel {
  transform: translateZ(82px) rotateY(var(--scene-tilt-y-inverse));
}

@media (max-width: 1040px) {
  .home-immersive-page .home-method-reel.home-depth-scene {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-immersive-page .home-focus-stack {
    gap: 18px;
    perspective: 900px;
  }

  .home-depth-scene {
    transform: translate3d(0, var(--scene-y), 0);
  }

  .home-depth-scene::after {
    display: none;
  }

  .home-immersive-page .home-about-snapshot.home-depth-scene,
  .home-immersive-page .home-method-reel.home-depth-scene,
  .home-immersive-page .home-faq-testimonials.home-depth-scene {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding-inline: 12px;
    padding-block: 34px;
    overflow: hidden;
  }

  .home-immersive-page .home-about-snapshot__copy,
  .home-immersive-page .home-method-reel__copy,
  .home-immersive-page .home-method-reel__board,
  .home-immersive-page .home-faq-testimonials__intro {
    width: min(100%, calc(100vw - 64px));
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .home-immersive-page .home-about-snapshot__copy > p:not(.section-label),
  .home-immersive-page .home-method-reel__copy > p:not(.section-label),
  .home-immersive-page .home-faq-testimonials__intro p:not(.section-label) {
    max-width: min(34ch, 100%);
    overflow-wrap: normal;
    word-break: normal;
  }

  .home-immersive-page .method-edit-timeline {
    max-width: 100%;
  }

  .home-immersive-page .home-about-snapshot__photo,
  .home-immersive-page .home-about-snapshot__copy,
  .home-immersive-page .home-method-reel__copy,
  .home-immersive-page .home-method-reel__board,
  .home-immersive-page .focus-latest .section-head,
  .home-immersive-page .focus-latest .latest-carousel-shell,
  .home-immersive-page .focus-latest .latest-grid,
  .home-immersive-page .home-faq-testimonials__intro,
  .home-immersive-page .home-faq-testimonials .faq-list,
  .home-immersive-page .home-testimonials-panel {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-immersive-page .home-stage-media,
  .home-depth-scene,
  .home-immersive-page .home-about-snapshot__photo,
  .home-immersive-page .home-about-snapshot__copy,
  .home-immersive-page .home-method-reel__copy,
  .home-immersive-page .home-method-reel__board,
  .home-immersive-page .focus-latest .section-head,
  .home-immersive-page .focus-latest .latest-carousel-shell,
  .home-immersive-page .focus-latest .latest-grid,
  .home-immersive-page .home-faq-testimonials__intro,
  .home-immersive-page .home-faq-testimonials .faq-list,
  .home-immersive-page .home-testimonials-panel {
    transform: none;
    transition: none;
  }
}

/* Homepage iteration: cleaner surfaces, human intro, video cursor and refined edit timeline. */
body.home-focus-page {
  background: var(--bg);
}

body.home-focus-page::before {
  display: none;
}

.home-stage-media::after,
.focus-hero::before,
.home-method-reel::before,
.method-edit-timeline::before,
.home-depth-scene::after {
  display: none;
}

.home-sound-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: grid;
  width: clamp(94px, 8.4vw, 118px);
  aspect-ratio: 1;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(8, 12, 20, 0.5);
  color: #f7f3ec;
  font-size: clamp(0.65rem, 0.78vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-transform: uppercase;
  transform: translate3d(
    calc(var(--sound-cursor-x, -140px) - 50%),
    calc(var(--sound-cursor-y, -140px) - 50%),
    0
  ) scale(0.92);
  transition: opacity 140ms ease, transform 140ms ease;
  backdrop-filter: blur(10px);
}

.focus-hero-stage.is-sound-hint-visible {
  cursor: none;
}

.focus-hero-stage.is-sound-hint-visible .home-sound-cursor {
  opacity: 1;
  transform: translate3d(
    calc(var(--sound-cursor-x, -140px) - 50%),
    calc(var(--sound-cursor-y, -140px) - 50%),
    0
  ) scale(1);
}

.focus-hero-stage.is-sound-hint-visible .topbar,
.focus-hero-stage.is-sound-hint-visible .focus-hero,
.focus-hero-stage.is-sound-hint-visible .home-stage-controls {
  cursor: auto;
}

.home-focus-page .home-stage-overlay {
  background:
    linear-gradient(90deg, rgba(4, 7, 13, 0.56) 0%, rgba(4, 7, 13, 0.08) 48%, rgba(4, 7, 13, 0.38) 100%),
    linear-gradient(180deg, rgba(4, 7, 13, 0.08) 0%, rgba(4, 7, 13, 0.48) 100%);
}

:root[data-theme="light"] .home-focus-page .home-stage-overlay {
  background:
    linear-gradient(90deg, rgba(248, 242, 234, 0.56) 0%, rgba(248, 242, 234, 0.08) 48%, rgba(248, 242, 234, 0.42) 100%),
    linear-gradient(180deg, rgba(248, 242, 234, 0.08) 0%, rgba(248, 242, 234, 0.48) 100%);
}

.focus-hero--minimal {
  width: min(330px, 100%);
  margin-top: clamp(12px, 3.5vh, 34px);
  padding: 10px 0 10px 14px;
  border-left-width: 1px;
}

.focus-hero--minimal h1 {
  max-width: 15ch;
  font-size: clamp(1.18rem, 2.2vw, 2.05rem);
  line-height: 1.03;
}

.focus-hero--minimal .availability-pill {
  margin-top: 10px;
  transform: scale(0.92);
  transform-origin: left center;
}

.home-about-snapshot--human {
  display: grid;
  width: min(980px, 100%);
  margin-inline: auto;
  grid-template-columns: minmax(150px, 230px) minmax(0, 560px);
  gap: clamp(20px, 4vw, 52px);
  padding-block: clamp(34px, 5vw, 62px);
  border-block: 1px solid var(--line);
  background: transparent;
}

.home-focus-page .home-about-snapshot--human {
  justify-content: center;
  align-items: center;
  text-align: left;
}

.home-about-snapshot--human .home-about-snapshot__photo {
  width: min(230px, 100%);
  border-radius: 14px;
}

.home-focus-page .home-about-snapshot--human .home-about-snapshot__photo {
  justify-self: end;
}

.home-about-snapshot--human .home-about-snapshot__photo::after {
  background: linear-gradient(180deg, transparent 52%, rgba(4, 7, 13, 0.32));
}

.home-about-snapshot__identity {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.home-focus-page .home-about-snapshot__identity {
  align-items: flex-start;
}

.home-about-snapshot--human h2 {
  max-width: 100%;
  font-size: clamp(2rem, 4vw, 3.75rem);
}

.home-about-snapshot--human .home-about-snapshot__copy > p {
  max-width: 56ch;
  margin-top: 16px;
}

.home-focus-page .home-about-snapshot--human .home-about-snapshot__copy > p {
  margin-inline: 0;
}

.home-about-snapshot--human .button-secondary {
  width: fit-content;
  margin-top: 22px;
}

.home-focus-page .home-about-snapshot--human .button-secondary {
  margin-inline: 0;
}

.home-immersive-page .home-about-snapshot.home-depth-scene,
.home-immersive-page .focus-latest.home-depth-scene,
.home-immersive-page .home-method-reel.home-depth-scene,
.home-immersive-page .home-faq-testimonials.home-depth-scene {
  background: var(--bg);
}

.home-immersive-page .home-about-snapshot--human.home-depth-scene {
  padding-block: clamp(38px, 6vw, 74px);
}

.home-method-reel {
  background: var(--panel);
}

.method-edit-timeline {
  min-height: clamp(400px, 36vw, 500px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(6, 11, 18, 0.86);
}

:root[data-theme="light"] .method-edit-timeline {
  background: rgba(255, 252, 248, 0.72);
}

.method-edit-timeline__lane {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.042);
}

.method-edit-timeline__lane--video {
  height: clamp(178px, 15vw, 218px);
}

.method-clip {
  isolation: isolate;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04) 36%, transparent),
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.92), rgba(var(--accent-soft-rgb), 0.64));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 30px rgba(0, 0, 0, 0.18);
}

.method-clip::before,
.method-clip::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.method-clip::before {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 18%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.18) 18px 19px, transparent 19px 36px);
  opacity: 0.42;
}

.method-clip::after {
  inset: 8px auto 8px 8px;
  z-index: 1;
  width: 3px;
  border-radius: 999px;
  background: rgba(40, 21, 12, 0.35);
}

.method-clip__label {
  position: relative;
  z-index: 2;
  opacity: 0.84;
}

.method-clip--rush {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.03) 38%, transparent),
    linear-gradient(135deg, rgba(var(--accent-soft-rgb), 0.72), rgba(var(--accent-rgb), 0.48));
}

.method-clip--finish {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.03) 38%, transparent),
    linear-gradient(135deg, rgba(var(--accent-soft-rgb), 0.66), rgba(var(--accent-rgb), 0.5));
}

.method-wave {
  border-radius: 8px;
  border-color: rgba(var(--accent-rgb), 0.2);
  background: rgba(var(--accent-rgb), 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(var(--accent-rgb), 0.08),
    inset 0 8px 18px rgba(255, 255, 255, 0.03);
}

.method-wave::before {
  inset: 6px 12px;
  clip-path: none;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.88), rgba(var(--accent-soft-rgb), 0.66));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 32'%3E%3Cg fill='black'%3E%3Crect x='0' y='13' width='4' height='6' rx='2'/%3E%3Crect x='8' y='10' width='4' height='12' rx='2'/%3E%3Crect x='16' y='15' width='4' height='4' rx='2'/%3E%3Crect x='24' y='7' width='4' height='18' rx='2'/%3E%3Crect x='32' y='12' width='4' height='8' rx='2'/%3E%3Crect x='40' y='4' width='4' height='24' rx='2'/%3E%3Crect x='48' y='11' width='4' height='10' rx='2'/%3E%3Crect x='56' y='8' width='4' height='16' rx='2'/%3E%3Crect x='64' y='14' width='4' height='6' rx='2'/%3E%3Crect x='72' y='6' width='4' height='20' rx='2'/%3E%3Crect x='80' y='10' width='4' height='12' rx='2'/%3E%3Crect x='88' y='3' width='4' height='26' rx='2'/%3E%3Crect x='96' y='12' width='4' height='8' rx='2'/%3E%3Crect x='104' y='8' width='4' height='16' rx='2'/%3E%3Crect x='112' y='14' width='4' height='5' rx='2'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 32'%3E%3Cg fill='black'%3E%3Crect x='0' y='13' width='4' height='6' rx='2'/%3E%3Crect x='8' y='10' width='4' height='12' rx='2'/%3E%3Crect x='16' y='15' width='4' height='4' rx='2'/%3E%3Crect x='24' y='7' width='4' height='18' rx='2'/%3E%3Crect x='32' y='12' width='4' height='8' rx='2'/%3E%3Crect x='40' y='4' width='4' height='24' rx='2'/%3E%3Crect x='48' y='11' width='4' height='10' rx='2'/%3E%3Crect x='56' y='8' width='4' height='16' rx='2'/%3E%3Crect x='64' y='14' width='4' height='6' rx='2'/%3E%3Crect x='72' y='6' width='4' height='20' rx='2'/%3E%3Crect x='80' y='10' width='4' height='12' rx='2'/%3E%3Crect x='88' y='3' width='4' height='26' rx='2'/%3E%3Crect x='96' y='12' width='4' height='8' rx='2'/%3E%3Crect x='104' y='8' width='4' height='16' rx='2'/%3E%3Crect x='112' y='14' width='4' height='5' rx='2'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 120px 100%;
  mask-size: 120px 100%;
  filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.24));
  opacity: 1;
}

.method-wave::after {
  background: rgba(var(--accent-soft-rgb), 0.28);
  opacity: 0.7;
}

.home-method-steps li {
  background: rgba(255, 255, 255, 0.045);
}

.home-method-steps li.is-active {
  background: rgba(var(--accent-rgb), 0.13);
}

.home-method-steps p {
  overflow-wrap: break-word;
}

@media (max-width: 760px) {
  .focus-hero--minimal {
    width: min(250px, calc(100dvw - 52px));
    margin-top: 10px;
    margin-left: 10px;
    padding: 8px 0 8px 12px;
  }

  .focus-hero--minimal h1 {
    max-width: 11ch;
    font-size: clamp(1.22rem, 5.6vw, 1.72rem);
  }

  .focus-hero--minimal .availability-pill {
    margin-top: 8px;
    transform: scale(0.86);
  }

  .home-sound-cursor {
    display: none;
  }

  .focus-hero-stage.is-sound-hint-visible {
    cursor: auto;
  }

  .home-about-snapshot--human {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 30px;
  }

  .home-about-snapshot--human .home-about-snapshot__photo {
    width: 126px;
    align-self: center;
  }

  .home-focus-page .home-about-snapshot--human .home-about-snapshot__photo {
    justify-self: center;
  }

  .home-about-snapshot--human h2 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .home-about-snapshot--human .home-about-snapshot__copy > p {
    margin-top: 12px;
    font-size: 0.95rem;
  }

  .home-about-snapshot--human .button-secondary {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
  }

  .method-edit-timeline__lane--video {
    height: 162px;
  }

  .method-wave::before {
    inset: 5px 10px;
  }

  .home-method-steps p {
    max-width: 28ch;
    font-size: 0.9rem;
  }
}

.home-focus-page .focus-hero--minimal {
  width: min(310px, 100%);
  margin-top: 8px;
  margin-left: 0;
  padding: 12px 14px;
  border-left: 0;
  border-radius: 12px;
  background: rgba(8, 12, 20, 0.54);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

:root[data-theme="light"] .home-focus-page .focus-hero--minimal {
  background: rgba(255, 252, 248, 0.62);
  box-shadow: 0 18px 52px rgba(78, 53, 34, 0.14);
}

.home-focus-page .focus-hero--minimal h1 {
  max-width: 15ch;
  font-size: clamp(1.08rem, 2vw, 1.78rem);
}

.home-focus-page .focus-hero--minimal .availability-pill {
  margin-top: 8px;
}

@media (max-width: 760px) {
  .home-focus-page .focus-hero--minimal {
    width: min(230px, calc(100dvw - 36px));
    margin-top: 6px;
    margin-left: 0;
    padding: 10px 12px;
    border-radius: 11px;
  }

  .home-focus-page .focus-hero--minimal h1 {
    max-width: 11ch;
    font-size: clamp(1.1rem, 5vw, 1.48rem);
  }

  .home-focus-page .focus-hero--minimal .availability-pill {
    margin-top: 7px;
  }
}

.home-focus-page .section-block.section-latest-integrated {
  display: flex;
  flex-direction: column;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: 0;
  padding-block: clamp(22px, 3vw, 42px);
  background: #101a28;
}

.home-focus-page .section-block.section-latest-integrated .latest-carousel-shell {
  width: 100%;
  max-width: 100%;
}

.home-focus-page .section-block.section-latest-integrated .latest-carousel-viewport {
  overflow-x: hidden;
  overflow-y: visible;
  padding-bottom: clamp(48px, 5vw, 74px);
}

.home-focus-page .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card {
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.14),
    0 10px 28px rgba(0, 0, 0, 0.08);
}

.home-focus-page .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card.is-active {
  box-shadow:
    0 42px 128px rgba(0, 0, 0, 0.16),
    0 14px 36px rgba(0, 0, 0, 0.08);
}

.home-focus-page .section-block.section-latest-integrated .section-head {
  width: min(100%, var(--latest-shell-max));
  max-width: var(--latest-shell-max);
}

.home-focus-page .section-block.section-latest-integrated .section-label,
.home-focus-page .section-block.section-latest-integrated .section-head h2 {
  color: #f7f3ec;
}

.home-focus-page .section-block.section-latest-integrated .inline-link {
  color: #fff0b0;
}

.home-focus-page .section-block.section-latest-integrated .latest-carousel-btn.is-prev {
  left: calc(50% - min(34vw, 350px) - 58px);
}

.home-focus-page .section-block.section-latest-integrated .latest-carousel-btn.is-next {
  right: calc(50% - min(34vw, 350px) - 58px);
}

@media (max-width: 760px) {
  .home-focus-page .section-block.section-latest-integrated {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-block: 18px 22px;
  }

  .home-focus-page .section-block.section-latest-integrated .section-head {
    width: min(100%, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    margin-inline: auto;
    padding-inline: 0;
  }

  .home-focus-page .section-block.section-latest-integrated .section-label,
  .home-focus-page .section-block.section-latest-integrated .section-head h2 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .home-focus-page .section-block.section-latest-integrated .section-head h2 {
    font-size: clamp(1.55rem, 7.2vw, 2.08rem);
    line-height: 1.06;
    max-width: 100%;
    white-space: normal;
  }

  .home-focus-page .section-block.section-latest-integrated .section-head {
    display: contents;
  }

  .home-focus-page .section-block.section-latest-integrated .section-head > div:first-child {
    order: 1;
    width: min(100%, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    margin-inline: auto;
  }

  .home-focus-page .section-block.section-latest-integrated .latest-grid {
    order: 2;
  }

  .home-focus-page .section-block.section-latest-integrated .section-head-actions {
    order: 3;
    justify-content: center;
    width: min(100%, calc(100vw - 32px));
    margin: -22px auto 0;
  }

  .home-focus-page .section-block.section-latest-integrated .latest-carousel-shell {
    width: min(100%, calc(100vw - 12px));
    max-width: calc(100vw - 12px);
    margin-inline: auto;
  }

  .home-focus-page .section-block.section-latest-integrated .latest-carousel-viewport {
    padding-bottom: 44px;
  }

  .home-focus-page .section-block.section-latest-integrated .latest-carousel-btn.is-prev {
    left: 10px;
  }

  .home-focus-page .section-block.section-latest-integrated .latest-carousel-btn.is-next {
    right: 10px;
  }
}

@media (max-width: 420px) {
  .home-focus-page .section-block.section-latest-integrated .section-head {
    width: min(100%, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }

  .home-focus-page .section-block.section-latest-integrated .latest-carousel-shell {
    width: min(100%, calc(100vw - 8px));
    max-width: calc(100vw - 8px);
  }

  .home-focus-page .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card:not(.is-active) .latest-card-meta {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 560px) {
  .home-focus-page .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card {
    transition:
      transform 520ms cubic-bezier(0.19, 1, 0.22, 1),
      filter 320ms ease,
      box-shadow 320ms ease;
  }

  .home-focus-page .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card:not(.is-active) {
    opacity: 0 !important;
    visibility: hidden;
  }

  .home-focus-page .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card.is-active {
    opacity: 1 !important;
    visibility: visible;
  }

  .home-focus-page .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card.is-prev,
  .home-focus-page .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card.is-next {
    opacity: 0;
    transform: translateX(-50%) translateY(8px) scale(0.94);
  }

  .home-focus-page .section-block.section-latest-integrated .latest-grid.latest-carousel .latest-card h3 {
    font-size: 0.92rem;
    line-height: 1.32;
    min-height: calc(3 * 1.32em);
    -webkit-line-clamp: 3;
  }
}

.home-focus-page .page-shell-stage {
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
}

.home-focus-page.home-immersive-page .home-method-reel.home-depth-scene {
  padding-block: clamp(22px, 3vw, 42px);
  gap: clamp(16px, 2.4vw, 28px);
}

.home-focus-page .home-method-reel__copy h2 {
  max-width: 24ch;
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  line-height: 1.05;
}

.home-focus-page .method-edit-timeline {
  min-height: 0;
  padding: clamp(18px, 2.3vw, 28px) clamp(18px, 2.6vw, 32px) clamp(16px, 1.8vw, 24px);
}

.home-focus-page .method-clip--brief {
  top: 30px;
  left: 5%;
  width: 15%;
}

.home-focus-page .method-clip--rush {
  top: 30px;
  left: 15%;
  width: 50%;
}

.home-focus-page .method-clip--cut {
  top: 30px;
  left: 55%;
  width: 20%;
}

.home-focus-page .method-clip--finish {
  top: 30px;
  left: 70%;
  width: 25%;
}

.home-focus-page .method-edit-timeline__lane--video {
  height: clamp(86px, 7.2vw, 104px);
  margin-top: clamp(12px, 1.4vw, 18px);
}

.home-focus-page .method-edit-timeline__lane--video-secondary {
  margin-top: 10px;
}

.home-focus-page .method-edit-timeline__lane--video-secondary::before {
  content: "V2";
}

.home-focus-page .method-edit-timeline__lane--audio {
  margin-top: 10px;
}

.home-focus-page .method-edit-timeline__playhead {
  bottom: clamp(16px, 1.8vw, 24px);
}

.home-focus-page .method-clip {
  justify-content: center;
  height: clamp(40px, 3.8vw, 50px);
  padding-inline: clamp(5px, 0.7vw, 10px);
}

.home-focus-page .method-clip__label {
  display: block;
  width: 100%;
  color: #28150c;
  font-size: clamp(0.64rem, 0.86vw, 0.92rem);
  line-height: 1;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

.home-focus-page .home-method-steps strong {
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
}

.home-focus-page .page-shell-stage .topbar {
  width: var(--site-shell-width);
  margin-inline: auto;
}

.home-focus-page .focus-hero--minimal {
  margin-left: clamp(8px, 1.2vw, 14px);
}

.home-focus-page .home-stage-controls {
  left: clamp(8px, 1.2vw, 14px);
}

.home-focus-page .home-client-reviews {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-block: clamp(18px, 2.6vw, 34px) clamp(20px, 3vw, 38px);
  border: 0;
  background: #101a28;
  box-shadow: none;
}

.home-focus-page .home-client-reviews .section-label,
.home-focus-page .home-client-reviews .section-head h2 {
  color: #f7f3ec;
}

.home-focus-page .home-client-reviews .testimonials-shell {
  padding-block: 0;
}

.home-focus-page .home-client-reviews .testimonials-marquee {
  margin-top: clamp(14px, 2vw, 22px);
  padding-block: 8px 34px;
}

.home-focus-page .home-client-reviews .testimonial-card {
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.04);
}

.home-focus-page.home-immersive-page .home-faq-testimonials.home-depth-scene {
  display: grid;
  width: var(--site-shell-width);
  max-width: var(--site-shell-width);
  margin-inline: auto;
  padding: clamp(18px, 2.2vw, 28px) 0;
  gap: clamp(14px, 2vw, 20px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-focus-page .home-faq-testimonials__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.home-focus-page .home-faq-testimonials__intro h2 {
  max-width: none;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.04;
}

.home-focus-page .home-faq-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}

.home-focus-page .home-faq-testimonials .faq-list {
  gap: 8px;
}

.home-quote-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: clamp(16px, 1.65vw, 22px);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 62px rgba(0, 0, 0, 0.12);
}

:root[data-theme="light"] .home-quote-card {
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.16), rgba(255, 255, 255, 0.42)),
    rgba(255, 252, 248, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 22px 62px rgba(93, 63, 39, 0.12);
}

.home-quote-card .home-quote-card__eyebrow {
  color: var(--label-soft);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-quote-card h3 {
  margin: 0;
  max-width: 10ch;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(1.25rem, 1.85vw, 1.82rem);
  line-height: 0.98;
}

.home-quote-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.home-quote-card .button-primary {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.home-quote-card--form {
  align-content: start;
}

.home-quote-card--form h3 {
  max-width: none;
}

.home-contact-form {
  gap: 9px;
}

.home-contact-form .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

.home-contact-form .form-field {
  gap: 4px;
}

.home-contact-form .form-field span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.home-contact-form .form-input {
  min-height: 38px;
  padding-inline: 10px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.home-contact-form .form-textarea {
  min-height: 58px;
  padding: 10px;
}

.home-contact-form .contact-form-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.home-contact-form .contact-form-note {
  display: none;
}

.home-quote-card--form .form-feedback {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.88rem;
}

.home-quote-card--form .turnstile-wrap {
  min-height: 0;
}

.home-quote-card__timeline {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
}

.home-quote-card__timeline span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.34);
}

.home-quote-card__timeline span:nth-child(1) {
  width: 42%;
}

.home-quote-card__timeline span:nth-child(2) {
  width: 76%;
  background: rgba(var(--accent-rgb), 0.54);
}

.home-quote-card__timeline span:nth-child(3) {
  width: 58%;
}

.home-focus-page .home-faq-item {
  border-radius: 12px;
}

.home-focus-page .home-faq-item .faq-question {
  min-height: 0;
  padding: 14px 16px;
}

.home-focus-page .home-faq-item.is-open .faq-answer {
  padding: 0 16px 24px;
}

.home-focus-page .home-faq-item .faq-answer p {
  max-width: 72ch;
  margin: 0 0 8px;
  font-size: 0.94rem;
  line-height: 1.58;
}

@media (min-width: 761px) {
  .topbar.is-sticky .topbar-inner {
    width: var(--site-chrome-width);
  }

  .site-footer {
    padding-inline: calc((100vw - var(--site-chrome-width)) / 2);
  }

  .site-footer .footer-grid,
  .site-footer .footer-copy {
    width: var(--site-chrome-width);
    margin-inline: auto;
  }
}

.about-intro-snapshot {
  width: min(980px, 100%);
  margin-inline: auto;
  padding-block: clamp(28px, 5vw, 58px);
}

.about-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.about-overview .about-intro-snapshot {
  position: sticky;
  top: calc(var(--topbar-height, 84px) + 28px);
  z-index: 2;
  align-self: start;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  height: auto;
  max-height: calc(100svh - var(--topbar-height, 84px) - 56px);
  min-height: 0;
  overflow: clip;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.08), transparent 42%),
    var(--surface-subtle);
  box-shadow: var(--shadow-soft);
}

.about-intro-snapshot__header {
  display: grid;
  grid-template-rows: auto auto;
  gap: clamp(16px, 2vw, 22px);
  min-height: 0;
}

.about-overview .home-about-snapshot__photo {
  width: 100%;
  height: clamp(400px, 60svh, 650px);
  min-height: 0;
  border-radius: 14px;
}

.about-overview .home-about-snapshot__identity {
  align-items: flex-start;
  gap: 9px;
  min-height: 0;
}

.about-overview .home-about-snapshot__identity .availability-pill {
  margin-top: 0;
}

.about-overview .home-about-snapshot__identity h1 {
  font-size: clamp(1.7rem, 2.25vw, 2.45rem);
}

.about-main-column {
  display: grid;
  gap: clamp(34px, 5vw, 68px);
  min-width: 0;
}

.about-bio {
  min-width: 0;
}

.about-bio .section-head {
  margin-bottom: 14px;
}

.about-bio__copy {
  display: grid;
  gap: 12px;
  max-width: 68ch;
}

.about-bio__copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.about-location-card {
  position: relative;
  display: block;
  min-height: clamp(330px, 34vw, 460px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 48%, rgba(var(--accent-rgb), 0.16), transparent 30%),
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.1), transparent 42%),
    var(--surface-subtle);
  box-shadow: var(--shadow-soft);
}

.about-location-card__plan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.about-location-card--osm {
  background: var(--surface-subtle);
}

.about-location-card--osm::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 401;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0) 0%, rgba(var(--accent-rgb), 0) 44%, rgba(var(--accent-rgb), 0.26) 72%, rgba(var(--accent-rgb), 0.72) 100%),
    radial-gradient(ellipse at 12% 100%, rgba(var(--accent-rgb), 0.58), rgba(var(--accent-rgb), 0.2) 34%, rgba(var(--accent-rgb), 0) 64%);
  mix-blend-mode: normal;
}

.about-location-card--osm::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 402;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.18), inset 0 0 80px rgba(0, 0, 0, 0.2);
}

.about-location-card__osm-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #d9e4df;
}

.about-location-card__osm-map .leaflet-container {
  width: 100%;
  height: 100%;
}

.about-location-card__osm-map .leaflet-tile-pane {
  filter: saturate(0.88) brightness(1.03) contrast(0.96);
}

.about-location-card__osm-map .leaflet-overlay-pane,
.about-location-card__osm-map .leaflet-marker-pane,
.about-location-card__osm-map .leaflet-shadow-pane,
.about-location-card__osm-map .leaflet-control-container {
  position: relative;
  z-index: 403;
}

.about-location-card__osm-map .leaflet-control-attribution {
  border-top-left-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: #4d4d4d;
  font: 10px/1.4 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.about-location-card__osm-map .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgba(20, 26, 34, 0.14);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.about-location-card__osm-map .leaflet-control-zoom a {
  width: 34px;
  height: 34px;
  border: 0;
  color: #20252b;
  font: 700 18px/34px -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.about-location-card__osm-map .leaflet-marker-icon {
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.25));
}

.about-location-card__plan-bg {
  fill: #f4efe4;
}

.about-location-card__park {
  fill: #d8ead0;
  opacity: 0.9;
}

.about-location-card__park--tete {
  fill: #cfe8c9;
}

.about-location-card__park--confluence {
  fill: #dbead6;
}

.about-location-card__park--fourviere {
  fill: #e9e0c9;
  opacity: 0.72;
}

.about-location-card__presquile {
  fill: rgba(255, 255, 255, 0.36);
}

.about-location-card__water {
  fill: none;
  stroke: #72b7e5;
  stroke-linecap: round;
  stroke-width: 38;
  opacity: 0.86;
}

.about-location-card__water--rhone {
  stroke-width: 52;
}

.about-location-card__water--saone {
  stroke-width: 38;
}

.about-location-card__streets path {
  fill: none;
  stroke: #f2c44f;
  stroke-linecap: round;
  stroke-width: 7;
  opacity: 0.88;
}

.about-location-card__minor-streets path {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-width: 4.5;
  opacity: 0.78;
}

.about-location-card__blocks rect {
  fill: rgba(255, 255, 255, 0.48);
  stroke: rgba(159, 154, 142, 0.22);
}

.about-location-card__pin path {
  fill: #ff3b30;
  stroke: rgba(100, 18, 14, 0.34);
  stroke-width: 2;
}

.about-location-card__pin circle {
  fill: #ffffff;
}

.about-location-card__pin {
  filter: drop-shadow(0 14px 12px rgba(90, 22, 16, 0.28));
}

.about-location-card__labels text {
  fill: #5c574e;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 760;
  paint-order: stroke;
  stroke: rgba(247, 241, 230, 0.94);
  stroke-width: 4.5px;
  stroke-linejoin: round;
}

.about-location-card__labels .about-location-card__city-label {
  fill: #292721;
  font-size: 42px;
  font-weight: 800;
}

.about-location-card__labels .about-location-card__water-label {
  fill: #3f80a8;
  font-size: 15px;
  font-style: italic;
  font-weight: 650;
  opacity: 0.88;
}

.about-education {
  min-width: 0;
}

.about-education .section-head {
  margin-bottom: 18px;
}

.about-education .section-head h2 {
  max-width: 18ch;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  line-height: 1.02;
}

.timeline-horizontal {
  --timeline-progress-x: 0%;
  --timeline-progress-ratio: 0;
  --timeline-track-inset: calc((100% - 24px) / 6);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 42px;
}

.timeline-horizontal::before,
.timeline-horizontal::after {
  content: "";
  position: absolute;
  bottom: 11px;
  left: var(--timeline-track-inset);
  right: var(--timeline-track-inset);
  height: 2px;
  border-radius: 999px;
}

.timeline-horizontal::before {
  background: rgba(var(--accent-rgb), 0.18);
}

.timeline-horizontal::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.28);
  transform: scaleX(var(--timeline-progress-ratio));
  transform-origin: left center;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-horizontal .timeline-item {
  padding: 18px;
  border-radius: 14px;
  opacity: 1;
  transform: none;
  animation: none;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.timeline-horizontal .timeline-marker {
  --timeline-marker-size: 15px;
  top: auto;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%) scale(var(--timeline-marker-scale, 1));
  opacity: var(--timeline-marker-opacity, 0.58);
  box-shadow:
    0 0 0 var(--timeline-marker-ring, 4px) rgba(var(--accent-rgb), var(--timeline-marker-ring-alpha, 0.08)),
    0 0 var(--timeline-marker-glow, 8px) rgba(var(--accent-rgb), var(--timeline-marker-glow-alpha, 0.12));
  transition: transform 240ms ease, opacity 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.timeline-horizontal .timeline-item.is-active .timeline-marker {
  animation: none;
}

.timeline-horizontal .timeline-item h3 {
  margin-top: 10px;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.timeline-horizontal .timeline-item p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.about-toolkit,
.about-passions {
  min-width: 0;
}

.about-toolkit .section-head,
.about-passions .section-head {
  margin-bottom: 18px;
}

.toolkit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toolkit-pill {
  --tool-color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 14px 6px 7px;
  border: 1px solid color-mix(in srgb, var(--tool-color) 42%, transparent);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.016)),
    color-mix(in srgb, var(--tool-color) 15%, transparent),
    var(--surface-subtle);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 36px color-mix(in srgb, var(--tool-color) 18%, transparent);
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.toolkit-pill:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--tool-color) 68%, transparent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    color-mix(in srgb, var(--tool-color) 24%, transparent),
    var(--surface-subtle);
}

.toolkit-logo {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--tool-color) 52%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--tool-color) 18%, rgba(255, 255, 255, 0.08));
}

.toolkit-logo img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.toolkit-logo svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.toolkit-logo--text {
  color: var(--tool-color);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.toolkit-logo--adobe-app {
  border-radius: 8px;
  color: #d7d7ff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  background: color-mix(in srgb, var(--tool-color) 22%, #000a28);
}

.toolkit-logo .brand-logo {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.toolkit-logo .brand-logo--notion {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
}

.toolkit-logo .brand-logo--notion path:last-child {
  fill: currentColor;
  stroke: none;
}

.toolkit-logo .brand-logo--drive {
  width: 22px;
  height: 22px;
}

.toolkit-logo .brand-logo--swiss path:last-child {
  fill: #ffffff;
}

.toolkit-logo .brand-logo--whatsapp path:first-child {
  fill: currentColor;
}

.toolkit-logo .brand-logo--whatsapp path:last-child {
  fill: #ffffff;
}

.toolkit-logo .brand-logo--frame {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.toolkit-pill--premiere {
  --tool-color: #9999ff;
}

.toolkit-pill--after {
  --tool-color: #9999ff;
}

.toolkit-pill--envato {
  --tool-color: #81b441;
}

.toolkit-pill--notion {
  --tool-color: #ffffff;
}

.toolkit-pill--swiss {
  --tool-color: #e30613;
}

.toolkit-pill--drive {
  --tool-color: #4285f4;
}

.toolkit-pill--frame {
  --tool-color: #00aeef;
}

.toolkit-pill--whatsapp {
  --tool-color: #25d366;
}

.passion-list {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.passion-bowl {
  position: relative;
  min-height: clamp(190px, 16vw, 230px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 16% 24%, rgba(86, 194, 113, 0.16), transparent 25%),
    radial-gradient(circle at 72% 74%, rgba(122, 167, 255, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.08), transparent 45%),
    var(--surface-subtle);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    var(--shadow-soft);
}

.passion-bowl::before,
.passion-bowl::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.passion-bowl::before {
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 68%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.07) 0 2px, transparent 3px),
    radial-gradient(circle at 54% 82%, rgba(255, 255, 255, 0.05) 0 1px, transparent 2px);
}

.passion-bowl::after {
  display: none;
}

.passion-list li {
  position: absolute;
  display: block;
  width: max-content;
  max-width: calc(100% - 30px);
  animation-duration: var(--swim-duration, 11s);
  animation-delay: var(--swim-delay, 0s);
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  will-change: transform;
}

.passion-list li:nth-child(1) {
  left: 8%;
  top: 16%;
  --swim-duration: 9.5s;
  animation-name: passion-swim-one;
}

.passion-list li:nth-child(2) {
  left: 41%;
  top: 26%;
  --swim-duration: 12s;
  --swim-delay: -3s;
  animation-name: passion-swim-two;
}

.passion-list li:nth-child(3) {
  left: 16%;
  top: 55%;
  --swim-duration: 10.5s;
  --swim-delay: -1.5s;
  animation-name: passion-swim-three;
}

.passion-list li:nth-child(4) {
  left: 68%;
  top: 18%;
  --swim-duration: 13s;
  --swim-delay: -5s;
  animation-name: passion-swim-four;
}

.passion-list li:nth-child(5) {
  left: 61%;
  top: 56%;
  --swim-duration: 11s;
  --swim-delay: -4s;
  animation-name: passion-swim-five;
}

.passion-list li:nth-child(6) {
  left: 34%;
  top: 72%;
  --swim-duration: 12.5s;
  --swim-delay: -2s;
  animation-name: passion-swim-six;
}

@keyframes passion-swim-one {
  to { transform: translate(10px, 8px) rotate(1deg); }
}

@keyframes passion-swim-two {
  to { transform: translate(-9px, 11px) rotate(-1.2deg); }
}

@keyframes passion-swim-three {
  to { transform: translate(8px, -10px) rotate(0.9deg); }
}

@keyframes passion-swim-four {
  to { transform: translate(-10px, 8px) rotate(-1deg); }
}

@keyframes passion-swim-five {
  to { transform: translate(9px, -9px) rotate(1.1deg); }
}

@keyframes passion-swim-six {
  to { transform: translate(-8px, -10px) rotate(-1.2deg); }
}

.passion-bowl .passion-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  justify-items: center;
  padding: clamp(22px, 3vw, 34px);
  box-sizing: border-box;
}

.passion-bowl.is-animated .passion-list {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
}

.passion-bowl .passion-list li {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  max-width: 100%;
}

.passion-bowl.is-animated .passion-list li {
  position: absolute;
  left: 0;
  top: 0;
  max-width: calc(100% - 24px);
  animation: none;
  transform: translate3d(var(--bowl-x, 0px), var(--bowl-y, 0px), 0);
  transition: none;
}

.passion-bowl .passion-pill {
  max-width: 100%;
}

.passion-pill {
  position: relative;
  min-height: 44px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border-color: color-mix(in srgb, var(--tool-color) 38%, transparent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    color-mix(in srgb, var(--tool-color) 13%, transparent),
    var(--surface-subtle);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px color-mix(in srgb, var(--tool-color) 14%, transparent);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: none;
}

.passion-pill::after {
  content: none;
}

.passion-pill .toolkit-logo {
  width: 32px;
  height: 32px;
  border: 1px solid color-mix(in srgb, var(--tool-color) 48%, transparent);
  background: color-mix(in srgb, var(--tool-color) 17%, rgba(255, 255, 255, 0.08));
  color: color-mix(in srgb, var(--tool-color) 78%, #ffffff);
}

.passion-pill .toolkit-logo svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

.passion-pill .toolkit-logo--text {
  color: color-mix(in srgb, var(--tool-color) 74%, #ffffff);
  font-size: 0.58rem;
}

.passion-list li:nth-child(even) .passion-pill {
  padding: 6px 14px 6px 8px;
}

.passion-pill:hover {
  transform: none;
}

.passion-pill--football {
  --tool-color: #56c271;
}

.passion-pill--cinema {
  --tool-color: #f4cb3d;
}

.passion-pill--photo {
  --tool-color: #7aa7ff;
}

.passion-pill--music {
  --tool-color: #d981ff;
}

.passion-pill--travel {
  --tool-color: #58d3c6;
}

.passion-pill--yugioh {
  --tool-color: #d64b4b;
}

.passion-pill--panda {
  --tool-color: #ffffff;
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.toolkit-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: clamp(18px, 2vw, 24px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.1), transparent 38%),
    var(--surface-subtle);
  box-shadow: var(--shadow-soft);
}

.toolkit-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 46%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0), rgba(var(--accent-rgb), 0.48));
  opacity: 0.68;
}

.toolkit-card__index {
  width: fit-content;
  color: var(--label-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.toolkit-card h3 {
  max-width: 12ch;
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(1.08rem, 1.5vw, 1.42rem);
  line-height: 1;
}

.toolkit-card p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.toolkit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-self: end;
  padding-top: 8px;
}

.toolkit-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--tag-text);
  font-size: 0.76rem;
  font-weight: 760;
}

.about-intro-snapshot .home-about-snapshot__identity h1 {
  max-width: 100%;
  margin: 0;
  font-family: "PPAgrandir", sans-serif;
  font-size: clamp(1.7rem, 2.3vw, 2.45rem);
  line-height: 1;
}

@media (max-width: 760px) {
  .home-focus-page .page-shell-stage {
    padding-inline: 0;
  }

  .home-focus-page .page-shell-stage .topbar {
    width: 100%;
    margin-inline: 0;
  }

  .home-focus-page .home-stage-controls {
    left: 8px;
  }

  .home-focus-page .home-client-reviews {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-block: 18px 24px;
  }

  .home-focus-page.home-immersive-page .home-faq-testimonials.home-depth-scene {
    width: min(100%, calc(100vw - 24px));
    max-width: min(100%, calc(100vw - 24px));
    padding: 16px 0;
  }

  .home-focus-page .home-faq-testimonials__intro {
    align-items: start;
  }

  .home-focus-page .home-faq-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .home-contact-form .form-grid {
    grid-template-columns: 1fr;
  }

  .about-overview {
    grid-template-columns: 1fr;
  }

  .about-overview .about-intro-snapshot {
    position: relative;
    top: auto;
    z-index: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-intro-snapshot__header {
    grid-template-rows: auto auto;
  }

  .about-overview .home-about-snapshot__photo {
    width: 100%;
    height: auto;
    max-height: 540px;
  }

  .about-location-card {
    min-height: 300px;
  }

  .passion-bowl {
    min-height: 220px;
  }

  .passion-bowl .passion-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 20px 14px;
  }

  .passion-list li:nth-child(1) {
    left: 8%;
    top: 10%;
  }

  .passion-list li:nth-child(2) {
    left: 36%;
    top: 24%;
  }

  .passion-list li:nth-child(3) {
    left: 10%;
    top: 44%;
  }

  .passion-list li:nth-child(4) {
    left: 54%;
    top: 50%;
  }

  .passion-list li:nth-child(5) {
    left: 12%;
    top: 72%;
  }

  .passion-list li:nth-child(6) {
    left: 48%;
    top: 76%;
  }

  .passion-bowl .passion-list li {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .timeline-horizontal {
    --timeline-mobile-axis-x: 18px;
    --timeline-mobile-content-offset: 46px;
    --timeline-marker-size: 15px;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: var(--timeline-mobile-content-offset);
    padding-right: 8px;
  }

  .timeline-horizontal::before,
  .timeline-horizontal::after {
    top: 8px;
    bottom: 8px;
    left: var(--timeline-mobile-axis-x);
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-horizontal::after {
    height: var(--timeline-progress-x);
    max-height: calc(100% - 16px);
    transform: none;
    transition: height 620ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .timeline-horizontal .timeline-marker {
    top: 24px;
    bottom: auto;
    left: calc(var(--timeline-mobile-axis-x) - var(--timeline-mobile-content-offset) - (var(--timeline-marker-size) / 2));
    transform: scale(var(--timeline-marker-scale, 1));
  }

  .toolkit-grid {
    grid-template-columns: 1fr;
  }

  .toolkit-card {
    min-height: 0;
  }

  .toolkit-list {
    gap: 8px;
  }

  .toolkit-pill {
    min-height: 42px;
    font-size: 0.86rem;
  }

  .home-quote-card {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .home-quote-card h3 {
    max-width: none;
  }

  .home-focus-page.home-immersive-page .home-method-reel.home-depth-scene {
    padding-block: 18px 22px;
  }

  .home-focus-page .home-method-reel__copy h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .home-focus-page .method-clip--brief {
    left: 5%;
    width: 15%;
  }

  .home-focus-page .method-clip--rush {
    left: 15%;
    width: 50%;
  }

  .home-focus-page .method-clip--cut {
    left: 55%;
    width: 20%;
  }

  .home-focus-page .method-clip--finish {
    left: 70%;
    width: 25%;
  }

  .home-focus-page .method-edit-timeline__lane--video {
    height: 84px;
  }

  .home-focus-page .method-edit-timeline {
    padding: 16px 14px 14px;
  }

  .home-focus-page .method-edit-timeline__playhead {
    bottom: 14px;
  }

  .home-focus-page .method-clip {
    top: 28px;
    height: 42px;
    padding-inline: 3px;
  }

  .home-focus-page .method-clip__label {
    font-size: clamp(0.46rem, 1.95vw, 0.6rem);
  }
}

@media (max-width: 760px) {
  .contact-info-column {
    grid-template-columns: 1fr;
  }

  .contact-list--icons {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .contact-list--icons .contact-icon-link {
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 760px) {
  .about-overview .home-about-snapshot__photo {
    height: clamp(220px, 64vw, 280px);
    max-height: 280px;
  }

  .about-passions .section-head {
    margin-bottom: 12px;
  }

  .passion-bowl {
    min-height: clamp(350px, 94vw, 420px);
    padding: 0;
    overflow: hidden;
  }

  .passion-bowl::before {
    inset: 8px;
  }

  .passion-bowl.is-animated .passion-list,
  .passion-bowl .passion-list {
    position: absolute;
    inset: 0;
    display: block;
    height: 100%;
    padding: 0;
  }

  .passion-bowl.is-animated .passion-list li,
  .passion-bowl .passion-list li {
    position: absolute;
    inset: auto;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    max-width: 100%;
  }

  .passion-bowl.is-animated .passion-list li {
    left: 0;
    top: 0;
    transform: translate3d(var(--bowl-x, 16px), var(--bowl-y, 16px), 0) rotate(var(--bowl-rotate, 0deg)) !important;
  }

  .passion-pill {
    min-height: 40px;
    padding: 5px 12px 5px 7px;
    font-size: 0.84rem;
  }

  .passion-pill .toolkit-logo {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding: 18px 14px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    padding-left: 6px;
  }

  .footer-column {
    gap: 7px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .footer-column h3 {
    margin-bottom: 6px;
    font-size: 0.95rem;
  }

  .footer-column p,
  .footer-column a {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .footer-column a,
  .contact-link {
    min-height: 34px;
  }

  .footer-icon-link,
  .footer-info-row {
    align-items: flex-start;
    gap: 7px;
  }

  .footer-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    margin-top: 2px;
  }

  .footer-copy {
    margin-top: 30px;
    font-size: 0.82rem;
    text-align: center;
  }
}

:root[data-theme="light"] .home-focus-page .home-stage-overlay {
  background:
    linear-gradient(90deg, rgba(4, 7, 13, 0.2) 0%, rgba(4, 7, 13, 0) 48%, rgba(4, 7, 13, 0.14) 100%),
    linear-gradient(180deg, rgba(4, 7, 13, 0) 0%, rgba(4, 7, 13, 0.22) 100%);
}

:root[data-theme="light"] .home-focus-page .section-block.section-latest-integrated,
:root[data-theme="light"] .home-focus-page .home-client-reviews {
  background: #fbf2e5;
}

:root[data-theme="light"] .home-focus-page .section-block.section-latest-integrated .section-label,
:root[data-theme="light"] .home-focus-page .section-block.section-latest-integrated .section-head h2,
:root[data-theme="light"] .home-focus-page .home-client-reviews .section-label,
:root[data-theme="light"] .home-focus-page .home-client-reviews .section-head h2 {
  color: var(--text);
}

:root[data-theme="light"] .home-focus-page .section-block.section-latest-integrated .inline-link {
  color: #7f610c;
}

:root[data-theme="light"] .home-focus-page .method-edit-timeline {
  border-color: rgba(36, 22, 14, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #101a28;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 54px rgba(68, 46, 28, 0.18);
}

:root[data-theme="light"] .home-focus-page .method-edit-timeline::before {
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.12), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0 56px, rgba(255, 255, 255, 0.035) 56px 57px);
}

:root[data-theme="light"] .home-focus-page .method-edit-timeline__ruler,
:root[data-theme="light"] .home-focus-page .method-edit-timeline__lane::before {
  color: rgba(247, 243, 236, 0.66);
}

:root[data-theme="light"] .home-focus-page .method-edit-timeline__lane {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
}

:root[data-theme="light"] .home-focus-page .method-clip {
  border-color: rgba(255, 234, 135, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 12px 28px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(40, 21, 12, 0.06);
}

:root[data-theme="light"] .home-focus-page .method-wave {
  border-color: rgba(var(--accent-rgb), 0.26);
  background: rgba(255, 234, 135, 0.09);
}

@media (max-width: 1040px) {
  .about-education .section-head h2 {
    max-width: none;
  }

  .timeline-horizontal {
    --timeline-mobile-axis-x: 20px;
    --timeline-mobile-content-offset: 52px;
    --timeline-marker-size: 15px;
    box-sizing: border-box;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: var(--timeline-mobile-content-offset);
    padding-right: 8px;
  }

  .timeline-horizontal::before,
  .timeline-horizontal::after {
    top: 8px;
    bottom: 8px;
    left: var(--timeline-mobile-axis-x);
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-horizontal::after {
    height: var(--timeline-progress-x);
    max-height: calc(100% - 16px);
    transform: none;
    transition: height 620ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .timeline-horizontal .timeline-marker {
    top: 24px;
    bottom: auto;
    left: calc(var(--timeline-mobile-axis-x) - var(--timeline-mobile-content-offset) - (var(--timeline-marker-size) / 2));
    transform: scale(var(--timeline-marker-scale, 1));
  }
}

@media (max-width: 760px) {
  .portfolio-page .page-shell {
    width: min(100% - 28px, 1180px);
    padding-inline: 0;
  }

  .portfolio-page .toolbar {
    position: relative;
    left: auto;
    gap: 14px;
    width: min(100%, calc(100vw - 64px));
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    overflow: hidden;
    padding: 18px;
  }

  .portfolio-page .filter-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0;
  }

  .portfolio-page .filter-chip {
    flex: 0 0 auto;
    width: auto;
    min-height: 32px;
    padding: 0 10px;
    gap: 6px;
    justify-content: center;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .portfolio-page .chip-count {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 0.6rem;
  }

  .portfolio-page .video-preview-play {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: 14px;
  }

  .portfolio-page .video-preview-badge {
    top: 12px;
    left: 12px;
    min-height: 26px;
    padding-inline: 9px;
    font-size: 0.66rem;
  }
}

@media (max-width: 420px) {
  .portfolio-page .page-shell {
    width: min(100% - 24px, 1180px);
    padding-inline: 0;
  }
}

.contact-page-stack .contact-info-column {
  grid-template-columns: 1fr;
}

/* ============================================================
   PORTFOLIO PAGE — Réalisations v2 (premium editorial)
   ============================================================ */

.portfolio-page {
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ---- Container centré et maîtrisé ---- */
.portfolio-stack {
  margin-inline: auto;
  margin-top: 8px;
  width: 100%;
  gap: clamp(18px, 2.8vw, 30px);
}

/* ---- Header compact et élégant ---- */
.portfolio-header {
  padding: clamp(6px, 1.2vw, 14px) 0 clamp(4px, 0.8vw, 10px);
}

.portfolio-kicker {
  margin-bottom: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
}

.portfolio-title {
  margin: 0;
  font-family: 'PPAgrandir', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text);
}

.portfolio-intro {
  margin: 13px 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-size: clamp(0.86rem, 1.05vw, 0.96rem);
  font-weight: 400;
  line-height: 1.75;
}

/* ---- Barre de filtres — pills compactes ---- */
.portfolio-page .filter-row {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 7px;
}

.portfolio-page .filter-chip {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  min-height: 32px;
  padding: 0 13px;
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease,
    color 200ms ease;
}

.portfolio-page .filter-chip:hover,
.portfolio-page .filter-chip:focus-visible {
  color: var(--text);
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.portfolio-page .filter-chip.is-active {
  color: #000814;
  border-color: transparent;
  background: var(--accent);
  font-weight: 700;
}

.portfolio-page .chip-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
}

/* ---- Résultats ---- */
.portfolio-page .results-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  margin-top: 0;
  opacity: 0.48;
}

/* ---- Grille — 3 colonnes, stagger naturel par align-items: start ---- */
.portfolio-page .video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  align-items: start;
}

/* Reset grid-column: span 4 défini globalement */
.portfolio-page .video-card {
  grid-column: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(0, 29, 61, 0.98), rgba(0, 18, 46, 0.96));
  border-color: var(--line);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.14);
  transition:
    opacity 480ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 480ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease,
    border-color 280ms ease;
  transition-delay: var(--delay, 0ms), var(--delay, 0ms), var(--delay, 0ms), 0ms, 0ms;
}

.portfolio-page .video-card.is-visible {
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease,
    border-color 280ms ease;
  transition-delay: 0ms;
}

/* Suppression de la barre colorée en haut des cartes */
.portfolio-page .video-card::before {
  display: none;
}

.portfolio-page .video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(var(--accent-rgb), 0.22);
  border-color: rgba(var(--accent-rgb), 0.28);
}

/* ---- Miniature horizontale (16:9 — défaut) ---- */
.portfolio-page .video-frame {
  overflow: hidden;
  background: #000510;
}

/* ---- Miniature verticale (format portrait 3:4) ---- */
.portfolio-page .video-card--vertical .video-frame {
  aspect-ratio: 3 / 4;
}

/* ---- Overlay subtil au hover ---- */
.video-frame-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 280ms ease;
  z-index: 1;
  pointer-events: none;
}

.portfolio-page .video-card:hover .video-frame-overlay {
  background: rgba(0, 5, 16, 0.2);
}

/* ---- Image miniature ---- */
.portfolio-page .video-preview-image {
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.portfolio-page .video-card:hover .video-preview-image {
  transform: scale(1.07);
}

/* ---- Icône play — discrète, visible au hover ---- */
.portfolio-page .video-preview-play {
  width: 40px;
  height: 40px;
  right: 13px;
  bottom: 13px;
  background: rgba(0, 8, 20, 0.52);
  border-color: rgba(255, 255, 255, 0.09);
  opacity: 0.6;
  z-index: 2;
  transition: transform 220ms ease, background 220ms ease, opacity 220ms ease, color 220ms ease;
}

.portfolio-page .video-card:hover .video-preview-play,
.portfolio-page .video-preview-link:focus-visible .video-preview-play {
  transform: scale(1.12);
  background: rgba(var(--accent-rgb), 0.86);
  color: #000814;
  opacity: 1;
}

/* Badge type */
.portfolio-page .video-preview-badge {
  z-index: 2;
  font-size: 0.64rem;
  min-height: 26px;
  padding: 0 9px;
}

/* ---- Corps de la carte ---- */
.portfolio-page .card-body {
  padding: 13px 15px 17px;
}

.portfolio-page .card-topline {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.portfolio-page .card-type {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--meta-accent);
  opacity: 0.7;
}

.portfolio-page .card-title {
  font-family: 'PPAgrandir', sans-serif;
  font-size: clamp(0.88rem, 1.25vw, 1.06rem);
  line-height: 1.22;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.portfolio-page .card-footer {
  margin-top: 11px;
}

.portfolio-page .client-pill {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  min-height: 26px;
  padding: 0 10px;
  opacity: 0.6;
}

.portfolio-page .results-copy {
  font-family: 'Montserrat', sans-serif;
}

/* ---- Responsive — Grand écran (4 colonnes) ---- */
@media (min-width: 1500px) {
  .portfolio-page .video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---- Responsive — Tablette (2 colonnes) ---- */
@media (max-width: 900px) {
  .portfolio-page .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- Responsive — Mobile (1 colonne) ---- */
@media (max-width: 560px) {
  .portfolio-title {
    font-size: clamp(1.9rem, 11vw, 3rem);
  }

  .portfolio-header {
    padding-top: clamp(6px, 2vw, 12px);
  }

  .portfolio-page .video-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .portfolio-page .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .portfolio-page .filter-row::-webkit-scrollbar {
    display: none;
  }

  .portfolio-page .filter-chip {
    flex-shrink: 0;
    font-size: 0.68rem;
    min-height: 29px;
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-page .video-preview-image,
  .video-frame-overlay {
    transition: none;
  }
}

/* ============================================================
   MODAL LECTEUR VIDÉO
   ============================================================ */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 4, 14, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 260ms ease;
}

.video-modal.is-open .video-modal__backdrop {
  opacity: 1;
}

.video-modal__container {
  position: relative;
  z-index: 1;
  /* La largeur est calée sur la hauteur dispo pour viser une vidéo 16:9 « pile »
     (dvh = hauteur réelle, gère les barres mobiles). La fenêtre épouse son
     contenu mais ne dépasse jamais le viewport (max-height) : si l'écran est
     trop court, la zone vidéo se réduit (flex) au lieu de pousser un scroll.
     Header + infos toujours visibles -> AUCUN scroll, sur tout appareil. */
  width: min(92vw, max(560px, calc((100vh - 360px) * 16 / 9)));
  width: min(92vw, max(560px, calc((100dvh - 360px) * 16 / 9)));
  max-width: 1180px;
  max-height: calc(100vh - 2 * clamp(16px, 3vw, 40px));
  max-height: calc(100dvh - 2 * clamp(16px, 3vw, 40px));
  display: flex;
  flex-direction: column;
  background: #000d1f;
  border: 1px solid rgba(0, 80, 150, 0.22);
  border-radius: 12px;
  /* x masqué (coins arrondis) ; y en auto = filet de sécurité : il n'apparaît
     que dans le cas physiquement impossible (chrome plus haut que l'écran,
     ex. téléphone en paysage), sinon la vidéo se réduit et rien ne scrolle. */
  overflow: hidden auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Header et infos : hauteur naturelle, jamais compressés ni scrollables. */
.video-modal__header,
.video-modal__context {
  flex-shrink: 0;
}

/* Zone vidéo : porte le ratio (16:9). Quand ça rentre, elle est « pile » à la
   bonne taille ; si l'écran est trop court, flex-shrink la réduit. */
.video-modal__frame {
  flex: 0 1 auto;
  min-height: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal.is-open .video-modal__container {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.video-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px 13px 20px;
  border-bottom: 1px solid rgba(0, 80, 150, 0.15);
}

.video-modal__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.video-modal__client {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

.video-modal__title {
  font-family: 'PPAgrandir', sans-serif;
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-modal__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.video-modal__tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 5px;
  border-radius: 6px;
  background: var(--tool-bg, rgba(100, 100, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.video-modal__tool-abbr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--tool-color, #9f8fff);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.video-modal__tool-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--tool-color, #9f8fff);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.video-modal__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.video-modal__close svg {
  width: 16px;
  height: 16px;
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.3);
  outline: none;
}

/* L'iframe remplit la zone vidéo, qui porte déjà le bon ratio. Le lecteur
   YouTube conserve le ratio de la vidéo (léger letterbox interne si besoin). */
.video-modal__iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

/* Conteneur vertical : largeur fixe confortable (infos lisibles en 2 colonnes) ;
   la zone vidéo passe en ratio 9:16 et se réduit via le flex -> jamais de
   scroll, et les infos ne « explosent » pas en 1 colonne. */
.video-modal:has(.video-modal__iframe--vertical) .video-modal__container {
  width: min(92vw, 440px);
}

.video-modal:has(.video-modal__iframe--vertical) .video-modal__frame {
  aspect-ratio: 9 / 16;
}

/* Bloquer le scroll du body quand le modal est ouvert */
body.modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .video-modal {
    padding: 0;
    align-items: flex-end;
  }

  /* Bottom-sheet pleine largeur (le reste du mécanisme est partagé : la fenêtre
     épouse son contenu et la vidéo se réduit si l'écran est court -> aucun scroll). */
  .video-modal__container,
  .video-modal:has(.video-modal__iframe--vertical) .video-modal__container {
    border-radius: 16px 16px 0 0;
    max-width: 100%;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-modal__backdrop,
  .video-modal__container {
    transition: none;
  }
}

/* ============================================================
   BOUTON DISPONIBLE — menu principal
   ============================================================ */

.menu-disponible {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--status-border);
  border-radius: 999px;
  background: var(--status-bg);
  color: var(--status-text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.menu-disponible:hover,
.menu-disponible:focus-visible {
  transform: translateY(-1px);
  border-color: var(--status-dot);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.menu-disponible__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-dot);
  flex-shrink: 0;
  animation: availability-blink 2.2s ease-in-out infinite;
}

/* Sur mobile, le badge ne s'étire pas */
@media (max-width: 760px) {
  .menu-disponible {
    align-self: flex-start;
    margin-top: 4px;
  }
}

/* ============================================================
   SECTION PRISE DE RENDEZ-VOUS — page Contact
   ============================================================ */

.rdv-section {
  display: grid;
  gap: 0;
}

.rdv-section .section-head {
  margin-bottom: 14px;
}

.rdv-lead {
  margin: 0 0 24px;
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.75;
}

/* Wrapper du bouton de prise de rendez-vous Google Calendar */
.rdv-button-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .menu-disponible__dot {
    animation: none;
  }
}
