/* Client-first copy and actions; the existing HIC portal remains voluntary. */
#intro-copy { top: 14svh; width: 45%; max-width: 670px; }
#intro-copy h1 { font-size: clamp(48px, 5.8vw, 88px); line-height: 1.03; letter-spacing: -.9px; }
#intro-copy .hero-identity { color: #b8cfc3; font-size: 10px; line-height: 1.6; letter-spacing: .12em; margin-bottom: 23px; }
#intro-copy .hero-scope { max-width: 38ch; margin-top: 24px; color: #f0eee2; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.5; }
#intro-copy .hero-services { max-width: 46ch; margin-top: 14px; color: #b8cfc3; font-size: 13px; line-height: 1.6; letter-spacing: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; }
#intro-copy .hero-actions .enter-button { margin: 0; min-height: 54px; padding-left: 18px; gap: 22px; font-size: 11px; background: #a4f3bf; color: #07120f; box-shadow: none; }
#intro-copy .hero-actions .enter-button:hover { background: #f0eee2; }
.hero-realizations { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; color: #f0eee2; font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-color: #6e9b83; text-underline-offset: 6px; }
.hero-realizations .icon { width: 16px; height: 16px; transform: rotate(-45deg); }
.hero-realizations:hover { color: #a4f3bf; text-decoration-color: currentColor; }
.hero-actions a:focus-visible { outline: 2px solid #a4f3bf; outline-offset: 5px; }
#vos-projets { scroll-margin-top: 100px; }
#site-nav .c-nav-contact { display: inline-flex; align-items: center; gap: 6px; }
#site-nav .c-nav-contact .icon { width: 14px; height: 14px; transform: rotate(-45deg); }

@media (min-width: 701px) and (max-width: 1100px) {
  #intro-copy { top: 16svh; width: 46%; }
  #intro-copy h1 { font-size: clamp(45px, 6.1vw, 65px); }
  #intro-copy .hero-identity { font-size: 8px; }
  #intro-copy .hero-scope { font-size: 16px; }
  #intro-copy .hero-services { font-size: 12px; }
  #intro-copy .hero-actions { gap: 7px 15px; margin-top: 21px; }
  #intro-copy .hero-actions .enter-button { font-size: 10px; gap: 15px; padding-left: 14px; }
  .hero-realizations { font-size: 12px; gap: 7px; }
}
@media (min-width: 701px) and (max-height: 760px) {
  #intro-copy { top: 110px; }
  #intro-copy h1 { font-size: clamp(44px, 4.8vw, 68px); }
  #intro-copy .hero-identity { margin-bottom: 16px; }
  #intro-copy .hero-scope { margin-top: 18px; font-size: 16px; }
  #intro-copy .hero-services { margin-top: 10px; font-size: 12px; }
  #intro-copy .hero-actions { margin-top: 19px; }
}
@media (max-width: 700px) {
  #cinema-sticky { min-height: 720px; }
  #intro-copy { left: var(--page-pad); right: var(--page-pad); top: 90px; width: auto; max-width: none; }
  #intro-copy .hero-identity { font-size: 8px; margin-bottom: 16px; letter-spacing: .075em; }
  #intro-copy h1 { font-size: clamp(37px, 10.2vw, 54px); line-height: 1.02; letter-spacing: -.5px; }
  #intro-copy .hero-scope { max-width: 40ch; margin-top: 17px; font-size: 15px; line-height: 1.45; }
  #intro-copy .hero-services { max-width: 44ch; font-size: 11px; margin-top: 11px; line-height: 1.55; }
  #intro-copy .hero-actions { margin-top: 17px; gap: 4px 16px; }
  #intro-copy .hero-actions .enter-button { min-height: 48px; padding-left: 14px; gap: 16px; font-size: 10px; }
  #intro-copy .hero-actions .enter-arrow { width: 32px; height: 32px; }
  .hero-realizations { min-height: 44px; font-size: 12px; gap: 7px; }
  #hero-evidence { display: none; }
  #portal-wordmark { font-size: 15px; letter-spacing: 8px; padding-left: 8px; }
}
@media (max-width: 700px) and (max-height: 700px) {
  #intro-copy { top: 80px; }
  #intro-copy h1 { font-size: clamp(35px, 9.6vw, 46px); }
  #intro-copy .hero-identity { margin-bottom: 12px; }
  #intro-copy .hero-scope { margin-top: 14px; font-size: 14px; }
  #intro-copy .hero-services { font-size: 10.5px; }
}

/* The light recedes towards the same point the camera crosses on entry. */
#title-portal .portal-outline {
  opacity: .96;
  stroke-width: 3;
  stroke-linejoin: round;
}
.portal-light { pointer-events: none; }
.portal-bloom {
  stroke: #36eeb4;
  stroke-width: 12;
  opacity: .78;
  filter: blur(7px);
}
.portal-recess { stroke: #baffdf; }
.portal-facets { opacity: .45; stroke-width: 2; }
.portal-echo {
  stroke-width: 4;
  transform-box: view-box;
  transform-origin: 0 0;
}
.portal-echo-near { opacity: .49; transform: scale(.85); }
.portal-echo-far { opacity: .26; transform: scale(.60); }
#title-portal.portal-travelling .portal-light,
body.hic-entering .portal-light { display: none; }

.portal-entry:focus-visible {
  outline: 2px solid #acf9d1;
  outline-offset: 5px;
}
#cinema-sticky:has(.portal-entry:is(:focus-visible, :active)) .portal-bloom {
  stroke: #b1ffde;
  stroke-width: 17;
}
@media (hover: hover) {
  #cinema-sticky:has(.portal-entry:hover) .portal-bloom {
    stroke: #a2ffcf;
    stroke-width: 17;
  }
}
@media (max-width: 700px) {
  #title-portal .portal-outline { stroke-width: 5; }
  .portal-bloom { stroke-width: 21; filter: blur(10px); }
  .portal-echo { stroke-width: 6; }
  .portal-facets { stroke-width: 3; }
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.is-paused) .portal-echo {
    animation: portal-inward 3.8s cubic-bezier(.17,.52,.5,1) infinite;
  }
  body:not(.is-paused) .portal-echo-near { animation-delay: -.55s; }
  body:not(.is-paused) .portal-echo-far { animation-delay: -2.45s; }
  body:not(.is-paused) .portal-bloom {
    animation: portal-edge 3.8s ease-in-out -.55s infinite;
  }
  @keyframes portal-inward {
    0% { transform: scale(1.015); opacity: 0; }
    12% { opacity: .93; }
    74% { opacity: .48; }
    100% { transform: scale(.15); opacity: 0; }
  }
  @keyframes portal-edge {
    0%, 100% { opacity: .64; }
    45% { opacity: .98; }
  }
}
