/* Cyclora Health v2 – one-page cinematic site.
   Layout: a sticky full-bleed film stage with captions set on the left, followed by an
   editorial grid on a mineral-white sheet that slides over the end of the film.
   Single deliberate look (dark film, light content); every colour is a token below. */

:root {
  color-scheme: light;
  --ch-ink: #0C2B33;          /* running text, headings on light */
  --ch-ink-2: #3F5B62;        /* secondary text on light */
  --ch-paper: #F2F6F6;        /* page ground, mineral white with a petrol bias */
  --ch-card: #FFFFFF;
  --ch-line: #D2DEE0;
  --ch-line-2: #E3ECED;
  --ch-petrol: #0F4C5C;       /* brand primary */
  --ch-deep: #03202A;         /* film ground, footer */
  --ch-deep-2: #062F3B;
  --ch-aqua: #1FB5A8;         /* brand accent */
  --ch-aqua-ink: #0E7A70;     /* accent for text on light grounds */
  --ch-aqua-soft: #7FDDD2;    /* accent for text on dark grounds */
  --ch-aqua-wash: #E3F6F3;
  --ch-on-dark: #F1F7F8;
  --ch-on-dark-2: #B3CBD0;
  --ch-warn-bg: #FBEBD2;
  --ch-warn: #7A4E0E;
  --ch-ok: #1F6A3A;
  --ch-err: #9A2A20;

  --ch-display: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ch-sans: 'Poppins', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --ch-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --ch-max: 1240px;
  --ch-gutter: max(20px, calc((100% - var(--ch-max)) / 2));
  --ch-header-h: 76px;
  --ch-ease: cubic-bezier(.2, .7, .2, 1);
}

