/* ============================================
   Rainbow Rings — Standard Plan Demo Site
   ============================================ */

:root {
  --color-cream: #FFF8F1;
  --color-white: #FFFFFF;
  --color-chocolate: #5B3A29;
  --color-pink: #FF6FAF;
  --color-pink-deep: #C23576;
  --color-sky: #6EDCFF;
  --color-sky-deep: #0E7490;
  --color-lemon: #FFD84D;
  --color-mint: #7EE7B8;
  --color-mint-deep: #128a5e;
  --color-lavender: #B89CFF;
  --color-lavender-deep: #6A42C2;

  --font-heading: 'Baloo 2', 'Fredoka', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 30px rgba(91, 58, 41, 0.12);
  --shadow-card: 0 6px 18px rgba(91, 58, 41, 0.10);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--color-chocolate);
  background: var(--color-cream);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--color-pink-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--color-lavender-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.6em;
  color: var(--color-chocolate);
}

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Focus visibility — never remove */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-sky-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-chocolate);
  color: var(--color-white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-chocolate);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}
.btn--primary:hover { color: var(--color-white); box-shadow: var(--shadow-soft); }

.btn--outline {
  background: var(--color-white);
  color: var(--color-chocolate);
  border-color: var(--color-chocolate);
}
.btn--outline:hover { color: var(--color-chocolate); background: var(--color-lemon); }

.btn--sm { padding: 10px 22px; min-height: 40px; font-size: 0.95rem; }

/* looks like a button but is display-only (masked demo phone number) */
.btn--static { cursor: default; }
.btn--static:hover { transform: none; box-shadow: var(--shadow-card); background: var(--color-white); }
.btn--primary.btn--static:hover { background: var(--color-chocolate); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 248, 241, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--color-pink);
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { height: 44px; width: auto; }
.brand__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-pink-deep);
}

.nav-toggle {
  display: none;
  background: var(--color-chocolate);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 1rem;
  font-family: var(--font-heading);
  cursor: pointer;
  min-height: 44px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--color-chocolate);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--color-pink);
  color: var(--color-white);
}

.sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-pink), var(--color-lavender));
  color: var(--color-white);
  flex-shrink: 0;
}
.sns-link:hover { color: var(--color-white); filter: brightness(1.08); }
.sns-link svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    border-bottom: 3px solid var(--color-pink);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 18px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { display: block; padding: 12px 16px; }
}

/* ---------- Opening splash ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
}
.splash[hidden] { display: none; }
.splash.is-leaving {
  animation: splashOut 0.7s ease forwards;
  pointer-events: none;
}
.splash__logo-wrap {
  position: relative;
  width: 340px;
  max-width: 72vw;
  animation: splashLogoIn 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
.splash__logo { width: 100%; }
.splash__star {
  position: absolute;
  left: 34.92%;
  top: 0;
  width: 14.29%;
  /* glow only — never transformed, so the logo underneath cannot shift */
  animation: starGlow 1.5s ease-in-out 0.6s 2;
}
.splash__sparkle {
  position: absolute;
  left: 47%;
  top: 4%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-lemon);
  box-shadow: 0 0 12px 4px rgba(255, 216, 77, 0.9);
  opacity: 0;
  animation: sparkle 1.4s ease-out 0.9s 2;
}
.splash__sparkle--b {
  left: 34%; top: 2%;
  background: var(--color-sky);
  box-shadow: 0 0 10px 3px rgba(110, 220, 255, 0.9);
  animation-delay: 1.25s;
}
.splash__sparkle--c {
  left: 41%; top: 15%;
  background: var(--color-pink);
  box-shadow: 0 0 10px 3px rgba(255, 111, 175, 0.9);
  animation-delay: 1.5s;
}

