/* Shared finishing pass for the isolated review. Images keep their square edges. */
:root{--ease-refined:cubic-bezier(.22,.61,.36,1)}
.section-head h2{max-width:800px;text-wrap:balance}
.section-intro{line-height:1.7}
#film .section-head{align-items:start}
#film .film-toolbar{align-items:baseline}
.operator-band {
  container-type: inline-size;
  overflow: clip;
  background: #0d0e10 url("brand/operator-backdrop.webp") center / cover;
}
.operator-section {
  --tile-size: clamp(56px, 12.5cqw, 216px);
  --tile-peek: calc(var(--tile-size) * .85);
  --outer-gutter: max(clamp(20px, 4.5cqw, 56px), calc((100cqw - 1320px) / 2));
  --tile-gutter: max(0px, calc(var(--tile-peek) + clamp(6px, 1.2cqw, 20px) - var(--outer-gutter)));
  width: calc(100% - 2 * var(--outer-gutter));
  padding-inline-end: var(--tile-gutter);
}
.operator-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
}
.operator-tile {
  position: absolute;
  z-index: -1;
  width: var(--tile-size);
  height: auto;
  left: calc(100% + var(--tile-peek) - var(--tile-size));
  top: 11%;
  pointer-events: none;
}
.operator-stage > .operator-demo {
  box-shadow: 0 9px 24px rgb(0 0 0 / 22%);
}
/* Take the tile's space from the open copy column before narrowing the chat. */
@media (min-width: 821px) {
  .operator-section {
    --column-gap: clamp(30px, 4.2cqw, 80px);
    column-gap: var(--column-gap);
    grid-template-columns: minmax(0, 1fr) calc((100% + var(--tile-gutter) - var(--column-gap)) / 2);
  }
}
@media (max-width: 820px) {
  .operator-section { padding-inline-end: 0; }
  .operator-stage { margin-inline-end: var(--tile-gutter); }
}
@media (max-width: 480px) {
  .operator-stage > .operator-demo { padding-inline: 12px; }
  .operator-log { height: 420px; }
}
.plans-grid{gap:18px;border:0;align-items:stretch}
.plan,.plan+.plan{border:1px solid var(--line);padding:30px;background:var(--bg)}
.plan.plan-featured{margin:0;border-top:1px solid var(--accent);background:#202427;box-shadow:inset 0 1px 0 var(--accent)}
.plan h3{margin-top:18px;min-height:46px;gap:10px}
.plan h3>span{font-size:8px;letter-spacing:.9px}
.plan .price{margin-top:22px;font-size:64px;font-variant-numeric:tabular-nums}
.plan .allowance{padding-bottom:22px;border-bottom:1px solid var(--line);line-height:1.5}
.plan ul{gap:14px;margin-block:24px 30px}
.plan>.text-action{width:100%;padding:14px 0 0;border-top:1px solid var(--line);min-height:52px;justify-content:space-between}
.plan-featured>.text-action{color:var(--accent)}
.plan>.text-action>span{transition:transform .25s var(--ease-refined)}
.plan:hover>.text-action>span{transform:translate(2px,-2px)}
.plans-notes{padding-top:4px;line-height:1.6}
.faq-items summary::after{content:'+'!important;transition:transform .25s var(--ease-refined);transform-origin:center}
.faq-items details[open] summary::after{transform:rotate(45deg)}
.faq-items details[open]>p{animation:none}
.timeline .capture-editorial .capture-grid{gap:0}
.timeline .capture-editorial .capture-tile:first-child .capture-label{display:none}
.timeline .capture-editorial .capture-tile+ .capture-tile{border-top:1px solid var(--line)}
.project-contact-sheet{grid-template-columns:1fr;gap:40px}
.project-contact-sheet>figure{display:grid;grid-template-columns:minmax(160px,.55fr) minmax(0,2fr);gap:40px;align-items:start;padding-top:28px;border-top:1px solid var(--line)}
.project-contact-sheet>figure>figcaption{grid-column:1;grid-row:1;padding:0;font-family:var(--display);font-size:30px;line-height:1.2;color:var(--paper)}
.project-contact-sheet>figure>figcaption>span{display:block;font:500 10px 'Barlow',sans-serif;letter-spacing:1.5px;margin:3px 0 16px;color:var(--accent)}
.project-contact-sheet>figure>.capture,.project-contact-sheet>figure>.project-frame{grid-column:2;grid-row:1;width:100%}
.project-frame{display:block;border:0;border-radius:0;padding:0;background:var(--media-bg)}
.project-frame img{width:100%;aspect-ratio:16/9;object-fit:contain}
.project-contact-sheet .capture{padding:16px}
#beta-dialog{width:min(660px,calc(100% - 32px));height:min(688px,calc(100dvh - 32px))}
.dialog-header{padding:10px 24px;min-height:64px}
.dialog-body{padding:24px}
#beta-dialog .dialog-body{flex:1}
.dialog-body h2{font-size:40px;line-height:1.1}
.preview-notice{margin-top:12px;color:var(--muted)}
.form-grid{gap:16px 18px;margin-top:20px}
#beta-form input,#beta-form select,#beta-form textarea,.login-form input{border:1px solid var(--control-line);border-radius:4px;background:var(--surface);padding:10px 12px;transition:border-color .2s ease,background-color .2s ease;outline-offset:3px}
#beta-form input:hover,#beta-form select:hover,#beta-form textarea:hover,.login-form input:hover{border-color:var(--muted)}
#beta-form input:focus,#beta-form select:focus,#beta-form textarea:focus,.login-form input:focus{border-color:var(--accent);outline:1px solid var(--accent)}
.project-label{margin-top:16px}
#beta-form textarea{min-height:60px;max-height:90px;resize:none}
.form-status{min-height:40px;margin-top:14px;color:var(--copy)}
.dialog-footer{min-height:64px;padding:10px 24px}
.dialog-footer .text-action{font-size:14px}
#credit-dialog{width:min(600px,calc(100% - 32px))}
.credit-examples{grid-template-columns:1fr 1fr;gap:24px;margin:26px 0}
.credit-examples dt{font-size:18px;color:var(--paper)}
.credit-examples dd{font-size:14px;line-height:1.65}
@media(prefers-reduced-motion:no-preference){
 dialog[open]{animation:refined-arrive .28s var(--ease-refined) both}
 dialog[open]::backdrop{animation:backdrop-arrive .28s ease both}
 dialog.is-closing::backdrop{animation:refined-backdrop-out .16s ease-in forwards}
 .capture-tile,.continuity-visual,.related-image{transition:filter .35s ease}
 .capture-tile:hover,.continuity-visual:hover,.related-image:hover{filter:brightness(1.055)}
 .text-action>span[aria-hidden]{display:inline-block;transition:transform .25s var(--ease-refined)}
 .text-action:hover>span[aria-hidden]{transform:translate(2px,-2px)}
}
@keyframes refined-arrive{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes refined-backdrop-out{from{opacity:1}to{opacity:0}}
@media(max-width:1100px){.plan,.plan+.plan{padding:24px}.plans-grid{gap:12px}.plan h3{font-size:36px}}
@media(max-width:820px){
 .plans-grid{gap:18px}.plan h3{min-height:0}.plan>.text-action{margin-top:0}
 .project-contact-sheet>figure{grid-template-columns:150px minmax(0,1fr);gap:24px}
 .project-contact-sheet>figure>figcaption{font-size:26px}
}
@media(max-width:560px){
 .plan,.plan+.plan{padding:24px}.plan .price{font-size:60px}
 .project-contact-sheet>figure{display:flex;flex-direction:column;gap:20px}
 .project-contact-sheet>figure>figcaption{order:-1;font-size:28px}
 .project-contact-sheet>figure>figcaption>span{margin-bottom:10px}
 .project-contact-sheet .capture-triple>.capture-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .project-contact-sheet .capture-triple .capture-label{font-size:10px;gap:4px}
 .project-contact-sheet .capture-triple .capture-label>span{display:none}
 .dialog-header{padding:8px 18px;min-height:60px}.dialog-body{padding:20px 18px}
 #beta-dialog{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);width:calc(100% - 24px)}
 .dialog-body h2{font-size:36px}.dialog-footer{min-height:62px;padding:8px 18px}
 .form-grid{gap:14px;margin-top:18px}.dialog-footer .text-action{font-size:13px}
 .credit-examples{grid-template-columns:1fr;gap:20px}
}
@media(prefers-reduced-motion:reduce){
 .plan>.text-action>span,.faq-items summary::after,#beta-form input,#beta-form select,#beta-form textarea,.login-form input{transition:none}
 .plan:hover>.text-action>span{transform:none}
}

/* Keep both headline lines intact, including the longest animated word. */
.hero h1>.hero-line{display:block;max-width:none;white-space:nowrap}
@media(max-width:560px){.hero #hero-title{font-size:clamp(24px,calc((100vw - 56px) / 6.8),64px)}}
.last-light-stills { grid-column: 2; grid-row: 1; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.last-light-stills .project-frame { min-width: 0; align-self: start; }
.last-light-stills .project-frame img { display: block; height: auto; aspect-ratio: auto; }
.last-light-stills .project-frame span { display: flex; justify-content: space-between; padding: 10px 0; background: var(--bg); color: var(--copy); text-align: left; font-size: 13px; }
.last-light-stills i { color: var(--accent); font-style: normal; }
@media (max-width: 700px) { .last-light-stills { grid-template-columns: 1fr; } }

/* Offset the still within the full-width hero to clear the title. */
.project-hero .hero-image {
  left: 11vw;
  top: -20px;
  height: calc(100% + 20px);
  mask-image: linear-gradient(to right, transparent, black 14%);
}
@media (max-width: 820px) {
  .project-hero .hero-image {
    left: 0;
    top: -32px;
    height: calc(100% + 32px);
    object-position: 54% top;
    mask-image: none;
  }
}
@media (min-width: 821px) and (max-width: 1023px) {
  .project-hero .hero-image { object-position: left top; }
}