.ch, body.ch {
  /* neutralise Elementor container and widget defaults inside our pages (body.ch outranks the Elementor kit) */
  --container-default-padding-top: 0px;
  --container-default-padding-right: 0px;
  --container-default-padding-bottom: 0px;
  --container-default-padding-left: 0px;
  --kit-widget-spacing: 0px;
  --widgets-spacing: 0px;
  --widgets-spacing-row: 0px;
  --widgets-spacing-column: 0px;
  background: var(--ch-paper);
  color: var(--ch-ink);
  font-family: var(--ch-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.ch { margin: 0; }
.ch.ch-has-film { background: var(--ch-deep); } /* overscroll above the film and below the footer stays dark */
.ch *, .ch *::before, .ch *::after { box-sizing: border-box; }
.ch a { color: var(--ch-aqua-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ch a:hover { color: var(--ch-petrol); }
.ch :focus-visible { outline: 2px solid var(--ch-aqua); outline-offset: 3px; border-radius: 6px; }
/* specificity (0,0,1): beats the parent theme's element resets, loses to every component class */
:where(.ch) :is(p, h1, h2, h3, h4, figure, dl, dt, dd, ol, ul, blockquote) { margin: 0; }
.ch b, .ch strong { font-weight: 500; }
.ch img, .ch svg { max-width: 100%; }
.ch .screen-reader-text, .ch .ch-sr {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.ch .skip-link:focus { position: fixed !important; left: 16px; top: 12px; z-index: 100; width: auto; height: auto; clip: auto;
  background: var(--ch-card); color: var(--ch-ink); padding: 10px 16px; border-radius: 10px; }

/* ================================================================ header */
.ch-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--ch-ink);
  background: rgba(242, 246, 246, .86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--ch-line-2);
  transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}
.ch-header-inner {
  height: var(--ch-header-h); display: flex; align-items: center; gap: 28px;
  padding: 0 var(--ch-gutter);
}
.ch-logo { display: inline-flex; flex: none; line-height: 0; }
.ch-logo img { height: 30px; width: auto; }
.ch-logo .ch-logo-light { display: none; }
.ch-nav { margin-left: auto; }
.ch-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.ch .ch-nav a { color: inherit; text-decoration: none; font-size: 14.5px; font-weight: 400; letter-spacing: .005em; opacity: .82; transition: opacity .2s; }
.ch .ch-nav a:hover, .ch .ch-nav a[aria-current] { opacity: 1; }
.ch-lang { display: flex; gap: 2px; font-family: var(--ch-mono); font-size: 12px; letter-spacing: .08em; }
.ch .ch-lang a { color: inherit; text-decoration: none; padding: 6px 8px; border-radius: 8px; opacity: .6; }
.ch .ch-lang a[aria-current] { opacity: 1; background: rgba(15, 76, 92, .1); }
.ch .ch-header-cta {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none;
  padding: 12px 18px; border-radius: 999px;
  color: var(--ch-card); background: var(--ch-petrol); border: 1px solid var(--ch-petrol);
  transition: background-color .2s, color .2s, border-color .2s;
}
.ch .ch-header-cta:hover { background: var(--ch-deep); border-color: var(--ch-deep); color: var(--ch-card); }
.ch .ch-menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 1px solid currentColor;
  background: transparent; color: inherit; align-items: center; justify-content: center; cursor: pointer; opacity: .9; font-size: 16px; }
.ch .ch-menu-toggle:hover, .ch .ch-menu-toggle:focus { background: rgba(127, 150, 155, .14); color: inherit; border-color: currentColor; }

/* over the film: transparent, light */
.ch-has-film .ch-header:not(.is-solid) {
  background: transparent; border-bottom-color: transparent; color: var(--ch-on-dark);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.ch-has-film .ch-header:not(.is-solid) .ch-logo-dark { display: none; }
.ch-has-film .ch-header:not(.is-solid) .ch-logo-light { display: block; }
.ch-has-film .ch-header:not(.is-solid) .ch-lang a[aria-current] { background: rgba(255, 255, 255, .14); }
.ch-has-film .ch-header:not(.is-solid) .ch-header-cta { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); color: var(--ch-on-dark); }
.ch-has-film .ch-header:not(.is-solid) .ch-header-cta:hover { background: var(--ch-card); border-color: var(--ch-card); color: var(--ch-deep); }

/* ================================================================ film */
.ch .ch-cinema { position: relative; display: block !important; padding: 0 !important; background: var(--ch-deep); color: var(--ch-on-dark); }
.ch .ch-stage-w, .ch .ch-stage-w > .elementor-widget-container, .ch .ch-stage-w .elementor-shortcode { display: contents; }
.ch-stage {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100lvh; margin-bottom: -100vh; margin-bottom: -100lvh;
  overflow: hidden; background: var(--ch-deep) var(--ch-poster-d, none) 62% 50% / cover no-repeat;
}
.ch-film { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ch-stage-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 32, 42, .74) 0%, rgba(3, 32, 42, .42) 32%, rgba(3, 32, 42, 0) 58%),
    linear-gradient(180deg, rgba(3, 32, 42, .6) 0%, rgba(3, 32, 42, 0) 20%),
    linear-gradient(0deg, rgba(3, 32, 42, .5) 0%, rgba(3, 32, 42, 0) 24%);
}
.ch-stage-grain { position: absolute; inset: -60px; pointer-events: none; opacity: .09; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: ch-grain 1s steps(6) infinite;
}
@keyframes ch-grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-24px, 14px); } 40% { transform: translate(18px, -22px); }
  60% { transform: translate(-12px, -30px); } 80% { transform: translate(28px, 20px); } 100% { transform: translate(0, 0); }
}

/* chapter timeline (landscape): a scrubber at the bottom centre, dots sit at each chapter's position in the film */
.ch-rail { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(340px, 32vw); z-index: 3; }
.ch-rail ol { position: relative; list-style: none; margin: 0; padding: 0; height: 34px; }
.ch-rail ol::before, .ch-rail ol::after { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: rgba(241, 247, 248, .24); }
.ch-rail ol::after { background: var(--ch-aqua); transform-origin: 0 50%; transform: scaleX(var(--ch-p, 0)); }
.ch-rail li { position: absolute; top: 0; transform: translateX(-50%); z-index: 1; }
.ch-rail li:nth-child(1) { left: 0; }
.ch-rail li:nth-child(2) { left: 22.7%; }
.ch-rail li:nth-child(3) { left: 50%; }
.ch-rail li:nth-child(4) { left: 77.3%; }
.ch-rail li:nth-child(5) { left: 100%; }
.ch .ch-rail a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0 6px; color: var(--ch-on-dark); text-decoration: none; }
.ch-rail a::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: var(--ch-deep); border: 1px solid rgba(241, 247, 248, .6); transition: background-color .3s, border-color .3s, transform .3s var(--ch-ease); }
.ch-rail a.is-active::before { background: var(--ch-aqua); border-color: var(--ch-aqua); transform: scale(1.15); }
.ch-rail-n { font-family: var(--ch-mono); font-size: 12px; line-height: 1; letter-spacing: .06em; opacity: .55; transition: opacity .3s; }
.ch-rail-l { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); padding: 6px 10px; border-radius: 8px;
  font-size: 13px; line-height: 1.2; white-space: nowrap; background: rgba(3, 32, 42, .82); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ch-ease); }
