:root {
  --bg: #f1ead9;
  --bg-soft: #f7f1e4;
  --surface: #fbf6ec;
  --ink: #2e2418;
  --muted: #7a6a54;
  --line: #e0d2b8;
  --sage: #6f7d52;
  --sage-deep: #47502f;
  --gold: #8b5e3c;
  --gold-ink: #4a2f1c;
  --cream-text: #faf5ea;
  --lotus: #3f5372;
  --lotus-soft: #7c93b8;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: Optima, Candara, "Segoe UI", "Century Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: Palatino, "Palatino Linotype", "URW Palladio L", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
  color: var(--sage-deep);
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

.prose { max-width: 62ch; }

a { color: var(--sage-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}

svg.leaf, svg.lotus { display: block; }

/* Header */
header.site { padding: 26px 0; }
header.site .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Palatino, "Palatino Linotype", serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--sage-deep);
}
header.site nav { display: flex; gap: 28px; }
header.site nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
}
header.site nav a:hover { color: var(--sage-deep); }

/* Hero */
.hero { padding: 60px 0 40px; position: relative; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}
.hero-copy .eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-copy h1 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.25;
  max-width: 16ch;
}
.hero-copy .tagline {
  margin: 22px 0 32px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-art { position: relative; height: 380px; }
.hero-art .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.hero-art .blob.b1 {
  width: 300px; height: 300px;
  top: 10px; right: 20px;
  background: radial-gradient(circle at 35% 30%, #8a9668 0%, var(--sage) 55%, transparent 78%);
  opacity: 0.55;
}
.hero-art .blob.b2 {
  width: 190px; height: 190px;
  bottom: 10px; left: 0;
  background: radial-gradient(circle at 40% 40%, #c98a5e 0%, var(--gold) 60%, transparent 78%);
  opacity: 0.45;
}
.hero-art .sprig { position: absolute; inset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .sprig { animation: drift 7s ease-in-out infinite; }
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--line);
}
.divider .line {
  height: 1px;
  background: var(--line);
  flex: 1;
  max-width: 220px;
}
.divider svg { color: var(--muted); }

section { padding: 58px 0; }

h2 { font-size: 1.5rem; margin-bottom: 22px; }
h2 .sub {
  display: block;
  font-family: Optima, Candara, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 10px;
}

.about p { color: var(--ink); margin: 0; }
.about p + p { margin-top: 14px; }

/* Work: organic cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 8px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 42% 12% 38% 14% / 14% 38% 12% 42%;
  padding: 32px 28px;
}
.card .icon {
  width: 150px; height: 150px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--lotus);
  margin-bottom: 16px;
}
.card h3 { font-size: 1.08rem; color: var(--ink); margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Events */
.event-wrap { max-width: 780px; margin: 0 auto; }
.event {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.event::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sage) 0%, transparent 72%);
  opacity: 0.25;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--gold-ink);
  background: #e9dcc0;
  padding: 4px 11px;
  border-radius: 999px;
}
.event > p.desc { color: var(--ink); max-width: 56ch; position: relative; }

.capacity { display: flex; align-items: center; gap: 12px; margin: 24px 0 6px; }
.dots { display: flex; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dot.filled { background: var(--sage-deep); }
.capacity .label { font-size: 0.85rem; color: var(--muted); font-style: italic; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--sage-deep);
  color: var(--sage-deep);
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.94rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--sage-deep); color: var(--cream-text); }
.btn.primary { background: var(--sage-deep); color: var(--cream-text); }
.btn.primary:hover { background: var(--gold-ink); border-color: var(--gold-ink); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  position: relative;
}
.apply-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form textarea {
  font: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--ink);
}
.apply-form input:focus,
.apply-form textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
}
.apply-form label.checkbox { flex-direction: row; align-items: center; gap: 8px; }
.apply-form label.checkbox input { width: auto; }

.fineprint { font-size: 0.78rem; color: var(--muted); margin: 2px 0 0; max-width: 52ch; }
.form-status { font-size: 0.9rem; margin-top: 4px; min-height: 1.2em; }
.form-status.success { color: var(--sage-deep); }
.form-status.error { color: var(--gold-ink); }

.contact p { color: var(--muted); margin: 0 0 10px; }
.contact a { font-size: 1.08rem; text-decoration: none; }

footer.site {
  padding: 36px 0 50px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { height: 220px; order: -1; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  header.site nav a { font-size: 0.85rem; }
  .hero { padding: 40px 0 28px; }
  section { padding: 42px 0; }
  .event { padding: 26px; }
  .hero-art { height: 160px; }
}
