/* ─────────────────────────────────────────────
   furei ☆彡 — coquette portfolio
   palette: blush · rose · cream · sage ribbon
──────────────────────────────────────────── */
:root {
  --cream: #fffaf7;
  --blush: #ffeef3;
  --pink: #ffd9e4;
  --rose: #f2a0ba;
  --deep: #d97a9b;
  --hot: #c14d74;
  --ink: #5a3a45;
  --soft-ink: #8a6470;
  --sage: #aecbb6;
  --gold: #e8c98f;
  --shadow: 0 10px 30px rgba(193, 77, 116, .14);
  --radius: 22px;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Pinyon Script', cursive;
}

* { 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%; height: auto; display: block; }
a { color: var(--hot); }

.script {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--deep);
  line-height: 1.1;
}

/* ── announcement ribbon ─────────────────── */
.ribbon {
  background: linear-gradient(90deg, var(--hot), var(--deep) 50%, var(--hot));
  color: #fff;
  overflow: hidden;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  position: relative;
  z-index: 60;
}
.ribbon__track { display: flex; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; }
.ribbon__track span { padding: .45em 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── nav ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .7rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 250, 247, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pink);
}
.nav__logo {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 1.35rem; text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: .4rem;
}
.nav__links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav__links a {
  text-decoration: none; color: var(--soft-ink); font-weight: 700; font-size: .95rem;
  position: relative;
}
.nav__links a::after {
  content: '♡'; position: absolute; left: 50%; top: -0.9em; translate: -50% 0;
  opacity: 0; transition: .25s; color: var(--rose); font-size: .8em;
}
.nav__links a:hover { color: var(--hot); }
.nav__links a:hover::after { opacity: 1; top: -1.1em; }

/* ── buttons ─────────────────────────────── */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--deep), var(--hot));
  color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1rem;
  padding: .8em 1.7em; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(193, 77, 116, .35), inset 0 2px 0 rgba(255,255,255,.35);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg) scale(1.03); box-shadow: 0 10px 24px rgba(193, 77, 116, .45), inset 0 2px 0 rgba(255,255,255,.35); }
.btn--ghost {
  background: #fff; color: var(--hot);
  border: 2px dashed var(--rose);
  box-shadow: none;
}
.btn--small { font-size: .85rem; padding: .55em 1.2em; }
.btn--big { font-size: 1.15rem; padding: .9em 2.2em; }

/* ── hero ────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(242,160,186,.25), transparent),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(174,203,182,.2), transparent),
    repeating-linear-gradient(45deg, transparent 0 34px, rgba(242,160,186,.06) 34px 36px),
    linear-gradient(180deg, var(--blush), var(--cream));
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem) 6rem;
  overflow: hidden;
}
.hero__sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__sparkles .spark { position: absolute; color: var(--rose); opacity: 0; user-select: none; }
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.hero__hello { margin-bottom: .2rem; }
.hero__title {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(4rem, 10vw, 7.5rem);
  line-height: .95; color: var(--hot);
  text-shadow: 3px 3px 0 var(--pink);
  margin-bottom: 1rem;
}
.hero__title .letter { display: inline-block; }
.hero__star { font-size: .45em; vertical-align: .5em; color: var(--deep); display: inline-block; }
.hero__tagline { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--soft-ink); max-width: 34ch; margin-bottom: 1.2rem; }
.hero__tagline em { color: var(--hot); font-style: italic; font-weight: 700; }
.sun { display: inline-block; color: var(--gold); }
.hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.chip {
  background: #fff; border: 1.5px solid var(--pink);
  color: var(--deep); font-weight: 700; font-size: .8rem;
  padding: .35em 1em; border-radius: 999px;
  box-shadow: 0 3px 8px rgba(193,77,116,.08);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }

.stats { display: flex; gap: clamp(1.2rem, 3vw, 2.5rem); }
.stat dt { font-size: .72rem; text-transform: lowercase; color: var(--soft-ink); font-weight: 700; letter-spacing: .03em; }
.stat dd {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--hot); line-height: 1.1;
}

/* polaroids */
.hero__art { position: relative; min-height: 340px; }
.polaroid {
  background: #fff; padding: 12px 12px 8px;
  border-radius: 10px; box-shadow: var(--shadow);
  border: 1px solid var(--pink);
}
.polaroid img { border-radius: 6px; }
.polaroid figcaption { text-align: center; font-size: 1.5rem; padding-top: .2rem; }
.polaroid--main { rotate: -2.5deg; position: relative; z-index: 2; }
.polaroid--main::before {
  content: ''; position: absolute; top: -14px; left: 50%; translate: -50% 0;
  width: 110px; height: 30px; rotate: -2deg;
  background: rgba(242,160,186,.45); border-radius: 3px;
  backdrop-filter: blur(1px);
}
.polaroid--float { position: absolute; width: clamp(110px, 14vw, 170px); z-index: 3; }
.polaroid--a { right: -12px; top: -30px; rotate: 6deg; }
.polaroid--b { left: -18px; bottom: -40px; rotate: -7deg; }

