/*
Theme Name: Primalbones Listening
Theme URI: https://primalbones.com
Author: Primalbones
Author URI: https://primalbones.com
Description: A single-page listening funnel for senior-dog owners. Activating this theme turns the whole site into the funnel.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: primalbones-listening
*/

/* ===================================================================
   PRIMALBONES — LISTENING FUNNEL
   Skin lives here. Change these variables to re-colour the whole page.
   =================================================================== */
:root{
  --cream:      #F4ECD9;   /* page background (warm cream) */
  --paper:      #FBF6EA;   /* card / input background */
  --olive:      #545B33;   /* primary (deep olive) */
  --olive-soft: #7C8456;   /* lighter olive */
  --ink:        #2C2016;   /* main text (deep brown) */
  --ink-soft:   #6A5A48;   /* muted body text */
  --gold:       #BE9A4A;   /* accent */
  --line:       #D8CBB0;   /* hairlines / borders */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Mulish", system-ui, -apple-system, sans-serif;
  --maxw: 600px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  background:var(--cream);
  color:var(--ink);
  font-family:var(--body);
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
  background-image:radial-gradient(120% 80% at 50% -10%, #FBF5E6 0%, var(--cream) 55%);
}

.wrap{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  max-width:var(--maxw);
  margin:0 auto;
  padding:22px 24px 96px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--display);
  font-weight:600;
  letter-spacing:.2px;
  color:var(--ink);
  font-size:18px;
}
.brand .dot{ width:9px; height:9px; border-radius:50%; background:var(--olive); display:inline-block; }
.brand small{
  display:block;
  font-family:var(--body);
  font-weight:600;
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--olive-soft);
  margin-top:2px;
}

.stage{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:36px 0;
}
.step{ animation:rise .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:none; } }

.eyebrow{
  font-weight:700; font-size:11px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--gold); margin:0 0 18px;
}
h1.head{
  font-family:var(--display);
  font-weight:500;
  font-size:clamp(28px, 6.4vw, 38px);
  line-height:1.16;
  letter-spacing:-.01em;
  margin:0 0 18px;
  color:var(--ink);
}
.body{
  font-size:17px; line-height:1.6; color:var(--ink-soft);
  margin:0 0 30px; max-width:52ch;
}
.body.letter{ font-family:var(--display); font-style:italic; font-size:19px; color:var(--ink); }

.stat{
  font-family:var(--display);
  font-weight:500;
  font-size:clamp(54px, 15vw, 84px);
  line-height:.95;
  color:var(--olive);
  margin:0 0 8px;
  letter-spacing:-.02em;
}
.stat-label{
  font-size:18px; line-height:1.5; color:var(--ink); font-weight:600;
  margin:0 0 24px; max-width:46ch;
}

.field{ margin:0 0 30px; }
.field input, .field textarea{
  width:100%;
  font-family:var(--body);
  font-size:18px;
  color:var(--ink);
  background:transparent;
  border:none;
  border-bottom:1.5px solid var(--line);
  padding:10px 2px;
  outline:none;
  transition:border-color .2s;
  resize:none;
}
.field textarea{ min-height:108px; line-height:1.5; }
.field input:focus, .field textarea:focus{ border-bottom-color:var(--gold); }
.field input::placeholder, .field textarea::placeholder{ color:#B7A88C; }

.choices{ display:flex; flex-direction:column; gap:10px; margin:0 0 30px; }
.choice{
  text-align:left;
  font-family:var(--body); font-size:16px; font-weight:600; color:var(--ink);
  background:var(--paper);
  border:1.5px solid var(--line);
  border-radius:14px;
  padding:15px 18px;
  cursor:pointer;
  transition:border-color .15s, background .15s, transform .05s;
}
.choice:hover{ border-color:var(--olive-soft); background:#FFFCF3; }
.choice:active{ transform:scale(.99); }

.controls{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.cta{
  font-family:var(--body); font-weight:700; font-size:16px;
  color:var(--cream);
  background:var(--olive);
  border:none; border-radius:999px;
  padding:15px 30px;
  cursor:pointer;
  transition:background .18s, transform .05s;
}
.cta:hover{ background:#454A2A; }
.cta:active{ transform:translateY(1px); }
.cta.ghost{ background:transparent; color:var(--olive); padding:15px 4px; }
.back{
  background:none; border:none; cursor:pointer;
  font-family:var(--body); font-size:14px; color:var(--ink-soft);
  text-decoration:underline; text-underline-offset:3px;
}
.skip{
  background:none; border:none; cursor:pointer;
  font-family:var(--body); font-size:14px; color:var(--ink-soft);
}
.nudge{ color:#A6552F; font-size:14px; margin:-18px 0 22px; min-height:18px; }

.progress{
  position:fixed; left:0; right:0; bottom:0;
  display:flex; align-items:center; gap:12px;
  max-width:var(--maxw); margin:0 auto; width:100%;
  padding:14px 24px;
  background:linear-gradient(to top, var(--cream) 60%, transparent);
}
.track{ position:relative; flex:1; height:2px; background:var(--line); border-radius:2px; }
.fill{ position:absolute; left:0; top:0; height:100%; width:0; background:var(--olive); border-radius:2px; transition:width .45s cubic-bezier(.2,.7,.2,1); }
.paw{ position:absolute; top:50%; left:0; transform:translate(-50%,-50%); transition:left .45s cubic-bezier(.2,.7,.2,1); color:var(--olive); }
.count{ font-size:12px; font-weight:700; letter-spacing:.04em; color:var(--ink-soft); white-space:nowrap; min-width:64px; text-align:right; }

@media (prefers-reduced-motion: reduce){
  .step{ animation:none; }
  .fill,.paw{ transition:none; }
}
@media (max-width:480px){
  .wrap{ padding:18px 20px 92px; }
}
