@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&display=swap");

/* =========================================================
   Events & Celebrations — editorial layout (ec-*)
   Brand: ink #363587 · marigold #f5c307
   ========================================================= */

body.ec-page{
  background:#faf9f6;
}

.ec-page .ec-hero,
.ec-page .ec-inspire,
.ec-page .ec-ways,
.ec-page .ec-beyond,
.ec-page .ec-cta{
  position:relative;
  overflow:visible;
  scroll-margin-top:96px;
}

.ec-kicker{
  display:inline-block;
  margin:0 0 12px;
  color:rgb(52, 50, 114);
  font-family:Helvetica, Arial, sans-serif;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.ec-copy h1,
.ec-copy h2,
.ec-section-head h2,
.ec-cta-panel h2,
.ec-feature h3,
.ec-way h3{
  margin:0 0 14px;
  color:rgb(52, 50, 114);
  font-family:Helvetica, Arial, sans-serif;
  font-weight:700;
  line-height:1.15;
  letter-spacing:-.015em;
}
.ec-copy h1{
  font-size:clamp(2.2rem, 4.8vw, 3.5rem) !important;
}
.ec-lead{
  margin:0 0 18px !important;
  color:var(--marigold) !important;
  font-family:Helvetica, Arial, sans-serif !important;
  font-size:clamp(1.3rem, 2.3vw, 1.8rem) !important;
  font-weight:700 !important;
  line-height:1.2 !important;
}
.ec-copy h2,
.ec-section-head h2,
.ec-cta-panel h2{
  font-size:clamp(1.8rem, 3.2vw, 2.55rem) !important;
}
.ec-copy p,
.ec-feature p,
.ec-way p{
  margin:0 0 12px;
  color:rgb(33, 37, 41);
  line-height:1.7;
}
.ec-copy p:last-child,
.ec-feature p:last-child,
.ec-way p:last-child{ margin-bottom:0; }

.ec-script{
  margin:18px 0 22px;
  color:rgb(52, 50, 114);
  font-family:"Caveat", "Segoe Script", cursive;
  font-size:clamp(1.45rem, 2.2vw, 1.95rem) !important;
  font-weight:600 !important;
  line-height:1.25 !important;
  letter-spacing:.01em;
  transform:rotate(-3deg);
  background-image:linear-gradient(var(--marigold), var(--marigold));
  background-repeat:no-repeat;
  background-position:8px 100%;
  background-size:72% 7px;
  width:fit-content;
}

.ec-split{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(0, .92fr);
  gap:clamp(28px, 4.5vw, 64px);
  align-items:center;
}
.ec-split-media-first .ec-media{ order:1; }
.ec-split-media-first .ec-copy{ order:2; }
.ec-copy,
.ec-media{ min-width:0; }

.ec-blob,
.ec-frame,
.ec-feature-photo{
  position:relative;
  margin:0;
}
.ec-blob{
  max-width:440px;
  margin-left:auto;
  overflow:hidden;
  background:#eceaf5;
  aspect-ratio:1;
  border-radius:58% 42% 50% 50% / 40% 52% 48% 60%;
}
.ec-blob img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 30%;
  display:block;
}
.ec-frame{
  overflow:hidden;
  background:#eceaf5;
  border-radius:28px;
}
.ec-frame img{
  width:100%;
  height:auto;
  min-height:320px;
  max-height:420px;
  object-fit:cover;
  object-position:center 20%;
  display:block;
}
.ec-photo-card{
  position:absolute;
  z-index:1;
  margin:0;
  max-width:10.5rem;
  padding:14px 16px;
  background:#fff;
  color:rgb(52, 50, 114);
  font-family:Helvetica, Arial, sans-serif;
  font-size:1.02rem;
  font-weight:700;
  line-height:1.25;
  letter-spacing:-.02em;
  box-shadow:0 10px 24px -14px rgba(54, 53, 135, .4);
}
.ec-blob .ec-photo-card{
  right:10px;
  top:18px;
  left:auto;
  bottom:auto;
}
.ec-frame .ec-photo-card{
  left:16px;
  bottom:16px;
}

.ec-hero{
  padding:48px 0 36px;
  background:#fff;
}

