/* Avishkar Software — Playful Pop theme. Plain CSS, no build step. */

:root {
  --paper: #fdf6ec;
  --paper-2: #ffffff;
  --ink: #211b2e;
  --ink-soft: #6c6478;

  --coral: #ff5a45;
  --violet: #6c4cf0;
  --blue: #1f9cf0;
  --yellow: #ffd95e;
  --yellow-soft: #fdeeb6;
  --mint: #12c39a;
  --pink: #ff6aa6;

  --line: rgba(32, 36, 46, 0.12);
  --shadow: 0 18px 0 -8px rgba(32, 36, 46, 0.10);
  --shadow-hard: 6px 6px 0 0 var(--ink);

  --maxw: 1160px;
  --r: 26px;
  --r-sm: 16px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --display: "Fredoka", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(42rem 30rem at 88% -10%, rgba(108, 76, 240, 0.10), transparent 62%),
    radial-gradient(36rem 26rem at 6% 2%, rgba(255, 90, 69, 0.07), transparent 60%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; color: var(--coral); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--yellow); color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2.5px solid var(--ink);
  cursor: pointer; transition: transform 0.16s var(--spring), box-shadow 0.16s var(--ease), background 0.16s;
}
.btn-pop { background: var(--coral); color: #fff; box-shadow: var(--shadow-hard); }
.btn-pop:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 var(--ink); }
.btn-pop:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--ink); }
.btn-soft { background: var(--paper-2); color: var(--ink); box-shadow: var(--shadow-hard); }
.btn-soft:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 var(--ink); background: var(--yellow); }
.btn-lg { font-size: 1.15rem; padding: 18px 32px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 239, 0.8); backdrop-filter: blur(10px); transition: box-shadow 0.3s; }
.header.is-scrolled { box-shadow: 0 2px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: #fff; background: var(--coral); border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-5deg); transition: transform 0.2s var(--spring); }
.brand:hover .brand-mark { transform: rotate(5deg) scale(1.05); }
.brand-mark.sm { width: 30px; height: 30px; font-size: 1rem; box-shadow: 2px 2px 0 var(--ink); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--display); font-weight: 500; font-size: 1rem; position: relative; transition: color 0.2s; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px; border-radius: 3px; background: var(--coral); transition: right 0.25s var(--spring); }
.nav a:not(.nav-cta):hover::after, .nav a.is-active::after { right: 0; }
.nav-cta { background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 999px; transition: transform 0.16s var(--spring); }
.nav-cta:hover { transform: rotate(-2deg) scale(1.04); }

