/* littleyansh.com — "Bento & Bold" design system (2026) */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/BricolageDisplay.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --surface-2: #f3ede2;
  --ink: #16141f;
  --ink-soft: #5f5a6e;
  --line: rgba(22, 20, 31, 0.08);

  --coral: #ff4d6d;
  --cobalt: #3a5bff;
  --mint: #59e0b8;
  --butter: #ffd84d;
  --lilac: #b7a6ff;

  --glass: rgba(251, 247, 240, 0.82);
  --card-shadow: 0 1px 2px rgba(22, 20, 31, 0.05), 0 12px 32px -12px rgba(22, 20, 31, 0.18);
  --card-shadow-hover: 0 2px 4px rgba(22, 20, 31, 0.06), 0 24px 48px -16px rgba(22, 20, 31, 0.28);
  --r-lg: 24px;
  --r-md: 16px;

  --display: "Bricolage", "Avenir Next", "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131020;
    --surface: #1d1930;
    --surface-2: #262138;
    --ink: #f4efe6;
    --ink-soft: #a49dbb;
    --line: rgba(244, 239, 230, 0.1);
    --glass: rgba(19, 16, 32, 0.78);
    --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.55);
    --card-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.35), 0 24px 48px -16px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--cobalt); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

.display { font-family: var(--display); letter-spacing: -0.02em; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(22, 20, 31, 0.25);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-family: var(--display);
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo .dot { color: var(--coral); }

.site-nav { display: flex; gap: 4px; background: var(--surface-2); border-radius: 999px; padding: 4px; }

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--bg);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.hero::before {
  width: 640px; height: 640px;
  left: -180px; top: -220px;
  background: radial-gradient(circle at 40% 40%, var(--coral), transparent 65%),
              radial-gradient(circle at 70% 70%, var(--butter), transparent 60%);
  animation: drift 16s ease-in-out infinite alternate;
}

.hero::after {
  width: 560px; height: 560px;
  right: -160px; bottom: -240px;
  background: radial-gradient(circle at 60% 40%, var(--cobalt), transparent 62%),
              radial-gradient(circle at 30% 70%, var(--mint), transparent 60%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 20px;
  padding-top: 72px;
  padding-bottom: 88px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 8.5vw, 6rem);
  line-height: 0.95;
  margin: 0 0 22px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.hero h1 .tilt {
  display: inline-block;
  color: var(--coral);
  transform: rotate(-2deg);
}

.hero p.lede {
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 30rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
}

.btn .arr { transition: transform 0.2s; }
.btn:hover { transform: translateY(-3px) scale(1.02); background: var(--coral); color: #fff; }
.btn:hover .arr { transform: translateX(4px); }

/* floating mini cards */
.hero-stack { position: relative; height: 380px; }

.mini {
  position: absolute;
  width: 170px;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--card-shadow-hover);
  padding: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  animation: floaty 5.5s ease-in-out infinite;
}

.mini .mini-art {
  border-radius: 10px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  margin-bottom: 8px;
  overflow: hidden;
}

.mini .mini-art img { width: 100%; height: 100%; object-fit: cover; }

.mini:nth-child(1) { left: 4%;  top: 4%;   transform: rotate(-5deg); }
.mini:nth-child(2) { right: 2%; top: 26%;  transform: rotate(4deg); animation-delay: 1.4s; }
.mini:nth-child(3) { left: 22%; bottom: 0; transform: rotate(-2deg); animation-delay: 2.8s; }

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  padding: 13px 0;
  transform: rotate(-1deg) scale(1.02);
  margin-block: -8px 26px;
}

.marquee-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: scroll-x 26s linear infinite;
  font-family: var(--display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.marquee-track span { display: inline-flex; gap: 2.2rem; }
.marquee-track .spark { color: var(--coral); }

@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ---------- toolbar ---------- */
.toolbar { padding: 8px 0 4px; }

.toolbar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.search { flex: 1 1 250px; position: relative; }

.search input {
  width: 100%;
  font: inherit;
  font-weight: 500;
  padding: 13px 18px 13px 46px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search input::placeholder { color: var(--ink-soft); }

.search input:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cobalt) 18%, transparent);
}

.search svg {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--ink-soft);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
}

.chip:hover { transform: translateY(-2px); color: var(--ink); border-color: var(--ink-soft); }

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.grid-note {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 14px 0 0;
}

/* ---------- bento grid ---------- */
.grid-section { padding: 20px 0 72px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: auto;
  grid-auto-flow: dense;
  gap: 20px;
  margin-top: 22px;
}

.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s;
  opacity: 0;
  translate: 0 24px;
}

.card.in {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.5s ease, translate 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: var(--card-shadow-hover);
}

.card--big { grid-column: span 2; grid-row: span 2; }

.card--big::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(120deg, var(--coral), var(--butter), var(--mint), var(--cobalt));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.6rem;
  overflow: hidden;
}

