/* North River Provisions: the Coming Soon page. The same cream halves, logo and knife as the home
 * page opening (opening.css). The halves part just far enough to show the red band, and stay there. */
*{ box-sizing:border-box }
:root{ --paper:#F6EDDA; --navy:#012340; --red:#AB011B; --ink:#1E1A15; --b:clamp(92px,13vw,168px) }
html,body{ margin:0; height:100% }
body{ background:var(--paper) url(/assets/img/grain.png); color:var(--ink); font-family:"Libre Franklin",Arial,sans-serif }
img{ display:block; width:100%; height:auto }
.cs{ position:relative; height:100vh; height:100svh; min-height:360px; overflow:hidden }
.cs-band{ position:absolute; left:0; right:0; top:54%; height:var(--b); margin-top:calc(var(--b) / -2); background:var(--red); display:flex; align-items:center; justify-content:center }
h1{ margin:0; font:400 clamp(44px,7.6vw,100px)/1 "Young Serif",Georgia,serif; letter-spacing:-.01em; color:var(--paper); white-space:nowrap; padding-bottom:.08em }
.cs-top,.cs-bot{ position:absolute; left:0; right:0 }
.cs-top{ top:0; height:54%; z-index:2; display:flex; align-items:flex-end; justify-content:center; padding:0 24px clamp(40px,6vw,64px); background:var(--paper) url(/assets/img/grain.png); transform:translateY(calc(var(--b) / -2)); box-shadow:0 12px 30px -10px rgba(1,10,20,.55) }
.cs-bot{ top:54%; bottom:0; z-index:1; display:flex; flex-direction:column; align-items:center; text-align:center; padding:calc(var(--b) / 2 + clamp(22px,4vw,44px)) 24px 20px }
.cs-bot::before{ content:""; position:absolute; inset:0 0 -100px; z-index:-1; background:var(--paper) url(/assets/img/grain.png); transform:translateY(calc(var(--b) / 2)); box-shadow:0 -12px 30px -10px rgba(1,10,20,.55) }
.cs-logo{ position:relative; width:min(100%,600px) }
.cs-knife{ position:absolute; inset:0; clip-path:polygon(85.3% 81%,100% 81%,100% 100%,85.3% 100%) }
.cs-art{ clip-path:polygon(0 0,100% 0,100% 81%,85.3% 81%,85.3% 100%,0 100%) }
.cs-line{ margin:0; max-width:30em; font-size:clamp(17px,1.7vw,21px); line-height:1.5; text-wrap:pretty }
.cs-foot{ width:min(100%,1180px); margin-top:auto; padding-top:12px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 20px; font-size:14.5px }
.cs-foot a{ color:var(--navy); text-underline-offset:3px }
.cs-foot a:hover{ color:var(--red) }
:focus-visible{ outline:2px solid var(--red); outline-offset:3px }
.cs-blade{ position:absolute; left:0; top:0; z-index:3; width:clamp(96px,14vw,170px); aspect-ratio:210/54; transform-origin:0 0; visibility:hidden; pointer-events:none }
.cs-blade img{ position:relative; z-index:1; height:100% }
.cs-trail{ position:absolute; left:45%; top:62%; width:300vw; height:2px; margin-top:-1px; background:var(--navy); opacity:0 }

/* before the cut: the halves meet and the words wait */
.closed .cs-top{ transform:none; box-shadow:none }
.closed .cs-bot::before{ transform:none; box-shadow:none }
.closed .cs-line, .closed .cs-foot{ opacity:0 }
.cutting .cs-knife{ opacity:0 }
.parting .cs-top, .parting .cs-bot::before{ transition:transform 1s cubic-bezier(.7,0,.2,1), box-shadow 1s }
.parting .cs-knife{ transition:opacity .7s ease-out .5s }
.parting .cs-line, .parting .cs-foot{ transition:opacity .8s ease-out .7s }

@media(max-width:600px){ .cs-foot{ flex-direction:column; align-items:center } }
@media(max-height:480px){ :root{ --b:72px } h1{ font-size:44px } .cs-logo{ width:min(60vw,340px) } .cs-top{ padding-bottom:20px } .cs-bot{ padding-top:calc(var(--b) / 2 + 14px); padding-bottom:10px } .cs-line{ font-size:16px } }