.ch-rail a.is-active .ch-rail-n, .ch-rail a:hover .ch-rail-n, .ch-rail a:focus-visible .ch-rail-n { opacity: 1; }
.ch-rail a:hover .ch-rail-l, .ch-rail a:focus-visible .ch-rail-l { opacity: 1; transform: translate(-50%, 0); }

.ch-progress { position: absolute; left: 0; right: 0; top: calc(var(--ch-header-h) + env(safe-area-inset-top, 0px)); height: 2px; z-index: 3; display: none; background: rgba(241, 247, 248, .14); }
.ch-progress span { display: block; height: 100%; background: var(--ch-aqua); transform-origin: 0 50%; transform: scaleX(0); }

.ch-loader { position: absolute; left: var(--ch-gutter); bottom: 22px; z-index: 3; display: flex; align-items: center; gap: 12px;
  font-family: var(--ch-mono); font-size: 12px; letter-spacing: .06em; color: var(--ch-on-dark-2); transition: opacity .6s; }
.ch-loader-bar { width: 88px; height: 2px; background: rgba(241, 247, 248, .18); overflow: hidden; border-radius: 2px; }
.ch-loader-bar span { display: block; height: 100%; width: 100%; background: var(--ch-aqua); transform-origin: 0 50%; transform: scaleX(0); transition: transform .3s; }
.ch-stage.is-ready .ch-loader, .ch-stage.is-end .ch-loader { opacity: 0; pointer-events: none; }
.ch-stage.is-end .ch-skip { opacity: 0; pointer-events: none; }
.ch .ch-skip {
  position: absolute; right: var(--ch-gutter); bottom: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ch-mono); font-size: 12px; letter-spacing: .06em; color: var(--ch-on-dark-2); text-decoration: none;
  padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(241, 247, 248, .22); background: rgba(3, 32, 42, .35);
  transition: opacity .4s, color .2s, border-color .2s;
}
.ch .ch-skip:hover { color: var(--ch-on-dark); border-color: rgba(241, 247, 248, .5); }

/* chapters */
.ch .ch-chapter {
  position: relative; z-index: 1; display: flex !important; flex-direction: column !important; justify-content: center;
  min-height: 150vh; min-height: 150lvh; padding: 0 var(--ch-gutter) !important; pointer-events: none;
}
.ch .ch-chapter-1 { min-height: 100vh; min-height: 100lvh; justify-content: flex-end; padding-bottom: clamp(88px, 13vh, 150px) !important; }
.ch .ch-chapter-5 { min-height: 100vh; min-height: 100lvh; }
.ch .ch-chapter-copy {
  display: flex !important; flex-direction: column !important; align-items: flex-start; gap: 22px;
  width: min(100%, 38rem); pointer-events: auto; will-change: opacity, transform;
}
.ch .ch-chapter-1 .ch-chapter-copy { width: min(100%, 50rem); }
.ch .ch-chapter .ch-eyebrow-film .elementor-heading-title {
  font-family: var(--ch-mono); font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ch-aqua-soft);
}
.ch .ch-film-title .elementor-heading-title {
  font-family: var(--ch-display); font-weight: 300; font-size: clamp(2.3rem, min(3.9vw, 6.6vh) + .6rem, 4.25rem);
  line-height: 1.06; letter-spacing: -.032em; color: var(--ch-card); text-wrap: balance;
}
.ch .ch-film-title-xl .elementor-heading-title { font-size: clamp(2.9rem, min(6.4vw, 10.5vh) + .4rem, 7rem); line-height: 1; letter-spacing: -.04em; max-width: 11ch; }
.ch .ch-film-lead, .ch .ch-film-lead p { font-size: clamp(1.05rem, .3vw + 1rem, 1.25rem); font-weight: 300; line-height: 1.6; color: #D5E5E8; max-width: 34rem; }
.ch .ch-cue { margin-top: 18px; }
.ch-cue { display: flex; align-items: center; gap: 14px; font-family: var(--ch-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ch-on-dark-2); }
.ch-cue-line { position: relative; width: 1px; height: 44px; background: rgba(241, 247, 248, .22); overflow: hidden; }
.ch-cue-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ch-aqua-soft); animation: ch-cue 2.2s var(--ch-ease) infinite; }
@keyframes ch-cue { 0% { top: -40%; } 70%, 100% { top: 100%; } }

