﻿/* Click-to-play showcase; reserved frames keep layout stable before media loads. */
.home-page .home-videos { padding:72px 28px 80px; background:#f2ece3; }
.home-page .home-videos-inner { max-width:1120px; margin:0 auto; }
.home-page .home-videos-heading { margin-bottom:36px; text-align:center; }
.home-page .home-videos-heading .section-badge { margin-bottom:16px; color:#806039; border-color:#c4a373; }
.home-page .home-videos-heading h2 { margin:0; color:#806039; font-family:var(--font-heading); font-size:clamp(28px,3.4vw,44px); font-weight:700; line-height:1.2; letter-spacing:.025em; }
.home-page .home-videos-heading::after { content:""; display:block; width:56px; height:2px; margin:22px auto 0; background:#b89359; }
.home-page .home-videos-grid { display:grid; grid-template-columns:minmax(0,.62fr) minmax(0,1fr); gap:22px; max-width:980px; margin:0 auto; direction:ltr; }
.home-page .home-video-card { position:relative; min-width:0; margin:0; overflow:hidden; border:1px solid #cfb994; border-radius:12px; background:linear-gradient(135deg,#e7ddce,#d9cab5); box-shadow:0 8px 24px rgba(81,60,32,.08); isolation:isolate; }
.home-page .home-video-portrait { aspect-ratio:9/16; }
.home-page .home-videos-landscape { display:grid; grid-template-rows:repeat(3,minmax(0,1fr)); gap:18px; min-width:0; min-height:0; }
.home-page .home-video-cover, .home-page .home-video-card video { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.home-page .home-video-card video { background:#201b15; }
.home-page .home-video-card figcaption { position:absolute; left:0; right:0; bottom:0; padding:30px 18px 15px; display:flex; align-items:center; gap:12px; pointer-events:none; z-index:2; background:linear-gradient(transparent,rgba(32,25,17,.8)); }
.home-page .home-video-number { display:grid; place-items:center; width:28px; height:28px; flex:0 0 28px; border:1px solid rgba(234,210,173,.6); border-radius:50%; color:#f0d8af; font:11px var(--font-heading); }
.home-page .home-video-label { color:#fff7e9; font-family:var(--font-heading); font-size:15px; line-height:1.35; letter-spacing:.055em; text-shadow:0 1px 3px rgba(0,0,0,.25); }
.home-page .home-video-open { position:absolute; inset:0; display:grid; place-items:center; border:0; background:linear-gradient(rgba(25,19,12,.04),rgba(25,19,12,.1)); cursor:pointer; z-index:1; }
.home-page .home-video-open span { display:grid; place-items:center; width:66px; height:66px; padding-left:4px; border:1px solid rgba(255,246,229,.9); border-radius:50%; background:rgba(255,250,242,.93); color:#866238; font-size:24px; box-shadow:0 0 0 7px rgba(255,248,235,.15),0 6px 22px rgba(34,23,10,.2); transition:transform .2s,background .2s,box-shadow .2s; }
.home-page .home-video-open:focus-visible { outline:3px solid #c8a268; outline-offset:-5px; border-radius:11px; }
.home-page .home-video-open[hidden], .home-page .home-video-error[hidden] { display:none; }
.home-page .home-video-close { position:absolute; top:12px; right:12px; z-index:3; display:grid; place-items:center; width:44px; height:44px; border:1px solid rgba(255,242,218,.8); border-radius:50%; background:rgba(255,250,243,.94); color:#806039; font-size:26px; cursor:pointer; box-shadow:0 3px 12px rgba(0,0,0,.16); }
.home-page .home-video-close:focus-visible,.home-page .home-video-error:focus-visible { outline:3px solid #c8a268; outline-offset:3px; }
.home-page .home-video-card.is-playing figcaption { display:none; }
.home-page .home-video-error { position:absolute; inset:35% 12%; z-index:4; border:1px solid #c4a373; border-radius:8px; background:#fffaf3; color:#806039; cursor:pointer; padding:16px; box-shadow:0 6px 24px rgba(0,0,0,.15); }
.home-page .home-video-card.has-video-error video { visibility:hidden; }
@media (hover:hover) and (pointer:fine) {
 .home-page .home-video-open:hover span { transform:scale(1.08); background:#fffaf2; box-shadow:0 0 0 10px rgba(255,248,235,.2),0 8px 26px rgba(34,23,10,.25); }
}
@media (max-width:767px) {
 .home-page .home-videos { padding:44px 16px 52px; }
 .home-page .home-videos-heading { margin-bottom:28px; }
 .home-page .home-videos-grid { grid-template-columns:minmax(0,1fr); gap:18px; max-width:480px; }
 .home-page .home-video-portrait { width:min(100%,300px); justify-self:center; }
 .home-page .home-videos-landscape { grid-template-rows:none; gap:18px; }
 .home-page .home-videos-landscape .home-video-card { aspect-ratio:16/9; }
 .home-page .home-video-card figcaption { padding:26px 14px 12px; }
 .home-page .home-video-label { font-size:14px; }
}
@media (prefers-reduced-motion:reduce) { .home-page .home-video-open span { transition:none; } }
