
/* Layout: white canvas, centred statements, light-grey rounded tiles, one bento grid. Brand teal used for links and buttons; teal-to-magenta gradient once, on the headline. */
:root {
  --bg: #FFFFFF;
  --tile: #F5F5F7;
  --tile-2: #FFFFFF;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --line: #D2D2D7;
  --link: #0A7466;
  --btn: #0F8F7C;
  --on-btn: #FFFFFF;
  --teal: #18BAA2;
  --magenta: #ED0481;
  --feature: #0A7466;
  --on-feature: #FFFFFF;
  --on-feature-muted: rgba(255,255,255,0.84);
  --nav: rgba(255, 255, 255, 0.78);
  color-scheme: light;
  --f: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
}


:root:not([data-lang="bm"]) .bm, :root[data-lang="bm"] .en { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  background: var(--bg); color: var(--ink); font-family: var(--f);
  font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

.wrap {
  max-width: 1080px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.wide { max-width: 1240px; }
section { scroll-margin-top: 64px; }
.sec { padding-block: clamp(80px, 11vw, 140px); }
.sec + .sec { padding-top: 0; }
.headline { text-align: center; display: grid; justify-items: center; gap: 14px; margin-bottom: clamp(40px, 6vw, 72px); }
.headline h2 { font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; max-width: 16ch; }
.headline p { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--muted); max-width: 34em; line-height: 1.38; font-weight: 500; }
.kicker { font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
.more::after { content: " ›"; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 22px;
  border-radius: 980px; background: var(--btn); color: var(--on-btn); font: 500 17px var(--f); letter-spacing: -0.01em;
  border: 0; cursor: pointer; transition: filter .2s ease;
}
.pill:hover { text-decoration: none; filter: brightness(1.08); }
.pill-sm { min-height: 30px; padding: 5px 13px; font-size: 13px; }

/* Nav */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--nav); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; min-height: 52px; padding-block: 6px; max-width: 1080px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: auto; display: block; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 13px; }
.nav a { color: var(--ink); opacity: .8; white-space: nowrap; }
.nav a:hover { opacity: 1; text-decoration: none; }
.tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: var(--tile); border-radius: 980px; padding: 2px; }
.lang button { font: 600 12px var(--f); border: 0; background: none; color: var(--muted); padding: 5px 10px; border-radius: 980px; cursor: pointer; min-height: 26px; }
.lang button[aria-pressed="true"] { background: var(--tile-2); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
@media (max-width: 860px) {
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 22px; padding-bottom: 6px; scrollbar-width: none; }
  .tools { margin-left: auto; }
}