/* ================================================================ buttons */
.ch .ch-actions { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 12px !important; align-items: center; }
.ch .ch-actions > .elementor-widget { width: auto !important; }
.ch .ch-btn .elementor-button, .ch .ch-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ch-sans); font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0;
  padding: 16px 26px; border-radius: 999px; border: 1px solid var(--ch-petrol);
  background: var(--ch-petrol); color: var(--ch-card); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ch-ease);
}
.ch .ch-btn .elementor-button:hover, .ch .ch-submit:hover { background: var(--ch-deep); border-color: var(--ch-deep); color: var(--ch-card); transform: translateY(-1px); }
.ch .ch-btn-light .elementor-button { background: var(--ch-card); border-color: var(--ch-card); color: var(--ch-deep); }
.ch .ch-btn-light .elementor-button:hover { background: var(--ch-aqua-soft); border-color: var(--ch-aqua-soft); color: var(--ch-deep); }
.ch .ch-btn-ghost-light .elementor-button { background: transparent; border-color: rgba(241, 247, 248, .55); color: var(--ch-on-dark); }
.ch .ch-btn-ghost-light .elementor-button:hover { background: rgba(241, 247, 248, .12); border-color: var(--ch-on-dark); color: var(--ch-on-dark); }

/* ================================================================ sections */
.ch .e-con.ch-section { display: block !important; padding: clamp(84px, 10vw, 148px) var(--ch-gutter) !important; width: 100%; max-width: none; position: relative; }
.ch .ch-section { background: var(--ch-paper); }
.ch .ch-wrap { width: 100%; max-width: var(--ch-max); margin-inline: auto; }
.ch .ch-wrap + .ch-wrap { margin-top: clamp(44px, 5vw, 72px); }
.ch .ch-stack { display: flex !important; flex-direction: column !important; align-items: flex-start; gap: 20px; }
.ch .ch-stack > * { max-width: 100%; }
.ch .ch-sheet { background: var(--ch-paper); border-radius: 32px 32px 0 0; margin-top: -32px !important; z-index: 2; }
.ch .ch-split { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.ch .ch-intro { display: grid !important; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(40px, 6vw, 96px); align-items: end; }
.ch .ch-intro-head { display: flex !important; flex-direction: column !important; gap: 18px; }

.ch .ch-eyebrow .elementor-heading-title, .ch .ch-steps-title .elementor-heading-title {
  font-family: var(--ch-mono); font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ch-aqua-ink);
}
.ch .ch-eyebrow-light .elementor-heading-title { color: var(--ch-aqua-soft); }
.ch .ch-h1 .elementor-heading-title {
  font-family: var(--ch-display); font-weight: 300; font-size: clamp(2.4rem, 3vw + 1.2rem, 4rem); line-height: 1.05; letter-spacing: -.034em; color: var(--ch-ink); text-wrap: balance;
}
.ch .ch-h2 .elementor-heading-title {
  font-family: var(--ch-display); font-weight: 300; font-size: clamp(2.1rem, 2.4vw + 1.15rem, 3.5rem);
  line-height: 1.07; letter-spacing: -.032em; color: var(--ch-ink); text-wrap: balance; max-width: 18ch;
}
.ch .ch-dark .ch-h2 .elementor-heading-title { color: var(--ch-card); }
.ch .ch-h3 .elementor-heading-title { font-family: var(--ch-display); font-weight: 500; font-size: 1.14rem; line-height: 1.3; letter-spacing: -.008em; color: var(--ch-ink); }
.ch .ch-dark .ch-h3 .elementor-heading-title { color: var(--ch-card); }
.ch .ch-lead, .ch .ch-lead p { font-size: clamp(1.06rem, .3vw + 1rem, 1.22rem); font-weight: 300; line-height: 1.62; color: var(--ch-ink-2); max-width: 36rem; }
.ch .ch-body, .ch .ch-body p { font-size: 1rem; line-height: 1.7; color: var(--ch-ink-2); max-width: 38rem; }
.ch .ch-body p + p { margin-top: 1em; }
.ch .ch-body-light, .ch .ch-body-light p { color: var(--ch-on-dark-2); }

