:root {
  --ink: #171716;
  --ink-soft: #292825;
  --muted: #62615d;
  --paper: #f8f7f2;
  --surface: #ffffff;
  --soft: #efede6;
  --line: #d9d5ca;
  --gold: #c49a3a;
  --gold-dark: #8d681d;
  --focus: #006fc9;
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --text: 1rem;
  --lead: clamp(1.12rem, 1.8vw, 1.36rem);
  --h1: clamp(3.1rem, 7vw, 6.4rem);
  --page-h1: clamp(2.75rem, 6vw, 5.25rem);
  --h2: clamp(2rem, 4vw, 3.65rem);
  --h3: clamp(1.25rem, 2vw, 1.6rem);
  --s1: .5rem;
  --s2: .75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2rem;
  --s6: 3rem;
  --s7: 4.5rem;
  --s8: 7rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow: 0 18px 48px rgba(18, 18, 16, .1);
  --page: 1180px;
  --text-width: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font: var(--text)/1.7 var(--font-body);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.container { width: min(var(--page), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 900px; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 247, 242, .96);
  border-bottom: 1px solid rgba(217, 213, 202, .75);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-decoration: none; }
.brand img { width: 76px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { position: relative; padding: 10px 13px; color: var(--muted); font-size: .91rem; font-weight: 700; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; right: 13px; bottom: 4px; left: 13px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 9px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: 0; }
h1 { max-width: 900px; font-size: var(--h1); line-height: .96; }
h2 { margin-bottom: var(--s4); font-size: var(--h2); line-height: 1.04; }
h3 { margin: 0 0 var(--s2); font-size: var(--h3); line-height: 1.25; }
p { margin: 0 0 var(--s3); }
.eyebrow { margin: 0 0 var(--s3); color: var(--gold-dark); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #e6c36d; }
.lead { color: var(--ink-soft); font-size: var(--lead); line-height: 1.55; }

.home-hero { position: relative; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--ink) url("../img/hero.jpg") center 42% / cover no-repeat fixed; }
.page-hero > img, .image-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 11, .82) 0%, rgba(12, 12, 11, .55) 48%, rgba(12, 12, 11, .14) 85%), linear-gradient(0deg, rgba(12, 12, 11, .52), transparent 55%); }
.home-hero-content { position: relative; z-index: 2; padding-block: clamp(5rem, 9vh, 7rem) clamp(4.5rem, 8vh, 6rem); }
.home-hero h1 { max-width: 950px; font: 800 clamp(3rem, 7vw, 5rem)/1 var(--font-body); letter-spacing: .08em; text-wrap: balance; }
.hero-tagline { max-width: 760px; margin: var(--s3) 0 var(--s4); font-family: var(--font-display); font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.08; }
.hero-lead { max-width: 680px; margin: 0 0 var(--s4); color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.5; }
.hero-emphasis { max-width: 760px; margin-bottom: var(--s2); color: #f0cf7a; font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 800; line-height: 1.35; }
.hero-summary { margin: 0; color: rgba(255,255,255,.8); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius-sm); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, color .18s ease, background-color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #17130b; background: #d1aa51; border-color: #d1aa51; }
.button.primary:hover { color: #fff; background: var(--gold-dark); border-color: var(--gold-dark); }
.button.secondary { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.65); }
.button.secondary:hover { color: var(--ink); background: #fff; border-color: #fff; }
.scroll-cue { position: absolute; right: max(20px, calc((100vw - var(--page))/2)); bottom: 30px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; text-decoration: none; }
.scroll-cue:hover { color: var(--ink); background: #fff; }

.value-section { padding-block: clamp(4rem, 8vw, 6rem); background: var(--paper); border-bottom: 1px solid var(--line); text-align: center; }
.value-content { max-width: 820px; }
.value-symbol { display: block; margin-bottom: var(--s3); color: var(--gold); font-size: 1.25rem; line-height: 1; }
.value-content h2 { margin-bottom: var(--s5); font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: .98; }
.value-content > p:not(.value-statement, .value-closing) { max-width: 720px; margin: 0 auto var(--s5); color: var(--muted); font-size: var(--lead); line-height: 1.6; }
.value-statement { margin-bottom: var(--s4); color: var(--gold-dark); font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 800; letter-spacing: .08em; }
.value-closing { width: fit-content; margin: 0 auto; padding-block: var(--s2); color: var(--ink); border-block: 1px solid var(--gold); font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-weight: 800; letter-spacing: .1em; }

.section { padding-block: var(--s8); }
.section-head { max-width: 760px; margin-bottom: var(--s6); }
.section-head > p:not(.eyebrow), .split p, .legal-content p { color: var(--muted); font-size: 1.05rem; }
.section-head.centered { margin-inline: auto; text-align: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.split.reverse { grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr); }
.editorial-split { grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); }
.image-panel { margin: 0; overflow: hidden; background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.image-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.portrait-panel { position: relative; }
.portrait-panel::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 1px solid var(--gold); }
.intro-section { background: var(--paper); }
.dark-section { color: #fff; background: var(--ink); }
.dark-section .section-head > p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.light-head h2 { max-width: 650px; }

.status-label { display: inline-flex; margin-bottom: var(--s4); padding: 5px 9px; color: var(--gold-dark); border: 1px solid rgba(141,104,29,.36); border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.text-link { margin-top: auto; color: var(--ink); font-weight: 800; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

.ecosystem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.project-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; color: var(--ink); background: var(--paper); border-radius: var(--radius-md); transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(0,0,0,.22); }
.project-card-media { aspect-ratio: 16 / 7; overflow: hidden; background: #fff; }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-card-media img { transform: scale(1.025); }
.project-card-media.project-card-logo img { object-fit: contain; padding: var(--s4); }
.project-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2rem); }
.project-card-body h3 { font-family: var(--font-display); font-size: clamp(1.55rem, 2.5vw, 2.15rem); font-weight: 500; }
.project-card-body p { color: var(--muted); }

.knowledge-section { background: var(--soft); }
.training-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s4); }
.training-card { grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-bottom: 3px solid transparent; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.training-card:nth-child(4) { grid-column: 2 / span 2; }
.training-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.training-media { height: 210px; overflow: hidden; background: #f5f3ed; }
.training-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.training-media.logo-media img { object-fit: contain; padding: var(--s4); }
.training-card:hover .training-media img { transform: scale(1.025); }
.training-body { display: flex; flex: 1; flex-direction: column; padding: var(--s5); }
.training-body p { color: var(--muted); }

.image-cta { position: relative; min-height: 480px; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--ink); }
.image-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,14,.86), rgba(15,15,14,.38)); }
.image-cta-content { position: relative; z-index: 2; }
.image-cta h2 { max-width: 700px; }

