/* ==========================================================================
   CREZ — CEO page (leadership.html)
   Loaded after style.css; reuses its tokens (colors, radius, easing, type).
   ========================================================================== */
.ceo-page{
  --ceo-alt-bg:#0E0C15;
  --ceo-slant:polygon(9% 0,100% 0,91% 100%,0 100%);
}
[data-theme="light"] .ceo-page{--ceo-alt-bg:#F3F1F7}

.ceo-section{padding:112px 0}
.ceo-section:nth-of-type(even){background:var(--ceo-alt-bg)}

/* ---------- Profile hero ---------- */
.ceo-hero{
  position:relative;overflow:hidden;
  padding:calc(var(--header-h-total) + 72px) 0 104px;
  background:
    radial-gradient(60% 70% at 88% 18%,rgba(77,32,141,.42),transparent 62%),
    radial-gradient(50% 60% at 0% 100%,rgba(77,32,141,.18),transparent 60%),
    var(--canvas);
}
[data-theme="light"] .ceo-hero{
  background:
    radial-gradient(60% 70% at 88% 18%,rgba(77,32,141,.13),transparent 62%),
    radial-gradient(50% 60% at 0% 100%,rgba(77,32,141,.06),transparent 60%),
    var(--canvas);
}
.ceo-hero-grid{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  gap:clamp(40px,6vw,96px);align-items:center;
}

.ceo-hero-content{opacity:1;transform:none}
.js-ready .ceo-hero-content{opacity:0;transform:translateY(22px);transition:opacity 1s var(--ease-soft),transform 1s var(--ease-soft)}
.js-ready .ceo-hero-content.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.js-ready .ceo-hero-content{opacity:1;transform:none;transition:none}}

.ceo-name{
  font-size:clamp(3.25rem,2rem + 5vw,6.25rem);
  font-weight:800;letter-spacing:-.035em;line-height:1.02;
}
.ceo-id{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;
  margin-top:18px;
}
.ceo-role{font-size:clamp(1.05rem,.98rem + .3vw,1.25rem);font-weight:700;color:var(--accent)}
.ceo-name-alt{font-size:clamp(.95rem,.9rem + .2vw,1.05rem);font-weight:500;color:var(--text-tertiary);letter-spacing:.02em}
.ceo-lead{
  margin-top:30px;max-width:34em;
  font-size:clamp(1.05rem,.98rem + .35vw,1.25rem);line-height:1.8;
  color:var(--text-secondary);
}

.ceo-facts{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  margin:48px 0 0;max-width:720px;
  border-top:1px solid var(--surface-border-strong);
}
.ceo-fact{
  display:flex;flex-direction:column-reverse;justify-content:flex-end;
  padding:22px 16px 0 0;
}
.ceo-fact + .ceo-fact{padding-left:18px;border-left:1px solid var(--surface-border)}
.ceo-fact-num{
  margin:0;font-size:clamp(1.7rem,1.4rem + 1.1vw,2.4rem);white-space:nowrap;
  font-weight:800;letter-spacing:-.025em;line-height:1.1;
  font-variant-numeric:tabular-nums;
}
.ceo-fact-label{margin-top:8px;font-size:.86rem;line-height:1.45;color:var(--text-tertiary)}

/* portrait — slanted frame echoing the CREZ parallelogram mark */
.ceo-portrait{
  position:relative;margin:0;justify-self:end;
  width:100%;max-width:420px;aspect-ratio:4/5;
}
.ceo-portrait::before{
  content:"";position:absolute;inset:0;
  transform:translate(22px,22px);
  background:var(--brand-purple);opacity:.85;
  clip-path:var(--ceo-slant);
}
[data-theme="light"] .ceo-portrait::before{opacity:.9}
.ceo-portrait-frame{
  position:absolute;inset:0;overflow:hidden;
  clip-path:var(--ceo-slant);
  background:linear-gradient(160deg,var(--surface-2) 0%,var(--surface) 100%);
}
.ceo-portrait-fallback{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:
    radial-gradient(80% 60% at 70% 20%,rgba(155,125,212,.22),transparent 70%),
    linear-gradient(160deg,var(--surface-2) 0%,var(--surface) 100%);
}
.ceo-portrait-logo{width:44%;height:auto;opacity:.32}
[data-theme="light"] .ceo-portrait-frame,
[data-theme="light"] .ceo-portrait-fallback{
  background:
    radial-gradient(80% 60% at 70% 20%,rgba(155,125,212,.22),transparent 70%),
    linear-gradient(160deg,#E9E3F3 0%,#F6F3FA 100%);
}
.ceo-portrait-logo.brand-mark-light{display:none}
[data-theme="light"] .ceo-portrait-logo.brand-mark-dark{display:none}
[data-theme="light"] .ceo-portrait-logo.brand-mark-light{display:block}
.ceo-portrait-img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:50% 22%;
}