@keyframes splashLogoIn {
  from { opacity: 0; transform: translateY(24px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes starGlow {
  0%   { filter: drop-shadow(0 0 0 rgba(110,220,255,0)); }
  35%  { filter: drop-shadow(0 0 8px rgba(255,255,255,0.95))
                drop-shadow(0 0 22px rgba(110,220,255,0.95))
                drop-shadow(0 0 40px rgba(110,220,255,0.7)) brightness(1.45); }
  65%  { filter: drop-shadow(0 0 8px rgba(255,255,255,0.9))
                drop-shadow(0 0 26px rgba(255,216,77,0.9))
                drop-shadow(0 0 46px rgba(255,216,77,0.6)) brightness(1.5); }
  100% { filter: drop-shadow(0 0 6px rgba(110,220,255,0.55)) brightness(1.05); }
}
@keyframes sparkle {
  0%   { opacity: 0; transform: scale(0.3); }
  40%  { opacity: 1; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(0.4); }
}
@keyframes splashOut {
  to { opacity: 0; transform: scale(1.06); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  color: var(--color-white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(58,24,38,0.55) 0%, rgba(68,30,44,0.40) 42%, rgba(80,40,50,0.16) 72%, rgba(70,35,45,0.10) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 28px;
  width: 100%;
}
/* kept to the left third so the hero donut stays visible */
.hero__text {
  text-align: left;
  max-width: 400px;
}
.hero__tagline-ja {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 500;
  margin: 12px 0 16px;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(60,20,35,0.75), 0 1px 3px rgba(60,20,35,0.6);
}

/* --- Drip logo animation (about 3.4s) ---
   0-0.5s   Color Your Day!
   0.45-2.6s one uninterrupted downward sweep: LOVE -> AT FIRST -> BITE!
             -> and straight on into the chocolate sauce, no pause
   2.6-3.2s  settles with a soft wobble, one or two drops fall          */

/* hold the sequence until the opening splash has cleared */
.splash-active .drip,
.splash-active .drip * { animation-play-state: paused; }

.drip {
  width: min(420px, calc((100vh - 281px) * 0.703), 100%);
  height: auto;
  overflow: visible;
  transform-origin: 50% 0;
  animation: dripSettle 0.62s cubic-bezier(0.3, 1.45, 0.5, 1) 2.6s both;
}

/* 1. Color Your Day! */
.line--cyd { animation: cydIn 0.5s ease-out both; }
@keyframes cydIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 2. the single continuous top-to-bottom reveal */
.reveal-mask {
  transform-box: fill-box;
  animation: sweepDown 2.15s cubic-bezier(0.42, 0.02, 0.36, 1) 0.45s both;
}
@keyframes sweepDown {
  from { transform: translateY(0); }
  to   { transform: translateY(900px); }
}

/* 3. a soft wobble once the sauce has settled */
@keyframes dripSettle {
  0%   { transform: scaleY(1)     scaleX(1); }
  35%  { transform: scaleY(1.028) scaleX(0.992); }
  70%  { transform: scaleY(0.991) scaleX(1.005); }
  100% { transform: scaleY(1)     scaleX(1); }
}

/* drops fall from the drip tips */
.drop {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center top;
}
.drop--1 { animation: dropFall 1.15s cubic-bezier(0.45, 0, 0.75, 1) 2.7s both; }
.drop--2 { animation: dropFall 1.25s cubic-bezier(0.45, 0, 0.75, 1) 3.1s both; }
@keyframes dropFall {
  0%   { opacity: 0; transform: translateY(0)     scaleY(0.6) scaleX(1.15); }
  18%  { opacity: 1; transform: translateY(10px)  scaleY(1.3) scaleX(0.86); }
  70%  { opacity: 1; transform: translateY(90px)  scaleY(1.5) scaleX(0.8); }
  100% { opacity: 0; transform: translateY(150px) scaleY(1.2) scaleX(0.9); }
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
  animation: fadeUp 0.7s ease 1.1s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .hero__inner { padding: 84px 24px 56px; }
  .hero__text { max-width: none; text-align: center; }
  .hero__tagline-ja { margin-bottom: 20px; }
  .hero__ctas { justify-content: center; }
  .drip { width: min(300px, 74vw); margin: 0 auto 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__ctas,
  .splash__logo-wrap,
  .splash__star { animation: none; opacity: 1; transform: none; }
  .splash__sparkle { display: none; }

  /* show the finished logo straight away */
  .drip, .line--cyd { animation: none; opacity: 1; transform: none; }
  .reveal-mask { animation: none; transform: translateY(900px); }
  .drops { display: none; }
}

.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-white);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

/* ---------- Section basics ---------- */
.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--color-white); }
.section-eyebrow {
  font-family: var(--font-heading);
  color: var(--color-pink-deep);
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}
.section-lead {
  max-width: 700px;
  font-size: 1.05rem;
}
.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--6 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-white);
  position: relative;
}
/* product shots sit on their own white card, so show them whole */
.card__img img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.card:hover .card__img img { transform: scale(1.05) rotate(-1.5deg); }
/* a soft colour wash behind the product so the white card is not flat */
.card__img::before {
  content: "";
  position: absolute;
  left: 50%; top: 56%;
  width: 78%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,77,0.22) 0%, rgba(255,111,175,0.14) 45%, rgba(255,255,255,0) 70%);
}
.card:nth-child(3n+2) .card__img::before {
  background: radial-gradient(circle, rgba(110,220,255,0.24) 0%, rgba(184,156,255,0.14) 45%, rgba(255,255,255,0) 70%);
}
.card:nth-child(3n) .card__img::before {
  background: radial-gradient(circle, rgba(126,231,184,0.26) 0%, rgba(110,220,255,0.14) 45%, rgba(255,255,255,0) 70%);
}
.card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card__title { font-size: 1.2rem; margin-bottom: 6px; }
.card__price {
  font-family: var(--font-heading);
  color: var(--color-pink-deep);
  font-size: 1.15rem;
  margin-top: auto;
  padding-top: 10px;
}
.card__badge {
  align-self: flex-start;
  background: var(--color-lemon);
  color: var(--color-chocolate);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ---------- Point badges (おすすめポイント) ---------- */
.points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 780px) { .points-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .points-grid { grid-template-columns: 1fr; } }

