/* ═══════ icyvibes — design system (THE APP IS THE SOURCE OF TRUTH) ═══════ */
:root {
  /* app brand palette — matches lib/colors/colors.dart exactly */
  --pink: #F06CA8;        /* AppColors.icyPink */
  --pink-hot: #e75b9d;    /* pressed/hover pink */
  --lavender: #B98FD9;    /* AppColors.icyPurple */
  --cyan: #45C4F1;        /* AppColors.icyBlue */
  --mint: #8edcf7;        /* light icy blue (4th card tint) */
  --choco: #3c2f4d;       /* deep purple for dark surfaces */
  --cream: #fdfbff;       /* near-white page bg (app body is white) */
  --ink: #262230;         /* body text */
  /* THE signature gradient: pink -> purple -> icy blue, like the app bars */
  --grad: linear-gradient(90deg, var(--pink) 0%, var(--lavender) 50%, var(--cyan) 100%);
  /* soft wash: icyPinkSoft -> icyPurpleSoft -> icyBlueSoft */
  --grad-soft: linear-gradient(120deg, #FDE7F1 0%, #F3EAFB 50%, #E3F6FD 100%);
  --font-display: "Baloo 2", sans-serif;
  --font-accent: "Josefin Sans", sans-serif;
  --font-body: "Nunito", sans-serif;
  --radius: 26px;
  --shadow: 0 18px 50px -18px rgba(185, 143, 217, .45); /* icyPurple-tinted, like the app */
}

/* ═══════════════ the drip (signature app element) ═══════════════ */
/* Matches the app's DripEdge exactly: the gradient flows across the full
   width (pink→purple→blue) and the drip SHAPE is a repeating mask, so the
   colour is continuous like the app rather than resetting per tile. */
.drip, .page-hero::after {
  content: ""; display: block; width: 100%; aspect-ratio: 1920 / 116;
  background: url("../assets/brand/drip.png") 0 0 / 100% 100% no-repeat, var(--grad);
  pointer-events: none;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* gradient cone mark (logo icon via mask) */
.cone-mark {
  display: inline-block; width: 30px; height: 30px;
  background: var(--grad);
  -webkit-mask: url("../assets/brand/cone.png") no-repeat center / contain;
  mask: url("../assets/brand/cone.png") no-repeat center / contain;
}

/* ═══════════════ preloader ═══════════════ */
#preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--grad-soft);
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader-softy { width: 96px; }
/* the app logo "fills up" with the brand gradient */
.preloader-logo {
  width: min(300px, 64vw); aspect-ratio: 1000 / 434;
  background: linear-gradient(90deg, var(--pink), var(--lavender), var(--cyan));
  background-size: 300% 100%;
  -webkit-mask: url("../assets/brand/logo-white.png") no-repeat center / contain;
  mask: url("../assets/brand/logo-white.png") no-repeat center / contain;
  animation: logoFill 1.6s linear infinite;
}
@keyframes logoFill { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .preloader-logo { animation: none; } }

/* ═══════════════ nav ═══════════════ */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 50; width: min(1150px, calc(100% - 28px));
  display: flex; align-items: center; gap: 26px;
  padding: 10px 20px;
  background: var(--grad);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 60px;
  box-shadow: 0 10px 34px -16px rgba(185, 143, 217, .8);
  transition: box-shadow .3s;
}
.nav-logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.nav-logo b { font-weight: 800; }
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-weight: 700; font-size: .95rem; color: #fff; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: #fff; border-radius: 3px; transition: width .28s;
}
.nav-links a:hover::after { width: 100%; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { width: 24px; height: 3px; border-radius: 3px; background: #fff; transition: .3s; }

/* ═══════════════ buttons ═══════════════ */
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.02rem; padding: 14px 30px; border-radius: 60px;
  transition: transform .22s, box-shadow .22s; cursor: pointer; border: 0;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px var(--pink-hot); text-shadow: 0 1px 6px rgba(60,47,77,.2); }
.btn-ghost { background: rgba(255,255,255,.75); border: 2px solid var(--pink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-nav { padding: 10px 22px; font-size: .95rem; background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* ═══════════════ hero ═══════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--grad-soft);
  overflow: hidden;
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner {
  position: relative; z-index: 2;
  width: min(1150px, 100%); margin: 0 auto; padding: 120px 24px 80px;
  max-width: 640px; margin-left: max(24px, calc((100% - 1150px) / 2));
}
.hero-kicker {
  font-family: var(--font-accent); font-weight: 600; letter-spacing: .35em;
  text-transform: uppercase; font-size: .85rem; color: var(--pink-hot); margin-bottom: 10px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.6rem, 9vw, 7rem); line-height: .95; letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero-sub { font-size: 1.15rem; max-width: 46ch; margin-bottom: 32px; font-weight: 600; color: #5c5470; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-mascot {
  position: absolute; z-index: 2; right: 4vw; bottom: -2vh;
  width: clamp(200px, 28vw, 420px);
  filter: drop-shadow(0 24px 40px rgba(185,143,217,.45));
  pointer-events: none;
}
.scroll-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 30px; height: 50px; border: 3px solid var(--ink); border-radius: 20px; opacity: .55;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 9px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--ink); animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 70% { transform: translateY(20px); opacity: 0; } 100% { transform: translateY(20px); opacity: 0; } }

/* ═══════════════ marquee ═══════════════ */
.marquee {
  background: var(--grad); color: #fff; overflow: hidden;
  padding: 16px 0; transform: rotate(-1.2deg) scale(1.02); margin: -12px 0 0;
  box-shadow: var(--shadow); position: relative; z-index: 3;
}
.marquee-track {
  display: flex; white-space: nowrap; width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: .12em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════════ sections ═══════════════ */
.section { padding: 110px 24px; max-width: 1150px; margin: 0 auto; }
.section-kicker {
  font-family: var(--font-accent); font-weight: 600; letter-spacing: .35em;
  text-transform: uppercase; font-size: .8rem; color: var(--pink-hot); margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.02; margin-bottom: 46px;
}
.section-dark {
  max-width: none; background: var(--ink); color: var(--cream);
  border-radius: 60px; margin: 0 14px;
}
.section-dark .section-kicker { color: var(--cyan); }
.section-dark > * { max-width: 1150px; margin-left: auto; margin-right: auto; }
.section-dark .section-title { margin-bottom: 46px; }
.section-tint { max-width: none; background: var(--grad-soft); }
.section-tint > * { max-width: 1150px; margin-left: auto; margin-right: auto; }

/* ═══════════════ menu grid ═══════════════ */
.menu-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.menu-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 4.6; box-shadow: var(--shadow);
  transform-style: preserve-3d; will-change: transform;
  outline: 4px solid transparent; transition: outline-color .3s;
}
.menu-card:hover { outline-color: var(--tint); }
.menu-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.menu-card:hover img { transform: scale(1.07); }
.menu-card-label {
  position: absolute; inset: auto 0 0 0; padding: 44px 18px 16px;
  background: linear-gradient(transparent, rgba(38, 34, 48, .85));
  color: #fff;
}
.menu-card-label h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.1; }
.menu-card-label p { font-size: .88rem; opacity: .85; font-weight: 700; }

