/* C.P. Company case study. Shared brand colours and type come from styles.css. */
.cp-feature { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); overflow:hidden; margin:0 0 36px; border:1px solid #a8d8f038; border-radius:24px; background:#12171d; }
.cp-feature-art { display:block; background:#0b0b0d; }
.cp-feature-art img { width:100%; height:100%; max-height:550px; object-fit:contain; }
.cp-feature-copy { padding:clamp(26px,4vw,58px); align-self:center; }
.cp-feature-copy .eyebrow { color:var(--blue); }
.cp-feature-copy h3 { margin:20px 0; font-size:clamp(32px,4vw,57px); line-height:1.08; }
.cp-feature-copy h3 span { color:var(--blue); }
.cp-feature-copy > p:not(.eyebrow) { max-width:440px; color:var(--muted); font-size:15px; }
.cp-feature-copy .button { margin-top:26px; }
.cp-feature-tags { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:22px; font-size:10px; letter-spacing:.04em; color:#b6c6d4; }
.cp-feature-copy > p.cp-concept { margin-top:22px; font-size:11px; line-height:1.65; color:#a4adb8; }
.cp-hero-link { display:inline-flex; align-items:center; min-height:44px; margin-top:10px; color:var(--blue); font-size:13px; gap:16px; }
.cp-page { --wrap:1184px; }
.cp-page .header-inner { gap:25px; }
.cp-nav { display:flex; gap:26px; align-items:center; font-size:12px; }
.cp-nav a { display:inline-flex; align-items:center; min-height:44px; }
.cp-nav a:last-child { color:var(--blue); }
.cp-breadcrumb { display:inline-flex; align-items:center; min-height:44px; margin-top:26px; gap:12px; color:var(--muted); font-size:12px; }
.cp-hero { padding-block:30px 50px; }
.cp-hero-intro { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:50px; margin-bottom:36px; }
.cp-hero .eyebrow { color:var(--blue); font-size:11px; }
.cp-hero h1 { font-size:clamp(46px,5.6vw,76px); line-height:1.05; margin:20px 0 0; letter-spacing:-.06em; }
.cp-hero h1 span { color:var(--blue); }
.cp-lead { max-width:500px; font-size:16px; line-height:1.85; color:#c0c7d1; }
.cp-concept { margin-top:24px; max-width:440px; font-size:11px; color:#99a3af; }
.cp-opening-note { display:flex; align-items:center; justify-content:space-between; gap:32px; margin-top:28px; }
.cp-opening-note p { max-width:660px; font-size:13px; color:var(--muted); line-height:1.8; }
.cp-opening-note a { flex-shrink:0; font-size:12px; }
.cp-film { position:relative; width:min(100%,344px); margin-inline:auto; }
.cp-film-frame { position:relative; overflow:hidden; aspect-ratio:9/16; border-radius:12px; background:#12171d; border:1px solid #ffffff20; }
.cp-film video { display:block; width:100%; height:100%; object-fit:contain; }
.cp-play { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; width:100%; border:0; background:linear-gradient(transparent,#0002); color:#fff; font-size:11px; font-weight:700; letter-spacing:.06em; text-shadow:0 2px 15px #000; }
.cp-play > span:first-child { display:grid; place-items:center; width:66px; height:66px; border-radius:50%; border:1px solid #ffffffb3; background:#10151bb3; backdrop-filter:blur(8px); font-size:22px; padding-left:4px; }
.cp-film-caption { display:flex; justify-content:space-between; gap:10px; margin-top:12px; font-size:10px; letter-spacing:.06em; color:#b5bdc9; }
.cp-video-status { min-height:20px; font-size:12px; color:var(--blue); }
.cp-film-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,390px)); justify-content:center; align-items:start; gap:32px; }
.cp-film-comparison .cp-film { width:100%; margin:0; }
.cp-page .cp-location img { aspect-ratio:9/16; object-fit:cover; }
.cp-film-note { max-width:760px; margin:28px 0 30px; color:var(--muted); font-size:14px; line-height:1.85; }
.cp-film-section .cp-tool-line { margin:0; }
.cp-section { padding-block:70px; border-top:1px solid var(--line); }
.cp-section-head { display:grid; grid-template-columns:1fr 1fr; align-items:end; gap:50px; margin-bottom:35px; }
.cp-section-head .eyebrow { color:var(--blue); margin-bottom:16px; }
.cp-section-head h2 { font-size:clamp(34px,4.2vw,55px); }
.cp-section-head > p { max-width:450px; margin-left:auto; font-size:14px; line-height:1.85; color:var(--muted); }
.cp-pair { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.cp-page figure { margin:0; min-width:0; }
.cp-page figure > a { display:block; overflow:hidden; background:#15191e; border-radius:8px; }
.cp-page figure img { width:100%; height:auto; }
.cp-page figcaption { display:flex; justify-content:space-between; gap:16px; margin-top:12px; font-size:11px; line-height:1.6; color:#aeb7c3; }
.cp-page figcaption span:last-child { flex-shrink:0; color:var(--blue); }
.cp-day-pair { grid-template-columns:minmax(0,1.34fr) minmax(0,1fr); align-items:start; }
.cp-note { margin-top:22px; padding-left:18px; border-left:2px solid var(--blue); }
.cp-night-pair { gap:30px; }
.cp-process-intro { max-width:760px; font-size:17px; line-height:1.8; margin-bottom:32px; color:#c0c7d1; }
.cp-reference-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.cp-reference-grid figcaption { font-size:10px; gap:6px; }
.cp-tool-line { display:flex; gap:40px; flex-wrap:wrap; border-block:1px solid var(--line); padding-block:22px; margin-top:16px; }
.cp-tool-line > div { flex:1; min-width:180px; }
.cp-tool-line dt { font-size:10px; letter-spacing:.08em; color:#8fa7b8; }
.cp-tool-line dd { margin:8px 0 0; font-size:13px; color:#c6cdd7; }
.cp-contact { padding-block:75px 55px; border-top:1px solid var(--line); }
.cp-contact .eyebrow { color:var(--blue); margin-bottom:18px; }
.cp-contact h2 { max-width:800px; font-size:clamp(34px,4.5vw,60px); }
.cp-contact p:not(.eyebrow) { max-width:600px; margin-top:22px; color:var(--muted); font-size:15px; }
.cp-contact-actions { display:flex; flex-wrap:wrap; align-items:center; gap:25px; margin-top:28px; }
.cp-page footer { gap:25px; flex-wrap:wrap; margin-top:30px; }
.cp-lightbox { max-width:calc(100vw - 24px); width:1180px; height:min(92dvh,1100px); max-height:92dvh; padding:18px; border:1px solid #ffffff30; border-radius:10px; background:#0b0b0d; color:var(--ink); }
.cp-lightbox[open] { display:flex; flex-direction:column; }
.cp-lightbox::backdrop { background:#000d; backdrop-filter:blur(10px); }
.cp-lightbox-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.cp-lightbox-toolbar h2 { font-size:13px; letter-spacing:0; line-height:1.5; }
.cp-lightbox button { min-width:44px; min-height:44px; border:1px solid #ffffff30; border-radius:4px; background:#171d24; }
.cp-lightbox-close { padding:8px 14px; font-size:12px; }
.cp-lightbox-image { display:block; flex:1; width:100%; min-height:0; object-fit:contain; padding-block:15px; }
.cp-lightbox-bottom { display:flex; justify-content:space-between; align-items:center; gap:15px; color:var(--muted); font-size:11px; }
.cp-lightbox-controls { display:flex; gap:9px; align-items:center; }
.cp-lightbox-count { min-width:44px; text-align:center; }
@media(max-width:900px) {
  .cp-hero-intro { gap:30px; }
  .cp-hero h1 { font-size:54px; }
  .cp-opening-note { align-items:flex-start; }
}
@media(max-width:640px) {
  .cp-feature { grid-template-columns:1fr; }
  .cp-feature-art { height:340px; }
  .cp-feature-copy { padding:26px; }
  .cp-feature-copy h3 { font-size:36px; }
  .cp-page .wrap, .cp-page .header-inner { width:calc(100% - 40px); }
  .cp-page .header-inner { height:76px; gap:12px; }
  .cp-page .brand-mark { display:none; }
  .cp-page .brand-name { font-size:14px; }
  .cp-page .brand-tagline { font-size:9px; }
  .cp-nav { gap:17px; font-size:11px; }
  .cp-nav a:last-child { display:none; }
  .cp-breadcrumb { margin-top:14px; }
  .cp-hero { display:flex; flex-direction:column; padding-block:18px 38px; }
  .cp-hero-intro { display:contents; }
  .cp-hero-intro > div:first-child { order:0; }
  .cp-hero .cp-night-pair { order:1; margin-block:26px; }
  .cp-hero-intro > div:last-child { order:2; }
  .cp-hero .cp-opening-note { order:3; }
  .cp-hero h1 { font-size:clamp(43px,11.5vw,65px); margin-block:18px 0; }
  .cp-lead { font-size:15px; line-height:1.75; }
  .cp-concept { margin-top:16px; }
  .cp-opening-note { flex-direction:column; align-items:flex-start; gap:16px; margin-top:22px; }
  .cp-film { width:min(100%,344px); }
  .cp-film-comparison { grid-template-columns:minmax(0,390px); gap:28px; }
  .cp-section { padding-block:45px; }
  .cp-section-head { grid-template-columns:1fr; gap:20px; margin-bottom:25px; }
  .cp-section-head > p { margin-left:0; }
  .cp-pair { gap:20px; }
  .cp-day-pair { grid-template-columns:1fr; }
  .cp-night-pair { grid-template-columns:1fr; }
  .cp-reference-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 12px; }
  .cp-reference-grid figure:last-child { grid-column:1 / -1; width:calc(50% - 6px); }
  .cp-process-intro { font-size:15px; }
  .cp-tool-line { gap:22px; }
  .cp-tool-line > div { min-width:140px; }
  .cp-contact { padding-block:45px 35px; }
  .cp-page footer { display:flex; align-items:center; justify-content:space-between; font-size:10px; }
  .cp-lightbox { padding:12px; }
}
@media(prefers-reduced-motion:reduce) { .cp-page { scroll-behavior:auto; } }
