:root {
  --evergreen: #1E3B34;
  --evergreen-line: #2C4F46;
  --sage: #E4EBE3;
  --sage-line: #D2DDD1;
  --ivory: #F3EFE6;
  --moss: #2F5248;
  --slate-green: #3F5A52;
  --mist: #B9CBC3;
  --blush: #D9A38A;
  --blush-deep: #C98A6E;
  --blush-light: #F0CFC2;
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--evergreen);
  background: var(--ivory);
}
img { max-width: 100%; display: block; }
a { color: var(--evergreen); text-underline-offset: 3px; }
a:hover { color: var(--moss); }
:focus-visible { outline: 3px solid var(--blush-deep); outline-offset: 3px; }

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

/* Header */
.site-header { background: var(--evergreen); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); font-family: var(--display); font-weight: 500; font-size: 24px; }
.brand:hover { color: var(--ivory); }
.nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ivory); text-decoration: none; font-size: 16px; font-weight: 500; }
.nav a:hover { color: var(--blush-light); }

/* The ring mark */
.mark { position: relative; width: 40px; height: 40px; flex-shrink: 0; }
.mark span { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 9999px; border: 2px solid var(--blush); }
.mark span:nth-child(1) { width: 100%; height: 100%; opacity: .5; }
.mark span:nth-child(2) { width: 66%; height: 66%; opacity: .75; }
.mark span:nth-child(3) { width: 36%; height: 36%; }
.mark span:nth-child(4) { width: 14%; height: 14%; bottom: 3%; background: var(--blush); border: 0; }
.mark.on-light span { border-color: var(--blush-deep); }
.mark.on-light span:nth-child(4) { background: var(--blush-deep); }
.mark.lg { width: 180px; height: 180px; }
.mark.lg span { border-width: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  border-radius: 9999px; border: 0;
  font-family: var(--sans); font-size: 17px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  background: var(--blush-light); color: var(--evergreen);
}
.btn:hover { background: #F5DDD3; color: var(--evergreen); }
.btn.dark { background: var(--evergreen); color: var(--ivory); }
.btn.dark:hover { background: var(--moss); color: var(--ivory); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.text-link { font-weight: 600; }

/* Type */
.eyebrow { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--slate-green); }
.on-dark .eyebrow { color: var(--blush-light); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.5px; }
h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(34px, 4.5vw, 52px); }
h3 { font-size: 26px; line-height: 1.2; }
.tagline { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; margin: 0; }
.rule { width: 88px; height: 2px; background: var(--blush-deep); border: 0; margin: 0; }
.on-dark .rule { background: var(--blush); }
.lead { font-size: 20px; max-width: 640px; margin: 0; }

/* Sections */
.hero { position: relative; overflow: hidden; background: var(--evergreen); color: var(--ivory); padding: 88px 0 104px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 9999px; border: 2px solid var(--evergreen-line); pointer-events: none; }
.hero::before { width: 720px; height: 720px; right: -220px; bottom: -360px; }
.hero::after { width: 440px; height: 440px; right: -60px; bottom: -360px; }
.hero .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 999 1 520px; display: flex; flex-direction: column; gap: 22px; }
.hero-text h1 { color: var(--ivory); }
.hero-text .tagline { color: var(--blush-light); }
.hero-text .lead { color: var(--ivory); }
.hero-mark { flex: 1 1 180px; display: flex; justify-content: center; }
.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.hero-actions .text-link { color: var(--blush-light); }

.section { padding: 88px 0; }
.section.sage { background: var(--sage); position: relative; overflow: hidden; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; max-width: 760px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--ivory); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.section.sage .card { background: var(--ivory); }
.card p { margin: 0; color: var(--slate-green); }
.num { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--moss); }

/* Next class card */
.class-card { background: var(--ivory); border-radius: 12px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.class-card .info { flex: 999 1 420px; display: flex; flex-direction: column; gap: 12px; }
.class-card .meta { margin: 0; font-weight: 500; color: var(--evergreen); }
.class-card .desc { margin: 0; color: var(--slate-green); }
.muted { color: var(--slate-green); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.about .photo { flex: 1 1 260px; max-width: 340px; aspect-ratio: 4 / 5; border-radius: 12px; background: var(--sage); border: 2px dashed var(--sage-line); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--slate-green); font-size: 15px; }
.about .copy { flex: 999 1 420px; display: flex; flex-direction: column; gap: 18px; }
.about .copy p { margin: 0; }

/* Footer */
.site-footer { background: var(--evergreen); color: var(--mist); padding: 48px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer .brand { font-size: 20px; }
.site-footer p { margin: 0; }

/* Event page */
.event-hero { position: relative; overflow: hidden; background: var(--sage); padding: 72px 0; }
.event-hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -300px; border-radius: 9999px; border: 2px solid var(--sage-line); pointer-events: none; }
.event-layout { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.event-main { flex: 999 1 480px; display: flex; flex-direction: column; gap: 18px; }
.event-main .tagline { color: var(--moss); }
.event-meta { margin: 0; font-size: 20px; font-weight: 500; }
.event-sub { margin: 0; color: var(--slate-green); }
.event-image { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; }
.register { flex: 1 1 360px; max-width: 440px; background: var(--ivory); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.register h2 { font-size: 30px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 15px; font-weight: 600; color: var(--evergreen); }
.field .req { color: var(--blush-deep); margin-left: 2px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 17px; color: var(--evergreen);
  background: #FFFFFF; border: 1.5px solid #8FA59D; border-radius: 6px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; font-size: 16px; min-height: 32px; }
.choice input { width: 20px; height: 20px; accent-color: var(--evergreen); }
.form-error { color: #8A2E1F; font-weight: 600; margin: 0; }
.form-error:empty { display: none; }
.small { font-size: 15px; color: var(--slate-green); margin: 0; }
.done { display: flex; flex-direction: column; gap: 12px; }
.done h2 { font-size: 34px; }
.details { padding: 72px 0; }
.details .wrap { display: flex; flex-direction: column; gap: 24px; max-width: 820px; }
.details ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.details p { margin: 0; }
.about-html p { margin: 0 0 14px; }
.skeleton { color: var(--slate-green); }