/* ═══════════════ signatures ═══════════════ */
.sig-scroller {
  display: flex; gap: 22px; overflow-x: auto; padding: 6px 6px 26px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.sig-scroller::-webkit-scrollbar { display: none; }
.sig-card {
  flex: 0 0 300px; scroll-snap-align: start;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); overflow: hidden; position: relative;
  transition: transform .3s;
}
.sig-card:hover { transform: translateY(-8px); }
.sig-card img { height: 210px; width: 100%; object-fit: cover; }
.sig-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; padding: 16px 18px 4px; }
.sig-card p { padding: 0 18px 22px; font-size: .92rem; opacity: .8; }
.sig-price {
  position: absolute; top: 14px; right: 14px;
  background: var(--grad); color: #fff; font-family: var(--font-display);
  font-weight: 800; padding: 6px 14px; border-radius: 40px; font-size: .95rem;
}
.sig-nav { display: flex; gap: 12px; }
.sig-nav button {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 1.3rem; font-weight: 700;
  transition: transform .2s;
}
.sig-nav button:hover { transform: scale(1.12); }

/* ═══════════════ order ═══════════════ */
#order { text-align: center; }
.order-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.order-pill {
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  padding: 22px 44px; border-radius: 70px; background: #fff;
  box-shadow: var(--shadow); border: 3px solid transparent;
  transition: border-color .25s, transform .25s;
}
.order-pill:hover { border-color: var(--pink); transform: translateY(-4px) rotate(-1.5deg); }
.order-phone { margin-top: 30px; font-weight: 700; font-size: 1.1rem; }
.order-phone a { color: var(--pink-hot); }