/* ---------- Lineup (concert-poster billing) ---------- */
.ceo-lineup .section-head{margin-bottom:56px}
.ceo-page .section-head.center .kicker{margin-left:auto;margin-right:auto}
.lineup{text-align:center}
.lineup-tier{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;
  gap:.28em .85em;
}
.lineup-tier li{line-height:1.15}
.lineup-tier-1{
  font-size:clamp(3.4rem,2rem + 6.4vw,8rem);
  font-weight:800;letter-spacing:-.04em;gap:.05em .55em;
}
.lineup-tier-2{
  margin-top:clamp(14px,2vw,26px);
  font-size:clamp(1.55rem,1.15rem + 1.9vw,2.85rem);
  font-weight:750;letter-spacing:-.02em;
}
.lineup-tier-3{
  margin:clamp(14px,1.8vw,22px) auto 0;max-width:1100px;
  font-size:clamp(1.05rem,.95rem + .6vw,1.5rem);
  font-weight:600;color:var(--text-secondary);
}
/* the one divider: the CREZ parallelogram between artists and OST titles */
.lineup-ost{margin-top:clamp(40px,5vw,64px)}
.lineup-ost-label{
  display:flex;align-items:center;justify-content:center;gap:12px;
  font-size:.78rem;font-weight:800;letter-spacing:.2em;color:var(--accent);
}
.lineup-ost-label::before,
.lineup-ost-label::after{
  content:"";width:22px;height:11px;background:var(--brand-purple);
  clip-path:polygon(22% 0,100% 0,78% 100%,0 100%);
}
.lineup-tier-ost{
  margin-top:14px;
  font-size:clamp(1rem,.94rem + .4vw,1.3rem);
  font-weight:600;color:var(--text-secondary);
}

/* ---------- Projects (liner-note credits) ---------- */
.credits{border-top:2px solid var(--text-primary)}
.credit-head,
.credit-row{
  display:grid;
  grid-template-columns:minmax(0,4fr) minmax(0,6fr) minmax(0,3fr);
  gap:clamp(20px,3vw,40px);
}
.credit-head{
  padding:14px 0;border-bottom:1px solid var(--surface-border-strong);
  font-size:.8rem;font-weight:700;color:var(--text-tertiary);letter-spacing:.04em;
}
.credit-head span:last-child{text-align:right}
.credit-row{
  align-items:baseline;
  padding:26px 0;border-bottom:1px solid var(--surface-border);
}
.credit-name{
  font-size:clamp(1.3rem,1.08rem + .9vw,1.9rem);
  font-weight:800;letter-spacing:-.015em;line-height:1.3;
}
.credit-row-lead .credit-name{font-size:clamp(2rem,1.5rem + 2vw,3.2rem);letter-spacing:-.03em;line-height:1.1}
.credit-desc{color:var(--text-secondary);font-size:clamp(.98rem,.94rem + .18vw,1.08rem);line-height:1.75;max-width:36em;white-space:pre-line}
.credit-highlights{display:grid;gap:8px;margin-top:16px}
.credit-highlights li{
  position:relative;padding-left:22px;
  font-size:clamp(.92rem,.89rem + .14vw,1rem);line-height:1.6;color:var(--text-primary);
}
.credit-highlights li::before{
  content:"";position:absolute;left:0;top:.62em;width:11px;height:6px;
  background:var(--brand-purple);clip-path:polygon(22% 0,100% 0,78% 100%,0 100%);
}
.credit-group{
  padding:44px 0 12px;border-bottom:1px solid var(--surface-border-strong);
  font-size:.82rem;font-weight:700;letter-spacing:.04em;color:var(--accent);
}
.credit-tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.credit-tags li{
  padding:4px 11px;border-radius:999px;
  border:1px solid var(--surface-border-strong);
  font-size:.78rem;font-weight:700;line-height:1.5;color:var(--text-secondary);
  white-space:nowrap;
}

/* ---------- 3C ---------- */
.ccc-panel{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  border-radius:var(--radius-lg);
  background:var(--surface);border:1px solid var(--surface-border);
}
.ccc-col{display:flex;flex-direction:column;padding:38px 34px 34px}
.ccc-col + .ccc-col{border-left:1px solid var(--surface-border)}
.ccc-label{font-size:.76rem;font-weight:800;letter-spacing:.2em;color:var(--accent)}
.ccc-title{margin-top:10px;font-size:clamp(1.3rem,1.15rem + .55vw,1.6rem);font-weight:800;letter-spacing:-.01em}
.ccc-body{margin-top:14px;color:var(--text-secondary);font-size:clamp(.98rem,.94rem + .18vw,1.06rem);line-height:1.75}
.ccc-ex{
  margin-top:auto;padding-top:22px;
  font-size:.92rem;font-weight:700;line-height:1.6;color:var(--text-primary);
}
.ccc-body + .ccc-ex{margin-top:22px;border-top:1px solid var(--surface-border)}

/* ---------- Message + CTA ---------- */
.ceo-message-inner{max-width:880px}
.ceo-quote{margin:0;padding-left:28px;border-left:2px solid var(--brand-purple)}
.ceo-quote p{
  font-size:clamp(1.3rem,1.08rem + 1.05vw,2rem);
  font-weight:600;line-height:1.6;letter-spacing:-.01em;
}
.ceo-sign{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:28px}
.ceo-sign-name{font-size:1.1rem;font-weight:800}
.ceo-sign-role{font-size:.92rem;color:var(--text-tertiary)}

