:root {
  --color-bg: #fcf5f4;
  --color-bg-soft: #f7eaea;
  --color-bg-deep: #efdedf;
  --color-text: #1a1a1a;
  --color-ink: #1a1a1a;
  --color-blush: #fcf5f4;
  --color-surface: #ffffff;
  --color-accent: #800020;
  --color-accent-light: #c25b6e;
  --color-accent-dark: #5a0016;
  --color-accent-ink: #800020;
  --color-logo-arc: var(--color-accent);
  --color-white: #ffffff;
  --color-text-soft: #4a4a4a;
  --color-line: rgba(26, 26, 26, 0.12);
  --color-label: #5c4a4c;
  --header-bg: #faefef;
  --arc-flash: #d696a1;
  --submit-bg: var(--color-ink);
  --error-bg: #fbeaea;
  --error-text: #922b21;
  --radius: 18px;
  --radius-lg: 32px;
  --shadow: 0 18px 50px rgba(26, 26, 26, 0.08);
  --max-width: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-main: "Outfit", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-heading: "Fraunces", Georgia, serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #1b1614;
  --color-bg-soft: #221c19;
  --color-bg-deep: #2a221f;
  --color-text: #f8eded;
  --color-text-soft: #bdaeaf;
  --color-ink: #100c0b;
  --color-surface: #342b27;
  --color-accent: #9b1b3b;
  --color-accent-light: #e07a8e;
  --color-accent-dark: #800020;
  --color-accent-ink: #e58a9c;
  --color-line: rgba(243, 236, 224, 0.12);
  --color-label: #bcaaab;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --header-bg: #1e1916;
  --arc-flash: #8e525c;
  --submit-bg: var(--color-accent);
  --error-bg: #3a1518;
  --error-text: #f2a7a0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
.pack-group[id] {
  scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1.0625rem;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

:focus-visible {
  outline: 2px solid var(--color-accent-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

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

  padding: 0 max(24px, env(safe-area-inset-right, 0px)) 0 max(24px, env(safe-area-inset-left, 0px));
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 10px 16px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--header-bg);

  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.05);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.brand img {
  height: 40px;
  width: auto;
}

.main-nav {
  margin-left: auto;
}

.logo-on-dark,
:root[data-theme="dark"] .logo-on-light {
  display: none;
}

:root[data-theme="dark"] .logo-on-dark {
  display: block;
}

.theme-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  box-shadow: inset 0 0 0 1.5px var(--color-line);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.theme-toggle:hover {
  color: var(--color-accent-ink);
  box-shadow: inset 0 0 0 1.5px var(--color-accent-ink);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}

.theme-toggle:hover svg {
  transform: rotate(-20deg);
}

.theme-toggle .icon-sun,
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent-ink);
  transform: translateX(-50%) scale(0);
  transition: transform 0.25s var(--ease);
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a.active::after {
  transform: translateX(-50%) scale(1);
}

.main-nav a.active,
.main-nav a:not(.nav-cta):hover {
  color: var(--color-accent-ink);
}

.main-nav a.nav-cta {
  padding: 11px 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.98rem;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

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

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(128, 0, 32, 0.3);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  box-shadow: inset 0 0 0 1.5px var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

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

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

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

section {
  padding: 120px 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-title {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  column-gap: 60px;
  margin-bottom: 72px;
}

.section-title h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1;
  margin: 0;
}

.section-title p {
  margin: 0;
  color: var(--color-text-soft);
  max-width: 440px;
  justify-self: end;
}

#accueil {
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

#accueil > .container {
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: min(calc(88vh - var(--header-h) - 120px), 640px);
}

#accueil h1 {
  font-size: clamp(2.9rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
}

#accueil h1 span {
  color: var(--color-accent-ink);
}

.lead {
  max-width: 520px;
  margin: 0 0 40px;
  font-size: 1.15rem;
  color: var(--color-text-soft);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  justify-self: center;
}

.hero-mark {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  color: var(--color-text);
}

