/* ============================================
   Playful Media — Design Tokens
   Ink (gravitas) + Gold (spark) + Teal (growth)
   on warm paper. Blueprint grid = "architect"
   signature, staircase = real tier sequence.
   ============================================ */

:root {
  --ink: #14213D;
  --ink-soft: #2A3655;
  --paper: #F7F4EC;
  --paper-raised: #FFFFFF;
  --gold: #B8862B;
  --gold-soft: #D9B872;
  --teal: #2F5D50;
  --teal-soft: #4C7C6E;
  --line: rgba(20, 33, 61, 0.12);
  --line-strong: rgba(20, 33, 61, 0.28);
  --muted: #5C6570;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --max-width: 1120px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@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;
  }
}

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ---------- Blueprint grid backdrop ---------- */
.blueprint {
  position: relative;
  overflow: hidden;
}
.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  pointer-events: none;
  opacity: 0.55;
}

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 236, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}
.wordmark em { color: var(--gold); font-style: normal; }

.nav-links {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-links a { text-decoration: none; color: var(--ink-soft); position: relative; }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
}
.nav-links .soon {
  color: var(--muted);
  cursor: default;
  font-size: 12px;
}
.nav-cta {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 10px 18px;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 2px;
  border: 1px solid var(--ink);
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--teal); border-color: var(--teal); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--space-7) 0 var(--space-6);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: var(--space-3) 0 var(--space-3);
  max-width: 16ch;
}
.hero h1 i { font-style: italic; color: var(--teal); font-weight: 400; }
.hero .lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 var(--space-4);
}
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ---------- Credibility bar ---------- */
.credibility {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) 0;
}
.cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.cred-row span { white-space: nowrap; }

/* ---------- Section shell ---------- */
section.block { padding: var(--space-6) 0; }
.section-head { max-width: 60ch; margin-bottom: var(--space-5); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  margin: var(--space-2) 0 var(--space-2);
  letter-spacing: -0.01em;
}
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.pillar {
  border-top: 2px solid var(--ink);
  padding-top: var(--space-2);
}
.pillar .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 8px 0 10px;
}
.pillar p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ---------- Staircase (tier sequence) ---------- */
.staircase {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin: var(--space-5) 0 var(--space-2);
  overflow-x: auto;
  padding-bottom: 4px;
}
.step {
  flex: 1 1 0;
  min-width: 150px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--gold);
  padding: var(--space-2);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:nth-child(1) { height: 150px; }
.step:nth-child(2) { height: 175px; }
.step:nth-child(3) { height: 200px; }
.step:nth-child(4) { height: 230px; border-bottom-color: var(--teal); }
.step:nth-child(5) { height: 210px; border-bottom-color: var(--teal); }
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(20,33,61,0.1);
}
.step .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.step h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 6px 0 6px;
}
.step p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}
.staircase-caption {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
  max-width: 22ch;
}
.cta-band .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.cta-band .btn-primary:hover { background: var(--gold-soft); }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: var(--space-4) 0;
  margin-top: var(--space-5);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.footer-links { display: flex; gap: var(--space-3); }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}
.contact-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: var(--space-4);
  border-radius: 4px;
}
.contact-card .label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-card .value { margin: 0 0 var(--space-3); font-size: 17px; }
.contact-card .value:last-child { margin-bottom: 0; }
.contact-card a { text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--gold); }

.availability {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
  background: rgba(47,93,80,0.08);
  border: 1px solid rgba(47,93,80,0.25);
  padding: var(--space-2);
  border-radius: 4px;
  margin-top: var(--space-3);
}
.availability .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); margin-top: 6px; flex-shrink: 0;
}

form.contact-form { display: flex; flex-direction: column; gap: var(--space-2); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper-raised);
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47,93,80,0.15);
}
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: -6px;
}
button.submit {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 15px 26px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease;
  align-self: flex-start;
}
button.submit:hover { background: var(--teal); border-color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