/* lace edge (scallops) */
.lace-edge {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 26px;
  background:
    radial-gradient(circle 14px at 14px 0, var(--cream) 13px, transparent 14px) repeat-x;
  background-size: 28px 26px;
}
.lace-edge--top {
  position: absolute; top: -25px; bottom: auto; height: 26px;
  background: radial-gradient(circle 14px at 14px 26px, var(--pink) 13px, transparent 14px) repeat-x;
  background-size: 28px 26px;
}

/* ── sections ────────────────────────────── */
.section { padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 4rem); position: relative; }
.section--dots {
  background:
    radial-gradient(circle 2.5px at 10px 10px, rgba(242,160,186,.35) 2.5px, transparent 3px) 0 0 / 46px 46px,
    var(--cream);
}
.section--gingham {
  background:
    repeating-linear-gradient(0deg, rgba(242,160,186,.13) 0 18px, transparent 18px 36px),
    repeating-linear-gradient(90deg, rgba(242,160,186,.13) 0 18px, transparent 18px 36px),
    var(--blush);
}
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.section__head h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem); color: var(--hot); line-height: 1.05;
}
.section__sub { color: var(--soft-ink); margin-top: .4rem; }
.closed-note {
  display: inline-block; margin-top: .9rem;
  background: #fff; border: 1.5px dashed var(--rose); border-radius: 999px;
  padding: .35em 1.2em; font-weight: 700; font-size: .85rem; color: var(--deep);
}
.pearls {
  margin: 1.2rem auto 0; width: 180px; height: 10px;
  background: radial-gradient(circle 4px at 5px 5px, #fff 3.2px, rgba(193,77,116,.25) 4px, transparent 5px) repeat-x;
  background-size: 18px 10px;
}

/* ── gallery ─────────────────────────────── */
.masonry { columns: 4 240px; column-gap: 1.1rem; max-width: 1200px; margin: 0 auto; }
.tile {
  break-inside: avoid; margin-bottom: 1.1rem;
  border-radius: var(--radius); overflow: hidden;
  background: #fff; padding: 8px;
  border: 1.5px solid var(--pink);
  box-shadow: 0 4px 14px rgba(193,77,116,.1);
  cursor: zoom-in; position: relative;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.tile img { border-radius: calc(var(--radius) - 8px); width: 100%; height: auto; }
.tile::after {
  content: '♡'; position: absolute; top: 14px; right: 16px;
  color: #fff; text-shadow: 0 1px 6px rgba(193,77,116,.8);
  font-size: 1.1rem; opacity: 0; transition: .25s;
}
.tile:hover { transform: translateY(-5px) rotate(-.8deg) scale(1.015); box-shadow: 0 14px 30px rgba(193,77,116,.22); }
.tile:hover::after { opacity: 1; }
.gallery__more { text-align: center; margin-top: 2rem; color: var(--soft-ink); font-weight: 600; }

/* ── commission menu ─────────────────────── */
.menu { max-width: 1150px; margin: 0 auto; display: grid; gap: 2.2rem; }
.menu__course {
  background: rgba(255, 250, 247, .92);
  border: 2px solid var(--pink); border-radius: 26px;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow);
  position: relative;
}
.menu__course::before {
  content: '🎀'; position: absolute; top: -16px; left: 50%; translate: -50% 0;
  font-size: 1.6rem; filter: drop-shadow(0 2px 4px rgba(193,77,116,.3));
}
.menu__course-name { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); text-align: center; }
.menu__course-name .script { font-size: 1.6em; margin-right: .15em; }
.menu__course-desc { text-align: center; color: var(--soft-ink); font-size: .95rem; margin: .2rem 0 1.6rem; }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.menu__grid--single { max-width: 640px; margin: 0 auto; }

