/* ===== Latest feature page: Holiday calendar & load capacity ===== */
.lf-hero{padding:32px 0 40px; background:linear-gradient(180deg,var(--blue-light) 0%, #fff 100%); overflow:hidden;}
.lf-hero .wrap{display:grid; grid-template-columns:1fr 1.05fr; gap:36px; align-items:center;}
.lf-badge{display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:6px 14px 6px 8px; font-size:13.5px; font-weight:600; color:var(--ink-soft); box-shadow:var(--shadow-sm);}
.lf-badge b{background:var(--coral); color:#fff; border-radius:999px; padding:2px 10px; font-size:12.5px;}
.lf-hero h1{font-size:clamp(28px,3.4vw,42px); line-height:1.1; margin:12px 0 10px;}
.lf-hero p.lede{font-size:16px; color:var(--ink-soft); max-width:46ch; margin:0 0 20px;}
.lf-ctas{display:flex; gap:10px; flex-wrap:wrap;}

/* live calendar (hero visual) */
.cal{background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:14px 16px 12px; position:relative;}
.cal::before{content:""; position:absolute; top:0; left:0; right:0; height:6px; border-radius:var(--radius) var(--radius) 0 0; background:linear-gradient(90deg,var(--coral),var(--yellow),var(--green),var(--blue));}
.cal-head{display:flex; justify-content:space-between; align-items:baseline; margin:2px 0 8px;}
.cal-head h2{font-size:18px;}
.cal-head span{font-size:12.5px; color:var(--ink-soft);}
.cal-grid{display:grid; grid-template-columns:repeat(7,1fr); gap:4px;}
.cal-dow{font-size:11.5px; font-weight:700; color:var(--ink-soft); text-align:center; padding-bottom:4px;}
.cal-day{position:relative; aspect-ratio:1/0.8; border-radius:6px; background:var(--tint); padding:5px 6px; font-size:12.5px; font-weight:600; display:flex; flex-direction:column; justify-content:space-between; min-width:0; overflow:hidden;}
.cal-day.blank{background:transparent;}
.cal-day i{display:block; height:4px; border-radius:2px; background:var(--line); overflow:hidden;}
.cal-day i::after{content:""; display:block; height:100%; width:var(--f,0%); background:var(--green); border-radius:2px;}
.cal-day.busy i::after{background:var(--yellow-deep);}
.cal-day.full{background:#FFF1F3;}
.cal-day.full i::after{background:var(--coral);}
.cal-day.off{background:repeating-linear-gradient(135deg,#FFE3E8 0 5px,#FFF1F3 5px 10px); color:var(--coral-deep);}
.cal-day.off small{font-size:9.5px; line-height:1.1; font-weight:700;}
.cal-day.today{outline:2px solid var(--blue); outline-offset:-2px;}
.cal-legend{display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:10px; padding-top:9px; border-top:1px solid var(--line); font-size:12px; color:var(--ink-soft);}
.cal-legend span{display:inline-flex; align-items:center; gap:7px;}
.cal-legend em{width:12px; height:12px; border-radius:3px; display:inline-block;}
.lg-open{background:var(--green);} .lg-busy{background:var(--yellow-deep);} .lg-full{background:var(--coral);}
.lg-off{background:repeating-linear-gradient(135deg,#FFB3C0 0 3px,#FFE3E8 3px 6px);}

/* video */
.lf-video{padding:32px 0 8px;}
.lf-section-head{max-width:60ch; margin-bottom:18px;}
.lf-section-head h2{font-size:clamp(22px,2.6vw,30px); margin:6px 0 6px;}
.lf-section-head p{color:var(--ink-soft); margin:0; font-size:15px;}
.lf-player{position:relative; display:block; width:100%; max-width:760px; margin:0 auto; border:0; padding:0; cursor:pointer; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); background:var(--ink); aspect-ratio:16/9;}
.lf-player img{width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease), opacity .3s;}
.lf-player:hover img{transform:scale(1.03);}
.lf-player::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(14,33,61,0) 55%,rgba(14,33,61,.7));}
.lf-play{position:absolute; z-index:2; left:50%; top:50%; width:68px; height:68px; margin:-34px 0 0 -34px; border-radius:50%; background:var(--coral); color:#fff; display:grid; place-items:center; box-shadow:0 14px 30px -8px rgba(226,61,84,.7); transition:transform .25s var(--ease);}
.lf-play svg{width:34px; height:34px; margin-left:4px;}
.lf-player:hover .lf-play{transform:scale(1.08);}
.lf-cap{position:absolute; z-index:2; left:24px; bottom:20px; right:24px; color:#fff; text-align:left; font-family:'Fraunces',serif; font-weight:650; font-size:clamp(17px,2.2vw,24px);}
.lf-cap small{display:block; font-family:'Public Sans',sans-serif; font-weight:500; font-size:13.5px; opacity:.85; margin-top:2px;}

/* alternating feature rows */
.lf-rows{padding:16px 0 8px;}
.lf-row{display:grid; grid-template-columns:1fr 1.15fr; gap:32px; align-items:center; padding:22px 0;}
.lf-row.flip{grid-template-columns:1.15fr 1fr;}
.lf-row.flip .lf-copy{order:2;}
.lf-copy h3{font-size:clamp(20px,2.2vw,26px); line-height:1.15; margin-bottom:8px;}
.lf-copy p{color:var(--ink-soft); font-size:15px; margin:0 0 12px; max-width:46ch;}
.lf-copy ul{list-style:none; margin:0; padding:0; display:grid; gap:6px;}
.lf-copy li{display:flex; gap:8px; font-size:14px; font-weight:500;}
.lf-copy li::before{content:""; flex:none; width:18px; height:18px; margin-top:3px; border-radius:50%; background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;}

/* screenshot frame */
.shot{margin:0; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden;}
.shot-bar{display:flex; gap:5px; padding:8px 12px; background:var(--tint); border-bottom:1px solid var(--line);}
.shot-bar span{width:10px; height:10px; border-radius:50%; background:var(--coral);}
.shot-bar span:nth-child(2){background:var(--yellow);} .shot-bar span:nth-child(3){background:var(--green);}
.shot-body{position:relative; aspect-ratio:16/9; background:var(--tint);}
.shot-body img{width:100%; height:100%; object-fit:cover; object-position:top left;}
.shot.missing img,.tile.missing img{display:none;}
.shot.missing .shot-body::after,.tile.missing::after{content:"Add screenshot: " attr(data-file); position:absolute; inset:14px; display:grid; place-items:center; text-align:center; padding:12px; border:2px dashed #B9CCE0; border-radius:10px; color:var(--ink-soft); font-size:13.5px; font-weight:600;}

/* gallery */
.lf-gallery{padding:32px 0 36px; background:var(--tint);}
.g-grid{display:grid; grid-template-columns:repeat(6,1fr); grid-auto-rows:115px; gap:12px;}
.tile{position:relative; border:0; padding:0; cursor:zoom-in; border-radius:var(--radius-sm); overflow:hidden; background:#fff; box-shadow:var(--shadow-sm); grid-column:span 2; text-align:left; font:inherit;}
.tile.wide{grid-column:span 3; grid-row:span 2;}
.tile.tall{grid-row:span 2;}
.tile img{width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease);}
.tile:hover img{transform:scale(1.05);}
.tile figcaption,.tile .cap{position:absolute; left:0; right:0; bottom:0; padding:30px 14px 11px; color:#fff; font-size:13.5px; font-weight:600; background:linear-gradient(180deg,transparent,rgba(14,33,61,.8)); pointer-events:none;}
.tile.missing{background:#fff;}
.tile.missing .cap{color:var(--ink-soft); background:none; padding:0 14px 10px;}

/* lightbox */
.lb{position:fixed; inset:0; z-index:9999; background:rgba(8,16,32,.88); display:none; align-items:center; justify-content:center; padding:24px; flex-direction:column; gap:14px;}
.lb.open{display:flex;}
.lb img{max-width:min(1100px,100%); max-height:78vh; border-radius:10px; background:#fff;}
.lb p{color:#fff; margin:0; font-weight:600;}
.lb button{position:absolute; top:16px; right:20px; width:44px; height:44px; border-radius:50%; border:0; background:#fff; color:var(--ink); font-size:26px; cursor:pointer;}

/* setup steps */
.lf-steps{padding:32px 0 36px;}
.steps{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:12px; counter-reset:s;}
.steps li{counter-increment:s; background:var(--tint); border-radius:var(--radius); padding:16px 16px 18px;}
.steps li::before{content:counter(s); display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--blue); color:#fff; font-weight:700; font-size:14px; margin-bottom:10px;}
.steps h4{font-family:'Public Sans',sans-serif; font-size:15px; font-weight:700; margin-bottom:6px;}
.steps p{margin:0; font-size:13.5px; color:var(--ink-soft);}

@media (max-width:940px){
  .lf-hero .wrap,.lf-row,.lf-row.flip{grid-template-columns:1fr; gap:16px;}
  .lf-row.flip .lf-copy{order:0;}
  .steps{grid-template-columns:1fr 1fr;}
  .g-grid{grid-template-columns:repeat(4,1fr);}
  .tile{grid-column:span 2;} .tile.wide{grid-column:span 4;}
}
@media (max-width:680px){
  .lf-hero{padding:24px 0 28px;} .lf-video,.lf-gallery,.lf-steps{padding:24px 0;}
  .lf-row{padding:14px 0;}
  .steps{grid-template-columns:1fr;}
  .g-grid{grid-template-columns:1fr 1fr; grid-auto-rows:105px;}
  .tile,.tile.wide{grid-column:span 1; grid-row:span 1;} .tile.wide{grid-column:span 2;}
  .lf-play{width:56px; height:56px; margin:-28px 0 0 -28px;}
  .cal{padding:12px 10px;} .cal-day{padding:3px 4px; font-size:11.5px;} .cal-day.off small{display:none;}
}

/* compact CTA on this page */
.lf-steps + .cta-band{padding:36px 0;}
.lf-steps + .cta-band h2{font-size:clamp(22px,2.6vw,28px); max-width:none; margin-bottom:8px;}
.lf-steps + .cta-band p{margin-bottom:16px;}
.lf-steps + .cta-band .btn{padding:11px 22px; font-size:14.5px;}