.hero-bubble {
  fill: none;
  stroke: currentColor;
  stroke-width: 30;
  stroke-linejoin: round;
}

.hero-eye {
  fill: currentColor;
}

.hero-waves path {
  fill: none;
  stroke: var(--color-logo-arc);
  stroke-width: 15;
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 0;
  animation: wave-draw 1.4s var(--ease) 0.2s both;
}

.hero-waves path:nth-child(2) {
  animation-delay: 0.35s;
}

.hero-waves path:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes wave-draw {
  from {
    stroke-dashoffset: 700;
  }
}

.hero-waves path,
.arcs-bg path {
  transform-box: view-box;
}

.hero-waves path {
  transform-origin: 278px 344.5px;
}

.hero-waves.is-pulsing path {
  animation: wave-draw 1.4s var(--ease) 0.2s both, arc-pulse 0.9s var(--ease) 0s both;
}

.hero-waves.is-pulsing path:nth-child(2) {
  animation-delay: 0.35s, 0.12s;
}

.hero-waves.is-pulsing path:nth-child(3) {
  animation-delay: 0.5s, 0.24s;
}

@keyframes arc-pulse {
  40% {
    transform: scale(1.05);
    opacity: 0.3;
  }
}

.hero-index {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-line);
}

.hero-index li + li {
  border-left: 1px solid var(--color-line);
}

.hero-index a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 26px 24px;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.hero-index li:first-child a {
  padding-left: 0;
}

.hero-index a:hover {
  color: var(--color-accent-ink);
}

#nos-packs {
  background: var(--color-bg-deep);
}

.pack-group {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--color-text);
}

.pack-group:last-child {
  padding-bottom: 0;
}

.pack-head {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 32px);
  align-self: start;
}

.pack-subtitle {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin: 0;
}

.pack-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 48px;
}

.card {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-content: start;
  column-gap: 18px;
}

.card .icon {
  grid-row: span 2;
  padding-top: 4px;
}

.card .icon svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: var(--color-accent-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.card h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.97rem;
}

#equipe {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.arcs-bg {
  position: absolute;
  top: -140px;
  right: -180px;
  width: min(900px, 90vw);
  height: auto;
  overflow: visible;
  pointer-events: none;
}

.arcs-bg path {
  fill: none;
  stroke: var(--color-bg-deep);
  stroke-width: 15;
  stroke-linecap: round;
  transform-origin: 93px 334.5px;
}

.arcs-bg.is-pulsing path {
  animation: arc-pulse-soft 1.4s var(--ease) both;
}

.arcs-bg.is-pulsing path:nth-child(2) {
  animation-delay: 0.15s;
}

.arcs-bg.is-pulsing path:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes arc-pulse-soft {
  40% {
    transform: scale(1.04);
    stroke: var(--arc-flash);
  }
}

#equipe > .container {
  position: relative;
}

.team {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.team-photo-wrap {
  position: relative;
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

.team-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  clip-path: url(#p-frame);
  background: var(--color-accent);
}

.team-photo {
  position: relative;
  aspect-ratio: 470 / 654.5;
  clip-path: url(#p-frame);
  background: var(--color-bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-ink);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  overflow: hidden;
}

.team-copy h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1;
  margin: 0 0 20px;
}

.team-intro {
  color: var(--color-text-soft);
  max-width: 420px;
  margin: 0 0 48px;
}

.team-name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  margin: 0 0 8px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}

.team-role {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent-ink);
  margin: 0;
}

.team-bio {
  color: var(--color-text-soft);
  margin: 20px 0 0;
}

.team-bio:empty {
  display: none;
}

#nos-references {
  background: var(--color-ink);
  color: var(--color-blush);
  overflow: hidden;
}

#nos-references .section-title p {
  color: rgba(252, 245, 244, 0.7);
}

.logo-marquee {
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(252, 245, 244, 0.15);
  border-bottom: 1px solid rgba(252, 245, 244, 0.15);
  padding: 38px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

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

.logo-marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  color: rgba(252, 245, 244, 0.55);
  transition: color 0.3s ease;
}