/* focus areas: 4-column bento */
.ch .ch-areas { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px !important; }
.ch .ch-area {
  display: flex !important; flex-direction: column !important; gap: 14px; min-width: 0;
  background: var(--ch-card); border: 1px solid var(--ch-line-2); border-radius: 22px; padding: 28px 26px 24px !important;
  transition: border-color .3s, transform .3s var(--ch-ease), box-shadow .3s;
}
.ch .ch-area:hover { border-color: var(--ch-line); transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(12, 43, 51, .35); }
.ch .ch-area-wide { grid-column: span 2; }
.ch .ch-area-icon { color: var(--ch-aqua-ink); }
.ch-area-icon .ch-icon { display: block; width: 46px; height: 46px; padding: 9px; border-radius: 14px; background: var(--ch-aqua-wash); }
.ch .ch-area .ch-body, .ch .ch-area .ch-body p { font-size: .96rem; }
.ch .ch-area-tags { margin-top: auto; padding-top: 6px; }
.ch-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ch-tags li { font-family: var(--ch-mono); font-size: 12px; line-height: 1; letter-spacing: .02em; color: var(--ch-ink-2); padding: 7px 10px; border: 1px solid var(--ch-line); border-radius: 999px; background: var(--ch-paper); }

/* know-how */
.ch .ch-knowhow { background: var(--ch-card); border-block: 1px solid var(--ch-line-2); }
.ch .ch-knowhow .ch-split { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); align-items: center; }
.ch-facts { display: grid; gap: 0; width: 100%; margin-top: 8px; border-top: 1px solid var(--ch-line); }
.ch-facts > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ch-line); }
.ch-facts dt { font-family: var(--ch-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ch-aqua-ink); padding-top: 3px; }
.ch-facts dd { font-size: .98rem; color: var(--ch-ink); }

/* chart: SVG draws marks only; every label is HTML so it never scales below its set size */
.ch-chart { background: var(--ch-paper); border: 1px solid var(--ch-line-2); border-radius: 24px; padding: clamp(20px, 3vw, 34px); min-width: 0; }
.ch-chart-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.ch-chart-kicker { font-family: var(--ch-mono); font-size: 12px; letter-spacing: .08em; color: var(--ch-aqua-ink); }
.ch-chart-title { font-family: var(--ch-display); font-size: 1.2rem; font-weight: 500; color: var(--ch-ink); margin-top: 4px; }
.ch-chart-stat { display: flex; flex-direction: column; align-items: flex-end; }
.ch-chart-stat span { font-family: var(--ch-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ch-ink-2); }
.ch-chart-stat strong { font-family: var(--ch-display); font-weight: 300; font-size: 2.3rem; line-height: 1.1; letter-spacing: -.02em; color: var(--ch-petrol); font-variant-numeric: tabular-nums; }
.ch-chart-frame { padding-left: 56px; padding-right: 6px; }
.ch-axis-y { font-family: var(--ch-mono); font-size: 12px; letter-spacing: .04em; color: var(--ch-ink-2); margin: 0 0 14px -56px; }
.ch-axis-x { font-family: var(--ch-mono); font-size: 12px; letter-spacing: .04em; color: var(--ch-ink-2); text-align: right; margin-top: 36px; }
.ch-plot { position: relative; aspect-ratio: 2 / 1; width: 100%; max-width: 100%; }
.ch-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ch-plot-data { position: absolute; inset: 0; }
.ch-plot svg * { vector-effect: non-scaling-stroke; }
.ch-grid line { stroke: var(--ch-line); stroke-width: 1; fill: none; }
.ch-base { stroke: var(--ch-ink-2); stroke-width: 1.2; }
.ch-band { fill: var(--ch-aqua); fill-opacity: .07; stroke: none; }
.ch-curve { fill: none; stroke: var(--ch-aqua); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ch-area-fill { stroke: none; }
.ch-marker { stroke: var(--ch-petrol); stroke-width: 1.2; stroke-dasharray: 4 4; fill: none; }
/* reveal once, left to right; charts visible on load are never armed */
.ch-chart.is-armed .ch-plot-data { clip-path: inset(-24px 100% -24px -96px); }
.ch-chart.is-armed.is-drawn .ch-plot-data { clip-path: inset(-24px -24px -24px -96px); transition: clip-path 1.6s var(--ch-ease); }
.ch-xt, .ch-yt { position: absolute; font-family: var(--ch-mono); font-size: 12px; line-height: 1; color: var(--ch-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ch-xt { top: calc(100% + 12px); transform: translateX(-50%); }
.ch-yt { right: calc(100% + 12px); transform: translateY(-50%); }
.ch-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--ch-card); border: 3px solid var(--ch-aqua); transform: translate(-50%, -50%); }
.ch-tag { position: absolute; transform: translate(calc(-100% - 14px), -50%); font-family: var(--ch-mono); font-size: 12px; line-height: 1; color: var(--ch-card);
  background: var(--ch-petrol); padding: 6px 8px; border-radius: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ch-pmark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius: 50%;
  font-family: var(--ch-mono); font-size: 12px; line-height: 1; color: var(--ch-ink); background: var(--ch-card); border: 1px solid var(--ch-ink-2); }
.ch-plot .ch-pmark { position: absolute; transform: translate(-50%, -50%); }
.ch-phases { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 22px; }
.ch-phases li { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.55; color: var(--ch-ink-2); min-width: 0; }
.ch-phases b { font-weight: 500; color: var(--ch-ink); }
.ch-phase-range { font-family: var(--ch-mono); font-size: 12px; color: var(--ch-aqua-ink); white-space: nowrap; }
.ch-chart figcaption { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--ch-line); font-size: .84rem; color: var(--ch-ink-2); }

