@font-face {
  font-family: Barlow;
  src: url('assets/barlow-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url('assets/barlow-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1b1a18;
  --hero: #eae7e1;
  --page: #f6f4ef;
  --surface: #faf9f6;
  --muted: #605a51;
  --line: #d6d0c5;
  --focus: #805318;
  --display: Inter, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1.06rem/1.5 Barlow, Arial, sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wordmark {
  display: inline-block;
  inline-size: 3.05em;
  vertical-align: -.02em;
  filter: brightness(0);
}
[data-theme="dark"] .wordmark, .primary .wordmark { filter: brightness(0) invert(1); }
[data-theme="dark"] .primary .wordmark { filter: brightness(0); }
figure, dl, dd, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font: 500 clamp(2.1rem, 4.5vw, 4.8rem)/.98 var(--display); letter-spacing: -.065em; text-wrap: balance; }
h3 { font-size: clamp(1.65rem, 3vw, 3.1rem); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(93.5%, 82rem); margin-inline: auto; }
.section-space { padding-block: clamp(3rem, 7vw, 7rem); }
.section-head { margin-bottom: clamp(1.5rem, 3vw, 2.6rem); }
.section-head > p:not(.eyebrow) { max-width: 36rem; margin-top: .85rem; color: var(--muted); }
.eyebrow, .caption { font-size: .82rem; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: .55rem; margin-bottom: .8rem; }
.eyebrow span { width: .36rem; height: .36rem; background: var(--ink); border-radius: 50%; }
.skip { position: absolute; z-index: 6; left: 1rem; top: 1rem; padding: .6rem; background: var(--surface); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header, .hero { width: min(100%, 1800px); margin-inline: auto; background: var(--hero); }
.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.55rem 3.25%;
  font-family: var(--display);
}
.site-header nav { display: flex; gap: 2.2rem; font-size: .8rem; }
.site-header nav a, .brand { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-header nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.brand { display: inline-block; justify-self: start; }
.brand img { width: 106px; height: auto; filter: brightness(.13); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 2.65rem;
  padding: .72rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 99px;
  text-decoration: none;
  font: 400 .8rem/1.2 var(--display);
  cursor: pointer;
}
.site-header .button { justify-self: end; white-space: nowrap; }
.outline:hover { background: var(--surface); }
.primary, .dark-button { background: var(--ink); color: #fff; }
.primary:hover, .dark-button:hover { background: #413a31; }

.hero-stage { position: relative; width: 100%; aspect-ratio: 2.72; isolation: isolate; margin-top: -.85rem; }
.hero-watermark { position: absolute; width: 95%; left: 2.5%; top: 3%; filter: brightness(0) invert(1); opacity: .57; }
.hero-towel { position: absolute; inset: -3% 0 0; width: 100%; height: 110%; object-fit: fill; }
.hero-embroidery {
  position: absolute;
  width: 23%;
  top: 68%;
  left: 52%;
  transform: rotate(-9deg) skewX(-5deg);
  filter: drop-shadow(.7px 1px 1px #694d3499);
  opacity: .94;
}
.hero-intro {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1.1fr 1.2fr;
  gap: 1.2rem;
  align-items: end;
  margin-top: max(-4.2vw, -75px);
  padding: 0 3.25% 3.25rem;
  font-family: var(--display);
}
.hero-intro .primary { margin-bottom: 1.15rem; }
.hero h1 { font-size: clamp(2.15rem, 4.35vw, 5.2rem); line-height: .95; letter-spacing: -.075em; }
.hero-intro > p { max-width: 27ch; margin-bottom: .2rem; font-size: clamp(.86rem, 1.12vw, 1.12rem); line-height: 1.45; }
.hero-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.hero-card {
  display: grid;
  gap: 1rem;
  align-content: space-between;
  min-height: 8.5rem;
  padding: 1rem;
  border-radius: 1.15rem;
  background: var(--surface);
  text-decoration: none;
}
.hero-card:hover { background: #fff; }
.hero-card strong { font-size: clamp(1.18rem, 1.85vw, 1.9rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.03; }
.hero-card span { display: flex; gap: .35rem; align-items: center; justify-content: space-between; font-size: .72rem; }
.hero-card i { display: grid; place-items: center; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; }

.demo { background: var(--surface); }
.demo-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.demo-controls button {
  min-height: 4.8rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--page);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}
.demo-controls button small { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .7rem; }
.demo-controls button:hover { border-color: var(--ink); }
.demo-controls button[aria-selected=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.demo-controls button[aria-selected=true] small { color: #e2dbd0; }
.moment { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: clamp(1.2rem, 5vw, 5rem); margin-top: 1rem; }
.moment-image {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: end;
  align-items: center;
  min-height: 26rem;
  padding: 1.1rem clamp(1rem, 3vw, 2.5rem);
  overflow: hidden;
  border-radius: 1.1rem;
  background: var(--hero);
}
.moment-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 21%; }
.moment-image:has(.moment-photo)::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg, transparent 55%, #100e0b45); }
.moment-cours .moment-photo { object-position: left center; }
.moment-seance .moment-photo { object-position: center 12%; }
.phone { width: 10.5rem; border: 4px solid #141412; border-radius: 1.15rem; background: #141412; box-shadow: 0 .65rem 1.5rem #0006; }
.moment-copy { max-width: 33rem; }
.moment dl { margin-block: 1.2rem; }
.moment dt { border-top: 1px solid var(--line); padding-top: .65rem; font-weight: 700; }
.moment dd { margin: .2rem 0 .85rem; color: var(--muted); }

.comparison { background: var(--hero); }
.comparison-rope { overflow: hidden; margin-block: -.35rem clamp(1rem, 2vw, 2rem); }
.comparison-rope img { width: 100%; aspect-ratio: 4.5; object-fit: fill; }
.comparison-list { border-top: 1px solid var(--line); margin-bottom: 1rem; }
.comparison details { border-bottom: 1px solid var(--line); }
.comparison summary { display: flex; align-items: center; gap: .85rem; min-height: 4.1rem; padding: .65rem .15rem; cursor: pointer; font-size: clamp(1.08rem, 1.8vw, 1.35rem); font-weight: 700; list-style: none; }
.comparison summary::-webkit-details-marker { display: none; }
.comparison summary span { color: var(--muted); font-size: .79rem; }
.comparison summary::after { content: '+'; margin-left: auto; font-size: 1.4rem; line-height: 1; }
.comparison details[open] summary::after { content: '−'; }
.comparison summary:hover { color: var(--focus); }
.comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; padding-bottom: .9rem; }
.comparison-grid > div { border-radius: .8rem; padding: 1rem; background: var(--page); }
.comparison-grid > div:nth-child(2) { background: #fff; }
.comparison-grid h3 { font: 700 .93rem/1.25 Barlow, Arial, sans-serif; letter-spacing: 0; margin-bottom: .4rem; }
.comparison-grid p, .comparison-note { color: var(--muted); }
.comparison-note { max-width: 48rem; margin-bottom: 1.25rem; }
.comparison-note a { text-underline-offset: .2em; }

.operations figure img { width: 100%; border: 1px solid var(--line); border-radius: 1rem; }
.operations figcaption { margin-top: .6rem; }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.35rem; }
.roles > div { border-top: 1px solid var(--line); padding-top: .7rem; }
.roles dt { font-weight: 700; }
.roles dd, .brand-note { color: var(--muted); }
.brand-note { margin-top: 1.3rem; }
.pilot { background: var(--hero); padding-block: 2rem; }
.pilot-inner { display: grid; grid-template-columns: auto 1fr 1.4fr; align-items: center; gap: 1.2rem; }
.pilot .eyebrow { margin: 0; }
.pilot h2 { font-size: clamp(1.9rem, 3.7vw, 3.7rem); }
.pilot p:last-child { max-width: 29rem; color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact #open-meeting { margin-top: 1rem; }
#meeting-dialog { width: min(38rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(1rem, 4vw, 1.6rem); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 1.2rem; }
#meeting-dialog::backdrop { background: #0009; }
.contact #contact-form { display: grid; gap: .4rem; }
.contact label { font-weight: 700; }
.contact label span { color: var(--muted); font-weight: 400; }
.contact input, .contact textarea { width: 100%; margin-bottom: .4rem; padding: .6rem .65rem; border: 1px solid #a49a8b; border-radius: .35rem; background: #fff; color: var(--ink); font: inherit; }
.contact textarea { resize: vertical; }
.contact form .button { justify-self: start; margin: .35rem 0; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; border-top: 1px solid var(--line); padding-block: 1.3rem; color: var(--muted); font-size: .9rem; }

@media (min-width: 761px) and (max-width: 920px) {
  .hero-intro { grid-template-columns: 1fr 1fr; }
  .hero-links { grid-column: 1 / -1; }
  .hero-card { min-height: 6rem; }
}
@media (max-width: 760px) {
  .wrap { width: 90%; }
  .site-header { grid-template-columns: 1fr auto; padding: .9rem 5%; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .5rem; }
  .site-header nav a { padding-block: .45rem; }
  .site-header .header-actions { grid-column: 2; grid-row: 1; }
  .site-header + main section[id] { scroll-margin-top: 8rem; }
  .hero-stage { margin-top: .2rem; aspect-ratio: 1.58; overflow: hidden; }
  .hero-towel { width: 125%; max-width: none; left: -14%; height: 100%; }
  .hero-watermark { width: 94%; top: 10%; left: 3%; }
  .hero-embroidery { left: 48%; width: 29%; top: 59%; }
  .hero-intro { margin-top: 0; grid-template-columns: 1fr; gap: .85rem; padding: 0 5% 2rem; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.9rem); }
  .hero-intro > p { max-width: 35ch; }
  .hero-card { min-height: 6.5rem; gap: .65rem; }
  .comparison-rope img { width: 145%; max-width: none; margin-left: -22.5%; aspect-ratio: 3.81; }
  .moment, .comparison-grid, .pilot-inner, .contact { grid-template-columns: 1fr; }
  .moment-image { min-height: 20rem; }
  .moment-cours .moment-image { align-items: end; }
  .moment-cours .phone { width: 5.5rem; }
  .phone { width: 8.5rem; }
  .demo-controls button { padding: .6rem .42rem; font-size: .88rem; }
  .demo-controls button small { font-size: .65rem; }
  .pilot-inner, .site-footer { gap: .55rem; }
  .contact { gap: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 400px) {
  .roles { grid-template-columns: 1fr; gap: .65rem; }
  .hero-card { padding: .75rem; }
}

.hero-sway {
  position: absolute;
  inset: -24px 0 auto;
  width: 100%;
  height: calc(100% + 48px);
  pointer-events: none;
}
.hero-stage.is-swaying :is(.hero-towel, .hero-embroidery) { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero-sway { display: none; }
  .hero-stage.is-swaying .hero-towel { opacity: 1; }
  .hero-stage.is-swaying .hero-embroidery { opacity: .94; }
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .8rem; margin-bottom: 1.15rem; }
.hero-actions .primary { margin-bottom: 0; }
.breeze-toggle {
  min-height: 2.65rem;
  padding: .45rem .15rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 400 .74rem/1.2 var(--display);
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.breeze-toggle[aria-pressed=true] { color: var(--ink); font-weight: 700; }

.comparison-rope { position: relative; padding-bottom: clamp(2.1rem, 4vw, 5rem); }
.comparison-rope .comparison-rope-secondary {
  position: absolute;
  inset: 12% auto auto 0;
  transform: scaleY(-1);
  opacity: .68;
}
.rope-toggle { position: absolute; right: max(3.25%, calc((100% - 82rem) / 2)); bottom: 0; }
.rope-wave {
  position: absolute;
  inset: -34px 0 auto;
  width: 100%;
  height: calc(100% + 68px);
  pointer-events: none;
}
.comparison-rope.is-waving img { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .rope-wave { display: none; }
  .comparison-rope.is-waving img { opacity: 1; }
  .comparison-rope.is-waving .comparison-rope-secondary { opacity: .68; }
}

:root {
  --contrast-ink: #fff;
  --highlight-surface: #fff;
  --glass-tint: rgba(249, 249, 251, .48);
  --glass-border: rgba(52, 53, 58, .15);
  --glass-rim: rgba(255, 255, 255, .95);
  --glass-shadow: rgba(20, 22, 30, .12);
  --glass-glint: rgba(255, 255, 255, .28);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f7eee4;
  --hero: #252423;
  --page: #1e1d1c;
  --surface: #302e2c;
  --highlight-surface: #3b3835;
  --muted: #cdc7bf;
  --line: #57524c;
  --focus: #ffd18d;
  --contrast-ink: #252423;
  --glass-tint: rgba(37, 35, 33, .68);
  --glass-border: rgba(255, 255, 255, .19);
  --glass-rim: rgba(255, 255, 255, .38);
  --glass-shadow: rgba(0, 0, 0, .24);
  --glass-glint: rgba(255, 255, 255, .11);
}
.primary, .dark-button, .hero-card i, .demo-controls button[aria-selected=true] { color: var(--contrast-ink); }
.primary:hover, .dark-button:hover { background: var(--ink); opacity: .86; }
.demo-controls button[aria-selected=true] small { color: var(--contrast-ink); }
.hero-card:hover, .comparison-grid > div:nth-child(2), .contact input, .contact textarea { background: var(--highlight-surface); }
[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
[data-theme="dark"] .hero-watermark { opacity: .09; }

.liquid-glass {
  background-color: var(--glass-tint);
  background-image: radial-gradient(ellipse at 20% 0%, var(--glass-glint), transparent 72%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 -1px 0 #ffffff12, 0 10px 32px var(--glass-shadow);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
}
.k-optics-definitions { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.liquid-glass.k-optical-glass {
  -webkit-backdrop-filter: var(--optical-filter) saturate(1.3);
  backdrop-filter: var(--optical-filter) saturate(1.3);
}
.site-header.liquid-glass {
  position: sticky;
  top: .65rem;
  width: min(93.5%, 82rem);
  margin-block: .65rem;
  padding: .65rem clamp(.75rem, 2vw, 1.65rem);
  border-radius: 2rem;
  z-index: 5;
}
header + main { scroll-margin-top: 5rem; }
section[id] { scroll-margin-top: 5rem; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: .55rem; }
.theme-toggle { padding-inline: .65rem; }
.editorial { background: var(--page); }
.audience-intro h1 { max-width: 18ch; }
.audience-intro > p:not(.eyebrow) { max-width: 55ch; margin-top: 1rem; color: var(--muted); }
.audience-intro .hero-actions { margin-top: 1.4rem; flex-wrap: wrap; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.75rem, 2.5vw, 2rem); }
.editorial-grid figure { position: relative; overflow: hidden; border-radius: 1.25rem; }
.editorial-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 43%; }
.editorial-screen {
  position: absolute;
  right: 4%;
  bottom: 19%;
  width: min(34%, 13rem);
  border-radius: 1.15rem;
}
.editorial-screen .phone { width: 100%; }
.editorial-label {
  position: absolute;
  inset: auto .8rem .8rem;
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  padding: .75rem .9rem;
  border-radius: .9rem;
  color: #fff;
  background-color: rgba(31, 29, 27, .76);
}
.editorial-label span { color: #f3e9df; }
@media (max-width: 520px) {
  .site-header.liquid-glass .brand img { width: 82px; }
  .site-header.liquid-glass .button { min-height: 2.4rem; }
  .header-actions { gap: .35rem; }
  .editorial-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .liquid-glass, .liquid-glass.k-optical-glass { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .editorial-label, .editorial-label.k-optical-glass { background: #282624; }
}

.course-search, .course-list, .course-form { display: grid; gap: .9rem; }
.course-search { grid-template-columns: 1fr minmax(10rem, .5fr) auto; align-items: end; margin-bottom: 1rem; }
.course-search label, .course-form label:not(.course-check) { display: grid; gap: .35rem; }
.course-search input, .course-form input:not([type="checkbox"]) { width: 100%; min-width: 0; padding: .65rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: .5rem; font: inherit; }
.course-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); margin-top: 1rem; }
.course-card, .course-booking { padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.course-card h3 { margin-block: .35rem .65rem; font-size: 1.4rem; }
.course-card p + p { margin-top: .65rem; }
.course-card .button { margin-top: .85rem; }
#course-detail { width: min(42rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(1rem, 3vw, 1.6rem); color: var(--ink); background: var(--page); border: 1px solid var(--line); border-radius: 1.2rem; }
#course-detail::backdrop { background: #15131199; }
.course-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.course-dialog-head h3 { font-size: clamp(1.35rem, 4vw, 2rem); }
#course-content > * + *, #course-feedback:not(:empty) { margin-top: .8rem; }
.course-facts { display: grid; grid-template-columns: minmax(6rem, .6fr) 1fr; gap: .3rem .8rem; margin: 0; }
.course-facts dt { color: var(--muted); }
.course-facts dd { margin: 0; }
.course-check { display: flex; align-items: start; gap: .5rem; }
.course-check input { margin-top: .35em; flex: none; }
.course-form .button { justify-self: start; }
.course-terms { white-space: pre-wrap; max-height: 18rem; overflow: auto; padding: .65rem; }
@media (max-width: 600px) {
  .course-search { grid-template-columns: 1fr; }
  .course-search .button { justify-self: start; }
}

.course-map-section { margin-block: 1.4rem; }
.course-map-section h3 { font-size: 1.5rem; }
#course-map-legend, #course-map-status { color: var(--muted); margin-block: .45rem; }
#course-map { height: clamp(18rem, 38vw, 30rem); border: 1px solid var(--line); border-radius: 1.15rem; background: var(--surface); }
.course-map-pin { border: 2px solid #fff9ef; border-radius: 50%; box-shadow: 0 1px 5px #16141266; }
.course-map-pin--partner { background: #a96317; }
.course-map-popup { display: grid; gap: .55rem; }
.course-map-popup .button { color: #292622; background: #fff; }
.map-partner { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; padding: .65rem 0; }
.map-partner span { color: var(--muted); }

.course-search { grid-template-columns: minmax(0, 1fr) auto; }
.course-calendar { padding: clamp(.75rem, 2vw, 1.25rem); margin-bottom: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .85rem; }
.calendar-head h3 { font-size: clamp(1.2rem, 3vw, 1.65rem); text-transform: capitalize; }
.calendar-head button:disabled { opacity: .4; cursor: default; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; text-align: center; }
.calendar-weekdays { color: var(--muted); font-size: .85rem; margin-bottom: .35rem; }
.calendar-day { display: flex; align-items: center; justify-content: center; gap: .25rem; min-height: 2.75rem; border: 1px solid transparent; border-radius: .55rem; font: inherit; color: var(--muted); }
button.calendar-day { color: var(--ink); background: var(--page); border-color: var(--line); cursor: pointer; }
button.calendar-day[aria-pressed="true"] { color: var(--contrast-ink); background: var(--ink); }
.calendar-day small { font-size: .7em; font-weight: 700; }
#calendar-all, .course-booking .button { margin-top: .75rem; }
@media (max-width: 600px) {
  .course-search { grid-template-columns: 1fr; }
}