.point-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.point-card img { height: 34px; width: auto; margin: 0 auto 14px; }
.point-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.point-card p { font-size: 0.92rem; margin: 0; color: var(--color-chocolate); }

/* ---------- Tag pills (concept keywords) ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tag-list li {
  background: var(--color-cream);
  border: 2px solid var(--color-pink);
  color: var(--color-chocolate);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
}

/* ---------- Info table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid #f0ded1;
  vertical-align: top;
}
.info-table th {
  width: 140px;
  font-family: var(--font-heading);
  color: var(--color-pink-deep);
  font-weight: 700;
}

/* ---------- Map ---------- */
.map-frame {
  border: 0;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* ---------- Gallery (Instagram-style) ---------- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 780px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }
.insta-item {
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-white);
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.insta-item:hover img,
.insta-item:focus-within img { transform: scale(1.08); }

.insta-quote {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-soft);
  max-width: 640px;
  margin: 0 auto 50px;
  text-align: center;
}
.insta-quote p { margin-bottom: 0.6em; }
.insta-quote__handle {
  font-family: var(--font-heading);
  color: var(--color-pink-deep);
  margin-top: 12px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    linear-gradient(rgba(255,252,248,0.62), rgba(255,250,244,0.52)),
    url("../img/footer-banner.jpg") center 46% / cover no-repeat;
  padding: 92px 0;
  text-align: center;
  color: var(--color-chocolate);
}
.cta-banner h2 { color: var(--color-chocolate); text-shadow: 0 2px 12px rgba(255,255,255,0.85); }
.cta-banner p  { color: var(--color-chocolate); text-shadow: 0 2px 10px rgba(255,255,255,0.85); }
.cta-banner .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.cta-banner .btn--outline { background: var(--color-white); }

/* ---------- Forms ---------- */
.form-field {
  margin-bottom: 26px;
}
.form-field label {
  display: block;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 8px;
  color: var(--color-chocolate);
}
.form-field .required {
  color: var(--color-pink-deep);
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 6px;
  border: 1px solid var(--color-pink-deep);
  border-radius: 4px;
  padding: 1px 6px;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e9d3c3;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-chocolate);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-sky-deep);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: 0.85rem; color: #7a5a47; margin-top: 6px; }
.form-error {
  color: #B3001B;
  font-size: 0.88rem;
  margin-top: 6px;
  font-weight: 700;
  display: none;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #B3001B;
}
.form-field.has-error .form-error { display: block; }

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 26px;
}
.checkbox-field input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-success {
  background: var(--color-mint);
  color: var(--color-chocolate);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  font-weight: 600;
  display: none;
}
.form-success.is-visible { display: block; }
.contact-form.is-hidden { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #FFD9EC 0%, #FFE9D2 34%, #FFF6DC 58%, #D8F3FF 100%);
  color: var(--color-chocolate);
  padding: 60px 0 30px;
}
.site-footer a { color: var(--color-chocolate); }
.site-footer a:hover { color: var(--color-pink-deep); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 44px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.92rem; color: #7a5a47; }
.site-footer h3 {
  color: var(--color-pink-deep);
  font-size: 1rem;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-sns { margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(91,58,41,0.18);
  padding-top: 22px;
  font-size: 0.85rem;
  color: #7a5a47;
  text-align: center;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.tap-target-note { font-size: 0.85rem; }


/* ============================================
   Decorative shapes (gallery/素材.png)
   ============================================ */

/* scalloped edge between sections */
.section--alt {
  position: relative;
}
.section--alt::before,
.section--alt::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 26px;
  background: url("../img/deco/divider-scallops.png") repeat-x center / auto 100%;
  opacity: 0.9;
  pointer-events: none;
}
.section--alt::before { top: -13px; }
.section--alt::after  { bottom: -13px; transform: scaleY(-1); }

/* brush stroke behind a section title */
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::before {
  content: "";
  position: absolute;
  left: -14px; right: -14px; bottom: -6px;
  height: 0.62em;
  background: url("../img/deco/brush-pink.png") no-repeat center / 100% 100%;
  opacity: 0.5;
  z-index: -1;
}
.section--alt .section-title::before {
  background-image: url("../img/deco/brush-blue.png");
  opacity: 0.42;
}

/* sparkle beside the small uppercase label */
.section-eyebrow {
  position: relative;
  padding-left: 26px;
}
.section-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  background: url("../img/deco/sparkle-pink.png") no-repeat center / contain;
}
.section-head--center .section-eyebrow { padding-left: 0; }
.section-head--center .section-eyebrow::before {
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: 20px; height: 20px;
}

/* confetti drifting across the CTA banner */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  width: 260px; height: 200px;
  background: url("../img/deco/confetti-ribbons.png") no-repeat center / contain;
  opacity: 0.75;
  pointer-events: none;
}
.cta-banner::before { left: -40px; top: -20px; }
.cta-banner::after {
  right: -40px; bottom: -20px;
  background-image: url("../img/deco/confetti-dots.png");
  transform: scaleX(-1);
}
.cta-banner .wrap { position: relative; z-index: 1; }