/* Hero */
.hero { text-align: center; padding-block: clamp(64px, 10vw, 120px) 0; }
.hero .wrap { display: grid; justify-items: center; gap: 18px; }
.hero .who { font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; }
.hero h1 { font-size: clamp(3.4rem, 10vw, 7.5rem); line-height: 1.0; letter-spacing: -0.05em; font-weight: 800; }
.hero h1 .grad { background: linear-gradient(90deg, var(--teal) 10%, var(--magenta) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.hero .sub { font-size: clamp(1.15rem, 2vw, 1.55rem); color: var(--muted); font-weight: 500; line-height: 1.33; max-width: 30em; margin-top: 6px; }
.hero .ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 18px; font-size: clamp(1rem, 1.6vw, 1.2rem); }

.specs { margin-top: clamp(56px, 8vw, 96px); background: var(--tile); border-radius: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: clamp(32px, 4vw, 48px) clamp(16px, 3vw, 40px); }
.spec { display: grid; gap: 6px; justify-items: center; text-align: center; padding-inline: 12px; }
.spec + .spec { border-left: 1px solid var(--line); }
.spec b { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.spec span { font-size: 14px; color: var(--muted); font-weight: 500; max-width: 14em; }
@media (max-width: 760px) {
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .spec:nth-child(3) { border-left: 0; }
}

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile { background: var(--tile); border-radius: 28px; padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 10px; min-height: 260px; overflow: hidden; position: relative; }
.tile .t-k { font-size: 17px; font-weight: 600; color: var(--muted); }
.tile .t-big { font-size: clamp(3rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; }
.tile .t-mid { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.tile p.t-body { color: var(--muted); font-size: 17px; max-width: 30em; margin-top: auto; }
.span-4 { grid-column: span 4; } .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .span-4, .span-2, .span-3 { grid-column: auto; } .tile { min-height: 0; } }
.tile.dark { background: var(--feature); color: var(--on-feature); }
.tile.dark .t-k, .tile.dark p.t-body { color: var(--on-feature-muted); }
.tile .grad-num { background: linear-gradient(90deg, var(--teal), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hexes { position: absolute; right: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 40px); width: 92px; height: 92px; }
.hexes i { position: absolute; width: 64px; aspect-ratio: 1 / 1.1547; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hexes i:first-child { left: 0; top: 4px; background: var(--magenta); }
.hexes i:last-child { left: 22px; top: 14px; background: var(--teal); }
@media (max-width: 480px) { .hexes { display: none; } }

/* Statement / About */
.statement { font-size: clamp(1.7rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.16; max-width: 22em; margin: 0 auto; text-align: center; }
.statement .dim { color: var(--muted); }
.story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); margin-top: clamp(56px, 8vw, 88px); align-items: start; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.story p { color: var(--muted); font-size: 19px; line-height: 1.55; }
.story p + p { margin-top: 18px; }
.story strong { color: var(--ink); font-weight: 600; }
.story h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chips span { background: var(--tile); border-radius: 980px; padding: 8px 15px; font-size: 14.5px; font-weight: 500; }
.roles { list-style: none; margin: 0; padding: 0; }
.roles li { padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.roles li:first-child { border-top: 1px solid var(--line); }
.roles b { display: block; font-weight: 600; }
.roles span { color: var(--muted); font-size: 14.5px; }

/* Programs */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 920px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--tile); border-radius: 28px; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; min-height: 420px; }
.card .c-k { font-size: 14px; font-weight: 600; color: var(--muted); }
.card h3 { font-size: clamp(1.75rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; }
.card p { color: var(--muted); font-size: 17px; }
.card .c-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding-top: 20px; font-size: 17px; }
.card.dark { background: var(--feature); color: var(--on-feature); }
.card.dark .c-k, .card.dark p { color: var(--on-feature-muted); }
.card.dark .c-k { color: #C9F5EC; }
.badge { display: inline-flex; align-self: flex-start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 980px; background: color-mix(in srgb, var(--teal) 16%, transparent); color: var(--link); }
.card.dark .badge { color: #FFFFFF; background: rgba(255,255,255,0.18); }
@media (max-width: 920px) { .card { min-height: 0; } }

/* Corporate training */
.areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .areas { grid-template-columns: 1fr; } }
.area { background: var(--tile); border-radius: 22px; padding: 26px 22px; display: grid; gap: 18px; align-content: space-between; min-height: 170px; }
.area .hx { width: 22px; aspect-ratio: 1 / 1.1547; background: var(--teal); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.area b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
@media (max-width: 480px) { .area { min-height: 0; } }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 7vw, 80px); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }
.flow li { list-style: none; padding: 28px 28px 0 0; display: grid; gap: 8px; }
.flow .n { font-size: 15px; font-weight: 600; color: var(--link); }
.flow b { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
.flow span { color: var(--muted); font-size: 17px; }
.formats { text-align: center; margin-top: 28px; color: var(--muted); font-size: 15px; }
.center-cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }

/* Market access */
.shelf { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(28px, 5vw, 64px); }
.shelf span { font-size: clamp(1.8rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.045em; color: var(--ink); }
.abroad { text-align: center; margin-top: 28px; font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--muted); font-weight: 500; }

/* Recognition */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 860px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }
.timeline li { padding: 28px 24px 8px 0; display: grid; gap: 8px; align-content: start; }
.timeline .yr { font-size: 15px; font-weight: 600; color: var(--link); font-variant-numeric: tabular-nums; }
.timeline b { font-size: 21px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.timeline span { color: var(--muted); font-size: 15px; }

/* Contact */
.contact-box { background: var(--tile); border-radius: 32px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); }
@media (max-width: 860px) { .contact-box { grid-template-columns: 1fr; } }
.contact-box h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.05; }
.contact-box .lead { color: var(--muted); font-size: 19px; margin-top: 16px; }
.socials { list-style: none; padding: 0; margin: 28px 0 0; }
.socials a { display: flex; justify-content: space-between; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 16px; }
.socials a:hover { text-decoration: none; color: var(--link); }
.socials a span:last-child { color: var(--muted); font-size: 14.5px; font-weight: 400; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
@media (max-width: 560px) { form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 17px var(--f); letter-spacing: -0.01em; color: var(--ink); background: var(--tile-2);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; width: 100%; min-height: 50px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 25%, transparent); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.status { font-size: 14.5px; color: var(--link); font-weight: 500; }

/* Footer */
footer { background: var(--tile); color: var(--muted); font-size: 12.5px; letter-spacing: -0.01em; }
footer .wrap { padding-block: 36px 28px; display: grid; gap: 22px; }
.f-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.f-top .brand { font-size: 14px; }
.f-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.f-links a { color: var(--muted); }
.f-links a:hover { color: var(--ink); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Additions for the RATC profile content */
.hero .tag { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--link); }
.span-6 { grid-column: span 6; }
@media (max-width: 860px) { .span-6 { grid-column: auto; } }

/* Vision, mission, values */
.vm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; }
@media (max-width: 860px) { .vm { grid-template-columns: 1fr; } }
.vm .tile { min-height: 0; }
.vm .t-mid { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.mission { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.mission li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; color: var(--ink); font-size: 16.5px; line-height: 1.45; }
.mission li::before { content: ""; width: 12px; aspect-ratio: 1 / 1.1547; margin-top: 5px; background: var(--teal); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.mission b { font-weight: 700; }
.brain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
@media (max-width: 960px) { .brain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .brain { grid-template-columns: 1fr; } }
.brain div { background: var(--tile); border-radius: 24px; padding: 26px 22px; display: grid; gap: 8px; align-content: start; }
.brain .L { font-size: 4.2rem; font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; background: linear-gradient(160deg, var(--teal), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brain b { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.brain span { color: var(--muted); font-size: 15px; line-height: 1.4; }

/* Training modules */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 960px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }
.mod { background: var(--tile); border-radius: 22px; overflow: hidden; }
.mod summary, .mod .mod-head { list-style: none; cursor: pointer; padding: 22px 22px 20px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.mod .mod-head { cursor: default; }
.mod summary::-webkit-details-marker { display: none; }
.mod .hx { width: 18px; margin-top: 3px; aspect-ratio: 1 / 1.1547; background: var(--teal); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.mod b { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.mod .count { font-size: 13px; font-weight: 600; color: var(--link); white-space: nowrap; padding-top: 2px; }
.mod summary .count::after { content: " +"; }
.mod[open] summary .count::after { content: " −"; }
.mod ul { margin: 0; padding: 0 22px 22px 58px; display: grid; gap: 7px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.mod ul li::marker { color: var(--teal); }
.mod h4 { margin: 6px 0 2px; font-size: 13px; font-weight: 600; color: var(--ink); list-style: none; }
.note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 20px; }

/* Services */
.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }
.svc > div { background: var(--tile); border-radius: 24px; padding: 28px 24px; display: grid; gap: 12px; align-content: start; }
.svc h3 { font-size: 21px; letter-spacing: -0.025em; line-height: 1.2; }
.svc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15.5px; }
.svc ul li { padding-top: 8px; border-top: 1px solid var(--line); }

/* Network */
.eco { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 72px); }
@media (max-width: 960px) { .eco { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .eco { grid-template-columns: 1fr; } }
.eco > div { padding: 26px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.eco h3 { font-size: 19px; letter-spacing: -0.02em; }
.eco p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Added value */
.perks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .perks { grid-template-columns: 1fr; } }
.perks > div { background: var(--tile); border-radius: 24px; padding: 26px 22px; display: grid; gap: 10px; align-content: start; }
.perks .big { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--link); }
.perks b { font-size: 18px; letter-spacing: -0.02em; }
.perks span { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* Trainers & team */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .people { grid-template-columns: 1fr; } }
.person { background: var(--tile); border-radius: 22px; padding: 22px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; }
.avatar { width: 48px; aspect-ratio: 1 / 1.1547; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(160deg, var(--teal), color-mix(in srgb, var(--teal) 55%, var(--magenta))); color: #FFFFFF; display: grid; place-items: center; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.person b { display: block; font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.person span { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 4px; }
.subhead { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; margin: clamp(56px, 7vw, 80px) 0 24px; text-align: center; }

/* Timeline second row */
.timeline + .timeline { margin-top: 28px; }

/* Contact details */
.details { display: grid; gap: 0; margin-top: 28px; }
.details div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
.details div:first-child { border-top: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: 14px; padding-top: 1px; }
.details dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.details dd a { font-weight: 500; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 15px; }

/* Feature tiles: brand teal instead of black */
.tile.dark, .card.dark { background: linear-gradient(145deg, #0A7466 0%, #0F8F7C 55%, #14A58F 100%); }

/* Hero canvas */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
#hexfield { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* Chips used as filters */
.chipset { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chipset button {
  font: 500 14.5px var(--f); letter-spacing: -0.01em; color: var(--ink); background: var(--tile);
  border: 1px solid transparent; border-radius: 980px; padding: 9px 16px; cursor: pointer; min-height: 40px;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.chipset button:hover { background: #EBEBEF; }
.chipset button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.chipset button .n { opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* Module explorer */
.explorer { display: grid; gap: 22px; }
.search { position: relative; max-width: 560px; width: 100%; margin: 0 auto; }
.search input {
  width: 100%; font: 400 18px var(--f); letter-spacing: -0.01em; color: var(--ink); background: var(--tile);
  border: 1px solid transparent; border-radius: 14px; padding: 15px 18px 15px 48px; min-height: 54px;
}
.search input:focus { outline: 0; background: #FFFFFF; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); }
.search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.result-count { text-align: center; color: var(--muted); font-size: 14.5px; }
.mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mgrid { grid-template-columns: 1fr; } }
.mcard { background: var(--tile); border-radius: 18px; padding: 18px 18px 16px; display: grid; gap: 8px; align-content: start; animation: pop .25s ease both; }
.mcard b { font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.mcard span { font-size: 12.5px; font-weight: 600; color: var(--link); }
.mcard mark { background: color-mix(in srgb, var(--teal) 28%, transparent); color: inherit; border-radius: 3px; }
.mcard.custom { background: transparent; border: 1.5px dashed var(--line); }
@keyframes pop { from { transform: translateY(6px); } to { transform: none; } }
.showmore { display: flex; justify-content: center; }
.textbtn { font: 500 17px var(--f); color: var(--link); background: none; border: 0; cursor: pointer; padding: 10px; min-height: 44px; }
.textbtn:hover { text-decoration: underline; }

/* Program finder */
.finder { background: var(--tile); border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 30px; }
.fstep { display: grid; gap: 14px; justify-items: center; text-align: center; }
.fstep h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.025em; }
.fstep .q { font-size: 13px; font-weight: 600; color: var(--link); }
.opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.opts button {
  font: 600 16px var(--f); letter-spacing: -0.015em; color: var(--ink); background: #FFFFFF;
  border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 20px; cursor: pointer; min-height: 52px;
  transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.opts button:hover { border-color: var(--teal); transform: translateY(-1px); }
.opts button[aria-pressed="true"] { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent); }
.fresult { background: #FFFFFF; border-radius: 24px; padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; animation: pop .3s ease both; }
@media (max-width: 760px) { .fresult { grid-template-columns: 1fr; } }
.fresult .r-k { font-size: 13px; font-weight: 600; color: var(--magenta); letter-spacing: 0.02em; text-transform: uppercase; }
.fresult h4 { margin: 8px 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.035em; line-height: 1.08; }
.fresult p { color: var(--muted); font-size: 17px; }
.fresult ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fresult li { padding: 12px 14px; background: var(--tile); border-radius: 12px; font-weight: 500; font-size: 15.5px; }
.fresult .r-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 20px; }
.fhint { text-align: center; color: var(--muted); font-size: 15px; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc .tile { min-height: 0; gap: 18px; }
.calc label { font-size: 15px; font-weight: 600; color: var(--muted); }
.amount { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--btn); height: 28px; cursor: pointer; }
.range-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.bars { display: grid; gap: 14px; }
.bar { display: grid; gap: 6px; }
.bar .lbl { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--on-feature-muted); }
.bar .lbl b { color: var(--on-feature); font-variant-numeric: tabular-nums; }
.bar .track { height: 14px; background: rgba(255,255,255,0.18); border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; border-radius: 99px; background: rgba(255,255,255,0.65); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.bar.after .fill { background: #FFFFFF; }
.gain { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.fine { font-size: 13px; color: var(--muted); }
.tile.dark .fine { color: var(--on-feature-muted); }

/* Retail marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track-m { display: flex; width: max-content; gap: clamp(36px, 5vw, 72px); animation: slide 40s linear infinite; }
.marquee:hover .track-m { animation-play-state: paused; }
.marquee span { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.045em; white-space: nowrap; }
.marquee span:nth-child(3n+2) { color: var(--link); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track-m { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee .dup { display: none; } .marquee { -webkit-mask-image: none; mask-image: none; } }

/* Trainer filter */
.people .person[hidden] { display: none !important; }
.person { transition: transform .2s ease, box-shadow .2s ease; }
.person:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.07); }
#trainer-grid { margin-top: 24px; }

/* Bento hover */
.tile, .card, .svc > div, .perks > div, .brain div { transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .tile:hover, .card:hover, .svc > div:hover, .perks > div:hover, .brain div:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.08); } }
@media (prefers-reduced-motion: reduce) { .mcard, .fresult { animation: none; } }

/* ---- v6: photos, profile 2026 ---- */
.hero { text-align: left; padding-block: clamp(40px, 6vw, 72px) 0; }
.hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
@media (max-width: 860px) { .hero .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; } .hero-photo { width: min(78%, 340px); } }
.hero-copy { display: grid; gap: 16px; justify-items: start; padding-bottom: clamp(24px, 5vw, 72px); }
@media (max-width: 860px) { .hero-copy { justify-items: center; padding-bottom: 0; } }
.hero h1 { font-size: clamp(3rem, 7.6vw, 6.2rem); }
.hero .sub { max-width: 28em; }
.hero .ctas { justify-content: flex-start; }
@media (max-width: 860px) { .hero .ctas { justify-content: center; } }
.hero-photo { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-photo::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; top: 22%; border-radius: 40px 40px 0 0; background: linear-gradient(170deg, color-mix(in srgb, var(--teal) 22%, #FFFFFF), color-mix(in srgb, var(--magenta) 14%, #FFFFFF)); }
.hero-photo img { position: relative; display: block; width: 100%; height: auto; max-width: 100%; }
.badge-float { position: absolute; background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 16px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.10); display: grid; gap: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.3; max-width: 190px; animation: bob 6s ease-in-out infinite; }
.badge-float b { font-size: 14.5px; color: var(--ink); letter-spacing: -0.015em; }
.badge-float.one { left: -6%; top: 34%; }
.badge-float.two { right: -4%; top: 58%; animation-delay: -3s; }
@media (max-width: 480px) { .badge-float.one { left: 0; } .badge-float.two { right: 0; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .badge-float { animation: none; } }
.hero .specs { margin-top: 0; position: relative; z-index: 2; }

/* Gallery strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 34%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
@media (max-width: 760px) { .strip { grid-auto-columns: 82%; } }
.shot { scroll-snap-align: start; border: 0; padding: 0; background: var(--tile); border-radius: 24px; overflow: hidden; cursor: zoom-in; position: relative; aspect-ratio: 4 / 3; display: block; width: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.04); }
.shot span { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,0.88); backdrop-filter: blur(10px); color: var(--ink); font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 980px; }
.strip-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tile); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s ease; }
.round:hover { background: #E6E6EA; }

/* Lightbox / modal */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(250,250,252,0.86); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); display: grid; place-items: center; padding: max(20px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.overlay .close { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-img { max-width: min(1100px, 100%); max-height: 78vh; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,0.25); display: block; }
.lb-wrap { display: grid; gap: 14px; justify-items: center; }
.lb-cap { font-weight: 600; font-size: 15px; color: var(--ink); text-align: center; }
.lb-ctrl { display: flex; gap: 12px; }
.modal { background: #FFFFFF; border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,0.18); width: min(560px, 100%); max-height: 86vh; overflow: auto; padding: clamp(24px, 4vw, 36px); display: grid; gap: 14px; animation: rise .25s ease; }
@keyframes rise { from { transform: translateY(14px); } }
.modal-head { display: flex; gap: 16px; align-items: center; }
.modal-head img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.modal h3 { font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.modal .role { color: var(--link); font-weight: 600; font-size: 14px; margin-top: 4px; }
.modal p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.modal ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.modal li { background: var(--tile); border-radius: 980px; padding: 7px 13px; font-size: 14px; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .overlay, .modal { animation: none; } }

/* Faces */
.person { cursor: pointer; border: 0; text-align: left; font: inherit; color: inherit; width: 100%; grid-template-columns: 56px minmax(0, 1fr); align-items: center; }
.person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; background: #E8E8ED; }
.person .more-i { grid-column: 2; font-size: 12.5px; color: var(--link); font-weight: 600; margin-top: 2px; }
.team-grid .person { cursor: default; }

/* Coaching style */
.style4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 72px); }
@media (max-width: 960px) { .style4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .style4 { grid-template-columns: 1fr; } }
.style4 > div { padding: 26px 24px 4px 0; display: grid; gap: 8px; align-content: start; }
.style4 .n { font-size: 15px; font-weight: 600; color: var(--link); }
.style4 b { font-size: 20px; letter-spacing: -0.025em; line-height: 1.2; }
.style4 span.d { color: var(--muted); font-size: 15.5px; }
.speak-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--tile); max-width: 100%; }
.speak-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ventures { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ventures span { background: var(--tile); border-radius: 980px; padding: 7px 13px; font-size: 14px; font-weight: 500; }

/* Logo wall */
.logos { overflow: hidden; display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-row { display: flex; width: max-content; gap: 40px; animation: slide 70s linear infinite; }
.logo-row.rev { animation-direction: reverse; animation-duration: 80s; }
.logos:hover .logo-row { animation-play-state: paused; }
.logo-row img { height: clamp(150px, 20vw, 230px); width: auto; max-width: none; display: block; }
@media (prefers-reduced-motion: reduce) { .logo-row { animation: none; width: auto; flex-direction: column; } .logo-row img { height: auto; width: 100%; max-width: 100%; } .logo-row .dup { display: none; } .logos { -webkit-mask-image: none; mask-image: none; } }

/* Facilities + media */
.fac { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .fac { grid-template-columns: 1fr; } }
.fac .shot { aspect-ratio: 4 / 5; }
.fac .shot img { object-position: 50% 80%; }
@media (max-width: 760px) { .fac .shot { aspect-ratio: 4 / 3; } }
.media { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .media { grid-template-columns: 1fr; } }
.media .shot { aspect-ratio: 16 / 10; }
.outlets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 26px; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.03em; color: var(--muted); }

/* Mentoring programs */
.mentor { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
@media (max-width: 960px) { .mentor { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .mentor { grid-template-columns: 1fr; } }
.mentor div { background: var(--tile); border-radius: 20px; padding: 20px; display: grid; gap: 6px; }
.mentor b { font-size: 16px; letter-spacing: -0.015em; line-height: 1.25; }
.mentor span { font-size: 13.5px; color: var(--muted); }

/* Engage */
.engage { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.engage span { border: 1px solid var(--line); border-radius: 980px; padding: 6px 12px; font-size: 13.5px; font-weight: 500; color: var(--ink); }

/* Pricing */
.seg { display: flex; width: max-content; max-width: 100%; margin: 0 auto 28px; background: var(--tile); border-radius: 980px; padding: 4px; gap: 2px; flex-wrap: wrap; justify-content: center; }
.seg button { font: 600 15px var(--f); letter-spacing: -0.01em; border: 0; background: none; color: var(--muted); padding: 10px 18px; border-radius: 980px; cursor: pointer; min-height: 40px; transition: background .2s ease, color .2s ease; }
.seg button[aria-pressed="true"] { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 960px; margin: 0 auto; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--tile); border-radius: 28px; padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 10px; position: relative; }
.plan.feature { background: linear-gradient(145deg, #0A7466 0%, #0F8F7C 55%, #14A58F 100%); color: #FFFFFF; }
.p-badge { position: absolute; top: 22px; right: 22px; background: rgba(255,255,255,0.2); color: #FFFFFF; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 980px; }
.p-name { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.p-for { color: var(--muted); font-size: 15.5px; }
.plan.feature .p-for, .plan.feature .p-total, .plan.feature .p-list li { color: rgba(255,255,255,0.88); }
.p-price { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.p-price .amt { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.p-price .per { font-size: 17px; font-weight: 600; opacity: .7; }
.p-total { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.p-list { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 10px; }
.p-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15.5px; line-height: 1.4; }
.p-list li::before { content: ""; width: 11px; margin-top: 4px; aspect-ratio: 1 / 1.1547; background: var(--teal); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.plan.feature .p-list li::before { background: #FFFFFF; }
.plan .pill { margin-top: auto; align-self: flex-start; }
.plan.feature .pill { background: #FFFFFF; color: #0A7466; }
.alc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .alc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .alc { grid-template-columns: 1fr; } }
.alc-item { background: var(--tile); border-radius: 22px; padding: 24px 22px; display: grid; gap: 6px; align-content: start; animation: pop .25s ease both; }
.alc-item b { font-size: 18px; letter-spacing: -0.02em; }
.alc-item span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.alc-item em { font-style: normal; font-size: 26px; font-weight: 800; letter-spacing: -0.035em; color: var(--link); margin-top: 8px; font-variant-numeric: tabular-nums; }
.alc-item em small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }

.creds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 20px; position: relative; z-index: 2; }
@media (max-width: 860px) { .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cred-item { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 22px 14px 18px; display: grid; grid-template-rows: 96px auto; justify-items: center; align-items: center; gap: 14px; text-align: center; min-width: 0; transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .cred-item:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.08); } }
.cred-item img { width: auto; height: auto; max-height: 96px; max-width: 100%; object-fit: contain; display: block; }
.cred-item.wide img { max-height: 46px; }
.cred-item > span { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; align-self: start; min-height: 2.6em; display: grid; place-items: center; }
@media (max-width: 520px) { .creds .cred-item.wide { grid-column: 1 / -1; grid-template-rows: 64px auto; } }
.chipset button .cn { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,0.07); font-size: 12px; font-weight: 700; margin-right: 8px; }
.chipset button[aria-pressed="true"] .cn { background: rgba(255,255,255,0.2); }
@media (max-width: 760px) {
  #m-cats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  #m-cats button { flex: none; white-space: nowrap; scroll-snap-align: start; }
}
.mgroup { grid-column: 1 / -1; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--link); padding: 14px 4px 0; }
.mgroup:first-child { padding-top: 0; }
.roles4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .roles4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .roles4 { grid-template-columns: 1fr; } }
.r4 { background: var(--tile); border-radius: 26px; padding: 28px 24px; display: grid; gap: 10px; align-content: start; transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .r4:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.08); } }
.r4n { width: 40px; aspect-ratio: 1 / 1.1547; background: linear-gradient(160deg, var(--teal), var(--magenta)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); margin-bottom: 6px; }
.r4 b { font-size: 20px; letter-spacing: -0.025em; line-height: 1.2; }
.r4 > span:last-child { color: var(--muted); font-size: 15.5px; }
.mcard span:empty { display: none; }
@media (max-width: 560px) { .mcard { padding: 14px 16px; } .mgrid { gap: 8px; } }


/* nested language spans inherit their parent's type */
:is(.timeline, .roles, .perks, .alc-item, .mentor, .r4, .person, .svc, .yr) :is(b, .yr) > span.en,
:is(.timeline, .roles, .perks, .alc-item, .mentor, .r4, .person, .svc, .yr) :is(b, .yr) > span.bm { font: inherit; color: inherit; display: inline; margin: 0; letter-spacing: inherit; }
/* ---- QC polish ---- */
[hidden] { display: none !important; }
.hero .sub { font-size: clamp(1.02rem, 1.35vw, 1.16rem); line-height: 1.55; max-width: 34em; font-weight: 400; }
.hero .who { font-size: clamp(1rem, 1.4vw, 1.2rem); }
.vm .tile.dark .t-mid { font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.3; letter-spacing: -0.02em; }
.mentor b.en, .mentor b.bm { font-size: 16px; }
.fab { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 980px; background: var(--btn); color: #FFFFFF; font-weight: 600; font-size: 15.5px; box-shadow: 0 12px 30px rgba(10,116,102,0.35); transition: transform .2s ease, box-shadow .2s ease; }
.fab:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(10,116,102,0.42); }
@media (prefers-reduced-motion: reduce) { .logos { max-width: 1100px; margin: 0 auto; } }
@media (max-width: 560px) {
  .seg button { padding: 8px 12px; font-size: 14px; white-space: nowrap; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .person { grid-template-columns: 1fr; justify-items: start; gap: 10px; padding: 16px; }
  .person img { width: 52px; height: 52px; }
  .person b { font-size: 15px; }
  .person span { font-size: 13px; }
  .fab { padding: 0 16px; min-height: 48px; }
  .fab span { display: none; }
  .vm .tile.dark .t-mid { font-size: 1.2rem; }
  .hero .sub { font-size: 1rem; }
}

/* ---- multi-page additions ---- */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }
.nav a[aria-current="page"] { opacity: 1; font-weight: 600; color: var(--link); }
.page-head { padding-block: clamp(56px, 8vw, 96px) 0; }
.page-head .headline { margin-bottom: 0; }
.page-head h1 { font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -0.045em; max-width: 14ch; }
.page-head .headline p { margin-top: 4px; }

/* event */
.event { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--tile); border-radius: 32px; padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden; }
.event::after { content: ""; position: absolute; right: -40px; top: -50px; width: 180px; aspect-ratio: 1 / 1.1547; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: color-mix(in srgb, var(--magenta) 10%, transparent); pointer-events: none; }
@media (max-width: 860px) { .event { grid-template-columns: auto minmax(0, 1fr); } .ev-side { grid-column: 1 / -1; } }
.ev-date { display: grid; justify-items: center; background: #FFFFFF; border-radius: 22px; padding: 16px 20px; min-width: 112px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.ev-m { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--magenta); }
.ev-d { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.ev-y { font-size: 13px; color: var(--muted); font-weight: 600; }
.ev-body { display: grid; gap: 6px; min-width: 0; }
.ev-body .kicker { font-size: 14px; color: var(--link); }
.ev-body h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.05; }
.ev-meta { font-weight: 600; font-size: 16px; }
.ev-desc { color: var(--muted); font-size: 16px; }
.ev-side { display: grid; gap: 14px; justify-items: center; position: relative; z-index: 1; }
@media (max-width: 860px) { .ev-side { grid-template-columns: auto auto; justify-content: start; align-items: center; } }
.ev-count { display: grid; justify-items: center; }
.ev-count b { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--link); font-variant-numeric: tabular-nums; }
.ev-count span { font-size: 13px; color: var(--muted); font-weight: 600; }
.event-sec { padding-bottom: 0; }
.event-sec + .sec { padding-top: clamp(80px, 11vw, 140px); }

/* reviews */
.stars { color: #F5A623; letter-spacing: 2px; }
.stars-line { font-size: 16px !important; font-weight: 600 !important; color: var(--ink) !important; }
.reviews { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; background: var(--tile); border-radius: 24px; padding: 24px; display: grid; gap: 12px; }
.review blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.review figcaption { font-size: 13px; color: var(--muted); font-weight: 600; }

/* teasers */
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .teasers { grid-template-columns: 1fr; } }
.teaser { background: var(--tile); border-radius: 28px; padding: clamp(26px, 3vw, 36px); display: grid; gap: 10px; align-content: start; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; min-height: 240px; }
.teaser:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.08); }
.teaser .t-k { font-size: 14px; font-weight: 600; color: var(--muted); }
.teaser b { font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -0.035em; line-height: 1.1; }
.teaser .t-d { color: var(--muted); font-size: 16px; }
.teaser .more { margin-top: auto; padding-top: 12px; color: var(--link); font-weight: 500; }
.teaser.feature { background: linear-gradient(145deg, #0A7466 0%, #0F8F7C 55%, #14A58F 100%); color: #FFFFFF; }
.teaser.feature .t-k, .teaser.feature .t-d { color: rgba(255,255,255,0.86); }
.teaser.feature .more { color: #FFFFFF; }

/* CTA band */
.cta-band { border-radius: 32px; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); background: linear-gradient(135deg, #0A7466 0%, #0F8F7C 50%, #8A2A79 130%); color: #FFFFFF; display: grid; gap: 14px; justify-items: center; text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.04em; }
.cta-band p { color: rgba(255,255,255,0.86); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.cta-band .ctas { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: center; align-items: center; margin-top: 8px; }
.pill-white { background: #FFFFFF; color: #0A7466; }
.more.on-dark { color: #FFFFFF; }

/* WhatsApp send */
.form-foot .pill svg { margin-right: 2px; }
.form-hint { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }

.headline h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; max-width: 16ch; }
.contact-box h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.05; }
.page-first { padding-top: clamp(56px, 8vw, 96px); }

/* client logo walls, static and aligned */
.client-walls { display: grid; gap: 20px; max-width: 1100px; margin: 0 auto; }
.client-wall { margin: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 3vw, 32px); display: grid; gap: 14px; }
.client-wall img { width: 100%; height: auto; display: block; }
.client-wall figcaption { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.view { display: block; }

/* ---------- one-page: floating left rail ---------- */
.grp { scroll-margin-top: 64px; }
.grp + .grp { border-top: 1px solid var(--line); }
.rail { position: fixed; z-index: 30; left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 4px; padding: 8px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 26px; box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08); }
.rail a { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 12px; border-radius: 18px; color: var(--muted); font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; transition: background .2s ease, color .2s ease, gap .3s ease, padding .3s ease; }
.rail a:hover { text-decoration: none; background: var(--tile); color: var(--ink); }
.rail a svg { flex: none; }
.rail a .lbl { display: inline-block; overflow: hidden; max-width: 120px; opacity: 1; transition: max-width .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease; }
.rail a[aria-current] { background: var(--btn); color: #FFFFFF; }
.rail.scrolling a { gap: 0; padding: 0 12px; }
.rail.scrolling a .lbl { max-width: 0; opacity: 0; }
.rail:hover a, .rail:focus-within a { gap: 10px; padding: 0 16px 0 12px; }
.rail:hover a .lbl, .rail:focus-within a .lbl { max-width: 120px; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rail a, .rail a .lbl { transition: none; } }
/* make room for the rail */
@media (min-width: 1100px) {
  body > header, body > main, body > footer { padding-left: 176px; }
}
@media (min-width: 761px) and (max-width: 1099px) {
  body > header, body > main, body > footer { padding-left: 76px; }
  .rail a { gap: 0; padding: 0 12px; }
  .rail a .lbl, .rail:hover a .lbl, .rail:focus-within a .lbl { max-width: 0; opacity: 0; }
  .rail:hover a, .rail:focus-within a { gap: 0; padding: 0 12px; }
}
/* phones: slim icon rail on the left, content shifted to clear it */
@media (max-width: 760px) {
  body > main, body > footer { padding-left: 50px; }
  body > header { padding-left: 0; }
  .rail { left: max(6px, env(safe-area-inset-left, 0px)); padding: 4px; gap: 2px; border-radius: 20px; transition: transform .3s ease, opacity .3s ease; }
  .rail a { height: 40px; padding: 0 9px; gap: 0; border-radius: 15px; }
  .rail a svg { width: 18px; height: 18px; }
  .rail a .lbl, .rail:hover a .lbl, .rail:focus-within a .lbl { max-width: 0; opacity: 0; }
  .rail:hover a, .rail:focus-within a { gap: 0; padding: 0 9px; }
  .rail.scrolling { opacity: .6; }
}

.top .tools { margin-left: auto; }

/* ---------- final QC polish ---------- */
/* key figures: keep big numbers apart on narrow screens */
@media (max-width: 760px) { .spec b { font-size: clamp(1.6rem, 7vw, 2.2rem); } .spec span { font-size: 12.5px; } .specs { padding: 26px 10px; } }
/* event card: two columns on tablets, stacked on phones */
@media (max-width: 1100px) { .event { grid-template-columns: auto minmax(0, 1fr); } .ev-side { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: start; align-items: center; } }
@media (max-width: 560px) {
  .event { grid-template-columns: 1fr; gap: 16px; }
  .ev-date { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 8px; min-width: 0; padding: 10px 16px; justify-self: start; }
  .ev-d { font-size: 1.4rem; }
  .ev-side { grid-template-columns: 1fr; justify-items: start; }
  .ev-count { grid-auto-flow: column; align-items: baseline; gap: 8px; }
  .ev-count b { font-size: 2rem; }
  .event .pill { width: 100%; }
}
/* client logo walls: readable on phones by swiping */
@media (max-width: 760px) {
  .client-wall { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .client-wall img { width: 640px; max-width: none; }
  .client-wall figcaption { position: sticky; left: 0; text-align: left; }
}
/* segmented controls fit on one line */
@media (max-width: 560px) {
  .seg { width: 100%; flex-wrap: nowrap; }
  .seg button { flex: 1 1 0; padding: 8px 6px; font-size: 13px; white-space: normal; line-height: 1.2; }
  .form-foot .pill { width: 100%; }
}
/* odd item in two-column grids spans the row instead of sitting alone */
@media (min-width: 481px) and (max-width: 960px) { .brain > div:last-child, .mentor > div:last-child { grid-column: 1 / -1; } }
@media (min-width: 481px) and (max-width: 1000px) { .perks > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .event .pill { justify-content: center; text-align: center; } }

/* ---- 2026-11 amendments: services (9 groups) + CEOnita ---- */
.svc.svc9 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .svc.svc9 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .svc.svc9 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc.svc9 { grid-template-columns: 1fr; } }
.svc-n { font-size: 13px; font-weight: 700; color: var(--link); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.svc .svc-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; background: linear-gradient(135deg, color-mix(in srgb, var(--teal) 10%, #fff), color-mix(in srgb, var(--magenta) 7%, #fff)); }
.svc-wide-a { display: grid; gap: 12px; align-content: start; }
.svc-wide-b { display: grid; gap: 14px; align-content: start; }
.svc-sub { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.svc ul.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.svc ul.svc-chips li { border: 0; padding: 7px 14px; background: #fff; border-radius: 980px; color: var(--ink); font-size: 14.5px; font-weight: 500; box-shadow: 0 1px 0 var(--line); }
@media (max-width: 760px) { .svc .svc-wide { grid-template-columns: 1fr; gap: 20px; } }

.ceo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); background: #FFFFFF; border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 4.5vw, 56px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.25); position: relative; overflow: hidden; }
.ceo::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(190,30,45,.10), transparent 70%); pointer-events: none; }
.ceo-intro { display: grid; gap: 16px; align-content: start; }
.ceo-logo { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 0; }
.ceo-logo img { width: min(100%, 320px); height: auto; }
.ceo-strat { font-size: 14px; font-weight: 800; letter-spacing: .5em; text-transform: uppercase; color: #BE1E2D; padding-bottom: 6px; }
.ceo-theme { font-size: clamp(19px, 2vw, 23px); font-weight: 700; letter-spacing: -.015em; line-height: 1.3; margin: 0; }
.ceo-desc { color: var(--muted); margin: 0; }
.ceo-format { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ceo-format li { background: var(--tile); border-radius: 980px; padding: 7px 14px; font-size: 14px; font-weight: 500; }
.ceo-intro .pill { justify-self: start; }
.ceo-pillars { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; gap: 0; align-content: start; }
.ceo-pillars > li { counter-increment: p; display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; row-gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.ceo-pillars > li:first-child { border-top: 0; padding-top: 4px; }
.ceo-pillars > li::before { content: "0" counter(p); grid-row: span 2; font-size: 28px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #BE1E2D; }
.ceo-pillars b { font-size: 19px; letter-spacing: -.02em; line-height: 1.25; }
.ceo-pillars > li > span { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) { .ceo { grid-template-columns: 1fr; } }
.rec-feature { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; text-decoration: none; color: inherit; background: linear-gradient(120deg, color-mix(in srgb, var(--teal) 12%, #fff), color-mix(in srgb, var(--magenta) 9%, #fff)); border-radius: 24px; padding: 24px 28px; margin-bottom: 28px; transition: transform .25s; }
.rec-feature:hover { transform: translateY(-2px); }
.rf-yr { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(160deg, var(--teal), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rf-body { display: grid; gap: 4px; }
.rf-body b { font-size: 22px; letter-spacing: -.025em; }
.rf-body > span { color: var(--muted); font-size: 15px; }
.rf-go { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; color: var(--link); }
@media (max-width: 560px) { .rec-feature { grid-template-columns: 1fr auto; gap: 10px 16px; padding: 20px; } .rf-body { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 560px) { .ceo { border-radius: 24px; } .ceo-pillars > li { grid-template-columns: 40px 1fr; } .ceo-pillars > li::before { font-size: 22px; } .ceo-pillars b { font-size: 17px; } }
/* CEOnita v2 */
.ceo-theme small { display: block; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.ceo-box { background: var(--tile); border-radius: 20px; padding: 20px 22px; display: grid; gap: 12px; }
.ceo-box h3 { font-size: 17px; letter-spacing: -.02em; margin: 0; }
.ceo-box p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.ceo-box p b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.ceo-contact { margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 6px 24px; justify-content: start; }
.ceo-contact dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ceo-contact dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; }
.ceo-contact a { color: var(--link); text-decoration: none; }
.ceo-right { display: grid; gap: 10px; align-content: start; }
.ceo-sub { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ceo-pillars > li > ul { grid-column: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ceo-pillars ul li { display: block; padding: 0 0 0 14px; border: 0; position: relative; color: var(--muted); font-size: 15px; line-height: 1.5; }
.ceo-pillars ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #BE1E2D; }
.rf-more { color: var(--link) !important; font-weight: 600; font-size: 14px !important; margin-top: 4px; }
@media (max-width: 560px) { .ceo-contact { grid-template-columns: 1fr; } }