/* partnership */
.ch .ch-values { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px !important; }
.ch .ch-value { display: flex !important; flex-direction: column !important; gap: 12px; padding-top: 22px !important; border-top: 1px solid var(--ch-ink); min-width: 0; }
.ch .ch-steps-w { background: var(--ch-card); border: 1px solid var(--ch-line-2); border-radius: 26px; padding: clamp(26px, 4vw, 48px) !important; }
.ch .ch-steps-title { margin-bottom: 30px; }
.ch-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.ch-steps::before { content: ''; position: absolute; left: 6px; right: 0; top: 37px; height: 1px; background: var(--ch-line); }
.ch-step { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ch-step-n { font-family: var(--ch-mono); font-size: 12px; letter-spacing: .1em; color: var(--ch-aqua-ink); }
.ch-step-node { width: 13px; height: 13px; border-radius: 50%; background: var(--ch-card); border: 2px solid var(--ch-petrol); margin: 3px 0 10px; position: relative; z-index: 1; }
.ch-step:first-child .ch-step-node { background: var(--ch-aqua); border-color: var(--ch-aqua); }
.ch-step h4 { font-family: var(--ch-display); font-size: 1.04rem; font-weight: 500; line-height: 1.35; color: var(--ch-ink); }
.ch-step p { font-size: .93rem; line-height: 1.6; color: var(--ch-ink-2); }

/* full-width definition lists inside stacked columns */
.ch .ch-facts-w, .ch .ch-address-w { align-self: stretch; }

/* technical partner (dark) */
.ch .ch-dark { background: var(--ch-deep); color: var(--ch-on-dark); overflow: hidden; }
.ch .ch-partner-art { position: absolute; right: -9vw; top: 50%; width: min(64vw, 760px); transform: translateY(-50%); color: var(--ch-aqua); opacity: .07; pointer-events: none; }
.ch-partner-art .ch-ring { width: 100%; height: auto; display: block; }
.ch .ch-partner .ch-wrap { position: relative; z-index: 1; }
.ch .ch-partner .ch-split { align-items: end; }
.ch .ch-link-light { display: inline-flex; align-items: center; gap: 8px; color: var(--ch-aqua-soft); font-family: var(--ch-mono); font-size: 13px; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid rgba(127, 221, 210, .4); padding-bottom: 4px; }
.ch .ch-link-light:hover { color: var(--ch-on-dark); border-color: var(--ch-on-dark); }
.ch-dl { border-top: 1px solid rgba(241, 247, 248, .16); }
.ch-dl > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(241, 247, 248, .16); }
.ch-dl dt { font-family: var(--ch-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ch-aqua-soft); padding-top: 4px; }
.ch-dl dd { font-size: 1.06rem; font-weight: 300; line-height: 1.5; color: var(--ch-on-dark); }