/* ═══════════════ locations ═══════════════ */
.loc-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.loc-card {
  background: #fff; border-radius: var(--radius); padding: 38px 34px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.loc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; background: var(--grad);
}
.loc-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; margin-bottom: 12px; }
.loc-addr { font-weight: 600; margin-bottom: 8px; }
.loc-phone a { color: var(--pink-hot); font-weight: 800; font-size: 1.15rem; }
.loc-hours { margin: 10px 0 22px; font-size: .95rem; opacity: .75; }
.loc-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════ app band ═══════════════ */
.app-band {
  display: flex; align-items: center; gap: 30px;
  background: var(--grad-soft); border-radius: 44px; padding: 54px 54px 0;
  box-shadow: var(--shadow); overflow: hidden;
}
.app-copy { flex: 1; padding-bottom: 54px; }
.app-copy p { max-width: 44ch; font-weight: 600; }
.app-badges { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.app-mascot { width: clamp(140px, 20vw, 250px); align-self: flex-end; }

/* ═══════════════ franchise ═══════════════ */
.franchise-band {
  margin: 40px 14px 0; border-radius: 60px 60px 0 0;
  background: var(--grad); padding: 110px 24px; text-align: center; color: #fff;
}
.franchise-band h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; margin-bottom: 18px;
}
.franchise-band .grad-text { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; }
.franchise-band p { font-weight: 700; font-size: 1.15rem; margin-bottom: 34px; }
.franchise-band .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 14px 34px -12px rgba(38,34,48,.4); text-shadow: none; }

/* ═══════════════ footer ═══════════════ */
.footer { background: var(--ink); color: var(--cream); text-align: center; padding: 80px 24px 46px; margin: 0 14px; border-radius: 0 0 24px 24px; }
.footer-logo { width: 210px; margin: 0 auto 30px; }
.footer-socials { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.footer-socials a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 1.15rem;
  box-shadow: 0 6px 16px -6px rgba(185,143,217,.6); transition: transform .2s;
}
.footer-socials a:hover { transform: translateY(-4px) scale(1.08); }
.footer-contact a { color: var(--cyan); font-weight: 700; }
.footer-copy { margin-top: 20px; font-size: .85rem; opacity: .55; }

/* ═══════════════ reveal defaults (GSAP takes over) ═══════════════ */
.reveal, .reveal-hero { opacity: 0; }
.no-js .reveal, .no-js .reveal-hero { opacity: 1; }

/* Firestore-injected menu content: pure-CSS slide-up entrance. Opacity is
   never touched, so cards are ALWAYS visible even if the animation is
   skipped — only the gentle rise is animated. */
@keyframes riseIn { from { transform: translateY(18px); } to { transform: none; } }
.card-in { animation: riseIn .5s ease both; }
@media (prefers-reduced-motion: reduce) { .card-in { animation: none; } }

