/* A still institutional signature, then one sheet for the pencil and plan. */
.ict-entry-shell {
  position: fixed;
  inset: 0;
  z-index: 85;
  isolation: isolate;
  pointer-events: none;
  overflow: hidden;
  --entry-logo-width: 80%;
  --entry-blue: #0d3a5c;
}
.ict-entry-shell[hidden], .ict-web-entry { display: none; }
.ict-web-entry.is-drawing:not([hidden]) { display: block; }
.ict-entry-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--entry-blue);
  opacity: var(--entry-field,1);
}
.ict-opening-stage, .ict-opening-stage canvas { position:absolute; inset:0; width:100%; height:100%; }
.ict-opening-stage canvas { display:block; }
.ict-entry-poster {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:min(var(--entry-logo-width),185.1vh,1160px); height:auto; max-width:none; opacity:var(--mark-ink,1);
}
.ict-paper-note {
  position:absolute; bottom:max(7%,env(safe-area-inset-bottom)); left:clamp(22px,6vw,100px);
  margin:0; color:#374049; opacity:var(--paper-caption,0); pointer-events:none;
  font:400 clamp(14px,1.2vw,19px)/1.35 "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.ict-film .ict-paper-note { bottom:max(19%,115px); }
.ict-opening-stage[hidden] { display:none; }
/* The long opening belongs to its chapter; preceding works stay in view
   while this sheet arrives naturally at the pinned stage. */
.ict-story > .ict-web-entry {
  position: sticky; inset: auto; top: var(--header); height: var(--screen);
  margin-bottom: calc(-1 * var(--screen));
}
.ict-entry-actions {
  position:absolute; z-index:1; inset-inline:0; bottom:max(7.5%,env(safe-area-inset-bottom));
  display:flex; align-items:center; justify-content:center; gap:clamp(16px,2.6vw,36px);
  font:500 13px/1.25 "Helvetica Neue",Helvetica,Arial,sans-serif;
  color:white; opacity:0; pointer-events:none; visibility:hidden;
}
.ict-web-entry.is-drawing .ict-entry-actions:not([inert]) { visibility:visible; }
.ict-web-entry .ict-entry-actions:focus-within { opacity:1; }
.ict-entry-actions:focus-within button { pointer-events:auto; }
.ict-entry-actions button {
  pointer-events:none; display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height:44px; padding:0; border:0; background:transparent; color:inherit; font:inherit; cursor:pointer;
}
.ict-entry-actions [data-entry-start] span { color:#7fd0ff; font-size:18px; }
.ict-entry-actions [data-film-launch] { padding-inline-start:clamp(16px,2.6vw,36px); position:relative; }
.ict-entry-actions [data-film-launch]::before { position:absolute;left:0;content:"";height:15px;width:1px;background:rgb(127 208 255/.5); }

.ict-entry-actions [data-film-launch] small { color:#a7cfe4; font-size:.90em; }
.ict-entry-actions button:hover { color:#7fd0ff; }
.ict-entry-actions button:focus-visible { outline:2px solid #7fd0ff;outline-offset:4px; }
.ict-entry-actions button[hidden] { display:none; }
.ict-film-entry { position:absolute; z-index:3; }
.ict-story .ict-step:first-child .ict-title, .ict-film [data-film-title] { opacity:var(--opening-title-ink,1); }
.ict-film [data-film-title] .ict-front-name { color:#7fd0ff; }
.ict-story.ict-introducing .ict-note > :not(.ict-title), .ict-story.ict-introducing .ict-desk > .ict-heading,
.ict-story.ict-introducing .ict-plate figcaption, .ict-story.ict-introducing .ict-foot,
.ict-story.ict-introducing .ict-chapters, .ict-film.ict-introducing .ict-film-label,
.ict-film.ict-introducing .ict-film-description, .ict-film.ict-introducing .ict-film-figure figcaption {
  opacity:var(--entry-details,0);
}
@media(max-width:600px) { .ict-entry-shell { --entry-logo-width:88%; } }
@media(max-height:440px) { .ict-entry-actions { bottom:max(10px,env(safe-area-inset-bottom)); } }

.ict-review { inset:0; overflow:hidden; pointer-events:none; isolation:isolate; }
.ict-review[hidden] { display:none; }
.ict-web-review { position:fixed; z-index:72; }
.ict-film-review { position:absolute; z-index:3; }
.ict-review canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
.ict-review::after {
  content:""; position:absolute; inset:55% 0 0; pointer-events:none;
  background:linear-gradient(transparent,rgba(6,20,32,.74)); opacity:max(var(--review-caption,0),var(--survey-caption,0));
}
.ict-review .ict-review-caption {
  position:absolute; z-index:1; inset-inline-start:clamp(20px,6vw,96px);
  inset-block-end:max(7%,env(safe-area-inset-bottom)); margin:0; max-width:min(30ch,88%);
  color:white; opacity:var(--review-caption,0); text-wrap:balance;
  font:500 clamp(18px,2vw,30px)/1.19 "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.ict-review .ict-survey-caption { opacity:var(--survey-caption,0); }
.ict-review-caption small { display:block; font-size:12px; font-weight:400; line-height:1.4; margin-top:.55em; }
.ict-film .ict-review-caption { bottom:clamp(120px,20%,180px); }
.ict-film-on-paper .ict-film-header h2, .ict-film-on-paper .ict-film-controls :is(a,button,output),
.ict-film-on-paper .ict-film-close, .ict-film-on-paper .ict-film-close span { color:#112f45; }
.ict-film-on-paper .ict-film-header, .ict-film-on-paper .ict-film-controls,
.ict-film-on-paper .ict-film-controls button { border-color:rgba(13,58,92,.32); }
.ict-film-on-paper .ict-film-controls button[data-film-toggle] { background:#173c57;color:#fff; }
.ict-film-on-paper .ict-film-timeline input, .ict-film-on-paper .ict-film-actions a span { --film-trace:#164c73; }
.ict-film-reviewing .ict-film-shell::before, .ict-film-reviewing .ict-film-shell::after {
  content:"";position:absolute;left:0;right:0;z-index:3;height:16%;pointer-events:none;
}
.ict-film-reviewing .ict-film-shell::before { top:0;background:linear-gradient(rgb(5 16 30/.66),transparent); }
.ict-film-reviewing .ict-film-shell::after { bottom:0;background:linear-gradient(transparent,rgb(5 16 30/.87)); }

.ict-opening-piles:not([hidden]) {
  position: absolute; z-index: 2; inset-inline-end: max(6%, env(safe-area-inset-right));
  bottom: max(5%, env(safe-area-inset-bottom)); pointer-events: auto;
  display: inline-flex; align-items: center; min-height: 44px;
  color: #fff; font: 500 14px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: underline; text-decoration-color: #7fd0ff; text-underline-offset: 6px;
  animation: ict-piles-access .28s ease-out .65s backwards;
}
.ict-opening-piles:focus-visible { outline: 2px solid #7fd0ff; outline-offset: 4px; animation: none; }
@keyframes ict-piles-access { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 760px) {
  .ict-opening-piles:not([hidden]) { right: auto; left: 50%; transform: translateX(-50%); bottom: max(3.5%, env(safe-area-inset-bottom)); white-space: nowrap; }
  .ict-web-entry .ict-entry-actions { bottom: max(12%, 76px); }
}
@media (prefers-reduced-motion: reduce) { .ict-opening-piles:not([hidden]) { animation: none; } }

.ict-web-entry.is-drawing .ict-entry-actions:not([inert]) {
  opacity: var(--entry-controls, 1);
  animation: ict-piles-access .4s ease-out .65s backwards;
}
.ict-web-entry.is-drawing .ict-entry-actions:not([inert]) button { pointer-events: auto; }
.ict-opening-piles:not([hidden]) { opacity: var(--entry-controls, 1); }
@media (prefers-reduced-motion: reduce) {
  .ict-web-entry.is-drawing .ict-entry-actions:not([inert]) { animation: none; }
}
.hc-service-list p { text-wrap: pretty; }
.hc-model .model-topline span { font-size: 12px; }
.hc-model .p11-small { max-width: 68ch; }
