:root {
  --bg: #020203;
  --ink: #f6f6f7;
  --muted: #b8bac2;
  --soft: #878a94;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --gold: #d6bf80;
  --radius-xl: 42px;
  --radius-lg: 28px;
  --shadow: 0 48px 150px rgba(0, 0, 0, 0.72);
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.06), transparent 34rem),
    radial-gradient(circle at 18% 22%, rgba(214, 191, 128, 0.045), transparent 24rem),
    linear-gradient(180deg, #050506 0%, var(--bg) 44%, #000 100%);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 10px 10px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 58%);
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 16px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(1120px, calc(100% - 36px));
  min-height: 58px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.74);
  padding: 8px 10px 8px 18px;
  box-shadow: 0 16px 58px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(26px);
}

.brand,
.nav,
.hero-actions,
.work-list,
.footer,
.footer-links,
.language-switcher {
  display: flex;
  align-items: center;
}

.brand {
  min-height: 42px;
  padding: 0 4px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 18px 42px rgba(255, 255, 255, 0.12);
}

.nav {
  gap: 2px;
}

.nav a {
  min-height: 42px;
  border-radius: 999px;
  padding: 12px 15px;
  color: rgba(246, 246, 247, 0.7);
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: var(--ink);
}

.language-switcher {
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 4px;
}

.language-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  opacity: 0.58;
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.language-button:hover {
  transform: translateY(-1px);
}

.flag {
  display: block;
  width: 20px;
  height: 14px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.flag-fr {
  background: linear-gradient(90deg, #1b3f8b 0 33.33%, #fff 33.33% 66.66%, #d12d35 66.66% 100%);
}

.flag-en {
  background:
    radial-gradient(circle, #fff 0 14%, transparent 15%) 3px 2px / 4px 3px repeat,
    linear-gradient(#3b3b6d 0 0) 0 0 / 40% 54% no-repeat,
    repeating-linear-gradient(180deg, #b22234 0 7.69%, #fff 7.69% 15.38%);
}

.section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 56px;
  padding: 122px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(68px, 7.6vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.072em;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.058em;
}

h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-lede,
.section-heading p,
.work-panel p,
.final-cta p {
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.52;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 34px;
}

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

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(180deg, #fff, #dedfe5);
  color: #050506;
  box-shadow: 0 18px 48px rgba(255, 255, 255, 0.15);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.hero-object {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
  margin: 0;
}

.hero-object::before {
  content: "";
  position: absolute;
  inset: 15% 0 7%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 58%, rgba(214, 191, 128, 0.11), transparent 62%);
  filter: blur(34px);
  opacity: 0.72;
}

.hero-object img {
  display: block;
  width: min(540px, 94%);
  height: auto;
  clip-path: inset(0 0 18% 0);
  transform: translateX(3%) rotate(1.5deg);
  filter: drop-shadow(0 44px 88px rgba(0, 0, 0, 0.62));
  user-select: none;
}

.standard,
.work,
.final-cta {
  padding: 82px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principles article,
.work-panel,
.final-cta {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.principles article {
  min-height: 310px;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.principles span {
  display: inline-flex;
  margin-bottom: 64px;
  color: var(--soft);
  font-weight: 900;
}

.principles p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.work-panel {
  border-radius: var(--radius-xl);
  padding: 64px;
}

.work-panel p {
  max-width: 780px;
  margin-bottom: 34px;
}

.work-list {
  flex-wrap: wrap;
  gap: 10px;
}

.work-list span {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.final-cta {
  margin-bottom: 48px;
  border-radius: 42px;
  padding: 78px;
  text-align: center;
}

.final-cta h2 {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.final-cta p {
  margin-bottom: 30px;
}

.final-cta p a,
.legal-panel a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.34);
  text-underline-offset: 4px;
}

.legal {
  min-height: calc(100dvh - 80px);
  padding: 154px 0 72px;
}

.legal h1 {
  max-width: 900px;
  margin-bottom: 34px;
}

.legal-panel {
  max-width: 900px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  padding: 48px;
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.3);
}

.legal-panel h2 {
  margin: 34px 0 10px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.legal-panel h2:first-of-type {
  margin-top: 0;
}

.legal-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.footer {
  width: min(1200px, calc(100% - 48px));
  min-height: 80px;
  justify-content: space-between;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

[data-reveal] {
  transform: translateY(0);
  opacity: 1;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.34);
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-object {
    min-height: 560px;
  }

  .principles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: auto;
    width: min(calc(100% - 20px), 370px);
    min-height: 54px;
    transform: none;
    padding: 8px 9px;
  }

  .brand span:last-child {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .nav {
    gap: 0;
  }

  .nav a {
    font-size: 12px;
    padding: 11px 10px;
    white-space: nowrap;
  }

  .language-switcher {
    gap: 2px;
    padding: 3px;
  }

  .language-button {
    width: 30px;
    height: 30px;
  }

  .flag {
    width: 18px;
    height: 13px;
  }

  .section,
  .footer {
    width: min(calc(100% - 28px), 362px);
    margin-right: auto;
    margin-left: 14px;
  }

  .hero {
    gap: 26px;
    min-height: auto;
    padding: 116px 0 46px;
  }

  h1 {
    font-size: clamp(48px, 13vw, 58px);
    line-height: 0.93;
    letter-spacing: -0.056em;
  }

  h2 {
    font-size: clamp(38px, 10.5vw, 50px);
    letter-spacing: -0.05em;
  }

  .hero-lede,
  .work-panel p,
  .final-cta p {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-object {
    min-height: 420px;
  }

  .hero-object img {
    width: min(330px, 96%);
    transform: translateX(1%) rotate(1deg);
  }

  .standard,
  .work,
  .final-cta {
    padding: 56px 0;
  }

  .principles article {
    min-height: 250px;
  }

  .principles span {
    margin-bottom: 44px;
  }

  .work-panel,
  .final-cta,
  .legal-panel {
    border-radius: 30px;
    padding: 34px 22px;
  }

  .legal {
    padding: 116px 0 54px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 8px 12px;
  }
}

@media (max-width: 390px) {
  .nav a {
    font-size: 11px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .site-header {
    gap: 8px;
  }
}

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

  [data-reveal] {
    transform: none;
    opacity: 1;
  }
}