/* ═══════════════ subpages: page hero ═══════════════ */
.page-hero {
  position: relative;
  background: var(--grad);
  padding: 170px 24px 70px; text-align: center;
  color: #fff;
}
.page-hero::after {
  position: absolute; top: 100%; left: 0; right: 0; width: auto; z-index: 3;
}
.page-hero .grad-text { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.page-hero .breadcrumb { color: rgba(255,255,255,.9); }
.page-hero + * { margin-top: 34px; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1; margin-bottom: 14px;
}
.page-hero-sub { font-weight: 600; color: rgba(255,255,255,.92); max-width: 60ch; margin: 0 auto; }
.breadcrumb {
  display: inline-block; margin-bottom: 18px; font-weight: 800; font-size: .95rem;
  color: var(--pink-hot);
}
.breadcrumb:hover { text-decoration: underline; }

/* ═══════════════ menu item grids ═══════════════ */
.group-title {
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem;
  margin: 54px 0 22px; display: flex; align-items: center; gap: 14px;
}
.group-title::after { content: ""; flex: 1; height: 4px; border-radius: 4px; background: var(--grad); opacity: .45; }
.item-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.item-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s;
  display: flex; flex-direction: column;
}
.item-card:hover { transform: translateY(-6px); }
.item-card .item-img { aspect-ratio: 4 / 3; overflow: hidden; }
.item-card .item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.item-card:hover .item-img img { transform: scale(1.06); }
.item-ph {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: var(--grad-soft);
}
.item-ph .cone-mark { width: 64px; height: 64px; opacity: .65; }
.item-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; padding: 16px 18px 2px; line-height: 1.15; }
.item-card p { padding: 4px 18px 20px; font-size: .92rem; color: #6b6178; }
.item-card .chip-row { padding: 0 16px 18px; margin-top: -8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: .78rem; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  background: var(--grad-soft); color: #5c5470;
  border: 1.5px solid rgba(240, 108, 168, .4);
}

/* ═══════════════ content pages ═══════════════ */
.contact-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 40px; }
.perk-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 30px 0; padding: 0; list-style: none; }
.perk-list li {
  background: #fff; border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow);
  font-weight: 700;
}
.perk-list li span { display: block; font-weight: 400; font-size: .92rem; color: #6b6178; margin-top: 4px; }
.steps { counter-reset: step; display: grid; gap: 16px; margin: 30px 0; padding: 0; list-style: none; }
.steps li {
  background: #fff; border-radius: 18px; padding: 18px 22px 18px 70px; box-shadow: var(--shadow);
  position: relative; font-weight: 600;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800;
}
.big-cta { text-align: center; margin-top: 46px; }
.loc-hours-table { width: 100%; margin: 10px 0 22px; font-size: .95rem; border-collapse: collapse; }
.loc-hours-table td { padding: 4px 0; }
.loc-hours-table td:last-child { text-align: right; font-weight: 700; }
.seasonal-note { font-size: .85rem; color: var(--pink-hot); font-weight: 700; }

/* ═══════════════ mobile ═══════════════ */
@media (max-width: 820px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: center; gap: 18px;
    background: var(--ink); color: #fff;
    border-radius: 26px; padding: 28px; box-shadow: var(--shadow);
    font-size: 1.1rem;
    display: none;
  }
  .nav-links a::after { background: #fff; }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; margin-left: auto; }
  .btn-nav { margin-left: 0; }
  .nav { gap: 12px; }
  .hero-inner { margin-left: 0; padding: 150px 24px 54vw; }
  .hero-mascot { right: 4vw; bottom: -2vh; width: 40vw; }
  .hero-title { font-size: clamp(3.2rem, 15vw, 4.6rem); }
  .app-band { flex-direction: column; padding: 44px 30px 0; text-align: center; }
  .app-copy { padding-bottom: 0; }
  .app-badges { justify-content: center; }
  .app-mascot { align-self: center; }
  .section { padding: 80px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .preloader-icon { animation: none; }
}
/* MARKER-1783298056 */

/* ═══════════════ forms (career, events, franchise, contact) ═══════════════ */
.icy-form-card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow); max-width: 640px; margin: 0 auto;
}
.icy-form-title { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; }
.icy-form-intro { color: #6b6178; margin: 6px 0 20px; }
.icy-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.icy-form input, .icy-form select, .icy-form textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px 14px; font: inherit; color: var(--ink);
  background: #faf8fd; border: 2px solid #eee6f6; border-radius: 14px;
  outline: none; transition: border-color .2s;
}
.icy-form input:focus, .icy-form select:focus, .icy-form textarea:focus {
  border-color: var(--pink);
}
.icy-form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.icy-form-status { margin-top: 12px; font-weight: 700; }

/* ═══════════════ footer links & legal row ═══════════════ */
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  margin: 0 auto 26px; max-width: 760px; font-weight: 700; font-size: .95rem;
}
.footer-links a { opacity: .82; transition: opacity .2s, color .2s; cursor: pointer; }
.footer-links a:hover { opacity: 1; color: var(--cyan); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px;
  margin: 24px auto 0; font-size: .82rem;
}
.footer-legal a { opacity: .58; transition: opacity .2s; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; }