.ceo-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:52px}
.ceo-cta .btn svg{flex:none}
.btn-ghost{
  border:1px solid var(--surface-border-strong);color:var(--text-primary);
  transition:border-color .3s var(--ease),transform .3s var(--ease);
}
.btn-ghost:hover{border-color:var(--accent);transform:translateY(-2px)}
.ceo-cta-note{margin-top:16px;font-size:.88rem;color:var(--text-tertiary)}

/* ---------- Footer ---------- */
.page-footer{position:relative}
.page-footer .footer-layer{margin-top:0}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .credit-head{display:none}
  .credit-row{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);row-gap:12px}
  .credit-name{grid-row:span 2}
  .credit-tags{justify-content:flex-start}
  .credits{border-top-width:2px}
}

@media (max-width:880px){
  .ceo-hero{padding:calc(var(--header-h-total) + 40px) 0 80px}
  .ceo-hero-grid{grid-template-columns:1fr;gap:44px}
  .ceo-portrait{order:-1;justify-self:start;max-width:300px;width:68%}
  .ceo-portrait::before{transform:translate(14px,14px)}
  .ccc-panel{grid-template-columns:1fr}
  .ccc-col + .ccc-col{border-left:0;border-top:1px solid var(--surface-border)}
  .ccc-col{padding:30px 26px}
}

@media (max-width:600px){
  .ceo-section{padding:80px 0}
  .ceo-facts{grid-template-columns:1fr;max-width:none;border-top:0}
  .ceo-fact,
  .ceo-fact + .ceo-fact{
    flex-direction:row-reverse;justify-content:space-between;align-items:baseline;gap:16px;
    padding:16px 0;border-left:0;border-top:1px solid var(--surface-border);
  }
  .ceo-fact:first-child{border-top-color:var(--surface-border-strong)}
  .ceo-fact-label{margin-top:0}
  .ceo-fact-num{font-size:1.75rem}
  .credit-row{grid-template-columns:1fr;row-gap:10px;padding:22px 0}
  .credit-name{grid-row:auto}
  .ceo-quote{padding-left:20px}
  .ceo-cta .btn{width:100%;justify-content:center}
}

/* ---------- Large screens (QHD / 4K) — mirrors style.css scale-up ---------- */
@media (min-width:1600px) and (min-height:900px){
  .ceo-page .container{max-width:clamp(1180px,calc(767px + 38.24vmin),1593px)}
  .ceo-section{padding:clamp(112px,calc(33.6px + 7.26vmin),190px) 0}
  .ceo-name{font-size:clamp(6.25rem,calc(30px + 5.6vmin),10.5rem)}
  .ceo-lead{font-size:clamp(1.25rem,calc(6px + 1.3vmin),2.1rem)}
  .ceo-role{font-size:clamp(1.25rem,calc(6px + 1.3vmin),2.1rem)}
  .ceo-facts{max-width:clamp(720px,calc(216px + 46.7vmin),1224px)}
  .credit-highlights li{font-size:clamp(1rem,calc(4.8px + 1.04vmin),1.7rem)}
  .credit-group{font-size:clamp(.82rem,calc(3.9px + .85vmin),1.4rem)}
  .ceo-fact-num{font-size:clamp(2.6rem,calc(12.5px + 2.7vmin),4.4rem)}
  .ceo-fact-label{font-size:clamp(.86rem,calc(4.1px + .89vmin),1.46rem)}
  .ceo-portrait{max-width:clamp(420px,calc(126px + 27.2vmin),714px)}
  .lineup-tier-1{font-size:clamp(8rem,calc(38px + 8.3vmin),13.6rem)}
  .lineup-tier-2{font-size:clamp(2.85rem,calc(13.7px + 2.96vmin),4.85rem)}
  .lineup-tier-3{font-size:clamp(1.5rem,calc(7.2px + 1.56vmin),2.55rem);max-width:clamp(1100px,calc(330px + 71.3vmin),1870px)}
  .lineup-tier-ost{font-size:clamp(1.3rem,calc(6.2px + 1.35vmin),2.2rem)}
  .credit-name{font-size:clamp(1.9rem,calc(9.1px + 1.97vmin),3.2rem)}
  .credit-row-lead .credit-name{font-size:clamp(3.2rem,calc(15.4px + 3.3vmin),5.4rem)}
  .credit-desc,.ccc-body{font-size:clamp(1.08rem,calc(5.2px + 1.12vmin),1.84rem)}
  .credit-tags li{font-size:clamp(.78rem,calc(3.7px + .81vmin),1.33rem)}
  .ccc-title{font-size:clamp(1.6rem,calc(7.7px + 1.66vmin),2.7rem)}
  .ccc-ex{font-size:clamp(.92rem,calc(4.4px + .95vmin),1.56rem)}
  .ceo-quote p{font-size:clamp(2rem,calc(9.6px + 2.07vmin),3.4rem)}
  .ceo-message-inner{max-width:clamp(880px,calc(264px + 57vmin),1500px)}
}
