/* About page sections. Shares primitives with sections.css (.cb-sec, .cb-wrap, .cb-btn, .cb-link, reveal vocabulary). */

/* ---------- Hero (deep): positioning headline + what the company makes ---------- */
.cb-ahero { background: var(--deep); color: var(--on-dark); padding-top: calc(var(--wp--custom--header-height, 84px) + clamp(2rem, 5vw, 5rem)); padding-bottom: 0; min-height: min(100svh, 880px); display: flex; align-items: stretch; }
.cb-ahero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 75% at 78% 70%, rgba(27, 39, 86, 0.9), transparent 72%); }
.cb-ahero__texture { position: absolute; inset: 0; z-index: -1; opacity: 0.1; mix-blend-mode: screen; filter: saturate(0.5); pointer-events: none; -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 70%); mask-image: linear-gradient(100deg, transparent 15%, #000 70%); }
.cb-ahero__texture img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-ahero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(1.5rem, 4vw, 5rem); align-items: end; }
.cb-ahero__copy { display: grid; gap: 22px; justify-items: start; align-self: center; padding-bottom: clamp(3rem, 6vw, 6rem); }
.cb-ahero__title { font-size: clamp(2.3rem, 1rem + 3.7vw, 5.2rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 300; color: rgba(244, 241, 234, 0.86); text-wrap: balance; }
.cb-ahero__title strong { font-weight: 650; color: var(--on-dark); }
.cb-ahero .cb-lead { color: rgba(244, 241, 234, 0.76); max-width: 31rem; }
.cb-ahero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cb-ahero__stage { position: relative; height: clamp(420px, 44vw, 640px); align-self: end; }
.cb-ahero__glow { position: absolute; left: 50%; bottom: 4%; width: 95%; height: 60%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(92, 120, 220, 0.34), transparent); filter: blur(14px); }
.cb-ahero__packs { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 2.5%; }
.cb-ahero__packs img { width: auto; max-width: none; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, 0.55)); user-select: none; }
.cb-ahero__packs img:nth-child(1) { order: 3; height: 72%; }
.cb-ahero__packs img:nth-child(2) { order: 1; height: 72%; }
.cb-ahero__packs img:nth-child(3) { order: 2; height: 100%; }
.cb-ahero .cb-logo.cb-ahero__maker { position: absolute; top: 4%; inset-inline-end: 0; height: clamp(72px, 8vw, 110px); }
/* ---------- Introduction (ivory) ---------- */
.cb-aintro { background: var(--ivory); }
.cb-aintro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1.25rem, 3vw, 4rem); row-gap: 2.5rem; align-items: end; }
.cb-aintro__statement { grid-column: 1 / span 7; font-size: clamp(2.2rem, 1rem + 3.8vw, 4.9rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 300; color: var(--ink); text-wrap: balance; }
.cb-aintro__statement strong { font-weight: 650; color: var(--navy-900); }
.cb-aintro__body { grid-column: 8 / span 5; display: grid; gap: 22px; }
.cb-aintro__roles { display: grid; border-top: 1px solid var(--line-2); }
.cb-aintro__roles > div { display: grid; grid-template-columns: minmax(6.5rem, 9rem) 1fr; align-items: baseline; column-gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.cb-aintro__roles dt { font-size: 0.9375rem; font-weight: 600; color: var(--gold-deep); }
.cb-aintro__roles dd { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; color: var(--navy-900); }
.cb-aintro__body p { font-size: 1rem; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.cb-aintro__body p.is-first { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.35rem); line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }

/* ---------- Activities (navy): sticky heading, large-type list with scroll focus ---------- */
.cb-act { background: var(--navy-900); color: var(--on-dark); }
.cb-act::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 0% 30%, rgba(8, 14, 26, 0.6), transparent 70%); }
.cb-act .cb-lead { color: rgba(244, 241, 234, 0.72); }
.cb-act__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1.25rem, 3vw, 4rem); align-items: start; }
.cb-act__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--wp--custom--header-height, 84px) + 2rem); display: grid; gap: 16px; align-self: start; }
.cb-act__list { grid-column: 6 / span 7; border-top: 1px solid rgba(244, 241, 234, 0.18); }
.cb-act__list li { padding: clamp(1.4rem, 3vw, 2.5rem) 0; border-bottom: 1px solid rgba(244, 241, 234, 0.18); font-size: clamp(1.7rem, 1rem + 2.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 300; text-wrap: balance; transition: opacity 600ms var(--ease), translate 600ms var(--ease), color 600ms var(--ease); }
.cb-focus-on li { opacity: 0.66; }
.cb-focus-on li.is-current { opacity: 1; translate: 14px 0; color: var(--gold-light); font-weight: 500; }

/* ---------- Brands and markets (pearl): KAL panel + route line ---------- */
.cb-mkt { background: var(--pearl); }
.cb-mkt__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-areas: 'head head head head head head head head head head head head' 'brand brand brand brand brand route route route route route route route'; column-gap: clamp(1.25rem, 3vw, 4rem); row-gap: clamp(2.5rem, 5vw, 4rem); align-items: stretch; }
.cb-mkt__head { grid-area: head; display: grid; gap: 16px; max-width: 44rem; }
.cb-mkt__brand { grid-area: brand; position: relative; margin: 0; min-height: clamp(460px, 44vw, 620px); border-radius: 24px; overflow: hidden; color: var(--on-dark); background: radial-gradient(75% 85% at 65% 60%, #1b2756, #0a1128 80%); box-shadow: 0 40px 80px -44px rgba(8, 14, 26, 0.7); container-type: inline-size; }
.cb-mkt__word { position: absolute; inset-inline-start: 6%; bottom: 3%; font-size: clamp(5rem, 34cqw, 11rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.2px rgba(244, 241, 234, 0.16); pointer-events: none; user-select: none; }
.cb-mkt__packs { position: absolute; inset-inline-end: 5%; bottom: 0; width: 70%; height: 88%; display: flex; align-items: flex-end; justify-content: center; gap: 3%; }
.cb-mkt__packs img { width: auto; max-width: none; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, 0.55)); user-select: none; }
.cb-mkt__packs img:nth-child(1) { order: 3; height: 66%; }
.cb-mkt__packs img:nth-child(2) { order: 1; height: 66%; }
.cb-mkt__packs img:nth-child(3) { order: 2; height: 92%; }
.cb-mkt__brand figcaption { position: absolute; inset-inline-start: clamp(1.25rem, 3cqw, 2.25rem); top: clamp(1.25rem, 3cqw, 2.25rem); display: grid; gap: 6px; justify-items: start; font-size: 0.9375rem; color: rgba(244, 241, 234, 0.78); }
.cb-mkt__brand figcaption img { height: 44px; width: auto; margin-bottom: 4px; }
.cb-mkt__owner { color: var(--gold-light); font-weight: 600; }

.cb-mkt__route { grid-area: route; position: relative; display: grid; align-content: center; padding-inline-start: clamp(1.5rem, 3vw, 2.5rem); }
.cb-mkt__route::before { content: ''; position: absolute; inset-inline-start: 5px; top: 8px; bottom: 8px; width: 1.5px; background: var(--gold-deep); opacity: 0.55; transform-origin: top; }
.cb-mkt__route li { position: relative; display: grid; gap: 6px; justify-items: start; padding: clamp(1rem, 2vw, 1.6rem) 0; }
.cb-mkt__route li::before { content: ''; position: absolute; inset-inline-start: calc(-1 * clamp(1.5rem, 3vw, 2.5rem)); top: calc(clamp(1rem, 2vw, 1.6rem) + 0.55rem); width: 11px; height: 11px; border-radius: 50%; background: var(--pearl); box-shadow: 0 0 0 1.5px var(--gold-deep) inset; }
.cb-mkt__route h3 { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--navy-900); }
.cb-mkt__route p { font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 28rem; text-wrap: pretty; }

