/* Phase 14 — cinematic layer for the static pages (Projects, Contact). Loaded after each page's own CSS. */
:root { --mc-marble: url("/cinema/marble-gold.webp"); --mc-champagne: #e9d7af; --mc-ivory: #f6f0e3; }
body { font-family: "Manrope", "Segoe UI", system-ui, sans-serif; }

/* Headings: Cinzel, carved. Hero titles get the marble fill; section titles stay ivory with a soft cut edge. */
.mc-title { font-family: "Cinzel", Georgia, serif !important; font-weight: 700 !important; letter-spacing: .015em !important; perspective: 700px; }
.mc-title--hero { font-size: clamp(50px, 6.2vw, 100px) !important; line-height: 1.02 !important; max-width: 12ch !important;
  filter: drop-shadow(0 1px 0 #d9c69c) drop-shadow(0 1px 0 #9c855c) drop-shadow(0 2px 0 #5d4f3b) drop-shadow(0 2px 0 #2b251d) drop-shadow(0 18px 26px rgba(0,0,0,.6)); }
.mc-title--hero .mc-ch { color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(105deg, transparent 42%, rgba(255,252,240,.95) 50%, transparent 58%), var(--mc-marble);
  background-repeat: no-repeat, repeat; background-size: 320% 100%, 8em auto; background-position: 160% 0, calc(var(--i) * -.64em) 40%; }
.mc-title--section { text-shadow: 0 1px 0 rgba(0,0,0,.35), 0 2px 0 rgba(0,0,0,.18), 0 10px 26px rgba(0,0,0,.45); }
.mc-word { display: inline-block; white-space: nowrap; }
.mc-ch { display: inline-block; transform-origin: 50% 85%; }
@media (prefers-reduced-motion: no-preference) {
  .mc-title .mc-ch { opacity: 0; transform: translateY(.45em) rotateX(-70deg); filter: blur(5px); }
  .mc-title.is-in .mc-ch { animation: mc-letter 1s cubic-bezier(.16,.84,.24,1) both; animation-delay: calc(var(--i) * 24ms); }
  .mc-title--hero.is-in .mc-ch { animation: mc-letter 1.2s cubic-bezier(.16,.84,.24,1) both, mc-shine 6.5s ease-in-out infinite; animation-delay: calc(.15s + var(--i) * 40ms), calc(2s + var(--i) * 50ms); }
}
@keyframes mc-letter { from { opacity: 0; transform: translateY(.45em) rotateX(-70deg); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mc-shine { 0%, 64% { background-position: 160% 0, calc(var(--i) * -.64em) 40%; } 100% { background-position: -60% 0, calc(var(--i) * -.64em) 40%; } }
.eyebrow, .arrival-label, .hero-proof { font-family: "Manrope", sans-serif !important; letter-spacing: .34em !important; color: var(--mc-champagne) !important; }
.arrival-lede, .stage-title p { font-family: "Cormorant Garamond", Georgia, serif !important; font-style: italic; font-size: clamp(22px, 2vw, 30px) !important; }

/* Physical things tilt toward the pointer and catch light. */
.mc-tilt { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; --hover: 0; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(calc(var(--hover) * 14px)); transition: transform .12s linear; position: relative; }
.mc-tilt::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: var(--hover); mix-blend-mode: soft-light; border-radius: inherit;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,250,236,.85), rgba(255,250,236,0) 55%); }
.arrival-cta--primary { background: linear-gradient(180deg, #f2e4c2, #d6b97f) !important; color: #17140f !important; border-color: transparent !important; box-shadow: 0 14px 34px -14px rgba(214,185,127,.85); }

/* Hero air. */
.projects-hero, .arrival-hero { position: relative; }
.mc-dust { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }

/* Crest. */
.mc-crest { --size: 112px; width: var(--size); height: var(--size); margin: 0 0 28px; perspective: calc(var(--size) * 4.6); position: relative; }
.mc-crest::before { content: ""; position: absolute; inset: -60%; background: radial-gradient(closest-side, rgba(255,214,150,.32), rgba(255,214,150,0) 70%); pointer-events: none; }
.mc-crest__object { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.mc-crest__object img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mc-crest__slice { transform: translateZ(calc(var(--d) * var(--size) * -.006)); filter: brightness(var(--shade)) sepia(.5); }
.mc-crest__face { transform: translateZ(1px); filter: contrast(1.1) brightness(1.06) drop-shadow(0 0 1px rgba(255,236,190,.4)); }
.arrival-closing { display: flex; flex-direction: column; align-items: flex-start; }

/* Projects consult dock. */
.mc-dock { position: fixed; z-index: 60; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 22px; border-radius: 999px; color: var(--mc-ivory);
  background: rgba(16,18,16,.84); border: 1px solid rgba(233,215,175,.35); box-shadow: 0 20px 50px -14px rgba(0,0,0,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translate(-50%, 150%); opacity: 0; pointer-events: none; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.mc-dock.is-shown { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.mc-dock p { display: flex; flex-direction: column; margin: 0 4px 0 0; line-height: 1.2; white-space: nowrap; }
.mc-dock small { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--mc-champagne); }
.mc-dock strong { font: 700 15px/1.25 "Cinzel", Georgia, serif; }
.mc-dock a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .2s; }
.mc-dock__ask { color: #17140f; background: linear-gradient(180deg, #f2e4c2, #d6b97f); }
.mc-dock__more { color: var(--mc-ivory); border: 1px solid rgba(233,215,175,.45); }
.mc-dock a:hover { transform: translateY(-2px); }
.mc-dock a:focus-visible { outline: 2px solid var(--mc-champagne); outline-offset: 3px; }
@media (max-width: 767px) {
  .mc-title--hero { font-size: clamp(40px, 11.5vw, 54px) !important; }
  .mc-dock { left: 10px; right: 10px; transform: translateY(150%); padding-left: 16px; border-radius: 18px; }
  .mc-dock.is-shown { transform: none; }
  .mc-dock p { flex: 1; min-width: 0; } .mc-dock strong { font-size: 13px; white-space: normal; }
  .mc-dock__more { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .mc-tilt { transform: none; } .mc-dock { transition: opacity .2s; } }
