/* ==========================================================================
   Ashley's Art
   Sanrio-adjacent without using Sanrio's characters: the softness comes from
   the palette, the rounded shapes, the bow motif and the scrapbook staging.
   Nothing here is a perfect rectangle on a perfect grid, on purpose.
   ========================================================================== */

:root {
  /* strawberry milk, not white; raspberry, not black */
  --paper:      #FFF5F8;
  --paper-2:    #FFEAF1;
  --cream:      #FFFDF9;
  --ink:        #5B2338;
  --ink-2:      #8A5468;
  --pink:       #FF7FB0;
  --pink-deep:  #F0568E;
  --pink-soft:  #FFD6E5;
  --cocoa:      #7A4A3A;   /* the Chococat grounding colour */
  --cocoa-lite: #B98A72;
  --butter:     #FFE9A8;
  --line:       #FFD3E3;

  --shadow-s: 0 3px 0 rgba(240,86,142,.10), 0 8px 20px -10px rgba(122,74,58,.30);
  --shadow-m: 0 5px 0 rgba(240,86,142,.10), 0 20px 40px -18px rgba(122,74,58,.35);

  --display: "Baloo 2", ui-rounded, system-ui, sans-serif;
  --body:    "Nunito", ui-sans-serif, system-ui, sans-serif;
  --hand:    "Caveat", cursive;

  --wrap: 1180px;
  --gut: clamp(18px, 5vw, 48px);
  --ease: cubic-bezier(.34, 1.3, .5, 1);   /* slight overshoot = bouncy, not corporate */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -.01em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.hand { font-family: var(--hand); font-size: 1.32em; color: var(--pink-deep); }

/* paper grain, so nothing is flat digital colour */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- heart cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  body, a, button, .tile { cursor: none; }
  .cursor {
    position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
    width: 26px; height: 24px; margin: -12px 0 0 -13px;
    transition: transform .18s var(--ease), opacity .2s;
    will-change: transform;
  }
  .cursor svg { width: 100%; height: 100%; }
  .cursor path { fill: var(--pink); stroke: #fff; stroke-width: 2.4; }
  .cursor.is-hot { transform: scale(1.55) rotate(-8deg); }
  .cursor.is-hot path { fill: var(--pink-deep); }
  .cursor.is-down { transform: scale(1.1); }
  /* a text caret is more useful than a heart inside a field */
  input, textarea, select { cursor: auto; }
  .heart-trail {
    position: fixed; z-index: 9997; pointer-events: none;
    width: 14px; height: 13px; margin: -7px 0 0 -7px;
    animation: puff .85s ease-out forwards;
  }
  .heart-trail svg { width: 100%; height: 100%; }
  .heart-trail path { fill: #FFB0CD; }
}
@keyframes puff {
  0%   { transform: scale(1) translateY(0);    opacity: .95; }
  55%  {                                       opacity: .55; }
  100% { transform: scale(.25) translateY(20px); opacity: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn-order {
  background: var(--pink); color: #fff;
  box-shadow: 0 5px 0 var(--pink-deep), 0 14px 26px -12px rgba(240,86,142,.85);
}
.btn-order:hover {
  background: var(--pink-deep); transform: translateY(-2px);
  box-shadow: 0 7px 0 #D8407A, 0 18px 30px -12px rgba(240,86,142,.9);
}
.btn-order:active { transform: translateY(3px); box-shadow: 0 2px 0 #D8407A; }
.btn .dc { width: 21px; height: 21px; fill: currentColor; }
.btn-ghost {
  background: #fff; color: var(--ink); border: 2px solid var(--line);
  box-shadow: 0 4px 0 var(--line);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--pink); box-shadow: 0 6px 0 var(--pink-soft); }
.btn-ghost:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pink-soft); }
.btn-big { font-size: 19px; padding: 18px 38px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 2px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow-s);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #4CD07D; box-shadow: 0 0 0 3px rgba(76,208,125,.22); }

.eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 700;
  font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-deep);
  margin-bottom: 10px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,245,248,.86); backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 22px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-txt { font-family: var(--display); font-weight: 800; font-size: 20px; }
