/* Message from the CEO (src/ceo.html, js/pg-ceo.js). Proposal 3 style: glass over the brand video. */
@font-face { font-family: "Mrs Saint Delafield"; font-weight: 400; font-display: swap; src: url(../assets/img/ceo/mrs-saint-delafield.woff2) format("woff2"); }

/* ---------- hero ---------- */
.ceo-hero .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.ceo-rule { display: block; width: 56px; height: 1.5px; margin-bottom: 26px; background: linear-gradient(90deg, var(--lcyan), rgba(0,168,232,0)); transform-origin: left; }
.ceo-role { margin-top: 22px; font-size: clamp(14px, 1.15vw, 17px); font-weight: 500; letter-spacing: .06em; color: var(--lcyan); }
.ceo-cue { position: relative; display: block; width: 26px; height: 42px; margin-top: 46px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.ceo-cue i { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: ceoCue 1.8s ease-in-out infinite; }
@keyframes ceoCue { 0% { opacity: 0; translate: 0 -2px; } 30% { opacity: 1; } 100% { opacity: 0; translate: 0 14px; } }

.ceo-vis { position: relative; width: min(600px, 100%); aspect-ratio: 1; margin-left: auto; }
.ceo-orbit { position: absolute; inset: 0; }
.cv-halo { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,168,232,.42), rgba(0,168,232,0)); filter: blur(10px); animation: ceoBreathe 5s ease-in-out infinite; }
@keyframes ceoBreathe { 50% { scale: 1.12; opacity: .75; } }
.cv-ring { position: absolute; inset: var(--i); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(142,209,252, var(--a, .2)); }
.cv-dash { box-shadow: none; border: 1px dashed rgba(142,209,252,.26); }
.cv-spin { position: absolute; inset: var(--i); border-radius: 50%; animation: orbit var(--t) linear infinite; }
.cv-spin.rev { animation-direction: reverse; }
.cv-spin::before { content: ""; position: absolute; top: calc(var(--s) / -2); left: 50%; width: var(--s); height: var(--s); margin-left: calc(var(--s) / -2); border-radius: 50%; background: var(--d); box-shadow: 0 0 14px var(--d); }
/* the coin sits high in the rings, behind the portrait, in its own gold light */
.cv-coin { position: absolute; left: 6%; top: -6%; width: 88%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--gold),.5), rgba(var(--gold),0)); }
.cv-coin .coin { position: absolute; left: 2%; top: 2%; width: 96%; }
.ceo-portrait { position: absolute; left: 8%; bottom: 0; width: 84%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 99%); mask-image: linear-gradient(180deg, #000 70%, transparent 99%); filter: drop-shadow(0 30px 40px rgba(1,6,26,.55)); }

/* ---------- the letter ---------- */
.ceo-letter { padding-bottom: clamp(30px, 4vw, 60px); }
.ceo-grid { display: grid; grid-template-columns: 120px minmax(0, 840px); justify-content: center; column-gap: clamp(28px, 4vw, 56px); }
.ceo-rail { position: relative; }
.ceo-side { position: sticky; top: 140px; height: calc(100vh - 280px); display: flex; justify-content: center; }
.ceo-track { position: relative; width: 2px; height: 100%; border-radius: 2px; background: rgba(255,255,255,.12); }
.ceo-track i { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, var(--lcyan), var(--cyan)); box-shadow: 0 0 12px rgba(0,168,232,.7); transform: scaleY(0); transform-origin: top; }
.ceo-track img { position: absolute; left: 50%; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; filter: drop-shadow(0 0 16px rgba(0,168,232,.6)); }

