/* Strawberry milk */
:root {
  --bg: #FFF7F3;
  --surface: #FFFFFF;
  --panel: #FDE8ED;
  --ink: #3A2A30;
  --muted: #7A5F68;
  --body: #4F3B42;
  --accent: #C9466E;
  --accent-hover: #B03C61;
  --link: #B03C61;
  --tint: #FBDDE4;
  --tint-ink: #8A3E55;
  --line: #F2DFE2;
  --soft-line: #F6E6E9;
  --sparkle: #F2A0B4;
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --text: 'Nunito', system-ui, sans-serif;
  --r-card: 28px;
  --pad-card: 10px;
  --r-inner: calc(var(--r-card) - var(--pad-card));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.5; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sparkle); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.seal { display: block; flex: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; background: var(--accent); color: #FFFFFF;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-hover); color: #FFFFFF; transform: translateY(-1px); }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1px var(--sparkle); }

/* Nav */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 22px; }
.logo:hover { color: var(--ink); }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-weight: 700; font-size: 16px; }
.nav nav a:not(.btn) { color: var(--ink); padding: 10px 0; }
.nav nav a:not(.btn):hover { color: var(--accent); }

/* Hero */
.hero { position: relative; background: var(--panel); border-radius: 40px; margin-top: 8px; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 64px 56px 72px; }
.hero-text { flex: 1 1 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.01em; }
.hero h1 .spark { display: inline-block; width: .42em; height: .42em; margin-left: .1em; vertical-align: .9em; }
.hero p { font-size: 20px; color: var(--muted); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--surface); font-weight: 700; font-size: 14px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3E9B63; }
.status.closed::before { background: var(--accent); }

.hero-art { flex: 1 1 360px; position: relative; display: flex; justify-content: center; padding: 8px 0 24px; }
.sticker { position: relative; width: min(100%, 420px); background: var(--surface); border-radius: 32px; padding: 12px; transform: rotate(2deg); box-shadow: 0 18px 40px -24px rgba(138, 62, 85, .45); }
.sticker img, .sticker .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.ph { display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--tint-ink); font-weight: 700; text-align: center; padding: 16px; }
.peek { position: absolute; left: -34px; bottom: -6px; width: 112px; transform: rotate(-6deg); }
.spark-a { position: absolute; top: 4px; right: 6%; width: 26px; }
.spark-b { position: absolute; top: 34%; left: 2%; width: 16px; }

/* Sections */
section.block { padding: 88px 0 0; }
.title { display: flex; flex-direction: column; gap: 10px; font-size: 40px; margin-bottom: 32px; }
.title::after {
  content: ""; width: 72px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 10'%3E%3Cpath d='M2 5q7.5-6 15 0t15 0 15 0 15 0 8 0' fill='none' stroke='%23F2A0B4' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}
.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 24px; background: var(--surface); border-radius: var(--r-card); color: var(--muted); font-weight: 700; text-align: center; }

/* Portfolio */
.masonry { columns: 3 260px; column-gap: 20px; }
.tile {
  display: block; width: 100%; margin: 0 0 20px; break-inside: avoid; cursor: zoom-in; text-align: left;
  background: var(--surface); border: 0; border-radius: var(--r-card); padding: var(--pad-card);
  transition: transform .2s, box-shadow .2s;
}
.tile:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 16px 32px -22px rgba(138, 62, 85, .5); }
.tile img { width: 100%; height: auto; border-radius: var(--r-inner); }
.tile span { display: block; padding: 10px 8px 4px; font-weight: 700; font-size: 16px; }

/* Waitlist */
.queue { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.q { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 18px 24px; background: var(--surface); border-radius: 24px; }
.q-n { width: 36px; height: 36px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint); color: var(--tint-ink); font-weight: 800; }
.q-who { flex: 1 1 180px; display: flex; flex-direction: column; min-width: 0; }
.q-who b { font-size: 17px; overflow-wrap: anywhere; }
.q-who span { color: var(--muted); font-size: 15px; }
.q-prog { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.steps { display: flex; gap: 4px; }
.steps i { flex: 1; height: 8px; border-radius: 999px; background: var(--soft-line); }
.steps i.on { background: var(--accent); }
.q-prog span { font-size: 14px; font-weight: 700; color: var(--body); }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.chip.paid { background: #DDF1E4; color: #24603B; }
.chip.deposit { background: #FFE6D3; color: #85461C; }
.chip.unpaid { background: var(--soft-line); color: #5C4148; }
.chip.refunded { background: #ECE7F5; color: #4E3F78; }
.q-date { min-width: 72px; text-align: right; font-weight: 700; white-space: nowrap; }
.q-date small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
@media (min-width: 760px) {
  .q { display: grid; grid-template-columns: 36px minmax(0, 1.1fr) minmax(0, 1.4fr) 128px 76px; }
  .q .chip { justify-self: start; }
}

/* Prices */
.prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.price { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border-radius: var(--r-card); padding: var(--pad-card); }
.price img, .price .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-inner); }
.price-body { display: flex; flex-direction: column; gap: 4px; padding: 0 10px 12px; }
.price-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price h3 { font-size: 22px; }
.price-head span { font-weight: 800; font-size: 18px; color: var(--link); white-space: nowrap; }
.price p { color: var(--muted); font-size: 15px; }

/* Terms + about */
.pair { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 400px; background: var(--surface); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card h2 { font-size: 28px; }
.terms { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--body); }
.terms li { position: relative; padding-left: 26px; }
.terms li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l1.8 6.2L20 10l-6.2 1.8L12 18l-1.8-6.2L4 10l6.2-1.8z' fill='%23F2A0B4'/%3E%3C/svg%3E") no-repeat center / contain;
}
.about-head { display: flex; align-items: center; gap: 16px; }
.avatar { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; background: var(--tint); box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--tint); }
.about-text { color: var(--body); white-space: pre-line; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; }
.links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

/* Footer */
footer.foot { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 96px; padding: 32px 24px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* Lightbox */
dialog.lightbox { border: 0; padding: 12px; border-radius: 28px; background: var(--surface); max-width: min(92vw, 1000px); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(58, 42, 48, .55); }
dialog.lightbox img { max-height: calc(92vh - 90px); width: auto; margin: 0 auto; border-radius: 16px; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 6px 2px 10px; font-weight: 700; }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft-line); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--tint); }

@media (max-width: 640px) {
  .hero { border-radius: 28px; }
  .hero-inner { padding: 40px 24px 48px; gap: 32px; }
  .peek { left: -10px; width: 88px; }
  .title { font-size: 32px; }
  .q { padding: 16px 18px; }
  .q-date { text-align: left; }
  .card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .btn { transition: none; }
}