.brand-bow svg { width: 34px; height: 22px; }
.brand-bow path, .brand-bow circle { fill: var(--pink); }
.brand-bow.sm svg { width: 26px; height: 17px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-weight: 700; font-size: 15px; color: var(--ink-2); position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 3px;
  border-radius: 3px; background: var(--pink); transform: scaleX(0); transition: transform .22s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
@media (max-width: 780px) { .nav-links { display: none; } .nav-order { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px,7vw,86px) 0 clamp(70px,9vw,110px); }
.hero-in {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,5vw,60px); align-items: center;
}
.hero h1 { font-size: clamp(42px, 7.4vw, 86px); font-weight: 800; margin: 18px 0 0; }
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 .l2 { color: var(--pink-deep); margin-left: .08em; }
.hero h1 em {
  font-style: normal; position: relative; white-space: nowrap;
}
/* wobbly hand underline, not a straight rule */
.hero h1 em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .22em;
  background: no-repeat center/100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 8c22-7 44 3 66-1s30-4 50 1' fill='none' stroke='%23FFD6E5' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
  z-index: -1;
}
.lede { color: var(--ink-2); font-size: clamp(16.5px,1.6vw,19px); max-width: 46ch; margin-top: 20px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-hand { margin-top: 18px; transform: rotate(-2deg); }

/* the blob mask is the main "this isn't a grid of boxes" move */
.hero-art { position: relative; display: flex; justify-content: center; }
.blob {
  width: min(100%, 460px); aspect-ratio: 1; overflow: hidden; background: #fff;
  border: 5px solid #fff; box-shadow: var(--shadow-m);
  border-radius: 62% 38% 44% 56% / 50% 44% 56% 50%;
  transform: rotate(-3deg);
  animation: bob 9s ease-in-out infinite;
}
.blob img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bob { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(-12px); } }

.tape {
  position: absolute; width: 108px; height: 34px; background: rgba(255,214,229,.75);
  border-left: 2px dashed rgba(255,255,255,.7); border-right: 2px dashed rgba(255,255,255,.7);
}
.tape-a { top: -12px; left: 12%; transform: rotate(-11deg); }
.tape-b { top: -14px; right: -10px; transform: rotate(9deg); width: 92px; }

.mascot {
  position: absolute; right: -10px; bottom: -22px; width: 138px;
  animation: bob2 6s ease-in-out infinite;
  filter: drop-shadow(0 9px 12px rgba(122,74,58,.30));
}
.mascot img { width: 100%; height: auto; }
@keyframes bob2 { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }

.deco { position: absolute; font-size: 26px; color: var(--pink-soft); animation: float 7s ease-in-out infinite; }
.d1 { top: 14%; left: 5%; }
.d2 { top: 32%; right: 6%; animation-delay: -2s; font-size: 20px; }
.d3 { bottom: 20%; left: 10%; animation-delay: -4s; color: var(--butter); }
.d4 { top: 8%; right: 22%; animation-delay: -1s; font-size: 16px; }
.d5 { top: 18%; left: 8%; font-size: 30px; }
.d6 { bottom: 16%; right: 9%; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(10deg); } }

/* scalloped divider instead of a straight edge */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.wave svg { width: 100%; height: 46px; display: block; }
.wave path { fill: var(--paper-2); }

/* ---------- about ---------- */
.about { background: var(--paper-2); padding: clamp(50px,7vw,90px) 0; }
.about-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px,5vw,64px); align-items: center; }
.polaroid {
  position: relative; background: #fff; padding: 14px 14px 8px;
  border-radius: 8px; box-shadow: var(--shadow-m); transform: rotate(-2.5deg);
  transition: transform .3s var(--ease); justify-self: center; max-width: 380px;
}
.polaroid:hover { transform: rotate(0) scale(1.02); }
.polaroid img { border-radius: 4px; aspect-ratio: 1; object-fit: cover; }
.polaroid .cap { display: block; text-align: center; padding: 8px 0 4px; }
.about-copy h2 { font-size: clamp(32px,4.4vw,50px); font-weight: 800; margin-bottom: 16px; }
.about-copy p + p { margin-top: 14px; }
.about-copy p { color: var(--ink-2); }
.about-copy strong { color: var(--ink); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 24px 0 0; }
.chips li {
  background: #fff; border: 2px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-size: 14px; font-weight: 700; color: var(--ink-2);
  transition: transform .2s var(--ease), border-color .2s;
}
.chips li:nth-child(odd) { transform: rotate(-1.5deg); }
.chips li:nth-child(even) { transform: rotate(1.5deg); }
.chips li:hover { transform: rotate(0) translateY(-2px); border-color: var(--pink); }

/* ---------- section heads ---------- */
.head { text-align: center; max-width: 640px; margin: 0 auto clamp(30px,4vw,46px); }
.head h2 { font-size: clamp(32px,4.6vw,52px); font-weight: 800; }
.head p { color: var(--ink-2); margin-top: 12px; }

