/* =========================================================
   v2 "WOW" LAYER: photo-led pages, motion, marquee
   Loaded after styles.css
   ========================================================= */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; }

.send-error { display: none; margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #FDE2E8; color: var(--berry-dark); font-size: .92rem; }
.send-error a { font-weight: 700; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* Straw-J wordmark (inline SVG, colour follows text colour) */
.brand .wordmark { height: 50px; width: auto; color: var(--cocoa); overflow: visible; }
body.home .site-header .brand .wordmark, .site-footer .brand .wordmark { color: var(--cream); }
.site-footer .brand .wordmark { height: 58px; }
@media (max-width: 760px) { .brand .wordmark { height: 42px; } }

/* Header over dark hero */
body.home .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-color: transparent; transition: background .3s, border-color .3s, top .3s; }
body.home .site-header .nav-links a:not(.btn), body.home .site-header .brand-name { color: var(--cream); }
body.home .site-header .brand-name small { color: rgba(255,246,236,.6); }
body.home .site-header .menu-toggle span { background: var(--cream); }
body.home .site-header.scrolled { background: rgba(36,20,13,.9); backdrop-filter: blur(12px); border-color: rgba(255,255,255,.08); }
body.home .demo-ribbon { position: fixed; z-index: 70; left: 16px; bottom: 16px; max-width: min(360px, calc(100% - 100px)); border-radius: 14px; text-align: left; padding: 10px 14px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); line-height: 1.4; }