.card--big .card-art { aspect-ratio: auto; flex: 1; min-height: 260px; font-size: 6rem; }

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card-art img { transform: scale(1.05); }

.card-art.cat-girls       { background: linear-gradient(140deg, #ffd9e2, #ffb0c4); }
.card-art.cat-boys        { background: linear-gradient(140deg, #cfe4ff, #9ec5f5); }
.card-art.cat-baby        { background: linear-gradient(140deg, #fff0bd, #ffdd7e); }
.card-art.cat-footwear    { background: linear-gradient(140deg, #ccf3e8, #8ce4cb); }
.card-art.cat-accessories { background: linear-gradient(140deg, #e6ddff, #c8b5ff); }

@media (prefers-color-scheme: dark) {
  .card-art.cat-girls       { background: linear-gradient(140deg, #5c2a3a, #8a3a56); }
  .card-art.cat-boys        { background: linear-gradient(140deg, #23345c, #35518f); }
  .card-art.cat-baby        { background: linear-gradient(140deg, #5c4a1d, #8f742d); }
  .card-art.cat-footwear    { background: linear-gradient(140deg, #1d4a3e, #2d7561); }
  .card-art.cat-accessories { background: linear-gradient(140deg, #3a2f5c, #56458f); }
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--butter);
  color: #16141f;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(22, 20, 31, 0.2);
}

.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}

.card-cat {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
}

.card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.card--big .card-title { font-size: 1.25rem; }

.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--surface-2);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 14px;
  transition: background 0.2s, color 0.2s;
}

.card-cta .arr { transition: transform 0.2s; }
.card-cta:hover { background: var(--ink); color: var(--bg); }
.card-cta:hover .arr { transform: translateX(4px); }

.empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 56px 0;
  font-size: 1.05rem;
}

/* ---------- category & guide pages ---------- */
.crumbs {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.byline { color: var(--ink-soft); font-size: 0.88rem; margin-top: -10px; }

a.chip { text-decoration: none; display: inline-block; }

.category-page .wrap { max-width: 760px; }
.category-page .wrap-grid { max-width: 1160px; padding-bottom: 24px; }
.category-page .chips { margin: 20px 0 8px; }
.category-page .grid { margin-top: 24px; }

.faq { max-width: 760px; padding-bottom: 64px; }
.faq h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.faq-item {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--card-shadow);
  padding: 18px 22px;
  margin-top: 14px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.02rem; }
.faq-item p { margin: 0; color: var(--ink-soft); }

.guide ul, .guide ol { color: var(--ink-soft); padding-left: 1.3em; }
.guide li { margin-bottom: 0.45em; }
.guide li strong, .guide p strong { color: var(--ink); }

.table-scroll { overflow-x: auto; margin: 18px 0 6px; border-radius: var(--r-md); box-shadow: var(--card-shadow); }
.guide table { border-collapse: collapse; width: 100%; background: var(--surface); font-size: 0.92rem; }
.guide th, .guide td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.guide th { background: var(--surface-2); font-weight: 700; }
.guide tr:last-child td { border-bottom: none; }
.table-note { font-size: 0.82rem; color: var(--ink-soft); }

.disclosure-inline {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 34px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- static pages ---------- */
.page { padding: 48px 0 72px; }
.page .wrap { max-width: 720px; }
.page h1 { font-family: var(--display); font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1.05; }
.page h2 { font-family: var(--display); margin-top: 2.2em; font-size: 1.35rem; letter-spacing: -0.01em; }
.page p { color: var(--ink-soft); }
.page p strong { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: color-mix(in srgb, var(--bg) 85%, transparent);
  padding: 52px 0 36px;
  font-size: 0.92rem;
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  .site-footer { background: #0c0a16; }
}

.footer-word {
  font-family: var(--display);
  font-size: clamp(3rem, 11vw, 7.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--bg) 45%, transparent);
  user-select: none;
  margin-bottom: 30px;
  white-space: nowrap;
}

.site-footer a { color: var(--butter); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.disclosure {
  border-top: 1px solid color-mix(in srgb, var(--bg) 15%, transparent);
  padding-top: 20px;
  color: color-mix(in srgb, var(--bg) 60%, transparent);
  font-size: 0.85rem;
}

/* ---------- motion prefs ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .mini { animation: none; }
  .marquee-track { animation: none; }
  .card { opacity: 1; translate: 0 0; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-stack { height: 300px; }
  .mini { width: 140px; }
  .mini .mini-art { height: 88px; font-size: 2.1rem; }
}

@media (max-width: 720px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero-stack { height: 210px; margin-top: 10px; }
  .site-nav { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .card--big { grid-column: span 2; grid-row: span 1; }
  .card--big .card-art { min-height: 200px; }
  .card-art { font-size: 2.7rem; }
  .card-body { padding: 12px 13px 14px; }
  .footer-word { font-size: 17vw; }
}
