:root {
  color-scheme: light;
  --ink: #211a15;
  --soft: #fff9ef;
  --red: #92242a;
  --gold: #ffcd48;
  --line: #e9dfd4;
  --muted: #584d43;
  font-family: Montserrat, system-ui, sans-serif;
  line-height: 1.55;
  scroll-padding-top: 1rem;
}

@font-face { font-family: Montserrat; src: url('/assets/partenaires/regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Montserrat; src: url('/assets/partenaires/bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fffdf9; }
img { display: block; max-width: 100%; }
a { color: var(--red); text-underline-offset: .28em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #ab2d2a; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .6rem 1rem; background: white; z-index: 2; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.inner { width: min(1100px, calc(100% - 2.5rem)); margin-inline: auto; }
.sitehead { border: 0; background: var(--soft); }
.navline { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.4rem; padding-block: .55rem; }
.navline img { width: 126px; height: auto; }
.navline nav { display: flex; flex-wrap: wrap; gap: .05rem 1.15rem; align-items: center; }
.navline nav a { display: inline-flex; align-items: center; min-height: 42px; color: var(--ink); font-size: .87rem; font-weight: 700; text-decoration: none; }
.navline nav a[aria-current] { text-decoration: underline; color: var(--red); }
.navline .av-site-language { margin-inline-start: auto; }
.hero { background: radial-gradient(ellipse 70% 55% at 80% 70%, #ffefbb, transparent 100%), var(--soft); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); align-items: center; gap: clamp(1.35rem, 5vw, 4.5rem); padding-block: clamp(2.1rem, 7vw, 5.8rem); }
.hero-image { margin: 0; overflow: hidden; border-radius: 1.6rem; box-shadow: 0 20px 52px #44241229; background: #f3deb9; }
.hero-slides { position: relative; }
.hero-frames { position: relative; isolation: isolate; aspect-ratio: 16 / 9; background: #391e19; }
.hero-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 860ms ease-in-out; }
.hero-frames .is-previous { z-index: 1; opacity: 1; }
.hero-frames .is-current { z-index: 2; opacity: 1; }
.slide-toggle { display: grid; place-items: center; position: absolute; inset: auto .7rem .7rem auto; width: 44px; height: 44px; padding: 0; border: 1px solid #fff8; border-radius: 50%; background: #211a15db; color: #fff; cursor: pointer; }
.slide-toggle span { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.slide-toggle[data-paused] span { width: 0; height: 0; margin-left: 3px; border: 6px solid transparent; border-left: 9px solid currentColor; border-right: 0; }
.hero-caption { display: grid; gap: .26rem; min-width: 0; padding: clamp(.9rem, 2.7vw, 1.5rem); color: var(--muted); background: #fffdf9; font-size: .92rem; }
.hero-quote { font-size: clamp(1.17rem, 2.2vw, 1.55rem); font-style: italic; font-weight: 700; color: var(--ink); }
h1, h2, h3, p { margin-block: 0; }
h1 { max-width: 16ch; font-size: clamp(2.30rem, 5.0vw, 4.4rem); line-height: 1.02; letter-spacing: -.055em; overflow-wrap: anywhere; }
.hero h1 { max-width: 19ch; font-size: clamp(2.2rem, 4.3vw, 3.85rem); text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.72rem); line-height: 1.13; letter-spacing: -.035em; }
h3 { font-size: 1.09rem; line-height: 1.27; }
p + p { margin-top: .7rem; }
.lead { max-width: 57ch; margin-block: 1rem 1.35rem; color: var(--muted); font-size: clamp(.97rem, 2vw, 1.15rem); }
.kicker { display: inline-block; margin-bottom: .7rem; color: var(--red); font-size: .85rem; font-weight: 700; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; padding: .70rem 1.18rem; border: 1px solid transparent; border-radius: .7rem; background: var(--gold); color: var(--ink); cursor: pointer; font: 700 .95rem/1.25 Montserrat, system-ui, sans-serif; text-align: center; text-decoration: none; }
.action:hover { background: #ffdd77; }
.action.secondary { background: #fff; border-color: var(--line); color: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.directory-journey-actions, .programme-quote-actions { margin-top: .65rem; }
.directory-journey-actions + .profile-request { margin-top: .85rem; }
.directory-journey-actions .action:disabled { background: #f4f0e9; color: var(--muted); cursor: default; }
[data-pilot-receipt] { border-radius: 10px; padding: .75rem; background: #e6f4e8; color: #345b44; }
.section { padding-block: clamp(2.2rem, 5vw, 4.2rem); }
.section > h2 { margin-bottom: 1.3rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.steps article { padding: clamp(1.1rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: 1rem; background: white; }
.steps p { margin-top: .60rem; color: var(--muted); }
.dir-top { padding-block: clamp(2rem, 7vw, 4.5rem) 2rem; background: linear-gradient(180deg, var(--soft) 52%, #fffdf9); }
.dir-top h1 { max-width: 25ch; }
.directory { padding-top: clamp(.45rem, 2vw, 1.45rem); }
.directory-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin: 0 0 1.1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.filter-label { font-size: .83rem; font-weight: 700; }
.filter-choices { display: flex; flex-wrap: wrap; gap: .35rem; }
.filter-choices button {
  min-height: 44px;
  background: #fffaf0;
  border: 1px solid #e5d8be;
  border-radius: 999px;
  color: #523a2c;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  padding: .45rem .85rem;
  cursor: pointer;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.filter-choices button:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px #ffd06455; }
.filter-choices button:active { transform: scale(.97); }
.filter-choices button[aria-pressed="true"] { background: #ffda6a; border-color: #b78333; color: #3e2a12; }
.directory-empty { margin-block: .75rem 1rem; padding: .9rem 1.15rem; background: #fff5d9; border-radius: 14px; color: #503821; }
.directory-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; color: var(--muted); font-size: .81rem; }
.profile-copy .directory-rating { margin-top: .82rem; }
.directory-stars { color: #8a651e; font-size: 1.03rem; letter-spacing: .07em; line-height: 1; white-space: nowrap; }
.directory-source {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .6rem;
  min-height: 44px;
  font-size: .83rem;
  font-weight: 700;
}
.directory-reviews { margin-top: 1.45rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.directory-reviews > p { margin-top: .32rem; color: var(--muted); font-size: .83rem; }
.directory-review-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .7rem;
  margin: .85rem 0 .35rem;
  padding: 0;
  list-style: none;
}
.directory-review-highlights li {
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--soft);
  font-size: .88rem;
}
.directory-review-highlights p { margin-top: .25rem; }
.directory-review-highlights a { display: inline-flex; align-items: center; min-height: 44px; font-size: .83rem; }
.directory-more-reviews > summary {
  min-height: 44px;
  padding-block: .68rem;
  color: var(--red);
  cursor: pointer;
  font-size: .88rem;
  font-weight: 700;
}
.directory-more-reviews ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: .88rem;
}
.directory-more-reviews li { padding-block: .58rem; border-bottom: 1px solid var(--line); }
.directory-more-reviews strong { display: block; }
.partner-invite-link a { font-size: .82rem; font-weight: 700; text-underline-offset: .2em; }
.program-pricing > p { color: var(--muted); margin-top: .5rem; }
.program-pricing-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: .85rem 1.5rem;
  margin-bottom: 1rem;
}
.program-pricing-heading p { color: var(--muted); margin-top: .45rem; }
.program-pricing-heading .av-currency-picker { min-width: 0; margin: 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin: 1rem 0 .6rem; }
.pricing-grid > article { padding: clamp(.95rem, 3vw, 1.45rem); background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.pricing-grid > article p { margin: .35rem 0 0; color: var(--muted); }
.pricing-grid h3 { font-size: .97rem; }
.program-price { display: flex; flex-wrap: wrap; gap: .15rem .5rem; align-items: baseline; }
.program-price strong { font-size: clamp(1.5rem, 4vw, 2.35rem); letter-spacing: -.06em; line-height: 1.2; color: var(--ink); }
.program-price span, .pricing-grid article p:last-child { font-size: .84rem; }
.program-example {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.4rem;
  margin-top: 1rem;
  padding: clamp(.95rem, 3vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff5db;
}
.program-example h3 { margin-bottom: .3rem; }
.program-example p { color: var(--muted); }
.program-example-total { display: grid; gap: .2rem; margin: 0; }
@media (max-width: 500px) {
  .directory-filters { padding: .65rem; }
  .filter-choices button { padding-inline: .67rem; }
  .pricing-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .filter-choices button { transition: none; }
  .filter-choices button:hover, .filter-choices button:active { transform: none; }
}
.profile-details { --profile-radius: 1.45rem; max-width: 100%; border-radius: var(--profile-radius); }
.profile-details[open] { background: #fff; }
.profile-details:not([hidden]) + .profile-details { margin-top: 1.25rem; }
.profile {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  min-height: clamp(300px, 37vw, 390px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--profile-radius);
  background: #fff;
  cursor: pointer;
  list-style: none;
}
.profile-details[open] > .profile {
  border-color: transparent;
  border-radius: var(--profile-radius) var(--profile-radius) 0 0;
}
.profile::-webkit-details-marker { display: none; }
.profile::marker { content: ""; }
.profile .portrait { position: relative; display: block; min-width: 0; background: #fff; }
.profile .portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% 30%;
  mask-image: linear-gradient(90deg, #000 47%, #000e 57%, #0009 70%, #0004 83%, transparent 97%);
}
.profile-details--hakim .portrait img {
  object-position: center 5%;
  mask-image: linear-gradient(90deg, #000 62%, #000d 72%, #0006 87%, transparent 100%);
}
.profile-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.3rem, 3.4vw, 2.8rem);
}
.profile-name { font-size: clamp(1.85rem, 4.3vw, 3.35rem); font-weight: 700; line-height: 1.04; letter-spacing: -.052em; }
.profile-copy .role { margin-block: .55rem .72rem; font-weight: 700; }
.profile-copy .bio { max-width: 38ch; color: var(--muted); }
.profile-brief { color: var(--muted); font-size: .84rem; font-weight: 700; margin-top: .7rem; }
.tags { display: flex; flex-wrap: wrap; gap: .44rem; margin-top: 1rem; }
.tags > span { padding: .30rem .62rem; border-radius: 6rem; background: #fff5db; font-size: .82rem; font-weight: 700; }
.profile-toggle { display: inline-flex; align-items: center; gap: .58rem; margin-top: 1rem; color: var(--red); font-size: .95rem; font-weight: 700; }
.profile-toggle::after { content: ""; width: .52rem; height: .52rem; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); margin-top: -.24rem; }
.profile-details[open] .profile-toggle::after { transform: rotate(225deg); margin-top: .20rem; }
.profile-close, .profile-details[open] .profile-open { display: none; }
.profile-details[open] .profile-close { display: inline; }
.profile-panel { padding: clamp(1.25rem, 4vw, 2.1rem); border-top: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 400px; gap: .55rem 1rem; margin-block: 1rem 1.2rem; }
.facts dt { font-weight: 700; font-size: .88rem; }
.facts dd { margin: 0; font-size: .98rem; color: var(--muted); }
.request { padding: clamp(1.25rem, 4vw, 2.6rem); background: var(--soft); border: 1px solid var(--line); border-radius: 1.2rem; }
.profile-request { padding: clamp(.85rem, 3vw, 1.5rem); }
.profile-request > summary { list-style: none; }
.profile-request > summary::-webkit-details-marker { display: none; }
.request h2 + p, .candidate h3 + p { margin-top: .7rem; color: var(--muted); }
.request form { max-width: 750px; margin-top: 1rem; }
.request label { display: grid; gap: .3rem; min-width: 0; font-weight: 700; }
.request input, .request textarea { min-height: 46px; min-width: 0; max-width: 100%; padding: .58rem .7rem; border: 1px solid #a99889; border-radius: .55rem; background: white; color: var(--ink); font: 400 1rem/1.4 Montserrat, system-ui, sans-serif; }
.request textarea { resize: vertical; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; margin-bottom: .9rem; }
.project-note { margin-bottom: 1rem; }
.help { margin-top: .8rem; font-size: .9rem; color: var(--muted); }
.help a { overflow-wrap: anywhere; }
.draft { max-width: 750px; margin-top: 1.2rem; padding: clamp(.9rem, 3vw, 1.4rem); border: 1px solid var(--line); border-radius: .85rem; background: white; }
.draft-summary { margin-top: .7rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.draft .action { margin-top: .8rem; }
.inquiry-status:not(:empty) { margin-top: .65rem; }
.candidate { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 4vw, 2.7rem); margin-top: clamp(1.3rem, 4vw, 2.6rem); }
.candidate figure { margin: 0; overflow: hidden; border-radius: 1rem; background: #fff1d6; }
.candidate img { width: 100%; height: auto; }
.candidate figcaption { padding: .47rem .65rem; font-size: .82rem; color: var(--muted); }
.candidate h3, .alternate-route h2 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.alternate-route { display: flex; gap: 1rem 1.9rem; align-items: center; justify-content: space-between; margin-top: 1.6rem; padding: clamp(1.1rem, 3.5vw, 1.7rem); border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.alternate-route > div { min-width: 0; }
.alternate-route p { margin-top: .45rem; color: var(--muted); }
.alternate-route .action { flex-shrink: 0; }
.footer { border-top: 1px solid var(--line); margin-top: 3rem; padding-block: 1.3rem; font-size: .88rem; }
.footer .inner { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { width: min(100%, 36rem); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .inner { width: calc(100% - 2rem); }
  .navline nav[aria-label] a { font-size: .78rem; }
  .navline { column-gap: .9rem; }
  .navline nav { order: 1; flex-basis: 100%; column-gap: .85rem; }
  .profile, .fields { grid-template-columns: minmax(0, 1fr); }
  .profile .portrait { aspect-ratio: 1.46; }
  .profile .portrait img { object-position: 49% 24%; mask-image: linear-gradient(180deg, #000 44%, #000e 58%, #0009 71%, #0003 85%, transparent 98%); }
  .profile-details--hakim .portrait img { object-position: center 3%; mask-image: linear-gradient(180deg, #000 62%, #000d 74%, #0006 89%, transparent 100%); }
  .profile-copy { padding-top: .50rem; }
  .candidate { grid-template-columns: minmax(0, 1fr); }
  .candidate figure { max-width: min(100%, 295px); }
  .alternate-route { flex-direction: column; align-items: flex-start; }
  .hero-quote { line-height: 1.35; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-frames img { transition: none; }
}
