/* The original dark palette with an edge-to-edge architectural opening. */
.home-cinematic { background: #080f19; }
.home-cinematic .shell { width: min(calc(100% - 80px), 1360px); }
.home-cinematic section[id] { scroll-margin-top: 104px; }
.home-cinematic .site-header { background: linear-gradient(to bottom,rgba(5,12,19,.86),rgba(5,12,19,.30)); border-bottom-color: rgba(255,255,255,.09); }
.home-cinematic .site-header.scrolled { background: rgba(8,15,25,.96); }
.home-cinematic .main-nav a { color: #e0e6e8; }
.home-cinematic .admin-link { background: rgba(8,15,25,.28); }
.home-cinematic .hero-cinematic { min-height: 760px; height: 100svh; max-height: 1200px; padding: 0; background: #080f19; }
.home-cinematic .hero-visual { position: absolute; inset: 0; z-index: 0; }
.home-cinematic .hero-photo { width: 100%; height: 100%; max-width: none; border: 0; border-radius: 0; background: #080f19; box-shadow: none; }
.home-cinematic .hero-photo::before, .home-cinematic .hero-photo::after { display: none; }
.home-cinematic .hero-slide { object-position: center; transform: scale(1.04); transition: opacity 1.2s ease; }
.home-cinematic .hero-slide.active { animation: cinematic-zoom 9s linear both; }
.home-cinematic .hero-slide.active[data-motion="pan"] { animation-name: cinematic-pan; }
.home-cinematic .photo-shade { background: linear-gradient(to left,rgba(5,13,22,.87) 0%,rgba(5,13,22,.67) 24%,rgba(5,13,22,.15) 48%,transparent 69%),linear-gradient(to top,rgba(5,13,22,.86),transparent 29%); }
.home-cinematic .hero-layout { z-index: 2; display: block; padding: 115px 0 165px; pointer-events: none; }
.home-cinematic .hero-copy { width: 45%; max-width: 580px; pointer-events: auto; }
.home-cinematic .hero-copy .eyebrow { margin-bottom: 25px; color: #d1dce3; font-size: .72rem; letter-spacing: .14em; }
.home-cinematic .hero h1 { font-size: clamp(3.3rem,5.1vw,5.7rem); line-height: 1.08; letter-spacing: -.045em; color: #fff; text-shadow: 0 3px 28px rgba(0,0,0,.2); }
.home-cinematic .hero h1 em { color: #bbdbed; }
.home-cinematic .hero-text { max-width: 440px; font-size: 1.08rem; line-height: 1.95; margin-top: 26px; color: #d7dfe4; }
.home-cinematic .hero-actions { margin-top: 30px; gap: 12px; }
.home-cinematic .hero-actions .button { border-radius: 7px; min-height: 51px; font-size: .86rem; gap: 15px; }
.home-cinematic .hero-actions .button-primary { background: #c2dfed; border-color: #c2dfed; box-shadow: 0 8px 30px rgba(0,0,0,.14); }
.home-cinematic .hero-actions .button-primary:hover { background: #e4f2f7; }
.home-cinematic .hero-actions .button-ghost { background: rgba(8,15,25,.36); border-color: rgba(232,244,250,.4); color: #eaf2f5; }
.home-cinematic .hero-points { margin-top: 28px; gap: 20px; font-size: .71rem; color: #c0cdd5; }
.home-cinematic .hero-points i { background: #bbdbed; box-shadow: none; }
.home-cinematic .hero-photo-caption { position: absolute; left: max(40px,calc((100vw - 1360px)/2)); bottom: 110px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 45%; color: #fff; z-index: 3; }
.home-cinematic .hero-photo-caption>[data-slide-caption] { font-size: clamp(1.1rem,1.65vw,1.65rem); font-weight: 400; line-height: 1.3; text-shadow: 0 2px 15px #000; }
.home-cinematic .hero-photo-caption>.render-tag { font-size: .75rem; letter-spacing: .08em; line-height: 1; color: rgba(255,255,255,.82); text-shadow: 0 1px 8px #000; }
.home-cinematic .hero-media-controls { position: absolute; left: max(40px,calc((100vw - 1360px)/2)); bottom: 43px; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 4px; border: 1px solid rgba(255,255,255,.28); border-radius: 40px; background: rgba(6,15,23,.58); backdrop-filter: blur(12px); }
.home-cinematic .slide-arrow { width: 42px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #e4eef2; background: transparent; cursor: pointer; font-size: 1.15rem; }
.home-cinematic .slide-arrow:hover, .home-cinematic .motion-toggle:hover { background: rgba(231,242,247,.12); }
.home-cinematic .motion-toggle { position: static; min-height: 38px; padding: 6px 13px; border: 0; border-inline: 1px solid rgba(255,255,255,.17); border-radius: 0; color: #d9e6ec; background: transparent; font-size: .65rem; }
.home-cinematic .hero.motion-paused .hero-slide, .home-cinematic .hero.motion-idle .hero-slide { animation-play-state: paused; }
@keyframes cinematic-zoom { from { transform: scale(1.065); } to { transform: scale(1); } }
@keyframes cinematic-pan { from { transform: scale(1.055) translateX(-1.1%); } to { transform: scale(1.055) translateX(1.1%); } }
.home-cinematic .hero-scene-strip { background: #0b1521; border-bottom: 1px solid var(--line); }
.home-cinematic .hero-scene-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding-block: 20px; }
.home-cinematic .scene-option { display: flex; text-align: right; align-items: center; gap: 14px; border: 1px solid transparent; border-radius: 7px; padding: 8px; min-width: 0; color: #b3c2cb; background: transparent; cursor: pointer; transition: border-color .2s,background .2s; }
.home-cinematic .scene-option:hover { background: rgba(235,245,250,.04); color: #eaf2f7; }
.home-cinematic .scene-option.active { background: #142331; border-color: #607f92; color: #f2f6f8; }
.home-cinematic .scene-option img { width: 86px; height: 59px; object-fit: cover; border-radius: 3px; flex: none; }
.home-cinematic .scene-option>span { display: flex; flex-direction: column; gap: 4px; }
.home-cinematic .scene-option strong { font-size: .77rem; font-weight: 500; line-height: 1.4; }
.home-cinematic .scene-option small { font-size: .63rem; color: #93a9b7; line-height: 1.4; }
.home-cinematic .hero-person-strip { border-bottom: 1px solid var(--line); background: #080f19; padding-block: 24px; }
.home-cinematic .hero-person-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.home-cinematic .hero-person { margin: 0; padding: 0; border: 0; max-width: none; min-width: 350px; }
.home-cinematic .person-contact { margin-inline-start: 24px; }
.home-cinematic .hero-contact-line { margin: 0; font-size: .75rem; gap: 16px; }
.home-cinematic .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.home-cinematic .project-card { min-height: 0; }
.home-cinematic .project-photo { height: auto; aspect-ratio: 1.7; }
.home-cinematic .project-art::after { background: linear-gradient(to top,rgba(4,11,16,.25),transparent 40%); }
.home-cinematic .project-card .round-arrow { display: none; }
.home-cinematic .reveal { opacity: 1; transform: none; }
@media (min-width: 1750px) {
  .home-cinematic .hero-copy { max-width: 605px; }
  .home-cinematic .hero-layout { width: calc(100% - 180px); max-width: 1680px; }
}
@media (max-width: 1150px) {
  .home-cinematic .hero-copy { width: 49%; }
  .home-cinematic .hero-actions .button { padding-inline: 17px; font-size: .77rem; }
  .home-cinematic .scene-option { gap: 9px; }
  .home-cinematic .scene-option img { width: 60px; height: 52px; }
  .home-cinematic .scene-option strong { font-size: .71rem; }
}
@media (max-width: 900px) {
  .home-cinematic .shell { width: calc(100% - 40px); }
  .home-cinematic .site-header { background: #080f19; }
  .home-cinematic .header-inner { min-height: 76px; }
  .home-cinematic .main-nav { top: 76px; background: #0c1825; }
  .home-cinematic .hero-cinematic { display: flex; flex-direction: column; margin-top: 76px; min-height: 0; height: auto; max-height: none; scroll-margin-top: 76px; }
  .home-cinematic .hero-visual { position: relative; width: 100%; height: 490px; flex: none; }
  .home-cinematic .hero-slide { object-position: 40% center; }
  .home-cinematic .photo-shade { background: linear-gradient(to top,rgba(8,15,25,.85),transparent 47%); }
  .home-cinematic .hero-layout { padding: 34px 0 44px; background: #080f19; }
  .home-cinematic .hero-copy { width: 100%; max-width: 680px; }
  .home-cinematic .hero h1 { font-size: clamp(3.1rem,7vw,4.7rem); }
  .home-cinematic .hero-text { max-width: 600px; }
  .home-cinematic .hero-photo-caption { left: 24px; bottom: 95px; max-width: 85%; }
  .home-cinematic .hero-media-controls { left: 22px; bottom: 25px; }
  .home-cinematic .hero-scene-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding-block: 15px; }
  .home-cinematic .scene-option img { width: 76px; height: 53px; }
  .home-cinematic .hero-person-row { align-items: flex-start; flex-direction: column; gap: 18px; }
  .home-cinematic .hero-person { min-width: 0; width: 100%; max-width: 450px; }
  .home-cinematic .hero-person .person-contact { margin-inline-start: auto; }
  .home-cinematic .hero-contact-line { width: 100%; }
}
@media (max-width: 600px) {
  .home-cinematic .shell { width: calc(100% - 32px); }
  .home-cinematic .header-inner { gap: 10px; }
  .home-cinematic .hero-visual { height: 410px; }
  .home-cinematic .hero-slide { object-position: 36% center; }
  .home-cinematic .hero-slide[data-scene="penthouse-joinery"] { object-position: 49% center; }
  .home-cinematic .hero-layout { width: 100%; padding: 25px 20px 33px; }
  .home-cinematic .hero-copy .eyebrow { font-size: .60rem; margin-bottom: 16px; }
  .home-cinematic .hero h1 { font-size: clamp(2.65rem,12vw,3.9rem); line-height: 1.1; }
  .home-cinematic .hero-text { font-size: .9rem; margin-top: 17px; line-height: 1.8; }
  .home-cinematic .hero-actions { margin-top: 23px; gap: 9px; }
  .home-cinematic .hero-actions .button { width: auto; padding-inline: 14px; min-height: 46px; font-size: .75rem; }
  .home-cinematic .hero-points { gap: 14px; font-size: .64rem; margin-top: 23px; }
  .home-cinematic .hero-photo-caption { left: 18px; bottom: 85px; }
  .home-cinematic .hero-photo-caption>[data-slide-caption] { font-size: 1.12rem; }
  .home-cinematic .hero-media-controls { left: 16px; bottom: 21px; }
  .home-cinematic .motion-toggle [data-motion-label] { display: inline; }
  .home-cinematic .scene-option { padding: 6px; gap: 8px; }
  .home-cinematic .scene-option img { width: 44px; height: 51px; }
  .home-cinematic .scene-option strong { font-size: .67rem; }
  .home-cinematic .scene-option small { font-size: .57rem; }
  .home-cinematic .hero-contact-line { font-size: .67rem; gap: 10px; }
  .home-cinematic .project-grid { grid-template-columns: 1fr; }
  .home-cinematic .project-info { min-height: 92px; padding: 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-cinematic .hero-slide, .home-cinematic .hero-slide.active { animation: none !important; transition: none !important; transform: none !important; }
}
