@font-face { font-family: "Playfair Display"; src: url("/assets/fonts/playfair-display-latin.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: Montserrat; src: url("/assets/fonts/montserrat-latin.woff2") format("woff2"); font-display: swap; }

:root {
  --ink: #111514;
  --text: #343b39;
  --muted: #69716f;
  --line: #d8dedc;
  --soft: #f3f6f5;
  --white: #fff;
  --accent: #58adb4;
  --accent-deep: #28757c;
  --accent-soft: #e4f4f5;
  --max: 1160px;
  --reading: 800px;
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Montserrat, Arial, sans-serif; line-height: 1.58; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input { font: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); background: var(--ink); color: var(--white); padding: 10px 14px; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.reading { width: min(calc(100% - 48px), var(--reading)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: var(--white); }
.eyebrow { margin: 0 0 17px; color: var(--accent-deep); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-dark .eyebrow { color: #8fd1d6; }
h1, h2, h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 600; letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 950px; font-size: clamp(3.25rem, 8vw, 7rem); }
h2 { max-width: 850px; font-size: clamp(2.5rem, 5.5vw, 5rem); }
h3 { font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.05; }
.lead { max-width: 790px; margin: 26px 0 0; color: var(--text); font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.5; }
.section-dark .lead { color: #c9d0ce; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr); gap: 50px; align-items: end; margin-bottom: 44px; }
.section-head > p { margin: 0; color: var(--text); font-size: 1.08rem; }
.section-dark .section-head > p { color: #c9d0ce; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--white); padding: 12px 20px; font-size: .88rem; font-weight: 800; text-decoration: none; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--ink); }
.section-dark .button { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.text-link { color: var(--accent-deep); font-weight: 750; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.ecosystem-bar { border-bottom: 1px solid var(--line); background: var(--soft); font-size: .68rem; letter-spacing: .03em; }
.ecosystem-inner { display: flex; min-height: 31px; align-items: center; justify-content: flex-end; gap: 18px; }
.ecosystem-inner a { color: var(--muted); text-decoration: none; }
.ecosystem-inner a[aria-current="page"] { color: var(--accent-deep); font-weight: 800; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(88, 173, 180, .28); background: rgba(255, 255, 255, .96); }
.main-nav { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex-shrink: 0; font-size: .86rem; font-weight: 850; letter-spacing: -.025em; text-decoration: none; }
.brand span { color: var(--accent-deep); }
.nav-links { display: flex; align-items: center; gap: 19px; font-size: .8rem; }
.nav-links > a:not(.button) { color: var(--muted); text-decoration: none; }
.nav-links > a:not(.button)[aria-current="page"] { color: var(--ink); font-weight: 800; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); padding: 9px 12px; color: var(--ink); font-weight: 800; }

.hero { padding: 104px 0 84px; border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr); gap: 70px; align-items: end; }
.hero-note { border-left: 3px solid var(--accent); padding: 8px 0 8px 24px; }
.hero-note strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 2rem; line-height: 1.05; }
.hero-note span { display: block; margin-top: 12px; color: var(--muted); font-size: .82rem; }
.proof-banner { border-bottom: 1px solid var(--line); padding: 26px 0; }
.proof-banner strong { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.5rem); font-weight: 600; }

.clients-band { overflow: hidden; border-bottom: 1px solid var(--line); padding: 44px 0 58px; }
.clients-title { margin: 0 0 28px; color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.clients-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 40px; margin: 0; padding: 0; list-style: none; }
.clients-grid li { display: flex; width: 160px; height: 64px; align-items: center; justify-content: center; }
.clients-grid li:nth-child(even) { transform: translateY(14px); }
.clients-grid li:nth-child(3n) { transform: translateY(-8px); }
.clients-grid img { width: auto; height: auto; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter 160ms ease, opacity 160ms ease; }
.clients-grid img:hover { filter: grayscale(0); opacity: 1; }
.clients-grid img.logo-boost { transform: scale(1.5); }
.clients-more { margin: 30px 0 0; text-align: center; }

.doors { display: grid; grid-template-columns: 1.35fr .8fr; gap: 18px; }
.door { display: flex; min-height: 360px; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: clamp(26px, 4vw, 46px); text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
.door:hover { border-color: var(--accent); transform: translateY(-3px); }
.door-primary { background: var(--ink); color: var(--white); }
.door-primary .door-copy { color: #c8d1cf; }
.door-index { color: var(--accent-deep); font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.door-primary .door-index { color: #8fd1d6; }
.door-copy { margin: 18px 0 0; color: var(--text); }
.door-action { margin-top: 32px; color: var(--accent-deep); font-weight: 850; }
.door-primary .door-action { color: #8fd1d6; }

.compass-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; align-items: center; }
.hero-layout > *, .section-head > *, .compass-shell > *, .bio-panel > * { min-width: 0; }
.rose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 1.05fr) minmax(0, 1fr); grid-template-areas: "n n n" "w c e" "s s s"; gap: 24px 26px; align-items: center; }
.rose-n { grid-area: n; } .rose-w { grid-area: w; } .rose-c { grid-area: c; } .rose-e { grid-area: e; } .rose-s { grid-area: s; }
.rose-head { margin: 0 0 10px; font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.rose-head em { font-style: normal; color: var(--accent-deep); margin-right: 6px; }
.rose-list { display: grid; gap: 9px; }
.rose-list.inline { display: flex; flex-wrap: wrap; justify-content: center; }
.rose-chip { display: inline-block; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 8px 18px rgba(17,21,20,.05); padding: 8px 12px; font-size: .74rem; line-height: 1.4; }
.rose-n, .rose-s { text-align: center; }
.rose-w { text-align: right; }
.rose-w .rose-list { justify-items: end; }
.rose-e .rose-list { justify-items: start; }
.rose-centre { display: grid; place-items: center; }
.rose-diamond { position: relative; width: min(220px, 64vw); aspect-ratio: 1; display: grid; place-items: center; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); filter: drop-shadow(0 12px 18px rgba(17,21,20,.10)); }
.rose-diamond::before { position: absolute; inset: 1px; background: var(--accent-soft); clip-path: inherit; content: ""; }
.rose-diamond > div { position: relative; z-index: 1; text-align: center; padding: 38px; }
.rose-diamond .big { font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; letter-spacing: -.02em; }
.rose-diamond .sub { margin: 6px 0 0; color: var(--accent-deep); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rose-note { max-width: 820px; margin: 30px 0 0; color: var(--muted); font-size: .92rem; }
.rose-compact .rose-diamond { width: min(170px, 52vw); }
.rose-compact .rose-diamond .big { font-size: 1.05rem; }
.rose-compact .rose-chip { font-size: .68rem; padding: 6px 10px; }
.rose-compact { grid-template-columns: minmax(0, 1fr) minmax(170px, .95fr) minmax(0, 1fr); gap: 16px; }
.numbered-list { display: grid; gap: 0; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.numbered-list li { display: grid; grid-template-columns: 48px 1fr; gap: 17px; border-top: 1px solid var(--line); padding: 22px 0; counter-increment: steps; }
.numbered-list li::before { color: var(--accent-deep); font-weight: 850; content: "0" counter(steps); }
.numbered-list strong { display: block; margin-bottom: 5px; }
.numbered-list p { margin: 0; color: var(--text); }

.value-grid, .principle-grid, .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value-card, .principle-card, .process-step { border-top: 3px solid var(--accent); background: var(--soft); padding: 25px; }
.section-dark .value-card { color: var(--ink); }
.value-card p, .principle-card p, .process-step p { margin: 13px 0 0; color: var(--text); font-size: .9rem; }
.value-card strong, .principle-card strong, .process-step strong { display: block; font-size: 1.05rem; }
.process-step span { display: block; margin-bottom: 30px; color: var(--accent-deep); font-size: .7rem; font-weight: 850; }

.catalogue-family + .catalogue-family { margin-top: 68px; }
.family-title { display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; }
.family-title span { color: var(--accent-deep); font-size: .72rem; font-weight: 850; }
.training-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.training-card { display: flex; min-height: 320px; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 22px; background: var(--white); padding: 27px; }
.training-card.featured { border: 2px solid var(--accent); background: var(--accent-soft); }
.training-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.tag { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; color: var(--muted); font-size: .65rem; font-weight: 800; }
.featured .tag { border-color: var(--accent); color: var(--accent-deep); }
.training-card h3 { margin-top: 24px; }
.training-card p { color: var(--text); }
.training-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 700; }
.featured .training-meta { color: var(--text); }
.training-meta span + span::before { margin-right: 8px; color: var(--accent); content: "·"; }

.testimonials { border-block: 1px solid var(--line); background: #fbfcfb; }
.testimonials .section-head { margin-bottom: 32px; }
.testimonial-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; margin-bottom: 36px; border-block: 1px solid var(--ink); }
.testimonial-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.testimonial-results > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px 24px 22px 0; }
.testimonial-results > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.testimonial-results strong { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.testimonial-results span { max-width: 250px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.carousel-controls { display: flex; gap: 9px; align-items: center; padding-left: 4px; }
.carousel-status { min-width: 96px; margin-right: 4px; color: var(--muted); font-size: .72rem; font-weight: 750; text-align: right; }
.carousel-controls button { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--ink); color: var(--white); cursor: pointer; font-size: 1.25rem; }
.carousel-controls button:disabled { border-color: var(--line); background: transparent; color: var(--muted); cursor: default; opacity: .55; }
.testimonial-viewport { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-snap-type: inline mandatory; }
.testimonial-viewport::-webkit-scrollbar { display: none; }
.testimonials-track { display: grid; grid-auto-columns: calc((100% - 36px) / 3); grid-auto-flow: column; gap: 18px; }
.testimonial-card { display: flex; min-width: 0; min-height: 300px; flex-direction: column; justify-content: space-between; margin: 0; scroll-snap-align: start; border: 1px solid var(--line); background: var(--white); padding: clamp(24px, 3vw, 34px); }
.testimonial-card blockquote { margin: 0; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.2rem, 1.75vw, 1.5rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.4; }
.testimonial-card figcaption { display: grid; gap: 2px; margin-top: 34px; }
.testimonial-card figcaption strong { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.testimonial-card figcaption span { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.testimonial-card[lang="en"] { background: var(--soft); }
.testimonial-action { justify-content: flex-end; margin-top: 28px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { max-width: 800px; color: var(--text); }
.bio-panel { display: grid; grid-template-columns: 1fr .65fr; gap: 40px; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 55px); }
.bio-panel p { color: var(--text); }
.fact-list { margin: 0; padding: 0; list-style: none; }
.fact-list li { border-top: 1px solid var(--line); padding: 15px 0; font-size: .84rem; }
.contact-options { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; margin-top: 44px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 50px); }
.contact-card.primary { background: var(--ink); color: var(--white); }
.contact-card p { color: var(--muted); }
.contact-card.primary p { color: #c9d0ce; }
.legal h2 { margin-top: 48px; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.legal p { color: var(--text); }
.legal code { background: var(--soft); padding: 2px 5px; }

.final-cta { text-align: center; }
.final-cta h2, .final-cta .lead { margin-inline: auto; }
.final-cta .actions { justify-content: center; }
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 25px; color: var(--muted); font-size: .76rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 35px; }
.footer-grid strong { display: block; margin-bottom: 13px; color: var(--ink); }
.footer-grid a { display: block; margin: 8px 0; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 15px; }
.cookie-settings-button { border: 0; background: transparent; color: inherit; padding: 0; cursor: pointer; text-decoration: underline; }
.consent-dialog { width: min(calc(100% - 32px), 640px); max-height: calc(100vh - 32px); overflow: auto; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 5vw, 38px); }
.consent-dialog::backdrop { background: rgba(17, 21, 20, .75); }
.consent-dialog h2 { font-size: 2.5rem; }
.consent-option { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; border-top: 1px solid var(--line); padding: 18px 0; }
.consent-option small { display: block; margin-top: 5px; color: var(--muted); }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 20px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: relative; }
  .nav-links { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--white); padding: 20px 24px; }
  .nav-links[data-open="true"] { display: flex; }
  .hero-layout, .section-head, .compass-shell, .bio-panel { grid-template-columns: 1fr; }
  .hero-note { max-width: 500px; }
  .value-grid, .principle-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-track { grid-auto-columns: calc((100% - 18px) / 2); }
}

@media (max-width: 700px) {
  .container, .reading { width: min(calc(100% - 36px), var(--max)); }
  .section { padding: 68px 0; }
  .ecosystem-inner { justify-content: flex-start; gap: 11px; overflow-x: auto; white-space: nowrap; }
  .brand span { display: none; }
  .hero { padding: 72px 0 62px; }
  h1 { font-size: clamp(2.65rem, 13.8vw, 5rem); overflow-wrap: anywhere; }
  .doors, .training-grid, .contact-options { grid-template-columns: 1fr; }
  .door { min-height: 300px; }
  .rose { grid-template-columns: 1fr; grid-template-areas: "c" "n" "e" "s" "w"; gap: 18px; }
  .rose-n, .rose-s, .rose-w, .rose-e { text-align: left; }
  .rose-w .rose-list, .rose-e .rose-list { justify-items: stretch; }
  .rose-list.inline { justify-content: flex-start; }
  .rose-centre { margin: 10px 0 24px; }
  .value-grid, .principle-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .training-card { min-height: 0; }
  .footer-bottom { flex-direction: column; }
  .clients-band { padding: 36px 0 42px; }
  .clients-grid { gap: 14px 18px; }
  .clients-grid li { width: 106px; height: 44px; }
  .clients-grid li:nth-child(even) { transform: translateY(9px); }
  .clients-grid li:nth-child(3n) { transform: translateY(-5px); }
  .clients-grid img.logo-boost { transform: scale(1.35); }
  .testimonial-toolbar, .testimonial-results { grid-template-columns: 1fr; }
  .testimonial-toolbar { gap: 0; padding-bottom: 18px; }
  .testimonial-results > div { padding: 18px 0; }
  .testimonial-results > div + div { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
  .carousel-controls { justify-content: flex-end; padding-top: 18px; }
  .testimonials-track { grid-auto-columns: 100%; }
  .testimonial-card { min-height: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
