@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');
:root{--cream:#f7f2e8;--ink:#302a23;--orange:#b94327;--line:#d9d0bf;--serif:'DM Serif Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);overflow-x:hidden}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid var(--orange);outline-offset:6px}::selection{background:var(--orange);color:var(--cream)}
.masthead{height:120px;padding:30px 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:2}.wordmark{font-size:30px;letter-spacing:-1.5px;font-weight:700;display:flex;align-items:center;position:relative;gap:6px}.logo-ring{width:22px;height:22px;border:7px solid var(--orange);border-radius:50%}.brand-sub{position:absolute;left:0;top:40px;font-size:8px;letter-spacing:1.8px;white-space:nowrap;font-weight:600}.header-note,.header-link{font-size:12px;letter-spacing:1.7px;font-weight:700;display:flex;align-items:center;gap:10px}.header-link span{font-size:24px}.status-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:var(--orange)}
.hero{position:relative;padding-top:45px;text-align:center}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;line-height:1.5;margin:0}.mini-star{color:var(--orange);font-size:18px;vertical-align:middle;margin-right:7px}h1,h2,h3{font-family:var(--serif);font-weight:400;margin:0}h1{font-size:clamp(100px,11.8vw,180px);line-height:.82;letter-spacing:-7px;color:var(--orange);margin-top:31px}h1 em{font-weight:400}.hero-copy{font-size:13px;line-height:1.8;margin:31px auto 0;max-width:500px}.seal{width:135px;height:135px;border-radius:50%;border:1px solid var(--orange);outline:1px solid var(--orange);outline-offset:-7px;background:var(--cream);color:var(--orange);position:absolute;right:9%;top:220px;transform:rotate(12deg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}.seal span{font-size:7px;letter-spacing:1.5px}.seal strong{font-size:21px;line-height:.95;letter-spacing:-.8px}.video-stage{position:relative;width:100%;height:clamp(280px,34vw,500px);margin-top:-5px;overflow:hidden}.video-stage video{width:100%;height:100%;object-fit:cover;display:block}.motion-control{position:absolute;bottom:10px;right:5%;border:0;border-radius:30px;padding:14px 15px;min-height:44px;background:none;color:var(--ink);isolation:isolate;font-size:12px;display:flex;gap:8px;align-items:center}.motion-control::before{content:"";position:absolute;inset:4px 0;z-index:-1;border:1px solid var(--line);border-radius:30px;background:var(--cream)}.motion-control:hover::before{border-color:var(--orange)}.motion-control:focus-visible{outline:none}.motion-control:focus-visible::before{outline:3px solid var(--orange);outline-offset:4px}.hero-bottom{margin:0 5%;padding:19px 0 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:700;letter-spacing:1.4px}.hero-bottom a{display:flex;align-items:center;gap:16px}.hero-bottom a span{font-size:19px;font-weight:400}
.ticker{background:var(--orange);color:var(--cream);overflow:hidden;padding:19px 0}.ticker>div{width:max-content;font-size:12px;letter-spacing:3px;font-weight:600;white-space:nowrap;animation:ticker 35s linear infinite}.ticker i{font-size:20px;font-style:normal;margin:0 34px;vertical-align:middle}@keyframes ticker{to{transform:translateX(-50%)}}
.flavor-section{height:310vh;position:relative;scroll-margin-top:0}.flavor-sticky{position:sticky;top:0;height:100vh;min-height:650px;padding-top:40px;overflow:hidden}.section-top{display:flex;align-items:center;justify-content:space-between;margin:0 5%}.counter{font-size:12px;letter-spacing:2px}h2{font-size:clamp(55px,6.5vw,100px);line-height:1;letter-spacing:-3px}.flavor-sticky h2{margin:22px 5% 0;white-space:nowrap}.flavor-sticky h2 em{color:var(--orange)}.gallery-window{width:100%;height:calc(100vh - 275px);min-height:375px;max-height:710px;margin-top:15px;overflow:hidden}.gallery{display:flex;gap:3vw;padding-left:8vw;will-change:transform;width:max-content;height:100%;align-items:center}.bagel-card{width:45vw;max-width:650px;flex:0 0 auto;position:relative;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.bagel-card>p{font-size:12px;font-weight:600;letter-spacing:1.7px;text-transform:uppercase;position:absolute;top:2%;width:100%;text-align:center}.bagel-card>p span{font-size:12px;color:var(--orange);margin-right:10px}.bagel-photo{width:100%;aspect-ratio:1;max-height:calc(100% - 90px);background-repeat:no-repeat;transform:rotate(var(--rotation,0deg));will-change:transform}.bagel-card h3{font-size:clamp(40px,4.2vw,66px);line-height:1;position:absolute;bottom:0;letter-spacing:-2px}.gallery-bottom{margin:24px 5% 0;padding-top:17px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:24px}.gallery-bottom p{margin:0;font-size:12px;font-weight:600;letter-spacing:1.4px}.progress{width:200px;height:2px;background:var(--line)}.progress span{display:block;height:100%;width:20%;background:var(--orange);transform-origin:left center}
.closing{background:var(--orange);color:var(--cream);text-align:center;padding:80px 24px 62px;position:relative}.closing-star{display:block;font-size:70px;line-height:1;margin-bottom:32px}.closing .eyebrow{font-size:12px}.closing h2{margin:26px 0 24px}.closing h2 em{color:#efc083}.closing>p:not(.eyebrow){font-size:13px;line-height:1.9}.closing .little-joke{font-family:var(--serif);font-style:italic;font-size:19px!important;line-height:1.35!important;margin-top:50px;opacity:.8}footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:32px 5%;gap:20px;font-size:12px;letter-spacing:1.5px;font-weight:600}.footer-brand{font-size:26px;letter-spacing:-1px;font-weight:700}footer small{width:100%;font-size:12px;letter-spacing:0;font-weight:400;opacity:.65;border-top:1px solid var(--line);padding-top:19px}
body.motion-paused .ticker>div{animation-play-state:paused}
.bagel-photo{background-size:contain;background-position:center}
.bagel-card:nth-child(1) .bagel-photo{background-image:url('/media/plain.png');background-image:image-set(url('/media/plain.avif') type('image/avif'),url('/media/plain.webp') type('image/webp'),url('/media/plain.png') type('image/png'))}
.bagel-card:nth-child(2) .bagel-photo{background-image:url('/media/sesame.png');background-image:image-set(url('/media/sesame.avif') type('image/avif'),url('/media/sesame.webp') type('image/webp'),url('/media/sesame.png') type('image/png'))}
.bagel-card:nth-child(3) .bagel-photo{background-image:url('/media/everything.png');background-image:image-set(url('/media/everything.avif') type('image/avif'),url('/media/everything.webp') type('image/webp'),url('/media/everything.png') type('image/png'))}
.bagel-card:nth-child(4) .bagel-photo{background-image:url('/media/poppy.png');background-image:image-set(url('/media/poppy.avif') type('image/avif'),url('/media/poppy.webp') type('image/webp'),url('/media/poppy.png') type('image/png'))}
.bagel-card:nth-child(5) .bagel-photo{background-image:url('/media/sea-salt.png');background-image:image-set(url('/media/sea-salt.avif') type('image/avif'),url('/media/sea-salt.webp') type('image/webp'),url('/media/sea-salt.png') type('image/png'))}
@media(min-width:1700px){.video-stage{height:550px}.hero{padding-top:70px}.seal{right:15%}}
@media(max-width:800px){.masthead{height:96px;padding:24px 6%}.wordmark{font-size:25px}.brand-sub{top:33px;font-size:6px;letter-spacing:1.4px}.logo-ring{width:19px;height:19px;border-width:6px}.header-note{font-size:12px;letter-spacing:1px}.header-link{display:none}.hero{padding-top:35px}.hero .eyebrow{font-size:12px;letter-spacing:1.2px;padding:0 16px}h1{font-size:clamp(96px,17vw,140px);letter-spacing:-5px;line-height:.87;margin-top:30px}.seal{width:90px;height:90px;right:4%;top:235px;gap:6px;transform:rotate(13deg)}.seal span{font-size:5px;letter-spacing:.7px}.seal strong{font-size:15px}.hero-copy{font-size:12px;max-width:340px;padding:0 24px;margin-top:26px}.hero-copy br{display:none}.video-stage{height:330px;margin-top:20px}.video-stage video{width:200%;max-width:none;position:relative;left:-50%;object-fit:cover}.hero-bottom{font-size:12px;letter-spacing:1px;margin:0 6%;flex-direction:column;gap:2px;padding:14px 0 18px}.hero-bottom>span:last-child{display:none}.hero-bottom a{gap:8px}.motion-control{right:6%;font-size:12px;padding:14px 12px}.motion-control::before{inset:6px 0}.ticker{padding:15px 0}.ticker>div{font-size:12px;letter-spacing:2px}.ticker i{margin:0 25px}.flavor-sticky{min-height:580px;padding-top:35px}.flavor-sticky h2{white-space:normal;font-size:60px;letter-spacing:-2.8px;margin:24px 6% 0;max-width:400px}.flavor-sticky h2 em{display:block}.section-top{margin:0 6%}.section-top{gap:12px}.section-top .eyebrow{font-size:12px;letter-spacing:1px}.counter{font-size:12px;white-space:nowrap}.gallery-window{height:calc(100svh - 370px);min-height:300px;margin-top:16px}.gallery{padding-left:10vw;gap:8vw}.bagel-card{width:80vw}.bagel-card p{font-size:12px;top:0}.bagel-photo{max-height:calc(100% - 75px)}.bagel-card h3{font-size:44px}.gallery-bottom{margin:22px 6% 0;gap:16px}.gallery-bottom{flex-wrap:wrap;row-gap:10px}.gallery-bottom p{font-size:12px;letter-spacing:.8px}.gallery-bottom p:first-child{width:100%}.progress{width:auto;flex:1}.closing{padding:60px 24px 48px}.closing h2{font-size:58px;letter-spacing:-2px}.closing>p:not(.eyebrow){font-size:12px}.closing-star{font-size:55px}footer{padding:27px 6%;font-size:12px}footer>span{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ticker>div{animation:none}.flavor-section{height:auto}.flavor-sticky{position:relative;height:auto;min-height:0;padding-bottom:35px}.gallery-window{height:auto;max-height:none;overflow-x:auto}.gallery{transform:none!important;padding:0 6%;gap:20px}.bagel-card{height:450px;width:min(80vw,460px)}.bagel-photo{transform:none!important}.gallery-bottom p:last-child{display:none}.progress{display:none}}
@media(max-width:800px){.seal{top:335px}}

/* ---- Tap targets: 44px hit areas without moving anything ---- */
.hero-bottom a{padding:10px 0;margin:-10px 0}
footer a,.header-link{padding:15px 0;margin:-15px 0}
.footer-brand{padding:5px 0;margin:-5px 0}

/* ---- Flavor photos load only when the section is near (see app.js) ---- */
.js .flavor-section:not(.is-near) .bagel-card .bagel-photo{background-image:none}

/* ---- Mobile hero: dedicated 720px video, sized so bagels aren't cropped ---- */
@media(max-width:600px){
  .video-stage{height:max(280px,min(88vw,528px));background:url('/media/bagels-poster-mobile.jpg') center/cover no-repeat}
  .video-stage video{width:100%;left:0}
}
@media(min-width:601px){.video-stage{background:url('/media/bagels-poster.jpg') center/cover no-repeat}}

/* ---- Mobile flavor carousel: one centred bagel per step ---- */
@media(max-width:599px){
  .gallery{padding-left:0;gap:0}
  .bagel-card{width:100vw}
  .bagel-photo{width:min(84vw,100%)}
  .bagel-card>p,.bagel-card h3{left:0;right:0;text-align:center;white-space:nowrap}
}

/* ---- Closing: location + email signup ---- */
.closing-place{font-size:12px!important;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;margin:22px 0 0;line-height:1.5!important}
.closing a:focus-visible,.closing button:focus-visible,.closing input:focus-visible{outline:3px solid var(--cream);outline-offset:3px}
.signup{max-width:720px;margin:28px auto 0;text-align:left}
.signup-fields{display:grid;grid-template-columns:1fr 1.4fr auto;gap:14px;align-items:start}
.field label{display:block;font-size:12px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:8px}
.field .optional{font-weight:500;letter-spacing:.4px;text-transform:none;opacity:.9}
.field input{width:100%;min-height:48px;border:1px solid var(--cream);border-radius:28px;background:var(--cream);color:var(--ink);font:500 16px var(--sans);padding:0 20px}
.field input[aria-invalid="true"]{box-shadow:inset 0 0 0 2px var(--orange)}
.field-error{margin:8px 4px 0;font-size:13px;font-weight:600;line-height:1.4}
.field-error::before{content:"! ";font-weight:700}
.signup-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.signup-button{align-self:end;min-height:48px;border:0;border-radius:28px;background:var(--ink);color:var(--cream);font-size:14px;font-weight:700;letter-spacing:.3px;padding:0 24px;white-space:nowrap}
.signup-button:hover:not(:disabled){background:#1d1915}
.signup-button:disabled{opacity:.75;cursor:progress}
.signup-status{margin:16px 0 0;font-size:14px;line-height:1.5;text-align:center;min-height:21px}
.signup-status:empty{display:none}.signup-status:focus{outline:none}
.signup-status.is-error{font-weight:600}
.signup.is-done .signup-fields{display:none}
.signup.is-done .signup-status{font-size:16px;margin-top:4px}
.signup.is-done .signup-status strong{display:block;font-family:var(--serif);font-weight:400;font-size:34px;line-height:1.1;margin-bottom:6px}
@media(max-width:800px){
  .signup-fields{grid-template-columns:1fr}
  .signup-button{width:100%}
}

/* ---- Reduced motion on phones: manual swipe with snap ---- */
@media(prefers-reduced-motion:reduce) and (max-width:599px){
  .gallery-window{scroll-snap-type:x mandatory}
  .gallery{padding:0;gap:0}
  .bagel-card{width:100vw;scroll-snap-align:center}
}

/* NC Bagel brand artwork shared with the dev site. */
.masthead{padding-top:16px;padding-bottom:16px}
.wordmark{flex-shrink:0}
.wordmark img{display:block;width:88px;height:88px;object-fit:contain}
.footer-brand img{display:block;width:80px;height:80px;object-fit:contain}
@media(max-width:800px){.masthead{padding-top:12px;padding-bottom:12px}.wordmark img{width:72px;height:72px}}