.ec-inspire{
  padding:24px 0 20px;
  background:#fff;
}
.ec-section-head{
  margin:0 0 28px;
  text-align:center;
}
.ec-feature-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
  align-items:stretch;
}
.ec-feature{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.ec-feature-photo{
  overflow:hidden;
  background:#eceaf5;
  border-radius:18px;
}
.ec-feature-media{
  overflow:hidden;
  border-radius:18px;
  background:#1c1b4a;
}
.ec-feature-photo img{
  width:100%;
  height:210px;
  object-fit:cover;
  object-position:center 30%;
  display:block;
}
.ec-video{
  overflow:hidden;
  background:#1c1b4a;
}
.ec-video iframe{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  height:auto;
  border:0;
}
.ec-feature-photo .ec-photo-card{
  left:12px;
  bottom:12px;
  max-width:9.4rem;
  padding:12px 14px;
  font-size:.92rem;
}
.ec-feature-body{ padding:16px 4px 0; }
.ec-feature h3{
  margin:0 0 6px;
  font-size:1.15rem !important;
}
.ec-tagline{
  margin:0 0 10px !important;
  color:rgb(52, 50, 114) !important;
  font-family:Helvetica, Arial, sans-serif !important;
  font-size:.92rem !important;
  font-weight:700 !important;
  line-height:1.35 !important;
}
.ec-feature-body p{
  font-size:.9rem !important;
  line-height:1.6 !important;
}

.ec-ways{
  padding:36px 0 28px;
  background:#f7f4ee;
}
.ec-ways-grid{
  display:grid;
  grid-template-columns:repeat(8, minmax(0, 1fr));
  gap:28px 20px;
  align-items:start;
  justify-items:center;
}
.ec-way{
  grid-column:span 2;
  min-width:0;
  width:100%;
  max-width:240px;
  text-align:center;
}
.ec-way:nth-child(5){
  grid-column:2 / span 2;
}
.ec-way-photo{
  width:min(100%, 148px);
  aspect-ratio:1;
  margin:0 auto 12px;
  overflow:hidden;
  border-radius:50%;
  background:#eceaf5;
}
.ec-way-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}
.ec-way-photo.ec-way-video{
  width:min(100%, 220px);
  aspect-ratio:16 / 9;
  border-radius:14px;
  background:#1c1b4a;
}
.ec-way-photo.ec-way-video .ec-video,
.ec-way-photo.ec-way-video iframe{
  width:100%;
  height:100%;
  aspect-ratio:auto;
}
.ec-way h3{
  margin:0 0 8px;
  font-size:1rem !important;
  line-height:1.3;
}
.ec-way p{
  margin:0 auto;
  max-width:16rem;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  color:rgb(33, 37, 41) !important;
  font-size:.86rem !important;
  font-weight:400 !important;
  line-height:1.5 !important;
}
.ec-way.is-open p{
  display:block;
  -webkit-line-clamp:unset;
  overflow:visible;
}
.ec-read-more{
  display:inline-block;
  margin:8px 0 0;
  padding:0;
  color:rgb(52, 50, 114);
  background:none;
  border:0;
  font-family:Helvetica, Arial, sans-serif;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.02em;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.ec-read-more:hover{
  color:var(--marigold);
}

.ec-beyond{
  padding:48px 0;
  background:#fff;
}
.ec-beyond .ec-copy h2{ margin-bottom:14px; }
.ec-skills{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  margin:22px 0 0;
  padding:0;
}
.ec-skills li{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  margin:0;
  color:rgb(52, 50, 114);
  font-family:Helvetica, Arial, sans-serif;
  font-size:.88rem;
  font-weight:700;
  text-align:center;
}
.ec-skill-ic{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  border-radius:50%;
  font-size:1.05rem;
}
.ec-ic-1{ background:#f7c6d5; }
.ec-ic-2{ background:#c9dff7; }
.ec-ic-3{ background:#fbe7a3; }
.ec-ic-4{ background:#c8ecd4; }

.ec-cta{
  padding:0;
  background:rgb(52, 50, 114);
}
.ec-cta-panel{
  display:grid;
  grid-template-columns:minmax(0, 1.3fr) auto;
  gap:clamp(20px, 3vw, 40px);
  align-items:center;
  padding:42px 0;
}
.ec-cta-panel h2{
  margin:0;
  color:#fff;
}
.ec-cta-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}
.ec-cta-ghost{
  color:rgb(52, 50, 114);
  background:#fff;
  border:1.5px solid #fff;
}
.ec-cta-ghost:hover{
  background:rgba(255,255,255,.88);
  transform:translateY(-3px);
}

@media (max-width:980px){
  .ec-split,
  .ec-feature-grid,
  .ec-cta-panel,
  .ec-skills{
    grid-template-columns:1fr;
    gap:28px;
  }
  .ec-ways-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .ec-way,
  .ec-way:nth-child(5){
    grid-column:auto;
    max-width:none;
  }
  .ec-hero .ec-media{ order:2; }
  .ec-hero .ec-copy{ order:1; }
  .ec-blob{ margin-left:0; max-width:360px; }
  .ec-split-media-first .ec-media{ order:2; }
  .ec-split-media-first .ec-copy{ order:1; }
  .ec-cta-actions{ justify-content:flex-start; }
  .ec-skills{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
}

@media (max-width:640px){
  .ec-hero,
  .ec-beyond{ padding:30px 0; }
  .ec-ways-grid,
  .ec-skills{ grid-template-columns:1fr 1fr; }
  .ec-cta-panel{ padding:32px 0; }
  .ec-cta-actions{ flex-wrap:wrap; }
  .ec-photo-card{ font-size:.95rem; max-width:10rem; }
  .ec-frame img{ min-height:240px; }
}