/* Hero v2 */
.hero2 {
  position: relative; min-height: 100vh; background: var(--ink); color: var(--cream);
  display: flex; align-items: center; overflow: hidden; padding: 140px 0 120px;
}
.hero2::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(232,51,109,.55), rgba(232,51,109,0) 65%);
  animation: pulse 9s ease-in-out infinite;
}
.hero2::after {
  content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,140,40,.35), rgba(242,140,40,0) 65%);
}
@keyframes pulse { 50% { transform: scale(1.12) translate(-30px, 20px); } }
.hero2 .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; width: 100%; }
.hero2 h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .95; letter-spacing: -.04em; }
.hero2 h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero2 h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero2 h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero2 h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero2 h1 em { font-style: normal; background: linear-gradient(90deg, #FF5C8D, #FFB27A); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rise { to { transform: none; } }
.hero2 .eyebrow { color: #FF8FB1; }
.hero2 .lead { color: rgba(255,246,236,.78); margin: 26px 0 34px; opacity: 0; animation: fade .8s .5s forwards; }
.hero2 .hero-ctas { opacity: 0; animation: fade .8s .65s forwards; }
@keyframes fade { to { opacity: 1; } }
.hero2 .btn-ghost { border-color: rgba(255,246,236,.6); color: var(--cream); }
.hero2 .btn-ghost:hover { background: var(--cream); color: var(--ink); }

.collage { position: relative; height: 600px; }
.collage figure { position: absolute; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); opacity: 0; animation: pop 1s cubic-bezier(.2,.8,.2,1) forwards; }
.collage .c1 { width: 62%; height: 78%; left: 18%; top: 6%; z-index: 2; animation-delay: .2s; --r: -3deg; }
.collage .c2 { width: 40%; height: 42%; left: -4%; bottom: 0; z-index: 3; animation-delay: .45s; --r: 6deg; }
.collage .c3 { width: 38%; height: 40%; right: -4%; top: 0; z-index: 1; animation-delay: .6s; --r: 8deg; }
@keyframes pop { from { opacity: 0; transform: translateY(40px) scale(.9) rotate(0); } to { opacity: 1; transform: rotate(var(--r)); } }
.collage figure img { transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.collage figure:hover img { transform: scale(1.08); }
.float { animation: bob 6s ease-in-out infinite; height: 112%; margin-top: -6%; }
@keyframes bob { 50% { translate: 0 -14px; } }
.price-tag {
  position: absolute; z-index: 4; right: 4%; bottom: 12%; background: var(--berry); color: #fff; border-radius: 50%;
  width: 124px; height: 124px; display: grid; place-items: center; text-align: center; font-family: var(--font-head);
  font-weight: 800; line-height: 1.05; font-size: 1.05rem; box-shadow: 0 20px 40px -14px rgba(232,51,109,.8);
  opacity: 0; animation: fade .6s 1s forwards;
}
.price-tag::before { content: ""; position: absolute; inset: 7px; border: 2px dashed rgba(255,255,255,.55); border-radius: 50%; animation: spin 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: rgba(255,246,236,.6); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue i { width: 2px; height: 36px; background: linear-gradient(var(--cream), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Marquee */
.marquee-wrap { overflow: hidden; position: relative; z-index: 3; margin-top: -30px; padding: 20px 0; }
.marquee { background: var(--berry); color: #fff; padding: 18px 0; transform: rotate(-1.5deg); margin: 0 -40px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.5); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem); text-transform: uppercase; white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin-left: 48px; color: #FFD6E3; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* Stats v2 */
.stats2 { padding: 70px 0 10px; }
.stats2 .stats-grid { gap: 0; }
.stats2 .stat { padding: 10px 20px; border-left: 1.5px solid rgba(59,31,20,.12); }
.stats2 .stat:first-child { border-left: 0; }
.stats2 .stat b { color: var(--berry); font-size: clamp(2.6rem, 5vw, 4rem); }
.stats2 .stat span { color: var(--muted); font-weight: 600; }

/* Brand photo cards */
.brand-photo { position: relative; border-radius: 30px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; text-decoration: none; }
.brand-photo img { position: absolute; inset: 0; z-index: -2; transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.brand-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(20,8,4,.9) 100%); }
.brand-photo:hover img { transform: scale(1.07); }
.brand-photo .inner { padding: 40px; }
.brand-photo h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 10px; }
.brand-photo p { opacity: .88; max-width: 40ch; }
.brand-photo .tag { position: absolute; top: 26px; left: 30px; padding: 7px 14px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.brand-photo .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 8px; }
.brand-photo .go::after { content: "→"; transition: transform .3s; }
.brand-photo:hover .go::after { transform: translateX(6px); }
.brand-photo.sj .tag { background: var(--berry); }
.brand-photo.ss .tag { background: var(--sizzle); }

/* Menu carousel */
.menu-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 290px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 20px 30px; margin: 30px auto 0; max-width: var(--max); scrollbar-width: thin; scrollbar-color: var(--berry) transparent; }
.dish { scroll-snap-align: start; background: var(--white); border-radius: 26px; overflow: hidden; box-shadow: 0 14px 34px -22px rgba(59,31,20,.55); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.dish:hover { transform: translateY(-10px); box-shadow: 0 30px 50px -26px rgba(59,31,20,.6); }
.dish .ph { height: 300px; overflow: hidden; position: relative; }
.dish .ph img { transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.dish:hover .ph img { transform: scale(1.1); }
.dish .ph .chip { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); color: var(--cocoa); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 11px; border-radius: 999px; }
.dish .txt { padding: 20px 22px 24px; }
.dish h4 { font-size: 1.25rem; margin-bottom: 4px; }
.dish p { color: var(--muted); font-size: .92rem; margin: 0; }
.scroller-nav { display: flex; gap: 10px; }
.scroller-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(59,31,20,.2); background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--cocoa); transition: .2s; }
.scroller-nav button:hover { background: var(--cocoa); color: var(--cream); }

/* Parallax statement */
.statement { position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; padding: 80px 20px; }
.statement .bg { position: absolute; left: 0; right: 0; top: -15%; height: 130%; z-index: -2; will-change: transform; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(36,20,13,.5), rgba(36,20,13,.78)); }
.statement h2 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 16ch; margin: 0 auto 20px; letter-spacing: -.035em; }
.statement h2 em { font-style: normal; color: #FF8FB1; }
.statement p { font-size: 1.15rem; opacity: .85; max-width: 52ch; margin: 0 auto; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; margin-top: 44px; }
.gallery figure { margin: 0; border-radius: 20px; overflow: hidden; position: relative; }
.gallery figure img { transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--cocoa); font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 999px; opacity: 0; transform: translateY(8px); transition: .3s; }
.gallery figure:hover figcaption { opacity: 1; transform: none; }

/* Franchise CTA with photo */
.fr-photo { position: relative; border-radius: 34px; overflow: hidden; color: #fff; isolation: isolate; padding: 90px 64px; }
.fr-photo > img { position: absolute; inset: 0; z-index: -2; }
.fr-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(181,18,63,.97) 0%, rgba(232,51,109,.86) 45%, rgba(232,51,109,.1) 100%); }
.fr-photo h2 { max-width: 15ch; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.fr-photo .lead { color: rgba(255,255,255,.9); max-width: 46ch; }
.fr-photo .eyebrow { color: #FFD6E3; }
.fr-photo .hero-ctas { margin-top: 26px; }
.fr-photo .btn-ghost { border-color: #fff; color: #fff; }
.fr-photo .btn-ghost:hover { background: #fff; color: var(--berry-dark); }

.outlet .area-no { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: rgba(232,51,109,.22); line-height: 1; }

/* Franchise page hero with photo */
.fr-hero.with-photo { min-height: 86vh; display: flex; align-items: center; isolation: isolate; padding-top: 150px; }
.fr-hero.with-photo > img { position: absolute; inset: 0; z-index: -2; }
.fr-hero.with-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36,20,13,.97) 25%, rgba(36,20,13,.35)); }
.fr-hero.with-photo::before { z-index: 0; opacity: .7; }
.fr-hero.with-photo .wrap { width: 100%; z-index: 1; }
.fr-hero.with-photo h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); line-height: .98; letter-spacing: -.04em; max-width: 14ch; }
.why .ph { height: 170px; margin: -30px -30px 22px; overflow: hidden; }
.why .ph img { transition: transform 1s; }
.why:hover .ph img { transform: scale(1.08); }
.why { overflow: hidden; }

@media (max-width: 980px) {
  .hero2 .wrap { grid-template-columns: 1fr; }
  .collage { height: 460px; max-width: 520px; width: 100%; margin: 10px auto 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .stats2 .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
  body.home .site-header .nav-links { background: var(--ink); }
  body.home .site-header .nav-links li a:not(.btn) { border-color: rgba(255,255,255,.1); }
  .hero2 { padding: 120px 0 90px; }
  .collage { height: 360px; }
  .price-tag { width: 92px; height: 92px; font-size: .82rem; }
  .brand-photo { min-height: 420px; }
  .brand-photo .inner { padding: 28px; }
  .fr-photo { padding: 56px 26px; }
  .fr-photo::before { background: linear-gradient(180deg, rgba(181,18,63,.95), rgba(232,51,109,.8)); }
  .statement { min-height: 60vh; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .stats2 .stat { border-left: 0; }
  .scroller-nav { display: none; }
  body.home .demo-ribbon { font-size: .7rem; padding: 7px 10px; max-width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .hero2 .lead, .hero2 .hero-ctas, .collage figure, .price-tag { opacity: 1 !important; transform: none !important; }
  .hero2 h1 .line > span { transform: none; }
}