/* ---------- Closing (navy): centred invitation ---------- */
.cb-close { background: var(--navy-900); color: var(--on-dark); text-align: center; border-top: 1px solid rgba(244, 241, 234, 0.1); }
.cb-close::before { content: ''; position: absolute; left: 50%; top: 0; width: min(70vw, 900px); aspect-ratio: 1; transform: translate(-50%, -62%); z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 165, 108, 0.16), transparent); }
.cb-close .cb-lead { color: rgba(244, 241, 234, 0.76); margin-inline: auto; }
.cb-close__inner { display: grid; justify-items: center; gap: clamp(1.25rem, 2.4vw, 2rem); }
.cb-close__title { font-size: clamp(2.6rem, 1rem + 6vw, 7rem); line-height: 1; letter-spacing: -0.045em; font-weight: 300; text-wrap: balance; }
.cb-close__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cb-close__paths { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.cb-close__paths a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 clamp(1rem, 3vw, 2rem); font-size: 1rem; font-weight: 600; color: rgba(244, 241, 234, 0.86); transition: color 420ms var(--ease); }
.cb-close__paths a + a { box-shadow: -1px 0 0 rgba(244, 241, 234, 0.22); }
.cb-close__paths a span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 3px; transition: background-size 420ms var(--ease); }
.cb-close__paths a:hover { color: var(--gold-light); }
.cb-close__paths a:hover span { background-size: 100% 1.5px; }
.cb-close :focus-visible, .cb-ahero :focus-visible, .cb-act :focus-visible { outline-color: var(--gold-light); }

