/* ==========================================================================
   Wild Creating — wildcreating.com
   Tokens pulled from Figma file "Wild Creating — Homepage"
   Display: Fraunces (replaces Baloo; italic replaces Playfair accents)
   Body/UI: Inter
   ========================================================================== */

:root {
  /* WC/ color styles — verbatim from Figma */
  --cream: #F6EEDF;
  --oat: #ECE0C9;
  --indigo: #232653;
  --indigo-deep: #15173A;
  --clay: #C06A4A;
  --coral: #EE6A4D;
  --gold: #E3A63E;
  --ink: #2C2823;
  --mute: #79705E;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --max-w: 1160px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--indigo); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.display {
  font-size: clamp(56px, 9vw, 104px);
  font-weight: 800;
  font-variation-settings: "opsz" 144;
  line-height: 1.02;
}

.h-xl { font-size: clamp(34px, 5vw, 52px); }
.h-lg { font-size: clamp(28px, 4vw, 42px); }
.h-md { font-size: 27px; }
.h-sm { font-size: 22px; }

.accent-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--clay);
}

.eyebrow {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}

.lede {
  font-size: 19px;
  color: var(--ink);
  max-width: 620px;
}

.muted { color: var(--mute); }

/* ---------- Nav ---------- */

.nav {
  padding: 26px 0;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  color: var(--indigo);
  text-decoration: none;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.navlinks a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--indigo);
  text-decoration: none;
}

.navlinks a:hover { color: var(--coral); }

.navlinks a[aria-current="page"] {
  color: var(--clay);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-coral { background: var(--coral); color: var(--cream); }
.btn-coral:hover { background: var(--clay); }

.btn-indigo { background: var(--indigo); color: var(--cream); }
.btn-indigo:hover { background: var(--indigo-deep); }

.btn-cream { background: var(--cream); color: var(--indigo); }
.btn-cream:hover { background: var(--oat); }

.btn-ghost {
  color: var(--indigo);
  padding: 14px 6px;
}
.btn-ghost:hover { color: var(--coral); transform: none; }

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 90px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .accent-italic {
  display: block;
  font-size: clamp(22px, 3vw, 27px);
  margin: 10px 0 26px;
}

.hero-copy p { max-width: 540px; }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ---------- Animated hero collage (signature) ----------
   Existing Figma shapes rebuilt in CSS with slow drift/breathe motion */

.collage {
  position: relative;
  height: 480px;
}

.collage > * { position: absolute; border-radius: var(--radius-lg); }

.c-indigo {
  width: 62%; height: 66%;
  top: 8%; left: 14%;
  background: var(--indigo);
  animation: breathe 11s ease-in-out infinite alternate;
}

.c-coral {
  width: 38%; height: 34%;
  top: 0; right: 2%;
  background: var(--coral);
  animation: driftA 13s ease-in-out infinite alternate;
}

.c-gold {
  width: 26%; height: 0;
  padding-bottom: 26%;
  border-radius: 50%;
  bottom: 6%; left: 4%;
  background: var(--gold);
  animation: driftB 9s ease-in-out infinite alternate;
}

.c-clay {
  width: 30%; height: 24%;
  bottom: 0; right: 12%;
  background: var(--clay);
  animation: driftA 15s ease-in-out infinite alternate-reverse;
}

.c-oat {
  width: 20%; height: 18%;
  top: 30%; left: 0;
  background: var(--oat);
  animation: driftB 12s ease-in-out infinite alternate-reverse;
}

.c-roots {
  width: 62%; height: 66%;
  top: 8%; left: 14%;
  border-radius: var(--radius-lg);
  overflow: visible;
  animation: breathe 11s ease-in-out infinite alternate;
}

@keyframes breathe {
  from { transform: scale(1); }
  to   { transform: scale(1.035); }
}

@keyframes driftA {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(-10px, 12px) rotate(-1.5deg); }
}

@keyframes driftB {
  from { transform: translate(0, 0); }
  to   { transform: translate(12px, -10px); }
}

@media (prefers-reduced-motion: reduce) {
  .collage > * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .lede { margin-top: 16px; }

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Pillar / offering cards ---------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--oat);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card .chip {
  width: 46px; height: 46px;
  border-radius: 14px;
  margin-bottom: 6px;
}

.chip-coral { background: var(--coral); }
.chip-gold { background: var(--gold); }
.chip-clay { background: var(--clay); }
.chip-indigo { background: var(--indigo); }

.card h3 { font-size: 28px; }

.card .label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.card p { font-size: 16px; }

.card .card-cta {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  color: var(--indigo);
}
.card .card-cta:hover { color: var(--coral); }

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--clay);
}
.price small {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--mute);
}

/* ---------- Dark (Salon) panel ---------- */

.panel-dark {
  background: var(--indigo-deep);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  color: var(--cream);
}

.panel-dark h2, .panel-dark h3 { color: var(--cream); }
.panel-dark .eyebrow { color: var(--gold); }
.panel-dark .lede { color: var(--oat); }

.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 44px;
}

.card-onDark {
  background: var(--indigo);
  border-radius: var(--radius-md);
  padding: 30px 28px;
}

.card-onDark h3 { font-size: 25px; margin-bottom: 10px; }
.card-onDark p { font-size: 16px; color: var(--oat); }

/* ---------- CTA band ---------- */

.band {
  background: var(--coral);
  border-radius: var(--radius-lg);
  padding: 68px 60px;
  text-align: center;
  color: var(--cream);
}

.band h2 { color: var(--cream); max-width: 640px; margin: 0 auto; }
.band p { font-size: 19px; margin: 16px auto 30px; max-width: 520px; }

/* ---------- Prose pages ---------- */

.prose { max-width: 680px; }
.prose p { margin-bottom: 22px; }
.prose h2 { font-size: 32px; margin: 44px 0 16px; }
.prose ul { margin: 0 0 22px 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- Photo placeholders ---------- */

.photo-ph {
  border: 3px dashed var(--clay);
  border-radius: var(--radius-lg);
  background: var(--oat);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--mute);
  font-size: 15px;
  font-weight: 500;
  min-height: 300px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 40px;
}

/* ---------- Doors (Writing router) ---------- */

.door {
  display: block;
  text-decoration: none;
  background: var(--oat);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  transition: transform 0.15s ease;
  border-left: 10px solid var(--gold);
}

.door:hover { transform: translateY(-4px); }

.door + .door { margin-top: 24px; }

.door.d-coral { border-left-color: var(--coral); }
.door.d-indigo { border-left-color: var(--indigo); }

.door h3 { font-size: 28px; margin-bottom: 8px; }
.door p { color: var(--ink); font-size: 16.5px; max-width: 560px; }
.door .goes {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--clay);
}

/* ---------- About layout ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--indigo-deep);
  color: var(--oat);
  margin-top: 90px;
  padding: 56px 0 40px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.footer .wordmark { color: var(--cream); font-size: 22px; }
.footer .tag { font-size: 14px; margin-top: 6px; }

.footer-nav {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--oat);
  font-size: 14.5px;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--gold); }

.footer .legal { font-size: 13px; color: var(--mute); width: 100%; margin-top: 26px; }
.footer .legal { color: #A99F8B; }

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .collage { height: 340px; max-width: 480px; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .panel-dark { padding: 48px 28px; }
  .band { padding: 52px 28px; }
  .navlinks { gap: 18px; }
}

@media (max-width: 640px) {
  .nav .wrap { flex-direction: column; gap: 14px; }
  .navlinks { justify-content: center; flex-wrap: wrap; }
  .section { padding: 60px 0; }
}
