/* Choir Craft landing page. Brand: Raspberry #D81E6A, Midnight plum #2E1A47, Sunshine #FFC83D, Blush #FFE6EC */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --raspberry: #D81E6A;
  --raspberry-dark: #B5145A;
  --plum: #2E1A47;
  --plum-soft: #5A4870;
  --sunshine: #FFC83D;
  --blush: #FFE6EC;
  --paper: #FFF7F9;
  --white: #FFFFFF;
  --line: rgba(46, 26, 71, .18);
  --radius: 20px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--plum);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--raspberry); }
a:hover { color: var(--raspberry-dark); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--raspberry);
  margin: 0 0 14px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; font-variation-settings: "opsz" 144; }
h1 { font-size: clamp(42px, 6.4vw, 76px); letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.2vw, 48px); }
h3 { font-size: 26px; font-variation-settings: "opsz" 48; }
h1 em, h2 em { font-style: italic; color: var(--raspberry); font-weight: 500; }

/* running-stitch rule, echoes the logo thread */
.stitch { border: 0; border-top: 3px dashed var(--raspberry); opacity: .5; margin: 0; }

/* ---------- header ---------- */
.site-header { background: var(--blush); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 16px; }
.site-header .logo img { height: 84px; width: auto; }
.site-header nav a {
  font-weight: 500; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--plum); margin-left: 24px;
}
.site-header nav a.pill {
  background: var(--plum); color: var(--blush); padding: 10px 18px; border-radius: 999px;
}
.site-header nav a.pill:hover { background: var(--raspberry); color: var(--white); }

/* ---------- hero ---------- */
.hero { background: var(--blush); padding: 40px 0 88px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .lede { font-size: 21px; max-width: 34ch; margin: 22px 0 26px; color: var(--plum); }
.hero .facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero .facts li {
  font-size: 15px; font-weight: 500; padding: 7px 14px; border-radius: 999px;
  border: 2px dashed rgba(216, 30, 106, .55); color: var(--plum); background: rgba(255,255,255,.55);
}
.hero-mark { position: absolute; right: -60px; bottom: -70px; width: 300px; opacity: .08; pointer-events: none; }

/* ---------- sign-up card ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 30px 26px;
  box-shadow: 0 1px 0 rgba(46,26,71,.04), 0 18px 40px -18px rgba(46,26,71,.35);
  position: relative;
  outline: 2px dashed rgba(216, 30, 106, .45);
  outline-offset: -12px;
}
.card h2 { font-size: 32px; }
.card .sub { font-size: 16px; color: var(--plum-soft); margin: 8px 0 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; letter-spacing: .04em; margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--plum-soft); letter-spacing: 0; }
.field input[type=text], .field input[type=email] {
  width: 100%; font: inherit; font-size: 17px; color: var(--plum);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
}
.field input:focus { outline: 3px solid rgba(255, 200, 61, .9); outline-offset: 1px; border-color: var(--plum); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; margin: 18px 0 20px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--raspberry); }
.btn {
  display: inline-block; width: 100%; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 17px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--white); background: var(--raspberry);
  padding: 16px 20px; border-radius: 999px; text-decoration: none; text-align: center;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--raspberry-dark); color: var(--white); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--sunshine); outline-offset: 3px; }
.small { font-size: 13.5px; color: var(--plum-soft); margin: 14px 0 0; text-align: center; }
.form-note {
  display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: #FFF4D6; font-size: 14.5px;
}

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { font-size: 19px; color: var(--plum-soft); margin: 16px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--white); border-radius: var(--radius); padding: 30px 28px 32px; border: 1.5px solid var(--line); }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sunshine); color: var(--plum);
  font-family: var(--serif); font-weight: 600; font-size: 22px; margin-bottom: 18px;
  box-shadow: inset 0 0 0 4px var(--sunshine), inset 0 0 0 6px var(--plum);
}
.step .time { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--raspberry); margin: 10px 0 8px; }
.step p { margin: 0; font-size: 17px; }

.crafts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 44px; }
.crafts img { width: 64px; height: 64px; }
.crafts p { margin: 0 0 0 6px; font-size: 16px; color: var(--plum-soft); flex: 1 1 220px; }

/* why */
.why { background: var(--plum); color: var(--blush); }
.why .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.why .eyebrow { color: var(--sunshine); }
.why h2 { color: var(--white); }
.why h2 em { color: var(--sunshine); }
.why p { font-size: 19px; margin: 0 0 18px; color: #F3DDE6; }
.why .points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.why .points li { padding-left: 34px; position: relative; font-size: 18px; color: var(--white); }
.why .points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--raspberry); box-shadow: inset 0 0 0 5px var(--raspberry), inset 0 0 0 7px var(--blush);
}

