/* Public Mivtza Chanukah landing page (layouts/chanuka_landing). */
.cl {
  --cl-navy: #101a30;
  --cl-navy-2: #1b2a4a;
  --cl-gold: #d9ad4f;
  --cl-gold-deep: #7a5a14;
  --cl-paper: #faf9f6;
  --cl-sand: #e5e0d6;
  --cl-ink: #232323;
  --cl-muted: #55514a;
  margin: 0;
  background: var(--cl-paper);
  color: var(--cl-ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.cl *, .cl *::before, .cl *::after { box-sizing: border-box; }
.cl-wrap { width: min(100% - 2.5rem, 62rem); margin-inline: auto; }
.cl :focus-visible { outline: 3px solid var(--cl-gold); outline-offset: 3px; }

/* Hero */
.cl-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(40rem 26rem at 78% 40%, rgba(217, 173, 79, .28), transparent 70%),
    radial-gradient(2px 2px at 12% 20%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.5px 1.5px at 30% 70%, rgba(255,255,255,.6), transparent),
    radial-gradient(2px 2px at 55% 15%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 90% 80%, rgba(255,255,255,.6), transparent),
    linear-gradient(180deg, #172647, var(--cl-navy));
  color: white;
  padding: 1rem 0 clamp(3.5rem, 9vw, 6.5rem);
}
.cl-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--cl-gold), transparent); }
.cl-hero__grid { display: grid; gap: 2rem; align-items: center; position: relative; z-index: 1; }
.cl-hero__bh { margin: 0 0 1.5rem; text-align: right; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.1rem; color: rgba(255,255,255,.65); }
.cl-eyebrow { margin: 0 0 1.1rem; color: var(--cl-gold); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cl-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 9vw, 5.6rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.cl-hero h1 em { font-style: italic; color: #ffe08a; }
.cl-lede { max-width: 34rem; margin: 1.4rem 0 0; font-size: clamp(1.08rem, 2.6vw, 1.3rem); color: rgba(255,255,255,.88); }
.cl-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 2rem; }
.cl-dates { display: grid; gap: .15rem; margin: 2rem 0 0; padding-inline-start: 1rem; border-inline-start: 3px solid var(--cl-gold); color: rgba(255,255,255,.7); font-size: .95rem; }
.cl-dates strong { color: white; font-size: 1.1rem; }

.cl-hero__art { position: relative; display: grid; place-items: center; order: -1; }
.cl-glow { position: absolute; width: 120%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,214,102,.45), rgba(255,170,50,.12) 40%, transparent 68%); animation: cl-breathe 5s ease-in-out infinite; }
.cl-menorah { position: relative; width: min(78%, 26rem); height: auto; overflow: visible; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.cl-flames { filter: drop-shadow(0 0 7px rgba(255,190,70,.95)); }
.cl-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: cl-flicker 2.4s ease-in-out infinite; }
.cl-flame:nth-child(2) { animation-delay: -.4s; } .cl-flame:nth-child(3) { animation-delay: -.9s; }
.cl-flame:nth-child(4) { animation-delay: -1.3s; } .cl-flame:nth-child(5) { animation-delay: -.2s; }
.cl-flame:nth-child(6) { animation-delay: -1.7s; } .cl-flame:nth-child(7) { animation-delay: -.7s; }
.cl-flame:nth-child(8) { animation-delay: -1.1s; } .cl-flame:nth-child(9) { animation-delay: -1.9s; }
@keyframes cl-flicker {
  0%, 100% { transform: scale(1, 1) skewX(0); }
  25% { transform: scale(.94, 1.07) skewX(2deg); }
  50% { transform: scale(1.04, .95) skewX(-2deg); }
  75% { transform: scale(.97, 1.05) skewX(1deg); }
}
@keyframes cl-breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .cl-flame, .cl-glow { animation: none; } }

.cta-button {
  display: inline-block;
  min-height: 3.1rem;
  padding: .9rem 1.9rem;
  border: 2px solid var(--cl-gold);
  border-radius: 999px;
  background: linear-gradient(180deg, #f3cd72, var(--cl-gold));
  color: var(--cl-navy);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(217,173,79,.35);
  transition: transform .15s, box-shadow .15s;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(217,173,79,.5); }
.cta-button--ghost { background: transparent; color: white; box-shadow: none; }
.cta-button--ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }

