:root {
  --ink: #110d12;
  --paper: #fff8ef;
  --muted: #71636c;
  --coral: #ff3d6e;
  --solar: #ffb000;
  --aqua: #04c9bd;
  --leaf: #1d8b62;
  --violet: #6e3ff2;
  --line: rgba(17, 13, 18, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 28px 90px rgba(42, 17, 26, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 61, 110, 0.18), transparent 30rem),
    radial-gradient(circle at 84% 14%, rgba(4, 201, 189, 0.2), transparent 28rem),
    linear-gradient(135deg, #fff8ef 0%, #fff1e5 48%, #f5fffb 100%);
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

[data-lang="fr"] {
  display: none;
}

body.lang-fr [data-lang="en"] {
  display: none;
}

body.lang-fr [data-lang="fr"] {
  display: inline;
}

body.lang-fr p[data-lang="fr"],
body.lang-fr div[data-lang="fr"],
body.lang-fr section[data-lang="fr"],
body.lang-fr span[data-lang="fr"] {
  display: block;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: min(1240px, calc(100% - 28px));
  min-height: 66px;
  padding: 10px 12px 10px 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.78);
  box-shadow: 0 16px 42px rgba(31, 10, 21, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.language-switch,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

/* The header is a three-column grid, so the brand and the Instagram link share
   the first column rather than adding a fourth child. */
.brand-group {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.brand {
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--coral);
  background: rgba(255, 255, 255, 0.95);
}

.social-link svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.social-link .social-dot {
  fill: currentColor;
  stroke: none;
}

.brand-mark {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
}

.menu-button {
  display: none;
}

.main-nav {
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(17, 13, 18, 0.7);
  font-size: 0.88rem;
  font-weight: 800;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--ink);
  background: rgba(255, 61, 110, 0.12);
}

.language-switch {
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.lang-button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.lang-button.active {
  color: white;
  background: var(--ink);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.page {
  display: none;
  min-height: 100vh;
  padding: 118px max(24px, calc((100vw - 1180px) / 2)) 72px;
}

.page.active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 190px);
}

.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 10% -8% -5% 16%;
  z-index: -1;
  border-radius: 45% 55% 60% 40%;
  background: conic-gradient(from 180deg, var(--coral), var(--solar), var(--aqua), var(--violet), var(--coral));
  filter: blur(1px);
  animation: morph 8s ease-in-out infinite;
}

.hero-media video {
  width: min(100%, 520px);
  max-height: 74vh;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media-badge {
  position: absolute;
  right: 4%;
  bottom: 8%;
  max-width: 260px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(31, 10, 21, 0.16);
  color: var(--ink);
  font-weight: 900;
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #b71848;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.96;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7vw, 7.4rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
}

.copy-stack {
  display: grid;
  gap: 14px;
}

.copy-stack p,
.lede,
.studio-statement p,
.class-card p,
.service-grid p,
.wide-cta p,
.coming-soon p,
.contact-band p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--ink), #42172f 52%, #e41558);
  box-shadow: 0 14px 34px rgba(228, 21, 88, 0.28);
}

.button.secondary {
  border: 1px solid rgba(17, 13, 18, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.studio-statement {
  max-width: 980px;
  margin: 72px auto;
  text-align: center;
}

.studio-statement p {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 1.1;
}

.media-gallery,
.portrait-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.media-gallery figure,
.portrait-band img,
.private-image,
.class-card,
.installment-panel,
.service-grid article,
.wide-cta,
.coming-soon,
.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

/* A fixed ratio keeps every tile identical. Without it the img's intrinsic
   height drives the figure, so one tall source photo stretches its whole row. */
.media-gallery figure {
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
}

.media-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.page-hero {
  max-width: 980px;
  margin-bottom: 44px;
}

.page-hero.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: none;
  align-items: start;
}

.portrait-band {
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
}

.portrait-band img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center top;
}

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

.class-card,
.installment-panel,
.service-grid article,
.wide-cta,
.coming-soon {
  padding: clamp(24px, 3vw, 38px);
}

.card-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 28px;
  color: white;
  border-radius: 50%;
  background: var(--ink);
  font-weight: 900;
}

.class-card h2,
.service-grid h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.info-list {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.5;
}

.info-list strong {
  color: var(--ink);
}

.price-line {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(4, 201, 189, 0.12);
  color: #035f58;
  font-weight: 900;
}

.installment-panel,
.wide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
}

.installment-panel p,
.wide-cta p {
  max-width: 760px;
  margin-bottom: 0;
}

.show-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

/* Autoplaying show reel. Browsers only allow autoplay when muted, so the
   markup pairs autoplay with muted and keeps controls for unmuting. */
.feature-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.service-grid article {
  min-height: 220px;
}

.private-image {
  margin-top: 42px;
  overflow: hidden;
}

/* A ratio rather than a max-height: this frame is wide, so a tall portrait
   source got cropped to a sliver. Paired with a landscape photo it stays whole. */
.private-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.coming-soon {
  display: grid;
  min-height: calc(100vh - 240px);
  align-content: center;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 5vw, 64px);
  padding: 82px max(24px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: white;
}

.contact-band .eyebrow,
.contact-band p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.09);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--aqua);
  font-weight: 900;
}

.form-note.is-error {
  color: var(--coral);
}

/* Honeypot: off-screen rather than display:none, which bots skip. */
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  background: #080608;
  color: white;
  font-weight: 800;
}

@keyframes morph {
  50% {
    border-radius: 62% 38% 44% 56%;
    transform: translate3d(-10px, 14px, 0) rotate(7deg);
  }
}

@media (max-width: 980px) {
  /* `auto` tracks stretch to absorb free space, which inflated the language
     switch well past its content. space-between sizes each track to its
     content and puts the slack between them instead. */
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    border-radius: 24px;
  }

  .brand span:last-child {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Not enough room for the full handle once the nav collapses: icon only. */
  .social-handle {
    display: none;
  }

  .social-link {
    padding: 6px;
  }

  /* Without an explicit colour and font, iOS renders button text in its
     default system blue and system face, which is off-brand. */
  .menu-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 900;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 6px;
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .hero,
  .page-hero.two-column,
  .show-layout,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero-media {
    width: min(100%, 480px);
    margin-inline: auto;
  }

  .media-gallery,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .installment-panel,
  .wide-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    gap: 8px;
    padding-inline: 10px;
  }

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

  /* The header pill is tight on phones: brand, Instagram, Menu and the
     language toggle all share one row, so the toggle is compacted. */
  .language-switch {
    gap: 2px;
    padding: 3px;
  }

  .lang-button {
    min-width: 32px;
    min-height: 30px;
    padding: 0 4px;
    font-size: 0.78rem;
  }

  .menu-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .page {
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-media-badge {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 10px;
  }

  .media-gallery,
  .portrait-band,
  .class-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .portrait-band img {
    height: 520px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