/* compliance */
.ch .ch-compliance { background: var(--ch-card); border-block: 1px solid var(--ch-line-2); }
.ch .ch-cols { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 44px) !important; }
.ch .ch-col { display: flex !important; flex-direction: column !important; gap: 12px; padding-top: 22px !important; border-top: 1px solid var(--ch-ink); min-width: 0; }
.ch .ch-ref .elementor-heading-title { font-family: var(--ch-mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; color: var(--ch-aqua-ink); }

/* contact */
.ch .ch-contact-grid { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.ch .ch-contact-copy { position: sticky; top: calc(var(--ch-header-h) + 40px); }
.ch-address { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 10px 16px; font-style: normal; font-size: .98rem; line-height: 1.55; color: var(--ch-ink); margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--ch-line); }
.ch-address-k { font-family: var(--ch-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ch-aqua-ink); padding-top: 3px; }
.ch .ch-address a { color: var(--ch-ink); text-decoration: none; border-bottom: 1px solid var(--ch-line); }
.ch .ch-address a:hover { color: var(--ch-aqua-ink); border-color: var(--ch-aqua-ink); }

/* form */
.ch-form { background: var(--ch-card); border: 1px solid var(--ch-line-2); border-radius: 26px; padding: clamp(22px, 3.4vw, 40px); min-width: 0; }
.ch-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.ch-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ch-field-full { grid-column: 1 / -1; }
.ch-field label { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.35; color: var(--ch-ink); }
.ch-field label .ch-opt { font-weight: 400; color: var(--ch-ink-2); }
.ch-field input, .ch-field select, .ch-field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ch-ink); background: var(--ch-paper);
  border: 1px solid var(--ch-line); border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.ch-field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.ch-field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233F5B62' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.ch-field input:focus, .ch-field select:focus, .ch-field textarea:focus { outline: none; border-color: var(--ch-aqua); background: var(--ch-card); box-shadow: 0 0 0 4px rgba(31, 181, 168, .16); }
.ch-field ::placeholder { color: #7D9297; opacity: 1; }
.ch .ch-consent { display: flex; line-height: 1.55; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 13.5px; line-height: 1.55; color: var(--ch-ink-2); cursor: pointer; }
.ch-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ch-petrol); }
.ch-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.ch-form-msg { font-size: 14px; margin: 0; }
.ch-form-msg:empty { display: none; }
.ch-form-msg.is-ok { color: var(--ch-ok); }
.ch-form-msg.is-err { color: var(--ch-err); }
.ch-form-note { font-size: 12.5px; color: var(--ch-ink-2); margin-top: 14px; }
.ch-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* legal pages */
.ch .ch-pagehead { padding-top: calc(var(--ch-header-h) + clamp(64px, 8vw, 110px)) !important; padding-bottom: clamp(32px, 4vw, 48px) !important; }
.ch .ch-legal { padding-top: 0 !important; }
.ch .ch-prose { max-width: 46rem; }
.ch .ch-prose h2 { font-family: var(--ch-display); font-size: 1.2rem; font-weight: 500; color: var(--ch-ink); margin: 2em 0 .5em; }
.ch .ch-prose p { color: var(--ch-ink-2); line-height: 1.7; }
.ch .ch-prose p + p { margin-top: .9em; }
.ch .ch-todo { background: var(--ch-warn-bg); color: var(--ch-warn); padding: 12px 16px; border-radius: 12px; font-size: .92rem; }