/* ---------- conveyor ---------- */
.work { padding: clamp(54px,7vw,92px) 0; overflow: hidden; }
.belt { display: flex; flex-direction: column; gap: 20px; }
.belt-row { display: flex; gap: 20px; width: max-content; will-change: transform; }
.belt-row.run-left  { animation: beltL var(--dur, 70s) linear infinite; }
.belt-row.run-right { animation: beltR var(--dur, 70s) linear infinite; }
/* -50% because the set is duplicated once, so the loop is seamless */
@keyframes beltL { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes beltR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.belt:hover .belt-row { animation-play-state: paused; }

.tile {
  flex: 0 0 auto; width: clamp(180px, 21vw, 258px); aspect-ratio: 1;
  background: #fff; padding: 9px; border-radius: 22px; box-shadow: var(--shadow-s);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.tile:nth-child(odd)  { transform: rotate(-1.6deg); }
.tile:nth-child(even) { transform: rotate(1.6deg); }
.tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; }
.tile:hover { transform: rotate(0) scale(1.05); box-shadow: var(--shadow-m); z-index: 2; }

/* ---------- reviews ---------- */
.reviews { background: var(--paper-2); padding: clamp(54px,7vw,92px) 0; }
.rev-grid { columns: 3; column-gap: 20px; }
@media (max-width: 900px) { .rev-grid { columns: 2; } }
@media (max-width: 600px) { .rev-grid { columns: 1; } }
.rev {
  break-inside: avoid; background: #fff; border-radius: 22px 22px 22px 6px;
  padding: 20px 22px; margin-bottom: 20px; box-shadow: var(--shadow-s);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.rev:nth-child(3n)   { transform: rotate(1deg); }
.rev:nth-child(3n+1) { transform: rotate(-1deg); }
.rev:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--shadow-m); }
.rev-h { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.rev-av {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--display); font-weight: 800;
  color: #fff; font-size: 16px;
}
.rev-n { font-family: var(--display); font-weight: 700; font-size: 15.5px; line-height: 1.2; }
.rev-w { font-size: 12px; color: var(--ink-2); }
.rev-hearts { margin-left: auto; letter-spacing: 1px; font-size: 13px; color: var(--pink); }
.rev p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }

/* ---------- order ---------- */
.order { position: relative; padding: clamp(60px,8vw,110px) 0; text-align: center; }
.order-in { max-width: 640px; margin: 0 auto; }
.order h2 { font-size: clamp(32px,5vw,56px); font-weight: 800; }
.order p { color: var(--ink-2); margin: 16px auto 30px; max-width: 46ch; }
.order-hand { margin-top: 16px; transform: rotate(-1.5deg); }

/* ---------- footer ---------- */
.foot { background: var(--cocoa); color: #FFE7EF; padding: 26px 0; }
.foot-in { display: flex; align-items: center; gap: 12px; font-size: 14px; flex-wrap: wrap; }
.foot .brand-bow path, .foot .brand-bow circle { fill: var(--pink-soft); }
.foot-r { margin-left: auto; opacity: .8; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 9990; display: none;
  align-items: center; justify-content: center; padding: 4vh 4vw;
  background: rgba(91,35,56,.90);
}
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 92vh; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow-m); }
.lb-x, .lb-nav {
  position: absolute; background: #fff; color: var(--ink); border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1;
  box-shadow: var(--shadow-s); transition: transform .2s var(--ease);
}
.lb-x { top: 22px; right: 22px; }
.lb-nav { top: 50%; margin-top: -24px; font-size: 30px; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-x:hover, .lb-nav:hover { transform: scale(1.12); background: var(--pink); color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero-in, .about-in { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .blob { width: min(78%, 340px); }
  .mascot { width: 104px; right: 4%; }
  .about-in { text-align: center; }
  .chips { justify-content: center; }
  .lede { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-copy { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .belt-row { animation: none !important; }
  .cursor, .heart-trail { display: none !important; }
  body, a, button, .tile { cursor: auto !important; }
}

/* ---------- scroll reveal ---------- */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rise.in { opacity: 1; transform: none; }

/* ---------- lightbox open ----------
   36 gallery tiles, the floating decorations and the grain overlay all keep
   compositing behind a full-screen overlay. Freezing them is what makes
   opening a picture feel instant instead of stalling. */
body.lb-open .belt-row,
body.lb-open .deco,
body.lb-open .blob,
body.lb-open .mascot { animation-play-state: paused; }
body.lb-open .grain { display: none; }