/* ---------- Motion additions ---------- */
.cb-js [data-reveal="mark"] { opacity: 0; transform: scale(0.96); transition: opacity 1.4s var(--ease) 200ms, transform 1.6s var(--ease) 200ms; }
.cb-js [data-reveal="mark"].is-in { opacity: 1; transform: none; }
.cb-js [data-reveal="route"]::before { transform: scaleY(0); transition: transform 1.6s var(--ease); }
.cb-js [data-reveal="route"].is-in::before { transform: scaleY(1); }
.cb-js [data-reveal="route"] > li { opacity: 0; transform: translateY(12px); transition: opacity 800ms var(--ease) calc(var(--i, 0) * 200ms + 200ms), transform 800ms var(--ease) calc(var(--i, 0) * 200ms + 200ms); }
.cb-js [data-reveal="route"].is-in > li { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.cb-sec { --sec-y: clamp(3.5rem, 2rem + 6vw, 6rem); }
	.cb-ahero { min-height: 0; }
	.cb-ahero__grid { grid-template-columns: 1fr; row-gap: 1.5rem; }
	.cb-ahero__copy { padding-bottom: 0; }
	.cb-ahero__stage { height: clamp(340px, 62vw, 520px); }
	.cb-aintro__statement { grid-column: 1 / -1; }
	.cb-aintro__body { grid-column: 1 / -1; max-width: 40rem; }
	.cb-act__head { grid-column: 1 / -1; position: static; margin-bottom: 1.5rem; }
	.cb-act__list { grid-column: 1 / -1; }
	.cb-mkt__grid { grid-template-areas: 'head' 'brand' 'route'; grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.cb-sec { --sec-y: 3.25rem; }
	.cb-ahero { padding-top: calc(var(--wp--custom--header-height, 68px) + 1.25rem); }
	.cb-ahero__stage { height: 330px; }
	.cb-ahero .cb-logo.cb-ahero__maker { height: 64px; }
	.cb-aintro__roles > div { grid-template-columns: 1fr; row-gap: 4px; }
	.cb-act__list li { padding: 1.1rem 0; }
	.cb-mkt__brand { min-height: 520px; }
	.cb-mkt__packs { width: 96%; inset-inline-end: 2%; height: 58%; }
	.cb-mkt__word { font-size: clamp(4rem, 30cqw, 7rem); }
	.cb-ahero__ctas .cb-btn, .cb-close__ctas .cb-btn { flex: 1 1 100%; justify-content: space-between; }
	.cb-close__paths a { padding: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
	.cb-js [data-reveal="mark"], .cb-js [data-reveal="route"] > li { opacity: 1 !important; transform: none !important; }
	.cb-js [data-reveal="route"]::before { transform: none !important; }
	.cb-focus-on li { opacity: 1 !important; translate: none !important; }
}