/* the Instagram quote reads as a speech bubble */
.insta-quote {
  position: relative;
}
.insta-quote::after {
  content: "";
  position: absolute;
  right: -34px; bottom: -30px;
  width: 92px; height: 92px;
  background: url("../img/deco/star-yellow.png") no-repeat center / contain;
  transform: rotate(12deg);
  pointer-events: none;
}
.insta-quote::before {
  content: "";
  position: absolute;
  left: -30px; top: -26px;
  width: 74px; height: 74px;
  background: url("../img/deco/sparkle-teal.png") no-repeat center / contain;
  pointer-events: none;
}

/* point cards: a confetti burst above the label instead of a plain icon */
.point-card { position: relative; overflow: hidden; }
.point-card::before {
  content: "";
  position: absolute;
  right: -18px; top: -14px;
  width: 84px; height: 84px;
  background: url("../img/deco/confetti-dots.png") no-repeat center / contain;
  opacity: 0.35;
  pointer-events: none;
}

/* shop photos get a rounded frame */
.photo-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
}

@media (max-width: 780px) {
  .cta-banner::before, .cta-banner::after { width: 150px; height: 120px; opacity: 0.5; }
  /* pulled inside the box so neither star can be clipped by the screen edge */
  .insta-quote::before {
    width: 50px; height: 50px;
    left: -8px; top: -18px;
  }
  .insta-quote::after {
    width: 56px; height: 56px;
    right: -8px; bottom: -20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover .card__img img { transform: none; }
}


/* ---------- Footer banner ---------- */
.site-footer { padding-top: 0; }
.footer-banner {
  width: 100%;
  height: clamp(150px, 22vw, 300px);
  object-fit: cover;
  object-position: center 42%;
  display: block;
  margin-bottom: 52px;
}
.site-footer .footer-banner { margin-bottom: 44px; }

/* ---------- Blog ---------- */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 860px;
  margin: 0 auto;
}
.blog-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 26px;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px 28px 22px 22px;
}
.blog-card__thumb {
  display: block;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 20px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card__thumb img { width: 100%; height: auto; }
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  color: var(--color-pink-deep);
  font-size: 0.95rem;
}
.blog-tag {
  background: var(--color-sky);
  color: var(--color-chocolate);
  border-radius: 999px;
  padding: 3px 14px;
  font-size: 0.8rem;
  font-weight: 700;
}
.blog-tag--new { background: var(--color-lemon); }
.blog-card__title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.blog-card__body p:last-child { margin-bottom: 0; font-size: 0.95rem; }

@media (max-width: 680px) {
  .blog-card { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .blog-card__thumb { max-width: 220px; margin: 0 auto; }
}

/* ---------- Placed decorations ---------- */
.deco-rainbow {
  width: 130px;
  margin: 0 auto 6px;
  opacity: 0.95;
}
.deco-sunburst {
  position: absolute;
  left: 50%; top: 50%;
  width: 320px;
  transform: translate(-50%, -50%);
  opacity: 0.32;
  z-index: 0;
  pointer-events: none;
}
.deco-star {
  position: absolute;
  width: 62px;
  pointer-events: none;
}
.deco-star--a { right: 8%;  top: -6px;  transform: rotate(-14deg); }
.deco-star--b { right: 20%; top: 96px;  width: 46px; transform: rotate(10deg); }

@media (max-width: 620px) {
  .deco-sunburst { width: 200px; }
  .deco-star { display: none; }
}