.page-hero { position: relative; min-height: 460px; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--ink); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,12,.82), rgba(13,13,12,.38) 70%, rgba(13,13,12,.18)); }
.page-hero-content { position: relative; z-index: 2; padding-block: 8rem 4.5rem; }
.page-hero h1 { max-width: 900px; font-size: var(--page-h1); }
.page-hero p:not(.eyebrow) { max-width: var(--text-width); margin-top: var(--s4); color: rgba(255,255,255,.84); font-size: var(--lead); }
.page-hero.hero-courses > img { object-position: center; }
.page-hero.hero-method > img { object-position: center 42%; }
.page-hero.hero-sensitivity > img { object-position: center 58%; }
.page-hero.hero-biology > img { object-position: center; }
.page-hero.hero-contact > img { object-position: center 55%; }
.page-hero.hero-legal { min-height: 340px; }

.card-grid { display: grid; gap: var(--s4); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card { min-height: 220px; display: flex; flex-direction: column; padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.info-card:hover { transform: translateY(-3px); border-color: rgba(196,154,58,.55); box-shadow: var(--shadow); }
.info-card h3::before { content: ""; width: 34px; height: 2px; display: block; margin-bottom: var(--s3); background: var(--gold); }
.info-card p { color: var(--muted); }
.info-card a { margin-top: auto; font-weight: 800; }
.info-card.with-image { overflow: hidden; padding: 0; }
.info-card.with-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.info-card.with-image h3, .info-card.with-image p, .info-card.with-image a { margin-right: var(--s4); margin-left: var(--s4); }
.info-card.with-image h3 { margin-top: var(--s4); }
.info-card.with-image a { margin-bottom: var(--s4); }
.section.muted { background: var(--soft); }
.link-list { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

.contact-page { color: #fff; background: var(--ink); }
.contact-page p { color: rgba(255,255,255,.72); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-list { display: grid; gap: 8px; margin-top: var(--s4); }
.contact-list a { padding-block: 10px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.22); text-decoration: none; }
.contact-form { display: grid; gap: 12px; padding: var(--s5); color: var(--ink); background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.contact-form label { font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .legal-check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 400; }
.legal-check input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 4px; }
.contact-form .form-note { min-height: 1.4em; margin: 0; color: var(--muted); font-size: .9rem; }
.contact-form .form-note.is-success { color: #28613d; font-weight: 700; }
.contact-form .form-note.is-error { color: #a12c2c; font-weight: 700; }
.contact-form .button:disabled { opacity: .65; cursor: wait; transform: none; }
.legal-content article { max-width: 900px; padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.legal-content h2 { margin-top: var(--s5); font-family: var(--font-body); font-size: clamp(1.35rem, 2.5vw, 1.8rem); font-weight: 700; }
.legal-content h2:first-child { margin-top: 0; }

.site-footer { padding: var(--s6) 0 var(--s4); color: rgba(255,255,255,.8); background: #11110f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr auto auto; gap: var(--s6); align-items: start; }
.footer-brand strong { color: #e1bd63; letter-spacing: .14em; }
.footer-grid p { margin: 6px 0 0; color: rgba(255,255,255,.58); }
.footer-grid nav { display: grid; gap: 8px; }
.footer-grid a { color: rgba(255,255,255,.76); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: var(--s6); padding-top: var(--s3); color: rgba(255,255,255,.42); border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; inset: 76px 20px auto; display: none; flex-direction: column; align-items: stretch; padding: var(--s2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .main-nav a::after { display: none; }
  .split, .split.reverse, .editorial-split, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .training-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .training-card, .training-card:nth-child(4) { grid-column: auto; }
  .training-card:last-child { grid-column: 1 / -1; }
  .card-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portrait-panel::before { display: none; }
}

@media (max-width: 640px) {
  :root { --s8: 4.5rem; }
  .container { width: min(var(--page), calc(100% - 28px)); }
  .header-inner { min-height: 68px; }
  .brand span { display: none; }
  .brand img { width: 78px; }
  .main-nav { inset: 68px 14px auto; }
  .home-hero { min-height: calc(100svh - 68px); }
  .home-hero-brand { min-height: 700px; background-attachment: scroll; background-position: 56% center; }
  .home-hero-content { padding-block: 5rem 4rem; }
  .home-hero h1 { font-size: clamp(2.7rem, 14vw, 3.75rem); }
  .home-hero::after { background: linear-gradient(90deg, rgba(12,12,11,.84), rgba(12,12,11,.52)), linear-gradient(0deg, rgba(12,12,11,.58), transparent 60%); }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .page-hero { min-height: 390px; }
  .page-hero-content { padding-block: 6rem 3rem; }
  .ecosystem-grid, .training-grid { grid-template-columns: 1fr; }
  .project-card-media { aspect-ratio: 16 / 9; }
  .training-media { height: 210px; }
  .training-card, .training-card:nth-child(4), .training-card:last-child { grid-column: auto; }
  .card-grid.three, .card-grid.two { grid-template-columns: 1fr; }
  .info-card { min-height: 0; }
  .contact-form, .legal-content article { padding: var(--s4); }
  .image-cta { min-height: 420px; }
}

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