/* ============================================================
   The Bureau — Volunteering. Design system.
   Palette + type lifted from the supplied brand mockup.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Mulish:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Caveat:wght@600;700&display=swap');

:root {
  /* Brand colours sampled from the mockup */
  --teal:        #1a8c9c;
  --teal-deep:   #136d7c;
  --teal-ink:    #1b4b54;   /* body headings / dark teal text */
  --orange:      #ee6b2d;
  --orange-dk:   #d65a1e;
  --coral:       #e24e37;
  --coral-dk:    #c63f2b;
  --green:       #7fb73e;
  --green-dk:    #6aa02e;
  --gold:        #f3a83a;
  --gold-dk:     #e0942a;

  --cream:       #faf3e3;
  --cream-2:     #f4e9d2;
  --card:        #fdf9f0;
  --white:       #ffffff;

  --ink:         #244b53;   /* default text */
  --muted:       #6c8086;
  --line:        #e7dcc4;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body:    'Mulish', system-ui, sans-serif;
  --font-hand:    'Caveat', cursive;

  --shadow-card: 0 14px 30px -16px rgba(27,75,84,.30);
  --shadow-soft: 0 8px 20px -12px rgba(27,75,84,.28);

  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(27,75,84,.035) 1px, transparent 1px);
  background-size: 24px 24px;
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal-ink);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: var(--teal-deep); }

button { font-family: inherit; cursor: pointer; }

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

/* ---------- Buttons (chunky, slight extruded shadow) ---------- */
.btn {
  --b: var(--orange);
  --bd: var(--orange-dk);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  background: var(--b);
  border: none;
  padding: 15px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--bd);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover   { transform: translateY(-1px); box-shadow: 0 5px 0 var(--bd); filter: brightness(1.03); }
.btn:active  { transform: translateY(3px); box-shadow: 0 1px 0 var(--bd); }
.btn .arrow  { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--teal   { --b: var(--teal);   --bd: var(--teal-deep); }
.btn--coral  { --b: var(--coral);  --bd: var(--coral-dk); }
.btn--green  { --b: var(--green);  --bd: var(--green-dk); }
.btn--gold   { --b: var(--gold);   --bd: var(--gold-dk); }
.btn--ghost {
  background: transparent; color: var(--teal-deep);
  box-shadow: inset 0 0 0 2px var(--teal); 
}
.btn--ghost:hover { background: rgba(26,140,156,.08); box-shadow: inset 0 0 0 2px var(--teal); transform: none; }
.btn--sm { padding: 10px 18px; font-size: .92rem; border-radius: 10px; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Tag chips ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  padding: 5px 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  white-space: nowrap;
}
.tag--orange { background: var(--orange); }
.tag--coral  { background: var(--coral); }
.tag--green  { background: var(--green); }
.tag--gold   { background: var(--gold); }
.tag--teal   { background: var(--teal); }
.tag--soft   { background: #efe6d0; color: var(--teal-ink); }

/* ---------- Section title with flanking rules + dots ---------- */
.sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 36px;
}
.sec-title h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 700; text-align: center; }
.sec-title .rule { height: 2px; flex: 0 1 90px; background: var(--line); border-radius: 2px; position: relative; }
.sec-title .rule::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); transform: translateY(-50%);
}
.sec-title .rule.l::after { right: -3px; }
.sec-title .rule.r::after { left: -3px; }

/* ---------- Decorative blobs ---------- */
.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }

/* ---------- Cards ---------- */
.surface {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; }
.muted { color: var(--muted); }

/* dashed divider used inside cards */
.dash { border: none; border-top: 1.5px dashed var(--line); margin: 14px 0; }

/* striped image placeholder */
.ph {
  background-color: var(--cream-2);
  background-image: repeating-linear-gradient(45deg, rgba(27,75,84,.05) 0 10px, transparent 10px 20px);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: ui-monospace, monospace; font-size: .72rem; letter-spacing: .04em;
}

/* focus visibility */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
