/* =========================================================
   Joanna Creative Events — design system
   Type: Libre Caslon Display (headlines) + Outfit (body/UI)
   Palette: lilac + white, soft rounded shapes and a gentle
   glow behind imagery rather than hard frames or clip-paths
   ========================================================= */

:root{
  --white:      #ffffff;
  --wash:       #f5f1fc;   /* light lilac wash */
  --lilac:      #b9a0ea;   /* primary accent */
  --lilac-deep: #7c56c9;
  --ink:        #241c33;   /* deep purple-black */
  --ink-soft:   #5c5266;
  --line:       #e8ddf7;

  --font-display: "Libre Caslon Display", Georgia, serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
p{ margin: 0 0 1em; max-width: 62ch; color: var(--ink-soft); }
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
section{ padding: 100px 0; }
@media (max-width: 720px){
  section{ padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

:focus-visible{
  outline: 2px solid var(--lilac-deep);
  outline-offset: 3px;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-lilac{ background: var(--lilac); color: var(--ink); }
.btn-lilac:hover{ background: var(--lilac-deep); color: #fff; }
.btn-line{ background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover{ background: var(--ink); color: #fff; }
.btn-line-light{ background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-line-light:hover{ border-color: var(--lilac); color: var(--lilac); }

/* ---------- header / nav ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; max-width: var(--max); margin: 0 auto;
}
.brand{ display: flex; align-items: baseline; gap: 2px; text-decoration: none; color: var(--ink); }
.brand .word{ font-family: var(--font-display); font-size: 1.45rem; }
.brand .word span{ color: var(--lilac-deep); }
.nav-links{ display: flex; align-items: center; gap: 38px; list-style: none; margin: 0; padding: 0; }
.nav-links a{
  text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--ink);
  position: relative; padding-bottom: 4px;
}
.nav-links a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--lilac-deep); transition: right 0.2s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ right: 0; }
.nav-cta{ display: flex; align-items: center; gap: 18px; }
.nav-phone{
  display: flex; align-items: center; gap: 8px; font-weight: 700;
  text-decoration: none; color: var(--ink); font-size: 0.92rem; white-space: nowrap;
}
.nav-phone svg{ flex-shrink: 0; color: var(--lilac-deep); }

.hamburger{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--white); cursor: pointer;
}
.hamburger span{ width: 18px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform 0.2s ease, opacity 0.2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px){
  .nav-links{
    position: fixed; top: 73px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .nav-links.open{ max-height: 420px; }
  .nav-links li{ width: 100%; }
  .nav-links a{ display: block; padding: 18px 24px; width: 100%; border-bottom: 1px solid var(--wash); }
  .nav-links a::after{ display: none; }
  .nav-cta .btn-line{ display: none; }
  .hamburger{ display: flex; }
}

/* ---------- hero ---------- */
.hero{ background: var(--wash); overflow: hidden; }
.hero-grid{ display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; }
.hero-copy{ padding: 84px 56px 84px 24px; }
.hero-copy .eyebrow{ font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--lilac-deep); margin-bottom: 18px; }
.hero-copy h1{ font-size: clamp(2.6rem, 4.6vw, 3.9rem); color: var(--ink); }
.hero-copy p.lede{ font-size: 1.12rem; max-width: 44ch; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 8px; }
.hero-media{ position: relative; padding: 48px 24px 48px 0; }
.hero-media::before{
  content: "";
  position: absolute;
  top: 4px; right: -40px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(185,160,234,0.55), rgba(185,160,234,0) 70%);
  filter: blur(6px);
  z-index: 0;
}
.hero-media .frame{ position: relative; z-index: 1; }
.hero-media .frame img{
  width: 100%; height: 460px; object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 30px 60px -20px rgba(124,86,201,0.35);
}
.hero-media .badge{
  position: absolute; z-index: 2;
  bottom: -20px; left: 40px;
  background: var(--white);
  border-radius: 20px;
  padding: 16px 22px;
  box-shadow: 0 20px 40px -16px rgba(36,28,51,0.25);
  display: flex; align-items: center; gap: 12px;
}
.hero-media .badge strong{ font-family: var(--font-display); font-size: 1.5rem; color: var(--lilac-deep); display: block; }
.hero-media .badge span{ font-size: 0.78rem; color: var(--ink-soft); }
@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-copy{ padding: 56px 24px 32px; order: 2; }
  .hero-media{ order: 1; padding: 40px 24px 32px; }
  .hero-media .frame img{ height: 320px; }
}

/* ---------- trust strip ---------- */
.trust-strip{ border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip .container{ display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; padding: 22px 24px; }
.trust-strip p{ margin: 0; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.trust-strip .marks{ display: flex; gap: 30px; flex-wrap: wrap; font-family: var(--font-display); font-size: 1.15rem; color: var(--lilac-deep); }

/* ---------- section headings ---------- */
.section-head{ max-width: 640px; margin-bottom: 50px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow{ font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--lilac-deep); margin-bottom: 8px; display: block; }
.section-head h2{ font-size: clamp(2rem, 3.2vw, 2.7rem); }
.section-head p{ font-size: 1.05rem; }

/* ---------- service list ---------- */
.service-list{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-cell{ background: var(--wash); border-radius: 24px; padding: 40px 36px; }
.service-cell .idx{ font-family: var(--font-display); color: var(--lilac-deep); font-size: 1.3rem; margin-bottom: 12px; display: block; }
.service-cell h3{ font-size: 1.4rem; margin-bottom: 10px; }
.service-cell p{ margin: 0 0 14px; }
.service-cell a{ font-size: 0.85rem; text-decoration: none; color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--lilac); padding-bottom: 2px; }
@media (max-width: 720px){ .service-list{ grid-template-columns: 1fr; } }

/* ---------- services page detail ---------- */
.service-detail{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 68px 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child{ border-bottom: none; }
.service-detail.reverse .copy{ order: 2; }
.service-detail.reverse .visual{ order: 1; }
.service-detail .visual img{
  width: 100%; min-height: 340px; object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 50px -20px rgba(124,86,201,0.3);
}
.service-detail .copy .num{ font-family: var(--font-display); color: var(--lilac-deep); font-size: 1.1rem; margin-bottom: 10px; display: block; }
.service-detail h3{ font-size: 2rem; }
.service-detail ul{ list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.service-detail ul li{ display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 0.98rem; }
.service-detail ul li svg{ flex-shrink: 0; margin-top: 4px; color: var(--lilac-deep); }
@media (max-width: 900px){
  .service-detail, .service-detail.reverse{ grid-template-columns: 1fr; gap: 32px; }
  .service-detail.reverse .copy{ order: 1; }
  .service-detail.reverse .visual{ order: 2; }
}

/* ---------- process ---------- */
.process{ background: var(--ink); color: #ece5f7; padding: 68px 44px; border-radius: 28px; }
.process .section-head .eyebrow{ color: var(--lilac); }
.process .section-head h2, .process .section-head p{ color: #ece5f7; }
.process .section-head p{ color: #bfaed8; }
.process-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process-step{ border-top: 2px solid var(--lilac); padding-top: 18px; }
.process-step .step-num{ font-family: var(--font-display); color: var(--lilac); font-size: 1.7rem; display: block; margin-bottom: 10px; }
.process-step h4{ color: #fff; font-size: 1.12rem; }
.process-step p{ color: #bfaed8; font-size: 0.95rem; margin: 0; }
@media (max-width: 900px){ .process{ padding: 48px 24px; } .process-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .process-grid{ grid-template-columns: 1fr; } }

/* ---------- stat band ---------- */
.stat-band{ background: var(--lilac); color: var(--ink); padding: 54px 40px; border-radius: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-band div strong{ display: block; font-family: var(--font-display); font-size: 2.5rem; }
.stat-band div span{ font-size: 0.82rem; letter-spacing: 0.03em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 720px){ .stat-band{ grid-template-columns: 1fr 1fr; padding: 40px 24px; } }

/* ---------- about page ---------- */
.about-hero{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-hero .visual img{ height: 520px; object-fit: cover; border-radius: 32px; box-shadow: 0 30px 60px -20px rgba(124,86,201,0.35); }
@media (max-width: 900px){ .about-hero{ grid-template-columns: 1fr; } .about-hero .visual img{ height: 340px; } }

.values-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card{ padding: 40px 34px; background: var(--wash); border-radius: 24px; }
.value-card:nth-child(2){ background: var(--white); border: 1px solid var(--line); }
.value-card:nth-child(3){ background: var(--ink); color: #fff; }
.value-card:nth-child(3) p{ color: #bfaed8; }
.value-card h4{ font-size: 1.28rem; margin-bottom: 10px; }
.value-card p{ margin: 0; }
@media (max-width: 860px){ .values-grid{ grid-template-columns: 1fr; } }

/* ---------- contact page ---------- */
.contact-grid{ display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-card{ background: var(--wash); padding: 40px; border-radius: 24px; }
.contact-line{ display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child{ border-bottom: none; }
.contact-line .icon{
  width: 42px; height: 42px; background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--lilac-deep);
}
.contact-line a{ text-decoration: none; font-weight: 700; color: var(--ink); }
.contact-line span{ display: block; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; font-weight: 600; }

form.lead-form{ display: grid; gap: 20px; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }
.field{ display: grid; gap: 8px; }
.field label{ font-weight: 700; font-size: 0.82rem; }
.field input, .field select, .field textarea{
  font-family: var(--font-body); font-size: 1rem; padding: 13px 14px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--lilac-deep); outline: none; }
.field textarea{ resize: vertical; min-height: 120px; }
.form-note{ font-size: 0.85rem; color: var(--ink-soft); }
.form-status{ display: none; padding: 14px 16px; border-radius: 14px; font-weight: 700; font-size: 0.95rem; }
.form-status.success{ display: block; background: #f0e8fb; color: var(--lilac-deep); border: 1px solid var(--lilac); }
.form-status.error{ display: block; background: #fdeceb; color: #b3392c; border: 1px solid #f6c6c1; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--ink); color: #fff; padding: 60px 44px; border-radius: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band .eyebrow{ color: var(--lilac); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 8px; }
.cta-band h2{ font-size: 2rem; margin-bottom: 6px; color: #fff; }
.cta-band p{ margin: 0; color: #bfaed8; }
.cta-actions{ display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer.site-footer{ background: var(--ink); color: #bfaed8; padding: 64px 0 28px; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-grid h5{ color: #fff; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.footer-grid .brand{ margin-bottom: 12px; color: #fff; }
.footer-grid p{ color: #bfaed8; font-size: 0.92rem; }
.footer-grid ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a{ color: #bfaed8; text-decoration: none; font-size: 0.94rem; }
.footer-grid a:hover{ color: var(--lilac); }
.footer-bottom{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.82rem; color: #8c7ea3; }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ---------- page hero (services/about/contact top) ---------- */
.page-hero{ background: var(--wash); padding: 68px 0 58px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow{ font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--lilac-deep); margin-bottom: 12px; display: block; }
.page-hero h1{ font-size: clamp(2.3rem, 4.4vw, 3.3rem); max-width: 18ch; }
.page-hero p{ font-size: 1.1rem; max-width: 54ch; }
