/* Full-bleed scenes. Without JS, each chapter stays readable in normal flow. */
.cinematic-page { background: #081624; }
.cinematic-page > header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 18px 5%;
  background: linear-gradient(180deg, #071321f0, #07132150);
  border-bottom: 1px solid #e8d3b827;
}
.cinematic-page > header .brand-logo { width: 166px; }
.cinematic-page > header .brand { position: relative; isolation: isolate; }
.cinematic-page > header .brand::before {
  content: ''; position: absolute; inset: -22px -32px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse, #14345a70 0%, #14345a2b 43%, #14345a00 73%);
}
.cinematic-page > header nav a { font-size: 12px; }
.cinematic-page > header .language-switch { font-size: 12px; }
.cinematic-page > main > .section,
.cinematic-page .valuation-hero { background-color: var(--white); }
.cinema { position: relative; background: #081624; color: #f7f3ec; }
.cinema-stage { position: relative; }
.cinema-scene {
  position: relative;
  min-height: 780px;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #081624;
}
.cinema-camera { position: absolute; inset: -4%; z-index: -3; will-change: transform; }
.cinema-image { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; display: block; }
.cinema-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #051220bb, #05122044 55%, #05122000 85%), linear-gradient(0deg, #06131ff5, #06131f05 72%);
}
.cinema-copy {
  position: absolute; left: 7%; bottom: 138px; width: 60%; max-width: 850px;
  will-change: transform, opacity;
}
.cinema-copy .eyebrow { color: #e2c7a3; margin-bottom: 24px; font-size: 11px; letter-spacing: .24em; }
.cinema-copy h1, .cinema-copy h2 { font-size: clamp(54px, 6.8vw, 110px); line-height: .99; letter-spacing: -.045em; }
.cinema-copy h1 em, .cinema-copy h2 em { color: #e5c9a4; }
.cinema-copy > p:not(.eyebrow) { max-width: 410px; color: #ebe6df; font-size: 16px; line-height: 1.65; margin: 25px 0; }
.cinema-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 45px;
  border-bottom: 1px solid #dfc19a; padding: 12px 0; min-height: 48px;
  color: #f4e7d5; font-size: 14px;
}
.cinema-link span { font-size: 23px; color: #dcb98d; }
.cinema-link:hover { color: #fff; border-color: #fff; }
.cinema-link:focus-visible, .cinema-step:focus-visible { outline: 2px solid #f2d8b4; outline-offset: 7px; }
.cinema-caption { position: absolute; right: 5%; top: 51%; color: #e8ddce; font-size: 10px; letter-spacing: .18em; writing-mode: vertical-rl; }
.cinema-book {
  background: #071321; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr); column-gap: 5%;
  align-items: center; padding: 150px 7% 125px;
}
.cinema-book::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse at 76% 43%, #42607d55, #17324c22 34%, transparent 67%);
}
.cinema-book .cinema-camera { opacity: .08; filter: blur(5px); }
.cinema-book .cinema-shade { background: linear-gradient(90deg, #071321e6, #07132180 52%, #07132115), linear-gradient(0deg, #071321, transparent 25%); }
.cinema-book .cinema-copy {
  position: relative; left: auto; bottom: auto; width: 100%; max-width: none;
  grid-column: 1; grid-row: 1; min-width: 0;
}
.cinema-book .cinema-copy h1, .cinema-book .cinema-copy h2 { font-size: clamp(44px, 4.8vw, 88px); }
.cinema-book-object {
  position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; z-index: -2;
  grid-column: 2; grid-row: 1;
  display: flex; align-items: center; justify-content: center;
  transform-origin: 50% 60%; will-change: transform;
  filter: drop-shadow(-28px 30px 28px #0009);
}
.cinema-book-object img, .signup-art img {
  width: auto; height: auto; max-width: 100%; max-height: 100%; display: block;
  /* Fade the actual image edges, including when it is narrower than its layout box. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 70%, #0009 87%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 70%, #0009 87%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.cinema-portrait { position: absolute; right: 5%; bottom: 0; height: 84%; width: 44%; object-fit: contain; object-position: center bottom; z-index: -2; }
.cinema-person .cinema-copy { width: 53%; }
.cinema-person .cinema-shade { background: linear-gradient(90deg, #061522dd, #061522aa 40%, #06152200 70%), linear-gradient(0deg, #06152299, transparent 40%); }
.cinema-controls { display: none; }
.cinema.is-enhanced { height: 100svh; min-height: 600px; }
.cinema.is-enhanced .cinema-stage { position: relative; height: 100%; overflow: hidden; }
.cinema.is-enhanced .cinema-scene { position: absolute; inset: 0; min-height: 0; opacity: 0; pointer-events: none; }
.cinema.is-enhanced .cinema-scene.is-current { pointer-events: auto; }
.cinema.is-enhanced .cinema-controls {
  display: flex; position: absolute; z-index: 8; left: 7%; right: 7%; bottom: 33px;
  align-items: end; justify-content: space-between; gap: 35px;
}
.cinema-nav { display: flex; width: min(550px, 65%); gap: 24px; }
.cinema-step { background: none; border: 0; border-top: 1px solid #d7c8b45c; color: #e2d8c9; flex: 1; text-align: left; padding: 14px 0 0; cursor: pointer; font-size: 11px; line-height: 1.4; letter-spacing: .08em; min-height: 48px; position: relative; }
.cinema-step::before { content: ''; height: 1px; background: #edceaa; position: absolute; left: 0; right: 0; top: -1px; transform: scaleX(var(--chapter-progress, 0)); transform-origin: left; }
.cinema-step[aria-pressed="true"] { color: #fff; }
.cinema-step span { display: block; opacity: .6; font-size: 9px; margin-bottom: 5px; }
.cinema-actions { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
.cinema-playback { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: #f4e7d5; font: inherit; font-size: 12px; padding: 0; min-height: 44px; cursor: pointer; }
.cinema-playback-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #dfc19a80; border-radius: 50%; font-size: 18px; }
.cinema-skip { color: #f4e7d5; display: inline-flex; align-items: center; gap: 14px; font-size: 12px; min-height: 44px; border-bottom: 1px solid #dfc19a70; }
.cinema-playback:focus-visible, .cinema-skip:focus-visible { outline: 2px solid #f2d8b4; outline-offset: 5px; }
.cinema-portrait { transform-origin: center bottom; will-change: transform; }
.cinematic-page .book-ending { background: #f3efe7; padding-top: 70px; padding-bottom: 75px; }
.book-ending .signup-intro { padding-top: 25px; }
.book-ending .signup-intro h2 { font-size: clamp(36px, 3.5vw, 54px); }
.book-ending .signup-intro h2 em { color: #97724b; }
.book-ending .signup-intro p:not(.eyebrow) { color: #586777; }
.cinematic-page #book-request { scroll-margin-top: 35px; }
#book-request:focus, #form-content:focus { outline: none; }
.book-form-panel h2[tabindex="-1"]:focus,
.cinematic-page #form-title:focus,
.cinematic-page #chi-sono h2[tabindex="-1"]:focus { outline: none; }
.book-editorial { display: grid; grid-template-columns: 1.15fr .8fr; gap: 13%; }
.book-editorial h2 { max-width: 550px; }
.book-editorial em { color: #97724b; }
.book-editorial p:not(.eyebrow) { color: #586777; max-width: 600px; }
.book-editorial-aside { border-left: 1px solid #c8ad8a; padding-left: 38px; align-self: center; }
.book-editorial-aside p:first-child { font: italic 29px/1.4 Georgia, serif; color: #17344f; }
.cinematic-page .valuation-intro { padding-bottom: 45px; }
.cinematic-page .valuation-intro h2 { font-size: clamp(34px, 3.2vw, 52px); }
.cinematic-page #form-content, .cinematic-page #book-form { scroll-margin-top: 35px; }
.cinematic-page .valuation-method { background: #f0ece5; }
.cinematic-page .valuation-trust { background: #e9e5de; }
.cinematic-page .intro, .cinematic-page .topics { background: #f9f7f2; }
.cinematic-page .valuation-teaser { background: #eeebe5; }
.cinematic-signup > header { position: relative; background: #071321; }
.cinematic-page.cinematic-signup .book-signup {
  background: #091b2d; color: #f7f3eb; min-height: calc(100svh - 120px);
  padding: 65px 7% 70px; gap: 9%; grid-template-columns: 1fr 1fr;
}
.cinematic-signup .signup-intro { position: relative; }
.cinematic-signup .signup-intro .eyebrow { color: #dac3a4; }
.cinematic-signup .signup-intro h1 em { color: #d8ba94; }
.cinematic-signup .signup-intro p:not(.eyebrow) { color: #c5d0da; }
.cinematic-signup .signup-intro > .text-link { color: #d8ba94; }
.signup-art { margin: 25px 0 -20px; width: min(100%, 430px); height: 330px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(-16px 20px 20px #0006);
}
.cinematic-signup .book-form-panel { color: #18314a; padding: 40px; margin-top: 30px; background: #fcfaf5; box-shadow: 0 25px 75px #0003; }
@media (min-width: 1500px) {
  .cinema-copy { bottom: 155px; }
}
@media (max-width: 1180px) {
  .cinematic-page > header:has(nav.open) { background: #071321; }
  .cinematic-page > header nav.open { background: #071321; }
  .cinema-copy h1, .cinema-copy h2 { font-size: clamp(54px, 7.5vw, 90px); }
  .cinema-portrait { right: 1%; width: 48%; }
}
@media (max-width: 760px) {
  .cinematic-page > header { padding: 12px 6%; }
  .cinematic-page > header .brand-logo { width: 140px; }
  .cinematic-page > header .language-switch { font-size: 10px; }
  .cinema-copy, .cinema-person .cinema-copy { left: 7%; width: 86%; bottom: 175px; }
  .cinema-copy h1, .cinema-copy h2 { font-size: clamp(43px, 11.8vw, 72px); line-height: 1.02; letter-spacing: -.04em; }
  .cinema-copy .eyebrow { font-size: 9px; letter-spacing: .18em; margin-bottom: 17px; }
  .cinema-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.5; max-width: 290px; margin: 20px 0 12px; }
  .cinema-link { font-size: 13px; gap: 30px; }
  .cinema-image { object-position: 61% center; }
  .cinema-shade { background: linear-gradient(0deg, #06131ff5, #06131f55 65%, #06131f22); }
  .cinema-book {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
    row-gap: 24px; padding: 150px 7% 148px;
  }
  .cinema-book-object { grid-column: 1; grid-row: 1; }
  .cinema-book .cinema-copy { left: auto; bottom: auto; width: 100%; grid-column: 1; grid-row: 2; }
  .cinema-book .cinema-copy h1, .cinema-book .cinema-copy h2 { font-size: clamp(30px, 8.2vw, 40px); }
  .cinema-book .cinema-copy .eyebrow { margin-bottom: 10px; }
  .cinema-book .cinema-copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.45; margin: 10px 0 8px; max-width: none; }
  .cinema-book .cinema-link { min-height: 44px; padding: 8px 0; }
  #cinema-book-title br { display: none; }
  .cinema-book .cinema-shade { background: linear-gradient(0deg, #071321 5%, #071321c2 30%, #07132100 70%); }
  .cinema-portrait { height: 70%; width: 88%; right: -11%; }
  .cinema-person .cinema-shade { background: linear-gradient(0deg, #061522eb, #061522bd 27%, #06152200 70%), linear-gradient(90deg, #06152266, transparent 65%); }
  .cinema-person .cinema-copy { max-width: 89%; }
  .cinema-caption { display: none; }
  .cinema.is-enhanced .cinema-controls { left: 7%; right: 7%; bottom: 22px; gap: 16px; flex-direction: column; align-items: stretch; }
  .cinema-nav { width: 100%; gap: 14px; }
  .cinema-step { font-size: 10px; padding-top: 11px; }
  .cinema-actions { justify-content: space-between; gap: 16px; }
  .cinema-playback-icon { width: 36px; height: 36px; }
  .cinematic-page .book-ending { padding-top: 35px; padding-bottom: 40px; }
  .book-ending .signup-intro { padding-top: 0; }
  .book-editorial { grid-template-columns: 1fr; gap: 30px; }
  .book-editorial-aside { padding-left: 24px; }
  .book-editorial-aside p:first-child { font-size: 25px; }
  .cinematic-page.cinematic-signup .book-signup { grid-template-columns: 1fr; padding: 34px 7% 50px; gap: 25px; }
  .cinematic-signup .signup-intro h1 { font-size: 42px; }
  .cinematic-signup .book-form-panel { margin-top: 0; padding: 28px 22px; }
  .signup-art { display: none; }
  .cinematic-page .valuation-intro { padding: 35px 7%; }
}
@media (max-height: 600px) and (min-width: 761px) {
  .cinema-copy { bottom: 105px; }
  .cinema-copy h1, .cinema-copy h2 { font-size: 55px; }
  .cinema-copy > p:not(.eyebrow) { margin: 14px 0; }
  .cinematic-page > header { padding-top: 8px; padding-bottom: 8px; }
  .cinematic-page > header .brand-logo { width: 125px; }
}
@media (max-height: 650px) and (max-width: 760px) {
  .cinema-copy, .cinema-person .cinema-copy { bottom: 160px; }
  .cinema-copy h1, .cinema-copy h2 { font-size: 36px; }
  .cinema-copy > p:not(.eyebrow) { margin: 13px 0 8px; font-size: 13px; }
  .cinema-copy .eyebrow { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cinema-camera, .cinema-copy, .cinema-book-object, .cinema-portrait { transform: none !important; will-change: auto; }
}

@media (min-width: 761px) and (max-height: 650px) {
  .cinema-book { padding-top: 135px; padding-bottom: 110px; }
  .cinema-book .cinema-copy h1, .cinema-book .cinema-copy h2 { font-size: clamp(38px, 4.8vw, 56px); }
  .cinema-book .cinema-copy .eyebrow { margin-bottom: 16px; }
  .cinema-book .cinema-copy > p:not(.eyebrow) { margin: 14px 0; }
}

/* Keep the opening message below the logo, including short browser viewports. */
.cinema-home-scene .cinema-copy { bottom: 112px; }
@media (min-width: 761px) and (max-height: 760px) {
  .cinema-home-scene .cinema-copy h1 { font-size: clamp(44px, min(6vw, 9svh), 68px); }
}
@media (max-width: 760px) {
  .cinema-home-scene .cinema-copy { bottom: 145px; }
}
@media (max-width: 760px) and (max-height: 760px) {
  .cinema-home-scene .cinema-copy h1 { font-size: clamp(32px, min(10.8vw, 5.7svh), 43px); }
}