.logo-marquee-item::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent-light);
}

.logo-marquee-item:hover {
  color: var(--color-blush);
}

.logo-marquee-item span {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.testimonials-head {
  margin: 100px 0 36px;
}

.testimonials-head h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  margin: 0;
}

.client-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: #262626;
  color: rgba(252, 245, 244, 0.75);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  font-size: 0.92rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(252, 245, 244, 0.08);
}

.video-placeholder > * {
  position: relative;
}

.play-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-blush);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  transition: transform 0.35s var(--ease);
}

.play-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}

.video-placeholder:hover .play-icon {
  transform: scale(1.1);
}

#contact {
  padding: 120px 0;
  background: var(--color-bg-soft);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.contact-intro h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 40px;
}

.contact-intro h2 em {
  font-weight: 400;
  font-style: normal;
}

.contact-direct {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.contact-direct a {
  font-size: 1.15rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s ease;
}

.contact-direct a:hover {
  border-bottom-color: var(--color-white);
}

.contact-form {
  position: relative;
  background: var(--color-bg);
  color: var(--color-text);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-form label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-label);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: var(--color-surface);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9b8a8c;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent-ink);
  box-shadow: 0 0 0 4px rgba(128, 0, 32, 0.12);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 6px;
  background: var(--submit-bg);
}

.contact-form .btn-primary:hover {
  background: var(--color-accent-dark);
}

.form-success {
  display: none;
  margin: 0;
  background: var(--color-bg-soft);
  border-left: 3px solid var(--color-accent);
  color: var(--color-accent-ink);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.92rem;
}

.form-error {
  display: none;
  margin: 0;
  background: var(--error-bg);
  border-left: 3px solid #c0392b;
  color: var(--error-text);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.92rem;
}

.form-captcha {
  display: flex;
  justify-content: center;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--color-ink);
  color: var(--color-blush);
  padding: 80px 0 calc(32px + env(safe-area-inset-bottom, 0px));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.footer-grid img {
  height: 38px;
  width: auto;
  margin-bottom: 20px;
}

.footer-grid p {
  color: rgba(252, 245, 244, 0.65);
  max-width: 380px;
  margin: 0;
}

.footer-grid h4 {
  margin: 0 0 18px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid a {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(252, 245, 244, 0.15);
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(252, 245, 244, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-waves path {
    animation: none;
  }
}

@media (max-width: 1000px) {
  .pack-group {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pack-head {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 16px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    padding: 48px;
  }

  .contact-direct {
    margin-top: 0;
  }
}

@media (max-width: 880px) {
  section {
    padding: 88px 0;
  }

  .main-nav ul {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    border-bottom: 1px solid var(--color-line);
    z-index: -1;
  }

  .main-nav.open ul {
    transform: translateY(0);
  }

  .main-nav ul li {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
  }

  .main-nav ul li:last-child {
    border-bottom: none;
    padding-top: 20px;
  }

  .main-nav a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .main-nav a.nav-cta {
    width: 100%;
    font-family: var(--font-main);
    font-size: 1rem;
    padding: 15px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-visual {
    display: none;
  }

  .hero-index {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-index li:nth-child(3) {
    border-left: none;
  }

  .hero-index li:nth-child(n + 3) {
    border-top: 1px solid var(--color-line);
  }

  .hero-index li:nth-child(3) a {
    padding-left: 0;
  }

  .section-title {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .section-title p {
    justify-self: start;
    margin-top: 20px;
  }

  .team {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .team-photo-wrap {
    max-width: 320px;
  }

  .client-videos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pack-list,
  .client-videos,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-index a {
    padding: 20px 16px;
    font-size: 0.95rem;
  }

  .video-placeholder {
    aspect-ratio: 16 / 9;
  }

  .contact-wrap {
    padding: 32px 20px 20px;
    border-radius: var(--radius);
    margin: 0 -8px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .team-photo-wrap::before {
    inset: 16px -16px -16px 16px;
  }
}