/* ================================================================ footer */
.ch-footer { background: var(--ch-deep); color: var(--ch-on-dark-2); padding: clamp(64px, 7vw, 96px) var(--ch-gutter) calc(28px + env(safe-area-inset-bottom, 0px)); }
.ch-footer-grid { max-width: var(--ch-max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 40px; }
.ch-footer-brand img { width: 190px; height: auto; display: block; }
.ch-footer-brand p { margin-top: 18px; font-size: .95rem; line-height: 1.65; max-width: 30ch; }
.ch-footer h2 { font-family: var(--ch-mono); font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ch-aqua-soft); margin: 0 0 16px; }
.ch-footer address { font-style: normal; font-size: .95rem; line-height: 1.75; }
.ch-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.ch .ch-footer a { color: var(--ch-on-dark); text-decoration: none; }
.ch .ch-footer a:hover { color: var(--ch-aqua-soft); }
.ch-footer-bottom { max-width: var(--ch-max); margin: clamp(48px, 6vw, 72px) auto 0; padding-top: 22px; border-top: 1px solid rgba(241, 247, 248, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-family: var(--ch-mono); font-size: 12px; letter-spacing: .06em; }

/* ================================================================ responsive */
@media (max-width: 1180px) {
  .ch-nav, .ch-header .ch-header-cta { display: none; }
  .ch .ch-menu-toggle { display: inline-flex; }
  .ch-lang { margin-left: auto; }
  .ch .ch-menu-toggle { margin-left: 0; }
  .ch-header.is-open { background: var(--ch-paper) !important; color: var(--ch-ink) !important; border-bottom-color: var(--ch-line-2) !important; }
  .ch-header.is-open .ch-logo-dark { display: block !important; }
  .ch-header.is-open .ch-logo-light { display: none !important; }
  .ch-header.is-open .ch-nav { display: block; position: fixed; left: 0; right: 0; top: calc(var(--ch-header-h) + env(safe-area-inset-top, 0px)); bottom: 0;
    background: var(--ch-paper); padding: 28px var(--ch-gutter) 40px; overflow-y: auto; }
  .ch-header.is-open .ch-nav ul { flex-direction: column; gap: 0; }
  .ch .ch-header.is-open .ch-nav a { display: block; padding: 18px 0; font-family: var(--ch-display); font-size: 1.6rem; font-weight: 300; letter-spacing: -.02em; border-bottom: 1px solid var(--ch-line-2); opacity: 1; }
  .ch .ch-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch .ch-area-wide { grid-column: span 2; }
  .ch .ch-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .ch .ch-split, .ch .ch-intro, .ch .ch-knowhow .ch-split, .ch .ch-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .ch .ch-contact-copy { position: static; }
  .ch .ch-cols { grid-template-columns: minmax(0, 1fr); }
  .ch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .ch-steps::before { display: none; }
  .ch-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ch-footer-brand { grid-column: 1 / -1; }
  .ch .ch-partner-art { right: -30vw; width: 110vw; opacity: .05; }
}
@media (max-width: 640px) {
  :root { --ch-header-h: 64px; }
  .ch-logo img { height: 26px; }
  .ch .ch-areas, .ch .ch-values { grid-template-columns: minmax(0, 1fr); }
  .ch .ch-area-wide { grid-column: auto; }
  .ch-steps { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 26px; }
  .ch-steps::before { display: block; left: 6px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .ch-step { padding-bottom: 26px; }
  .ch-step-node { position: absolute; left: -26px; top: 1px; margin: 0; }
  .ch-form-grid { grid-template-columns: minmax(0, 1fr); }
  .ch-dl > div, .ch-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ch-address { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ch-address-k:not(:first-child) { margin-top: 12px; }
  .ch-phases { grid-template-columns: minmax(0, 1fr); }
  .ch-chart-stat { align-items: flex-start; }
  .ch-plot { aspect-ratio: 4 / 3; }
  .ch-chart-frame { padding-left: 46px; }
  .ch-axis-y { margin-left: -46px; }
  .ch-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .ch .ch-sheet { border-radius: 24px 24px 0 0; margin-top: -24px !important; }
}

/* portrait screens: the film keeps its subject in the upper half, captions sit low like subtitles */
@media (orientation: portrait) {
  .ch-stage { background-image: var(--ch-poster-m, var(--ch-poster-d, none)); background-position: 50% 40%; }
  .ch-stage-shade { background:
    linear-gradient(0deg, rgba(3, 32, 42, .9) 0%, rgba(3, 32, 42, .62) 30%, rgba(3, 32, 42, 0) 58%),
    linear-gradient(180deg, rgba(3, 32, 42, .55) 0%, rgba(3, 32, 42, 0) 18%); }
  .ch-rail { display: none; }
  .ch-progress { display: block; }
  .ch .ch-chapter { justify-content: flex-end; }
  .ch .ch-chapter-copy { position: sticky; bottom: max(76px, 10vh); gap: 16px; }
  .ch .ch-chapter-1 { padding-bottom: max(84px, 11vh) !important; }
  .ch .ch-chapter-1 .ch-chapter-copy { position: static; }
  .ch .ch-chapter-5 { justify-content: flex-end; padding-bottom: max(76px, 10vh) !important; }
  .ch .ch-chapter-5 .ch-chapter-copy { position: static; }
  .ch .ch-film-title .elementor-heading-title { font-size: clamp(1.9rem, 7.4vw, 3rem); }
  .ch .ch-film-title-xl .elementor-heading-title { font-size: clamp(2.6rem, 11.5vw, 4.4rem); }
  .ch .ch-film-lead, .ch .ch-film-lead p { font-size: 1rem; }
  .ch .ch-cue { display: none; }
  .ch .ch-skip { bottom: 14px; }
  .ch-loader { bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .ch-stage-grain, .ch-cue-line::after { animation: none; }
  .ch .ch-area, .ch .ch-btn .elementor-button { transition: none; }
  .ch-chart.is-armed .ch-plot-data { clip-path: none; }
}

/* Elementor editor: show the film as a still, keep chapters editable */
.elementor-editor-active .ch .ch-stage-w, .elementor-editor-active .ch-stage-w { display: block !important; }
.elementor-editor-active .ch-stage { position: relative; height: 56vh; margin-bottom: 0; }
.elementor-editor-active .ch .ch-chapter { min-height: 0; padding-top: 80px !important; padding-bottom: 80px !important; }
.elementor-editor-active .ch .ch-chapter-copy { position: static; }