.ceo-sheet { padding: clamp(30px, 5.4vw, 76px); }
.ceo-sheet::after { content: ""; position: absolute; left: 50%; top: 42%; z-index: -2; width: 70%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,168,232,.22), rgba(0,168,232,0)); filter: blur(30px); pointer-events: none; }
.ceo-sheet > * { max-width: 680px; margin-left: auto; margin-right: auto; }
.ceo-lead { font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; line-height: 1.42; letter-spacing: -.015em; color: #fff; margin-bottom: 40px; }
.ceo-lead .pw { filter: opacity(var(--o, 1)); }
.ceo-p { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.85; color: rgba(255,255,255,.84); }
.ceo-p + .ceo-p { margin-top: 22px; }
.ceo-strong { color: #fff; font-weight: 500; }

.ceo-trio { position: relative; margin-block: 46px; padding-left: 28px; }
.ceo-trio::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--lcyan), var(--cyan), rgba(120,215,36,.9)); }
.ceo-trio p { font-size: clamp(20px, 2vw, 28px); font-weight: 500; line-height: 1.4; letter-spacing: -.015em; }
.ceo-trio p + p { margin-top: 8px; }
.ceo-trio p:nth-child(1) { color: rgba(255,255,255,.6); }
.ceo-trio p:nth-child(2) { color: rgba(255,255,255,.8); }

.ceo-break { margin-block: clamp(52px, 6vw, 84px); font-size: clamp(34px, 4.2vw, 58px); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; transform-origin: left center; }
.ceo-break em, .ceo-thanks em { background: linear-gradient(90deg, var(--lcyan), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ceo-passage { position: relative; overflow: hidden; isolation: isolate; margin-block: 50px; padding: clamp(28px, 3.6vw, 46px) clamp(24px, 3.8vw, 48px); border-radius: 24px;
  background: radial-gradient(90% 140% at 0% 0%, rgba(24,196,255,.42), rgba(24,196,255,0) 70%), linear-gradient(150deg, rgba(0,124,204,.4), rgba(0,124,204,.08));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.36), 0 30px 60px -36px rgba(0,124,204,.9); }
.ceo-passage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%) 150% 0 / 250% 100% no-repeat; transition: background-position 1.8s var(--ease); }
.ceo-passage.on::after { background-position: -100% 0; }
.cp-1 { font-size: clamp(22px, 2.3vw, 34px); font-weight: 500; font-style: italic; line-height: 1.32; letter-spacing: -.015em; }
.cp-2 { margin-top: 16px; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.6; color: var(--ice); }

.ceo-thanks { margin-top: 64px; }
.ceo-thanks p { font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.ceo-thanks p + p { margin-top: 8px; }
.ceo-thanks p:nth-child(1) { color: rgba(255,255,255,.65); }
.ceo-thanks p:nth-child(2) { color: rgba(255,255,255,.85); }
.ceo-thanks p:nth-child(3) { font-size: clamp(26px, 2.7vw, 40px); }

.ceo-sign { margin-top: 40px; }
.cs-name { display: inline-block; padding: 0 .2em .1em 0; font-family: "Mrs Saint Delafield", cursive; font-weight: 400; font-size: clamp(80px, 8.4vw, 124px); line-height: 1.1; background: linear-gradient(100deg, #fff 30%, var(--lcyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ceo-sign hr { width: 260px; max-width: 100%; height: 1px; border: 0; background: rgba(255,255,255,.28); transform-origin: left; }

/* phones and tablets: the rail becomes a thin progress line along the bottom of the screen */
.ceo-bar { display: none; }
@media (max-width: 900px) {
  .ceo-hero .hero-in { grid-template-columns: 1fr; row-gap: 34px; }
  .ceo-vis { width: min(460px, 100%); margin: 0 auto; }
  .ceo-cue { display: none; }
  .ceo-grid { grid-template-columns: minmax(0, 1fr); }
  .ceo-rail { display: none; }
  .ceo-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: 3px; background: rgba(255,255,255,.1); opacity: 0; transition: opacity .3s; pointer-events: none; }
  .ceo-bar.show { opacity: 1; }
  .ceo-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--lcyan), var(--cyan)); transform: scaleX(0); transform-origin: left; }
}
@media (max-width: 560px) {
  .ceo-sheet { padding: 28px 22px; }
  .ceo-trio { padding-left: 20px; }
  .ceo-p + .ceo-p { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-halo, .cv-spin, .ceo-cue i { animation: none; }
  .ceo-track i { transform: none; }
}