/* ═══════════════ legal / policy pages ═══════════════ */
.legal { max-width: 840px; }
.legal .legal-meta { color: var(--pink-hot); font-weight: 800; margin-bottom: 26px; }
.legal h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  margin: 40px 0 12px; line-height: 1.2;
}
.legal h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; margin: 24px 0 8px; }
.legal p { margin-bottom: 14px; color: #3f3a4a; }
.legal ul, .legal ol { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; color: #3f3a4a; }
.legal a { color: var(--pink-hot); font-weight: 700; text-decoration: underline; }
.legal strong { color: var(--ink); }
.legal table { border-collapse: collapse; margin: 4px 0 18px; width: 100%; }
.legal td { border: 1px solid #eee6f6; padding: 8px 12px; vertical-align: top; }

/* ═══════════════ order hub page ═══════════════ */
.order-hub { text-align: center; }
.order-primary {
  max-width: 720px; margin: 0 auto; background: var(--grad-soft);
  border-radius: var(--radius); padding: 46px 34px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.order-primary::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--grad); }
.order-primary .badge-live {
  display: inline-block; background: #fff; color: var(--pink-hot);
  font-family: var(--font-display); font-weight: 800; font-size: .78rem;
  padding: 5px 14px; border-radius: 40px; box-shadow: var(--shadow); margin-bottom: 16px;
}
.order-primary h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem,4vw,2.3rem); margin-bottom: 10px; }
.order-primary > p { color: #5c5470; font-weight: 600; margin: 0 auto 26px; max-width: 46ch; }
.order-primary .btn { font-size: 1.2rem; padding: 18px 46px; }
.order-note { margin-top: 18px; font-size: .82rem; color: #8a7fa0; font-weight: 700; }
.order-or {
  display: flex; align-items: center; gap: 16px; max-width: 620px;
  margin: 50px auto 26px; color: #a99fb8; font-family: var(--font-display); font-weight: 800;
}
.order-or::before, .order-or::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: #ece5f5; }
.order-pill .op-sub { display: block; font-size: .82rem; font-weight: 700; color: #8a7fa0; margin-top: 2px; }

/* ═══════════════ newsletter popup ═══════════════ */
.nl-overlay {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(38, 34, 48, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.nl-overlay.show { opacity: 1; visibility: visible; }
.nl-card {
  position: relative; width: min(440px, 100%); background: #fff; border-radius: var(--radius);
  padding: 44px 34px 26px; box-shadow: 0 30px 80px -20px rgba(38, 34, 48, .55); text-align: center;
  transform: translateY(22px) scale(.96); transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}
.nl-overlay.show .nl-card { transform: none; }
.nl-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; border-radius: var(--radius) var(--radius) 0 0; background: var(--grad); }
.nl-close { position: absolute; top: 8px; right: 14px; background: none; border: 0; font-size: 1.9rem; line-height: 1; color: #c3bad0; cursor: pointer; }
.nl-close:hover { color: var(--ink); }
.nl-softy { width: 92px; margin: -4px auto 4px; filter: drop-shadow(0 12px 20px rgba(185, 143, 217, .4)); }
.nl-kicker { font-family: var(--font-accent); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; font-size: .72rem; color: var(--pink-hot); }
.nl-title { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; margin: 4px 0 8px; }
.nl-sub { color: #5c5470; font-weight: 600; font-size: .95rem; margin-bottom: 18px; }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-input { padding: 13px 16px; font: inherit; color: var(--ink); background: #faf8fd; border: 2px solid #eee6f6; border-radius: 14px; outline: none; transition: border-color .2s; }
.nl-input:focus { border-color: var(--pink); }
.nl-submit { margin-top: 2px; width: 100%; }
.nl-status { min-height: 1.1em; font-weight: 700; font-size: .86rem; margin: 2px 0 0; }
.nl-dismiss, .nl-dismiss2 { margin-top: 12px; background: none; border: 0; color: #8a7fa0; font-weight: 700; font-size: .85rem; cursor: pointer; }
.nl-dismiss:hover, .nl-dismiss2:hover { color: var(--ink); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .nl-overlay, .nl-card { transition: opacity .01s; } }

/* ═══════════════ meet softy page ═══════════════ */
.softy-story { display: flex; gap: 44px; align-items: center; flex-wrap: wrap; }
.softy-story .softy-art {
  flex: 0 0 300px; max-width: 320px; margin: 0 auto;
  filter: drop-shadow(0 24px 40px rgba(185, 143, 217, .45));
  animation: softyFloat 4s ease-in-out infinite;
}
@keyframes softyFloat { 50% { transform: translateY(-14px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .softy-story .softy-art { animation: none; } }
.softy-story .softy-copy { flex: 1; min-width: 280px; }
.softy-story .softy-copy p { font-weight: 600; color: #4a4458; margin-bottom: 14px; }
.color-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 34px 0 10px; }
.color-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s; }
.color-card:hover { transform: translateY(-6px); }
.color-card .color-thumb { aspect-ratio: 3 / 4; background: var(--grad-soft); display: grid; place-items: center; padding: 16px; }
.color-card .color-thumb img { height: 100%; width: auto; object-fit: contain; }
.color-card .color-body { padding: 16px 18px 20px; text-align: center; }
.color-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; margin-bottom: 12px; }
.merch-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 30px 0; }
.merch-card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 22px; text-align: center; }
.merch-emoji { font-size: 3rem; line-height: 1; }
.merch-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; margin: 12px 0 4px; }
.merch-card p { color: #6b6178; font-size: .9rem; }
.soon-badge {
  position: absolute; top: 14px; right: 14px; background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: .7rem; letter-spacing: .04em;
  padding: 4px 12px; border-radius: 40px;
}

/* ═══════════════ menu item detail modal ═══════════════ */
.item-card { cursor: pointer; }
.im-overlay {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(38, 34, 48, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.im-overlay.show { opacity: 1; visibility: visible; }
.im-card {
  position: relative; width: min(460px, 100%); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(38, 34, 48, .55);
  transform: translateY(22px) scale(.96); transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}
.im-overlay.show .im-card { transform: none; }
.im-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.im-photo .item-ph { aspect-ratio: 4 / 3; }
.im-close {
  position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); border: 0; font-size: 1.7rem; line-height: 1; color: var(--ink);
  cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.im-body { padding: 22px 24px 26px; }
.im-name { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1.1; margin-bottom: 10px; }
.im-desc { color: #5c5470; font-weight: 600; margin-bottom: 14px; }
.im-chips { margin-bottom: 8px; }
.im-order { margin-top: 16px; }
.im-note { font-size: .9rem; color: var(--pink-hot); font-weight: 700; margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .im-overlay, .im-card { transition: opacity .01s; } }

/* ═══════════════ rotating photo carousel (multi-photo items) ═══════════════ */
.img-cycle { position: relative; }
.img-cycle img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease;
}
.img-cycle img.on { opacity: 1; }
.im-photo .img-cycle { aspect-ratio: 4 / 3; }
@media (prefers-reduced-motion: reduce) { .img-cycle img { transition: none; } }

/* ═══════════════ softy's scoop dash (mini-game) ═══════════════ */
.sg-wrap {
  position: relative; width: 100%; max-width: 540px; margin: 0 auto;
  height: min(620px, 76vh); min-height: 420px;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--grad-soft);
  user-select: none; -webkit-user-select: none;
}
.sg-wrap canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; touch-action: none; cursor: pointer;
}
.sg-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  text-align: center; padding: 24px;
  background: rgba(253, 251, 255, .88); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.sg-overlay[hidden] { display: none; }
.sg-overlay h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.sg-overlay p { font-weight: 600; color: #5c5470; font-size: .98rem; }
.sg-overlay .sg-score-line b { color: var(--pink-hot); }
.sg-mascot { width: 110px; filter: drop-shadow(0 12px 20px rgba(185,143,217,.4)); animation: softyFloat 3.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .sg-mascot { animation: none; } }
.sg-mute {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); font-size: 1.1rem; padding: 0;
  box-shadow: 0 4px 12px rgba(38,34,48,.15);
}


/* ═══════════ mobile robustness (icy-mobile-robust) ═══════════
   Phones: never depend on JS/scroll-animation to SEE the site.
   - no preloader (it only hides via JS)
   - all .reveal content visible (no ScrollTrigger dependency)
   - no 3D card transforms (iOS Safari can fail to paint them, blanking
     the section + everything below) */
@media (max-width: 900px) {
  #preloader { display: none !important; }
  .reveal, .reveal-hero { opacity: 1 !important; transform: none !important; }
  .menu-card, .tilt, .color-card, .item-card {
    transform: none !important;
    transform-style: flat !important; -webkit-transform-style: flat !important;
    will-change: auto !important; perspective: none !important;
  }
}

/* coloring-page card subtitle */
.color-sub{font-size:13.5px;color:#6b6178;margin:2px 0 10px;line-height:1.35}