.burger { display: none; }
.m-nav { display: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.badge { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.9rem; background: var(--paper-2); border: 2.5px solid var(--ink); border-radius: 999px; padding: 8px 18px; box-shadow: 3px 3px 0 var(--ink); margin-bottom: 22px; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 22px; }
.wiggle { color: var(--coral); display: inline-block; }
.brand:hover, .hero-title .wiggle { transition: transform 0.3s var(--spring); }
.hero-title .wiggle:hover { animation: wiggle 0.5s var(--ease); }
@keyframes wiggle { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-7deg)} 75%{transform:rotate(7deg)} }
.hero-text { color: var(--ink-soft); font-size: 1.15rem; max-width: 46ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  aspect-ratio: 1; display: grid; place-items: center; font-size: 2.4rem;
  background: var(--paper-2); border: 2.5px solid var(--ink); border-radius: 22px;
  box-shadow: 5px 5px 0 var(--ink); transform: rotate(var(--r, 0));
  animation: bob 5s ease-in-out infinite;
}
.tile-a { background: #ffe3dc; } .tile-b { background: #ece0ff; } .tile-c { background: #d9efff; }
.tile-d { background: #fff1c2; } .tile-e { background: #d7fff3; } .tile-f { background: #ffe0ee; }
.tile-b { animation-delay: .4s } .tile-c { animation-delay: .8s } .tile-d { animation-delay: 1.2s } .tile-e { animation-delay: 1.6s } .tile-f { animation-delay: 2s }
@keyframes bob { 0%,100%{transform:rotate(var(--r,0)) translateY(0)} 50%{transform:rotate(var(--r,0)) translateY(-9px)} }
@media (prefers-reduced-motion: reduce) { .tile { animation: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(54px, 8vw, 100px) 0; }
.section-band { background: var(--ink); color: var(--paper); border-radius: 40px; margin: 0 14px; }
.section-head { max-width: 680px; margin: 0 auto clamp(34px, 5vw, 54px); text-align: center; }
.kicker { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; padding: 6px 16px; border-radius: 999px; margin-bottom: 16px; border: 2.5px solid var(--ink); }
.kicker-coral { background: var(--coral); color: #fff; }
.kicker-yellow { background: var(--yellow); color: var(--ink); }
.kicker-mint { background: var(--mint); color: var(--ink); }
.section-band .kicker { border-color: var(--paper); }
.section-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -0.01em; margin: 0; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; margin: 16px auto 0; max-width: 54ch; }
.section-band .section-sub { color: rgba(255, 248, 239, 0.75); }

/* ---------- app cards ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--paper-2); border: 2.5px solid var(--ink); border-radius: var(--r);
  padding: 28px; box-shadow: 7px 7px 0 var(--ink);
  transition: transform 0.18s var(--spring), box-shadow 0.18s var(--ease);
}
.app-card:hover { transform: translate(-3px, -3px) rotate(-0.6deg); box-shadow: 11px 11px 0 var(--ink); }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status { font-family: var(--display); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.02em; padding: 5px 13px; border-radius: 999px; border: 2px solid var(--ink); white-space: nowrap; }
.status-live { background: var(--mint); color: var(--ink); }
.status-soon { background: var(--yellow); color: var(--ink); }
.status-suite { background: var(--blue); color: #fff; }
.app-emoji { font-size: 2.6rem; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; border: 2.5px solid var(--ink); }
.c-coral .app-emoji { background: #ffe3dc; } .c-violet .app-emoji { background: #ece0ff; } .c-blue .app-emoji { background: #d9efff; }
.app-tag { align-self: flex-start; font-family: var(--display); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink); }
.c-coral .app-tag { background: var(--coral); color: #fff; } .c-violet .app-tag { background: var(--violet); color: #fff; } .c-blue .app-tag { background: var(--blue); color: #fff; }
.app-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.6rem; margin: 4px 0 0; }
.app-card p { color: var(--ink-soft); margin: 0; flex: 1; }
.app-link { font-family: var(--display); font-weight: 600; transition: transform 0.16s var(--spring); }
.app-link:hover { transform: translateX(4px); color: var(--coral); }

/* ---------- sticker wall ---------- */
.sticker-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sticker { display: flex; align-items: center; gap: 16px; background: var(--paper); color: var(--ink); border: 2.5px solid var(--paper); border-radius: 20px; padding: 16px 18px; transform: rotate(var(--r, 0)); transition: transform 0.18s var(--spring); }
.sticker:hover { transform: rotate(0) scale(1.03); }
.sticker img { width: 56px; height: 56px; border-radius: 15px; border: 2.5px solid var(--ink); flex: none; }
.sticker span { font-family: var(--display); font-weight: 600; }

/* ---------- studio ---------- */
.studio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.studio-card { background: var(--paper-2); color: var(--ink); border: 2.5px solid var(--ink); border-radius: var(--r); padding: 26px 22px; box-shadow: 5px 5px 0 var(--ink); transition: transform 0.18s var(--spring); }
.studio-card:hover { transform: translateY(-4px) rotate(-1deg); }
.studio-emoji { font-size: 2rem; display: inline-block; }
.studio-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin: 12px 0 8px; }
.studio-card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* ---------- contact ---------- */
.contact-card { text-align: center; background: var(--yellow-soft); border: 3px solid var(--ink); border-radius: 36px; padding: clamp(40px, 7vw, 72px) 26px; box-shadow: 10px 10px 0 var(--ink); }
.contact-card .kicker { background: var(--paper-2); color: var(--ink); }
.contact-title { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; margin: 8px 0 14px; }
.contact-sub { color: var(--ink); opacity: 0.8; margin: 0 auto 30px; max-width: 46ch; }

/* ---------- footer ---------- */
.footer { padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-family: var(--display); font-weight: 500; color: var(--ink-soft); font-size: 0.95rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a:hover { color: var(--coral); }

/* ---------- legal / prose pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(36px, 7vw, 80px) 0; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; color: var(--ink-soft); margin-bottom: 26px; transition: color 0.2s; }
.legal .back:hover { color: var(--coral); }
.legal h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.01em; margin: 0 0 6px; }
.legal .updated { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 30px; }
.legal h2 { font-family: var(--display); font-weight: 700; font-size: 1.4rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.legal a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--violet); }
.legal .lede { font-size: 1.1rem; color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.6s var(--ease), transform 0.6s var(--spring); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .nav { display: none; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--paper-2); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
  .burger span { width: 22px; height: 3px; background: var(--ink); margin: 0 auto; border-radius: 3px; transition: transform 0.25s, opacity 0.2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .m-nav { display: flex; flex-direction: column; padding: 8px 26px 22px; }
  .m-nav[hidden] { display: none; }
  .m-nav a { font-family: var(--display); font-weight: 600; font-size: 1.2rem; padding: 13px 4px; border-bottom: 2px solid var(--line); }
  .m-nav a:last-child { border: 0; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; max-width: 360px; }
  .app-grid { grid-template-columns: 1fr; }
  .sticker-wall { grid-template-columns: 1fr 1fr; }
  .studio-grid { grid-template-columns: 1fr 1fr; }
  .section-band { margin: 0 6px; border-radius: 28px; }
}
@media (max-width: 480px) {
  .sticker-wall, .studio-grid { grid-template-columns: 1fr; }
}