/* founders */
.founders .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.founders .names { display: flex; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.founders .name { background: var(--blush); border-radius: 16px; padding: 18px 22px; flex: 1 1 200px; }
.founders .name strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.founders .name span { font-size: 15px; color: var(--plum-soft); }
.founders p { font-size: 19px; margin: 0 0 16px; }
.quote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.3; color: var(--raspberry);
  border-left: 4px dashed var(--raspberry); padding: 4px 0 4px 26px; margin: 0;
}

/* final cta */
.cta { background: var(--blush); text-align: center; }
.cta .wrap { max-width: 720px; }
.cta p { font-size: 19px; color: var(--plum-soft); margin: 16px auto 30px; max-width: 46ch; }
.cta .btn { width: auto; padding: 16px 40px; }

/* footer */
.site-footer { background: var(--plum); color: #E8D6E0; padding: 56px 0 40px; font-size: 16px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.site-footer img { height: 72px; width: auto; }
.site-footer a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.site-footer a:hover { color: var(--sunshine); border-color: var(--sunshine); }
.site-footer .contact p { margin: 0 0 8px; }
.site-footer .legal { width: 100%; border-top: 1px dashed rgba(255,230,236,.3); padding-top: 22px; font-size: 14px; color: #BFA9C2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* simple pages (thanks, privacy) */
.page { padding: 64px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 20px; }
.page h2 { font-size: 26px; margin: 40px 0 10px; font-variation-settings: "opsz" 48; }
.page p, .page li { font-size: 18px; }
.page .btn { width: auto; padding: 14px 32px; margin-top: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .why .wrap, .founders .wrap { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .hero { padding: 24px 0 64px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .site-header .logo img { height: 60px; }
  .site-header nav a:not(.pill) { display: none; }
  .site-header nav a.pill { margin-left: 0; padding: 9px 14px; font-size: 13px; }
  .hero .lede { font-size: 19px; }
  .card { padding: 28px 22px 22px; }
  .crafts img { width: 52px; height: 52px; }
}

/* ---------- next-event announcement ---------- */
.announce {
  display: block; text-align: center; text-decoration: none;
  background: var(--plum); color: var(--blush);
  padding: 11px 18px; font-size: 15.5px; line-height: 1.4;
}
.announce strong { color: var(--sunshine); font-weight: 600; }
.announce:hover { color: var(--white); }
.date-badge {
  float: right; margin: -6px 0 10px 16px; width: 74px; text-align: center;
  background: var(--raspberry); color: var(--white); border-radius: 14px; padding: 8px 0 9px;
  line-height: 1.05; box-shadow: inset 0 0 0 3px var(--raspberry), inset 0 0 0 5px rgba(255,255,255,.55);
}
.date-badge span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.date-badge strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; margin: 2px 0; }
.card h2 { font-size: 30px; }
.card .sub strong { color: var(--plum); }
@media (max-width: 560px) {
  .announce { font-size: 14px; }
  .announce .sep { display: none; }
  .announce .more { display: block; }
  .card h2 { font-size: 27px; }
}
.card .sub strong.limited { color: var(--raspberry); }

/* ---------- event drop-down ---------- */
.field select {
  width: 100%; font: inherit; font-size: 17px; color: var(--plum);
  padding: 13px 40px 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232E1A47' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select:focus { outline: 3px solid rgba(255, 200, 61, .9); outline-offset: 1px; border-color: var(--plum); }

/* ---------- upcoming events ---------- */
.events { padding-bottom: 24px; }
.event-list { display: grid; gap: 20px; }
.event {
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px 28px;
}
.event .date-badge { float: none; margin: 0; }
.event h3 { font-size: 24px; }
.event-meta { font-weight: 600; color: var(--raspberry); margin: 4px 0 6px; font-size: 16px; letter-spacing: .02em; }
.event-body p { margin: 0 0 6px; font-size: 16.5px; }
.event .tag {
  display: inline-block; margin: 6px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--plum); background: var(--sunshine); padding: 4px 12px; border-radius: 999px;
}
.btn-small { width: auto; padding: 13px 24px; font-size: 15px; white-space: nowrap; }
@media (max-width: 720px) {
  .event { grid-template-columns: auto 1fr; padding: 22px 20px; gap: 18px; }
  .event .btn-small { grid-column: 1 / -1; width: 100%; }
}