/* Notice */
.cl-notice { display: flex; align-items: center; gap: .9rem; margin: clamp(2rem, 5vw, 3rem) 0 0; padding: 1.1rem 1.4rem; background: #f4ead2; border: 1px solid #e3d3a6; border-radius: .6rem; }
.cl-notice p { margin: 0; font-weight: 700; }
.cl-notice__mark { color: var(--cl-gold-deep); font-size: 1.3rem; }

/* Sections */
.cl-section { padding-top: clamp(3rem, 8vw, 5rem); }
.cl-kicker { margin: 0; color: var(--cl-gold-deep); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cl-section h2, .cl-prizes-band h2, .cl-closing h2 { margin: .3rem 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.05; }

.cl-steps { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: none; }
.cl-steps li { position: relative; padding: 1.5rem; background: white; border: 1px solid var(--cl-sand); border-radius: .8rem; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 10px 30px -18px rgba(16,26,48,.35); }
.cl-steps h3 { margin: 1rem 0 .35rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; line-height: 1; }
.cl-steps p { margin: 0; color: var(--cl-muted); }
.cl-steps__n { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 999px; background: var(--cl-navy); color: var(--cl-gold); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; font-weight: 700; }

.cl-prizes-band { margin-top: clamp(3rem, 8vw, 5rem); padding: clamp(3rem, 7vw, 5rem) 0; background: linear-gradient(180deg, #172647, var(--cl-navy)); color: white; }
.cl-prizes { display: grid; gap: .8rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.cl-prizes li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; background: rgba(255,255,255,.06); border: 1px solid rgba(217,173,79,.35); border-radius: .8rem; }
.cl-prizes strong { grid-column: 2; color: var(--cl-gold); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; line-height: 1.1; }
.cl-prizes li > span:last-child { grid-column: 2; color: rgba(255,255,255,.9); font-weight: 600; }
.cl-prizes__n { grid-row: 1 / span 2; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 999px; background: var(--cl-gold); color: var(--cl-navy); font-weight: 700; }

.cl-closing { padding: clamp(3.5rem, 9vw, 6rem) 0; text-align: center; }
.cl-closing h2 { max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.cl-closing .cl-actions { justify-content: center; }
.cl-closing .cta-button--ghost { color: var(--cl-ink); border-color: var(--cl-gold-deep); }
.cl-closing .cta-button--ghost:hover { background: #f4ead2; }

@media (min-width: 40rem) {
  .cl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-prizes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62rem) {
  .cl-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .cl-hero__art { order: 0; }
  .cl-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cl-prizes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cl-prizes li { grid-template-columns: 1fr; row-gap: .6rem; text-align: center; padding: 1.5rem 1rem; }
  .cl-prizes strong, .cl-prizes li > span:last-child { grid-column: 1; }
  .cl-prizes__n { grid-row: auto; margin-inline: auto; }
}

/* Footer */
.chanuka-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  margin-top: clamp(3rem, 8vw, 5rem);
  padding: 1.5rem max(1.25rem, calc((100vw - 62rem) / 2));
  background: white;
  border-top: 1px solid var(--cl-sand);
  color: var(--cl-ink);
  font-size: .9rem;
  font-weight: 600;
}
.chanuka-footer p { margin: 0; }
.chanuka-footer__brand img { display: block; width: 130px; height: auto; }
.chanuka-footer__contacts { display: flex; flex-wrap: wrap; gap: 1rem; }
.chanuka-footer__contacts a { color: var(--cl-gold-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 40rem) { .chanuka-footer { align-items: flex-start; flex-direction: column; } }

/* Forms (signup, Du'ch, suggest a place) */
.cf-wrap { width: min(100% - 2.5rem, 62rem); margin-inline: auto; }
.cf-wrap--form { max-width: 46rem; }
.cf-hero {
  background:
    radial-gradient(34rem 18rem at 85% -4rem, rgba(217, 173, 79, .3), transparent 70%),
    linear-gradient(180deg, #172647, var(--cl-navy));
  color: white;
  padding: 1.25rem 0 clamp(4.5rem, 10vw, 6.5rem);
  border-bottom: 4px solid var(--cl-gold);
}
.cf-back { display: inline-block; margin-bottom: 1.5rem; color: rgba(255,255,255,.8); font-weight: 600; text-decoration: none; }
.cf-back:hover { color: white; text-decoration: underline; text-underline-offset: .25em; }
.cf-hero h1 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.4rem, 7vw, 3.8rem); line-height: 1.02; text-wrap: balance; }
.cf-hero__intro { max-width: 36rem; margin: 1rem 0 0; color: rgba(255,255,255,.85); font-size: 1.1rem; }

.cf-main { padding-bottom: 1rem; }
.cf-main .cf-wrap--form { margin-top: -3rem; position: relative; display: grid; gap: 1.1rem; }
.cf-form { display: grid; gap: 1.25rem; }
.cf-section {
  min-width: 0;
  margin: 0;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background: white;
  border: 1px solid var(--cl-sand);
  border-radius: .9rem;
  box-shadow: 0 14px 34px -24px rgba(16, 26, 48, .5);
  display: grid;
  gap: 1rem;
}
.cf-section legend { float: left; width: 100%; padding: 0; margin: 0 0 .25rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; font-weight: 700; line-height: 1.1; display: flex; align-items: center; gap: .65rem; }
.cf-section legend + * { clear: both; }
.cf-section__n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: var(--cl-navy); color: var(--cl-gold); font-family: "DM Sans", sans-serif; font-size: .95rem; font-weight: 700; }
.cf-hint { margin: 0; color: var(--cl-muted); font-size: .95rem; }
.cf-grid { display: grid; gap: 1rem; }
.cf-field { display: grid; gap: .35rem; min-width: 0; }
.cf-field label { font-weight: 700; font-size: .92rem; }
.cf-field :is(input:not([type="checkbox"], [type="submit"], [type="hidden"]), select, textarea) {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .85rem;
  border: 1.5px solid #bdb5a3;
  border-radius: .55rem;
  background: white;
  color: var(--cl-ink);
  font: inherit;
}
.cf-field textarea { min-height: 6rem; resize: vertical; }
.cf-field :is(input, select, textarea):focus { border-color: var(--cl-gold-deep); outline: 3px solid rgba(217, 173, 79, .45); outline-offset: 0; }

.cf-choices { display: grid; gap: .6rem; }
.cf-choice { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 1rem; border: 1.5px solid var(--cl-sand); border-radius: .65rem; background: var(--cl-paper); cursor: pointer; line-height: 1.35; }
.cf-choice:hover { border-color: #c8bc9f; }
.cf-choice input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--cl-gold-deep); }
.cf-choice:has(input:checked) { border-color: var(--cl-gold-deep); background: #f8efd7; box-shadow: inset 0 0 0 1px var(--cl-gold-deep); }
.cf-choice small { color: var(--cl-muted); }

.cf-child { position: relative; display: grid; gap: .75rem; padding: 1rem; margin-bottom: .9rem; background: var(--cl-paper); border: 1px solid var(--cl-sand); border-radius: .65rem; }
.cf-link { padding: 0; border: 0; background: none; color: var(--cl-gold-deep); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.cf-child__remove { justify-self: start; }
.cf-add { justify-self: start; min-height: 2.75rem; padding: .55rem 1.1rem; border: 1.5px dashed var(--cl-gold-deep); border-radius: 999px; background: transparent; color: var(--cl-gold-deep); font: inherit; font-weight: 700; cursor: pointer; }
.cf-add:hover { background: #f8efd7; }

.cf-submit { width: 100%; font-size: 1.15rem; cursor: pointer; }
.cta-button--small { min-height: 2.6rem; padding: .55rem 1.25rem; font-size: .95rem; cursor: pointer; }
.cf-aside { margin: 0; text-align: center; }
.cf-aside a { color: var(--cl-gold-deep); font-weight: 600; }

.cf-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1rem 1.25rem; background: #f4ead2; border: 1px solid #e3d3a6; border-inline-start: 4px solid var(--cl-gold); border-radius: .65rem; }
.cf-banner strong { display: block; font-size: 1.05rem; }
.cf-banner span { color: var(--cl-muted); font-size: .95rem; }
.cf-banner form { margin: 0; }
.cf-unlock { padding: 1rem 1.25rem; background: white; border: 1px dashed var(--cl-gold-deep); border-radius: .65rem; }
.cf-unlock summary { font-weight: 700; cursor: pointer; color: var(--cl-gold-deep); }
.cf-unlock p { margin: .75rem 0; color: var(--cl-muted); font-size: .95rem; }
.cf-inline { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
.cf-inline .cf-field { flex: 1 1 14rem; }

.cf-notice, .cf-error, .cf-success { margin: 0; padding: 1rem 1.25rem; border-radius: .65rem; }
.cf-notice { background: #eaf1fb; border: 1px solid #c4d6f0; }
.cf-error { background: #fff1ed; border: 1px solid #efc4ba; color: #7b2a22; }
.cf-error p { margin: 0 0 .35rem; font-weight: 700; }
.cf-error ul { margin: 0; padding-inline-start: 1.1rem; }
.cf-success { display: grid; gap: .6rem; justify-items: start; padding: 1.75rem; background: white; border: 1px solid var(--cl-sand); border-top: 4px solid var(--cl-gold); box-shadow: 0 14px 34px -24px rgba(16, 26, 48, .5); }
.cf-success strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; line-height: 1.1; }
.cf-success p { margin: 0; color: var(--cl-muted); }

@media (min-width: 40rem) {
  .cf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
