/* Settle — punknboo.com landing
   Palette pulled from Assets/ArtPunknboo/manifest.json (ink + warm/cool sets). */

:root {
  --ink:        #3B2B22;   /* warm dark brown — primary text */
  --ink-soft:   #6B5848;
  --cream:      #FBF6EE;   /* page background */
  --cream-2:    #F3E9D9;   /* raised surfaces */
  --paper:      #FFFDF9;   /* cards */

  --warm:       #E87A2C;   /* c01 — Punk */
  --warm-deep:  #CE4038;   /* c02 */
  --warm-gold:  #F2C03D;   /* c03 */
  --cool:       #5B9BD5;   /* c07 — Boo */
  --cool-soft:  #9B8FD4;   /* c08 */
  --cool-mint:  #7FC9A6;   /* c10 */

  --line: rgba(59, 43, 34, 0.12);
  --shadow-sm: 0 2px 8px rgba(59, 43, 34, 0.06);
  --shadow-md: 0 10px 30px rgba(59, 43, 34, 0.10);
  --shadow-lg: 0 24px 60px rgba(59, 43, 34, 0.14);

  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1080px;

  --font: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

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

a { color: var(--warm-deep); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; border-radius: 0 0 12px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  padding: 14px 22px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--warm); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--warm-deep); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { background: var(--cream-2); }
.btn-lg { font-size: 1.08rem; padding: 16px 28px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mascot { width: 34px; height: 34px; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.head-nav { display: flex; gap: 22px; }
.head-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.head-nav a:hover { color: var(--ink); }
@media (max-width: 620px) { .head-nav { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 700; color: var(--warm); margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 38ch; margin: 0 0 28px; }
.lede em { color: var(--warm-deep); font-style: normal; font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin: 18px 0 0; color: var(--ink-soft); font-size: 0.92rem; }

.hero-art { position: relative; min-height: 320px; }
.mascot { position: absolute; width: 46%; filter: drop-shadow(var(--shadow-md)); }
.mascot img { width: 100%; }
.mascot-punk { left: 4%; top: 8%; animation: bob 5s ease-in-out infinite; }
.mascot-boo  { right: 4%; top: 26%; width: 42%; animation: bob 5.6s ease-in-out infinite .4s; }
.float-unit { position: absolute; width: 64px; filter: drop-shadow(var(--shadow-sm)); }
.float-unit.u1 { top: 0; right: 30%; animation: bob 4.2s ease-in-out infinite; }
.float-unit.u2 { bottom: 6%; left: 16%; width: 54px; animation: bob 4.8s ease-in-out infinite .3s; }
.float-unit.u3 { bottom: 22%; right: 8%; width: 48px; animation: bob 5.2s ease-in-out infinite .6s; }

@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .mascot, .float-unit { animation: none; } }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { min-height: 240px; order: -1; }
  .mascot-punk { width: 38%; } .mascot-boo { width: 35%; }
}

/* ---------- Section scaffolding ---------- */
section { padding: 56px 0; }
.section-head { max-width: 56ch; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; letter-spacing: -0.02em; }
.section-head p { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }

/* ---------- Play / board ---------- */
.play { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.board {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 28px; max-width: 760px; margin: 0 auto;
}
.bins { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.bin {
  position: relative; text-align: center; padding: 16px 12px 12px;
  border-radius: var(--radius-sm); background: var(--cream);
  border: 2px dashed var(--line); transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.bin.drag-over { border-color: var(--warm); background: #fff; transform: translateY(-2px); }
.bin[data-bin="cool"].drag-over { border-color: var(--cool); }
.bin.settled { border-style: solid; border-color: var(--cool-mint); background: #fff; }
.bin-vessel { width: 120px; margin: 0 auto 6px; }
.bin-slot {
  display: flex; gap: 6px; justify-content: center; align-items: flex-end;
  min-height: 56px; flex-wrap: wrap;
}
.bin-label { margin: 8px 0 0; font-weight: 700; color: var(--ink); }
.bin-label span {
  display: inline-block; margin-left: 6px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft);
  background: var(--cream-2); padding: 2px 8px; border-radius: 999px;
}
.bin-cheer {
  position: absolute; top: -26px; right: 8px; width: 56px; opacity: 0;
  transform: scale(.6) rotate(-8deg); transition: opacity .3s ease, transform .3s cubic-bezier(.2,1.4,.4,1);
  pointer-events: none;
}
.bin.settled .bin-cheer { opacity: 1; transform: scale(1) rotate(0); }

.tray {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  min-height: 78px; padding: 14px; border-radius: var(--radius-sm);
  background: var(--cream-2); border: 1px solid var(--line);
}
.unit {
  width: 56px; height: 56px; cursor: grab; touch-action: none; user-select: none;
  -webkit-user-select: none; transition: transform .15s ease, filter .15s ease;
  filter: drop-shadow(var(--shadow-sm));
}
.unit img { width: 100%; height: 100%; pointer-events: none; }
.unit:hover { transform: translateY(-3px); }
.unit.dragging { cursor: grabbing; transform: scale(1.12); filter: drop-shadow(var(--shadow-md)); z-index: 30; }
.unit.placed { cursor: default; }
.unit.placed:hover { transform: none; }
.unit.settle-pop { animation: pop .4s cubic-bezier(.2,1.5,.4,1); }
@keyframes pop { 0% { transform: scale(1.25); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }

.board-status { text-align: center; margin-top: 18px; min-height: 1.5em; font-weight: 700; color: var(--cool); }
.board-status.win { color: var(--warm-deep); font-size: 1.2rem; }
.btn-reset { display: block; margin: 14px auto 0; }

.play-foot { text-align: center; color: var(--ink-soft); margin-top: 22px; font-size: 0.98rem; }

@media (max-width: 520px) {
  .board { padding: 18px; }
  .bins { gap: 12px; }
  .bin-vessel { width: 92px; }
  .unit { width: 48px; height: 48px; }
}

/* ---------- Honest cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
}
.card-mark { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Get / feedback ---------- */
.get { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); }
.get-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.get-ios, .get-feedback {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.get h2 { margin: 0 0 10px; }
.get p { color: var(--ink-soft); }
.get-ios .btn { margin-top: 8px; }
.get-fineprint { font-size: 0.92rem; margin-top: 14px; }

.feedback-form { margin-top: 8px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.95rem; }
.field .opt { font-weight: 500; color: var(--ink-soft); }
.field .req { color: var(--warm-deep); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--cream); transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--warm);
}
.field textarea { resize: vertical; }
/* honeypot — off-screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--cool-mint); }
.form-status.err { color: var(--warm-deep); }

@media (max-width: 760px) { .get-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--cream); padding: 40px 0 28px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.foot-brand strong { color: var(--warm-gold); }
.foot-nav { display: flex; gap: 22px; }
.foot-nav a { color: var(--cream); text-decoration: none; opacity: .82; }
.foot-nav a:hover { opacity: 1; }
.foot-fine { margin: 22px auto 0; opacity: .55; font-size: 0.84rem; }
