@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800&family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;600;700&display=swap');

:root {
  --ink: #31281f;
  --muted-ink: #5c4b3d;
  --paper-edge: #8f7151;
  --gold: #9b6b2f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background-color: #ffedcd;
  font-family: "Cormorant Garamond", Georgia, serif;
  background-image:
    linear-gradient(rgba(255, 237, 205, .68), rgba(255, 237, 205, .68)),
    url("assets/tiles-bg.png");
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: auto, contain;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 52px);
}

.scroll-card {
  position: relative;
  width: min(940px, 100%);
  min-height: min(1120px, calc(100vh - 44px));
  overflow: hidden;
  isolation: isolate;
  background-image: url("assets/bg-trans.png");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

.scroll-card::before {
  content: "";
  position: absolute;
  inset: 24px;
  pointer-events: none;
  z-index: -1;
}

.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: inherit;
  padding: clamp(42px, 7vw, 82px) clamp(20px, 7vw, 92px) clamp(34px, 6vw, 72px);
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}

.eyebrow {
  margin: 0 0 .25rem;
  font-size: clamp(2rem, 5vw, 4.35rem);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--muted-ink);
}

h1 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(3.45rem, 10vw, 8.25rem);
  line-height: .9;
  letter-spacing: -.045em;
  font-weight: 600;
  text-transform: none;
}

.subhead {
  margin: clamp(24px, 4vw, 42px) 0 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.35rem, 3.6vw, 3.1rem);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.age {
  margin: .35rem 0 0;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 2.1rem);
  font-weight: 600;
}

.divider {
  width: min(500px, 80%);
  margin: clamp(24px, 5vw, 58px) auto clamp(18px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: 18px;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62,44,27,.7), transparent);
}
.divider span {
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border: 1px solid rgba(62,44,27,.8);
}

.starting {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(2.4rem, 6vw, 5.1rem);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.date {
  margin: .25rem 0 0;
  font-family: "Cinzel", serif;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
}

.details {
  margin-top: clamp(26px, 5vw, 52px);
  font-size: clamp(1.35rem, 3.2vw, 2.55rem);
  line-height: 1.1;
}
.details p { margin: .25rem 0 1rem; }
.details strong {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cta {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 999px;
  background: rgba(58, 38, 22, .90);
  color: #fff7e8;
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(64,36,13,.22);
}
.cta:hover { transform: translateY(-1px); }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(14px, 3vw, 28px);
}

.cta-secondary {
  border: 1px solid rgba(58, 38, 22, .34);
  background: rgba(255, 247, 232, .72);
  color: var(--ink);
}

.hosted {
  margin: auto 0 0;
  padding-top: clamp(38px, 7vw, 70px);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  font-weight: 600;
}

.faq-card {
  min-height: auto;
}

.faq-content {
  align-items: stretch;
  text-align: center;
}

.faq-content .eyebrow,
.faq-content .subhead,
.faq-content h1,
.faq-content .divider,
.faq-content .cta,
.faq-content .hosted {
  align-self: center;
}

.faq-content h1 {
  font-size: clamp(4.25rem, 11vw, 8.75rem);
}

.faq-intro {
  width: min(720px, 100%);
  margin: 0 auto clamp(18px, 3vw, 30px);
  color: var(--muted-ink);
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  line-height: 1.25;
}

.faq-list {
  display: grid;
  gap: clamp(14px, 2.5vw, 22px);
  width: min(720px, 100%);
  margin: 0 auto clamp(18px, 3vw, 30px);
  text-align: left;
}

.faq-section-title {
  margin: clamp(8px, 2vw, 18px) 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: .03em;
  text-align: center;
  text-transform: uppercase;
}

.faq-item {
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid rgba(80, 54, 32, .28);
  border-radius: 8px;
  background: rgba(255, 245, 223, .46);
  box-shadow: 0 8px 24px rgba(64, 36, 13, .08);
}

.faq-item h3 {
  margin: 0 0 .45rem;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.05rem, 2.3vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.faq-item p {
  margin: 0;
  color: var(--muted-ink);
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  line-height: 1.25;
}

.faq-item ul,
.faq-item ol {
  margin: .75rem 0 0;
  padding-left: 1.35rem;
  color: var(--muted-ink);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  line-height: 1.25;
}

.faq-item li + li {
  margin-top: .5rem;
}

.registration-content h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.registration-form {
  width: min(780px, 100%);
  margin: 0 auto clamp(18px, 3vw, 30px);
  text-align: left;
}

.form-section,
.person-card {
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid rgba(80, 54, 32, .28);
  border-radius: 8px;
  background: rgba(255, 245, 223, .46);
  box-shadow: 0 8px 24px rgba(64, 36, 13, .08);
}

.form-section + .form-section {
  margin-top: clamp(16px, 2.5vw, 24px);
}

.registration-form .faq-section-title {
  margin-top: 0;
  margin-bottom: clamp(14px, 2vw, 20px);
}

.form-note {
  margin: 0 0 1rem;
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.person-grid,
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 22px);
}

.person-card {
  margin: 0;
}

.person-card legend {
  padding: 0 .35rem;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.registration-form label {
  display: grid;
  gap: .4rem;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.25;
}

.registration-form label + label,
.choice-list + label,
.form-row + label {
  margin-top: 1rem;
}

.registration-form input,
.registration-form textarea {
  width: 100%;
  border: 1px solid rgba(80, 54, 32, .32);
  border-radius: 8px;
  background: rgba(255, 252, 244, .78);
  color: var(--ink);
  font: 400 1rem/1.3 Inter, Arial, sans-serif;
}

.registration-form input {
  min-height: 44px;
  padding: 10px 12px;
}

.registration-form input[type="file"] {
  padding: 9px 10px;
}

.registration-form textarea {
  min-height: 92px;
  padding: 11px 12px;
  resize: vertical;
}

.choice-list {
  display: grid;
  gap: .75rem;
}

.choice-list.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.choice-item {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(80, 54, 32, .24);
  border-radius: 8px;
  background: rgba(255, 252, 244, .48);
  color: var(--muted-ink);
  font-size: .95rem;
}

.choice-item input {
  width: auto;
  min-height: auto;
  margin: .15rem 0 0;
}

.children-list {
  display: grid;
  gap: .8rem;
}

.child-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1.5fr) minmax(90px, .55fr) minmax(145px, .9fr);
  gap: .75rem;
  align-items: end;
}

.child-row > span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 8px;
  background: rgba(58, 38, 22, .12);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
}

.registration-form button.cta {
  border: 0;
  cursor: pointer;
}

.watermark {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(95%, 820px);
  aspect-ratio: 2 / 3;
  transform: translate(-50%, -50%);
  background-image: url("assets/cfc-logo-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .20;
}



@media (max-width: 560px) {
  .scroll-card { min-height: 830px; border-radius: 18px; }
  .content { padding-inline: 26px; }
  .cta-group { width: 100%; max-width: 280px; }
  .cta { width: 100%; }
  .hosted { padding-top: 36px; }
  .faq-card { min-height: auto; }
  .faq-content { padding-block: 46px; }
  .faq-item { padding: 15px; }
  .person-grid,
  .form-row,
  .choice-list.compact,
  .child-row {
    grid-template-columns: 1fr;
  }
  .child-row > span {
    width: 44px;
  }
}