.dish {
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1.5px solid var(--pink);
  display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.dish:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(193,77,116,.2); }
.dish__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush); }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dish:hover .dish__img img { transform: scale(1.06) rotate(.5deg); }
.dish__img--icons { display: grid; grid-template-columns: 1fr 1fr; }
.dish__img--icons img { aspect-ratio: 1; }
.dish--wide { flex-direction: row; align-items: stretch; }
.dish--wide .dish__img { aspect-ratio: auto; flex: 1.2; }
.dish--wide .dish__info { flex: 1; align-self: center; }
.dish__info { padding: 1rem 1.1rem 1.2rem; position: relative; }
.dish__info h4 { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.dish__info p { font-size: .85rem; color: var(--soft-ink); margin: .15rem 0 .7rem; }
.dish__price {
  display: inline-block;
  background: var(--blush); border: 1.5px dashed var(--rose);
  color: var(--hot); font-weight: 800; font-size: .9rem;
  padding: .25em .9em; border-radius: 999px; rotate: -2deg;
}
.menu__cta { text-align: center; margin-top: 2.6rem; }
.menu__cta .script { margin-bottom: .5rem; }
.menu__trust { margin-top: 1rem; font-weight: 700; color: var(--deep); font-size: .9rem; }

/* ── about ───────────────────────────────── */
.about {
  max-width: 860px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  background: #fff; border: 2px solid var(--pink); border-radius: 30px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.about__frame {
  width: 150px; height: 150px; position: relative;
  border-radius: 50%; overflow: hidden;
  border: 4px solid var(--rose);
  box-shadow: 0 0 0 6px var(--blush), 0 0 0 7.5px var(--pink);
  align-self: start;
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.about__text h2 { font-family: var(--font-display); font-style: italic; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--hot); margin-bottom: .6rem; }
.about__text p { margin-bottom: .8rem; }
.about__links { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.about__links a {
  display: inline-block; text-decoration: none;
  background: var(--blush); border: 1.5px solid var(--pink);
  padding: .4em 1em; border-radius: 999px;
  font-weight: 700; font-size: .88rem; color: var(--hot);
  transition: .2s;
}
.about__links a:hover { background: var(--pink); transform: translateY(-2px); }

/* ── footer ──────────────────────────────── */
.footer {
  position: relative; margin-top: 3rem;
  background: var(--pink);
  text-align: center; padding: 3rem 1rem 2rem;
  color: var(--ink); font-size: .9rem;
}
.footer__script { font-size: 2rem; margin-bottom: .4rem; }
.footer__tiny { margin-top: .5rem; font-size: .78rem; color: var(--soft-ink); }

/* ── lightbox ────────────────────────────── */
.lightbox {
  border: none; border-radius: 18px; padding: 10px;
  background: #fff; max-width: min(92vw, 1000px); max-height: 90vh;
  box-shadow: 0 30px 80px rgba(90,58,69,.4);
}
.lightbox::backdrop { background: rgba(90, 58, 69, .55); backdrop-filter: blur(4px); }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 10px; }
.lightbox__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--hot); color: #fff; font-size: 1rem; font-weight: 800;
  cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* cursor sparkle trail */
.trail {
  position: fixed; z-index: 999; pointer-events: none;
  font-size: 14px; color: var(--rose); user-select: none;
}

/* reveal initial state (only when js is active; js animates in) */
.js .reveal { opacity: 0; }
.js .reveal.is-in { opacity: 1; }

/* ── responsive ──────────────────────────── */
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: min(480px, 100%); margin: 2.5rem auto 0; }
  .nav__links { display: none; }
  .dish--wide { flex-direction: column; }
  .dish--wide .dish__img { aspect-ratio: 4 / 3; }
  .about { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .about__links { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon__track { animation: none; }
  * { transition: none !important; }
}
