/* ============================================================
   FOOTHILL THEATRE WORKSHOP — "Sticker Book" design system
   ============================================================ */
:root {
  /* Brand */
  --gold:        #F4A623;
  --gold-deep:   #E2900C;
  --ink:         #211D17;     /* warm near-black */
  --ink-soft:    #4A443B;
  --paper:       #FFF7EA;     /* warm cream */
  --paper-2:     #FBEFD8;     /* deeper cream panel */
  --white:       #FFFFFF;

  /* Accents — drawn from the real brand kit */
  --teal:        #4BA697;     /* brand secondary (FTW submark) */
  --teal-deep:   #2F8576;
  --coral:       #F0563B;     /* warm accent */
  --coral-deep:  #D33E26;
  --sky:         #6FB3DC;     /* Frozen / icy */
  --sky-deep:    #2F86BC;
  --violet:      #8A5BA6;     /* Butter Knife */
  --violet-deep: #6B3F86;
  --mint:        #3DBE8B;
  --berry:       #E1538A;

  /* Tints */
  --sky-tint:    #E6F1FA;
  --coral-tint:  #FDE7E1;
  --gold-tint:   #FCEEC9;
  --mint-tint:   #E1F4EC;
  --teal-tint:   #E0F1ED;
  --violet-tint: #EFE6F4;

  /* Type */
  --display: "Fredoka", system-ui, sans-serif;
  --body: "Mulish", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  /* Sticker shape language */
  --bd: 2.5px;
  --bd-ink: var(--bd) solid var(--ink);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-soft: 0 14px 40px rgba(33,29,23,.12);

  /* Layout */
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
p { line-height: 1.6; margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  border: var(--bd-ink);
  border-radius: var(--r-pill);
  padding: 13px 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--gold { background: var(--gold); }
.btn--coral { background: var(--coral); color: var(--white); }
.btn--sky { background: var(--sky); color: var(--white); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ghost { box-shadow: none; background: transparent; }
.btn--ghost:hover { box-shadow: var(--shadow-sm); transform: translate(-2px,-2px); }
.btn--lg { font-size: 19px; padding: 16px 32px; box-shadow: var(--shadow); }
.btn--lg:hover { box-shadow: var(--shadow-lg); }
.btn--sm { font-size: 14px; padding: 9px 16px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: var(--bd-ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.card--flat { box-shadow: var(--shadow-soft); border: none; }

/* ---------- Pills / tags ---------- */
.tag {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  border: var(--bd-ink);
  border-radius: var(--r-pill);
  padding: 5px 13px;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.tag--gold { background: var(--gold-tint); }
.tag--sky { background: var(--sky-tint); }
.tag--coral { background: var(--coral-tint); }
.tag--mint { background: var(--mint-tint); }
.tag--teal { background: var(--teal-tint); }
.tag--violet { background: var(--violet-tint); }

/* ---------- Inputs ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
}
.field .hint { font-size: 12.5px; color: var(--ink-soft); }
.input, .select, .textarea {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  width: 100%;
  transition: box-shadow .12s ease, border-color .12s ease;
}
.input::placeholder, .textarea::placeholder { color: #b3aa99; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  box-shadow: 3px 3px 0 var(--gold);
}
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23211D17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.textarea { resize: vertical; min-height: 96px; }

/* ---------- Section rhythm ---------- */
.section { padding-block: clamp(56px, 9vw, 110px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

/* ---------- Utility ---------- */
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.divider { height: var(--bd); background: var(--ink); border: 0; border-radius: 2px; }

/* hand-drawn dashed underline accent */
.squiggle { position: relative; display: inline-block; }
.squiggle::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='8' viewBox='0 0 80 8' fill='none'%3E%3Cpath d='M1 5C12 2 20 2 30 5C40 8 48 8 58 5C68 2 74 2 79 4' stroke='%23F4A623' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
  background-size: 80px 8px;
}

/* slide in (no opacity — stays visible in static capture / reduced-motion) */
@keyframes pop { from { transform: translateY(16px) scale(.99); } to { transform: none; } }
.pop { animation: pop .5s cubic-bezier(.2,.7,.3,1) both; }
@media (prefers-reduced-motion: reduce) { .pop, .floaty { animation: none; } }

/* spinning star ambient float */
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-9px) rotate(var(--rot,0deg)); } }
.floaty { animation: floaty 5s ease-in-out infinite; }

/* scrollbar-free horizontal */
.noscroll::-webkit-scrollbar { display: none; }

/* placeholder image (striped) */
.ph {
  background:
    repeating-linear-gradient(135deg, rgba(33,29,23,.05) 0 10px, rgba(33,29,23,0) 10px 20px),
    var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-align: center;
  padding: 12px;
}

/* ── Staff cards ── */
.staff-card { flex-direction: row; }
.staff-card__photo { height: 100%; }

@media (max-width: 680px) {
  .staff-card { flex-direction: column; }
  .staff-card__photo {
    width: 100% !important;
    height: 260px;
    border-right: none !important;
    border-bottom: var(--bd-ink);
  }
}
