/* Fonts */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/source-sans-3-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/source-sans-3-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/source-sans-3-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/source-sans-3-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/source-serif-4-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/source-serif-4-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/source-serif-4-700.woff2') format('woff2');
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: #f6f5f2;
  color: #2a292b;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #44637f; text-decoration: none; }
a:hover { color: #35506a; text-decoration: underline; }
input::placeholder,
textarea::placeholder { color: #a3a09a; }

/* Site wrapper */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 17px;
  line-height: 1.6;
}

/* Topbar */
.topbar {
  background: #2a292b;
  color: #c9c7c2;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 7px 24px;
  text-align: center;
}

/* Header */
.site-header { background: #f6f5f2; border-bottom: 1px solid #dedbd4; padding: 0 24px; }
.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 40px; display: block; }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-link { color: #2a292b; font-weight: 500; font-size: 15.5px; }
.nav-link:hover { color: #2a292b; text-decoration: none; opacity: 0.75; }
.nav-link--active { font-weight: 600; }
.nav-divider { width: 1px; height: 22px; background: #d6d3cb; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #44637f;
  font-weight: 700;
  font-size: 15.5px;
  white-space: nowrap;
  font-family: 'Source Serif 4', Georgia, serif;
}
.nav-phone:hover { color: #35506a; text-decoration: none; }
.nav-cta {
  background: #44637f;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  padding: 9px 18px;
  border-radius: 4px;
}
.nav-cta:hover { background: #35506a; color: #ffffff; text-decoration: none; }

/* Buttons */
.btn-primary {
  display: inline-block;
  background: #44637f;
  color: #ffffff;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 4px;
  font-size: 16px;
}
.btn-primary:hover { background: #35506a; color: #ffffff; text-decoration: none; }

.btn-outline {
  display: inline-block;
  border: 1.5px solid #2a292b;
  color: #2a292b;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
}
.btn-outline:hover { background: #2a292b; color: #f6f5f2; text-decoration: none; }

.btn-cta {
  display: inline-block;
  background: #44637f;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 16px;
  white-space: nowrap;
}
.btn-cta:hover { background: #35506a; color: #ffffff; text-decoration: none; }

.btn-cta-dark {
  display: inline-block;
  background: #44637f;
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 4px;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
}
.btn-cta-dark:hover { background: #5a7c99; color: #ffffff; text-decoration: none; }

.btn-submit {
  width: 100%;
  background: #44637f;
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 16.5px;
  font-family: inherit;
  cursor: pointer;
}
.btn-submit:hover { background: #35506a; }

/* Footer */
.site-footer { padding: 36px 24px 44px; }
.site-footer--bordered { border-top: 1px solid #e2dfd8; }
.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand img { height: 28px; opacity: 0.85; }
.site-footer__copy { font-size: 14px; color: #8a877f; }
.site-footer__nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14.5px; }

/* Home — "what we do" card */
.service-card {
  border: 1px solid #dedbd4;
  border-radius: 6px;
  padding: 28px 26px;
  background: #fbfaf8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Home — event row */
.event-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid #dedbd4;
  border-radius: 6px;
  padding: 16px 20px;
  color: #2a292b;
}
.event-row:hover { border-color: #44637f; text-decoration: none; color: #2a292b; }

/* Services — row inside group table */
.service-item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-bottom: 1px solid #eeece7;
}
.service-item:last-child { border-bottom: none; }

/* Utilities */
.container { max-width: 1080px; margin: 0 auto; }
.container--narrow { max-width: 860px; margin: 0 auto; }
.muted { color: #55534f; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #44637f;
}
.page-title {
  margin: 0 0 14px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.15;
}
.section-title {
  margin: 0 0 12px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 26px;
}
.section-list li {
  list-style: circle;
}
.label-caps {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a877f;
}
.label-caps--tight { margin-bottom: 4px; }
.link-more { font-weight: 600; font-size: 15px; }
.link-more--push { margin-top: auto; }

.placeholder-art {
  border-radius: 6px;
  border: 1px solid #d6d3cb;
  background: repeating-linear-gradient(-45deg, #eceae5, #eceae5 14px, #e4e1da 14px, #e4e1da 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.placeholder-art--4-3 { aspect-ratio: 4 / 3; }
.placeholder-art--16-9 { aspect-ratio: 16 / 9; }
.placeholder-art__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.placeholder-art__label {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: #8a877f;
  background: #f6f5f2;
  padding: 6px 12px;
  border-radius: 3px;
  border: 1px solid #d6d3cb;
}

/* Home — hero */
.home-hero { padding: 72px 24px 64px; }
.home-hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}
.home-hero__title {
  margin: 0 0 18px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.home-hero__lead {
  margin: 0 0 28px;
  font-size: 18.5px;
  color: #55534f;
  max-width: 52ch;
  text-wrap: pretty;
}
.home-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Home — what we do */
.home-services { background: #ffffff; border-top: 1px solid #e2dfd8; border-bottom: 1px solid #e2dfd8; padding: 64px 24px; }
.home-services__title { margin: 0 0 8px; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 30px; }
.home-services__lead { margin: 0 0 36px; color: #55534f; max-width: 60ch; }
.home-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card__number {
  width: 34px;
  height: 34px;
  border: 2px solid #44637f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  color: #44637f;
}
.service-card__title { margin: 6px 0 0; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 21px; }
.service-card__desc { margin: 0; color: #55534f; font-size: 16px; }

/* Home — upcoming sessions */
.home-events { padding: 64px 24px; }
.home-events__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.home-events__title { margin: 0; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 30px; }
.home-events__list { display: flex; flex-direction: column; gap: 10px; }
.event-row__date { min-width: 86px; text-align: center; border-right: 1px solid #e2dfd8; padding-right: 20px; }
.event-row__day { font-family: 'Source Serif 4', serif; font-weight: 700; font-size: 22px; line-height: 1.1; }
.event-row__month { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a877f; }
.event-row__info { flex: 1; min-width: 200px; }
.event-row__title { font-weight: 600; font-size: 17px; }
.event-row__meta { font-size: 14.5px; color: #55534f; }
.event-row__seats { font-size: 14px; font-weight: 600; color: #44637f; }
.event-row__seats--soldout { color: #a0522d; }
.event-row__register { font-weight: 600; font-size: 15px; color: #44637f; }

/* Home — dark CTA */
.home-cta { background: #2a292b; color: #f6f5f2; padding: 64px 24px; }
.home-cta__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: center; }
.home-cta__title { margin: 0 0 12px; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 30px; }
.home-cta__lead { margin: 0; color: #b9b6b0; max-width: 52ch; }
.home-cta__form { display: flex; gap: 10px; flex-wrap: wrap; }
.home-cta__input {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  border-radius: 4px;
  border: 1px solid #55534f;
  background: #353438;
  color: #f6f5f2;
  font-size: 16px;
  font-family: inherit;
}

/* Home — trust bar */
.home-trust { background: #ffffff; border-bottom: 1px solid #e2dfd8; padding: 44px 24px; }
.home-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.home-trust__desc { margin: 0; font-size: 15.5px; color: #55534f; }

/* Contact */
.contact-section { padding: 56px 24px 72px; }
.contact-section__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }
.contact-intro { margin: 0 0 32px; font-size: 18px; color: #55534f; max-width: 50ch; text-wrap: pretty; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info__desc { margin: 0; font-size: 15.5px; color: #55534f; }

.contact-form { background: #ffffff; border: 1px solid #dedbd4; border-radius: 6px; padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 18px; }
.contact-form__honeypot { display: none; }
.contact-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.contact-form__label { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 600; }
.contact-form__optional { font-weight: 400; color: #8a877f; }
.contact-form__input {
  padding: 12px 14px;
  border: 1px solid #c9c6bf;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  background: #fbfaf8;
  color: #2a292b;
}
.contact-form__input--textarea { resize: vertical; }
.contact-form__input:user-invalid { border-color: #c0392b; }
.contact-form__note { margin: 0; font-size: 13px; color: #8a877f; text-align: center; }

/* Events — list */
.courses-section { padding: 56px 24px 72px; }
.courses-section__lead { margin: 0 0 36px; font-size: 18px; color: #55534f; max-width: 60ch; }
.course-list { display: flex; flex-direction: column; gap: 16px; }
.course-card { display: block; background: #ffffff; border: 1px solid #dedbd4; border-radius: 6px; padding: 24px 26px; color: #2a292b; }
.course-card:hover { border-color: #44637f; text-decoration: none; color: #2a292b; }
.course-card__type { font-size: 13.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #44637f; margin-bottom: 6px; }
.course-card__title { margin: 0 0 8px; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 22px; }
.course-card__summary { margin: 0; color: #55534f; font-size: 15.5px; }

.courses-cta { max-width: 860px; margin: 32px auto 0; border: 1px solid #dedbd4; border-radius: 6px; background: #ffffff; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.courses-cta__title { margin: 0 0 6px; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 21px; }
.courses-cta__desc { margin: 0; color: #55534f; font-size: 16px; }

/* Events — single: hero */
.event-hero { background: #ffffff; border-bottom: 1px solid #e2dfd8; padding: 56px 24px; }
.event-hero__title {
  margin: 0 0 14px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 46px);
  line-height: 1.12;
  /* max-width: 20ch; */
}
.event-hero__lead { margin: 0 0 22px; font-size: 18.5px; color: #55534f; max-width: 58ch; text-wrap: pretty; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.chip { border: 1px solid #dedbd4; border-radius: 99px; padding: 6px 14px; background: #f6f5f2; }

/* Events — single: body */
.event-body { padding: 56px 24px 72px; }
.event-body__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }
.event-body__main { display: flex; flex-direction: column; gap: 40px; }

.syllabus { display: flex; flex-direction: column; gap: 12px; }
.syllabus__item { display: flex; gap: 14px; align-items: baseline; }
.syllabus__number { font-family: 'Source Serif 4', serif; font-weight: 700; color: #44637f; font-size: 15px; min-width: 28px; }
.syllabus__title { font-weight: 600; }

.bring-list { background: #ffffff; border: 1px solid #dedbd4; border-radius: 6px; padding: 20px 24px; display: flex; flex-direction: column; gap: 9px; font-size: 16px; }
.bring-list__note { margin: 10px 2px 0; font-size: 14.5px; color: #8a877f; }

.instructor-list { display: flex; flex-direction: column; gap: 16px; }
.instructor { background: #ffffff; border: 1px solid #dedbd4; border-radius: 6px; padding: 24px; display: flex; gap: 20px; flex-wrap: wrap; }
.instructor__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid #d6d3cb;
  background: repeating-linear-gradient(-45deg, #eceae5, #eceae5 8px, #e4e1da 8px, #e4e1da 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.instructor__photo img { width: 100%; height: 100%; object-fit: cover; }
.instructor__photo-label { font-family: ui-monospace, monospace; font-size: 10px; color: #8a877f; }
.instructor__info { flex: 1; min-width: 220px; }
.instructor__name { margin: 0 0 2px; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 20px; }
.instructor__cert { margin: 0 0 10px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a877f; }
.instructor__bio { margin: 0; font-size: 15.5px; color: #55534f; text-wrap: pretty; }

.event-sidebar { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }
.registration-card { background: #ffffff; border: 1px solid #dedbd4; border-radius: 6px; overflow: hidden; }
.registration-card__head { padding: 18px 22px 14px; border-bottom: 1px solid #eeece7; }
.registration-card__title { margin: 0; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 21px; }
.registration-card__subtitle { margin: 4px 0 0; font-size: 14.5px; color: #55534f; }
.registration-card__body { padding: 16px; }
.registration-card__footnote { padding: 0 22px 18px; font-size: 13.5px; color: #8a877f; }
.good-to-know { background: #2a292b; color: #f6f5f2; border-radius: 6px; padding: 20px 22px; }
.good-to-know__text { margin: 0; font-size: 15px; color: #c9c7c2; }

/* Services — list */
.services-hero { padding: 56px 24px 20px; }
.services-hero__lead { margin: 0; font-size: 18px; color: #55534f; max-width: 60ch; text-wrap: pretty; }
.services-list { padding: 32px 24px 72px; }
.services-list__inner { display: flex; flex-direction: column; gap: 44px; }
.service-group__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 4px; }
.service-group__title { margin: 0; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 24px; white-space: nowrap; }
.service-group__rule { flex: 1; border-bottom: 1px solid #d6d3cb; }
.service-group__note { margin: 4px 0 14px; font-size: 15px; color: #8a877f; }
.service-group__table { background: #ffffff; border: 1px solid #dedbd4; border-radius: 6px; overflow: hidden; }
.service-item__info { flex: 1; min-width: 220px; }
.service-item__name { font-weight: 600; font-size: 16.5px; }
.service-item__desc { font-size: 14.5px; color: #55534f; }
.service-item__price { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 17px; color: #2a292b; white-space: nowrap; }
.service-item__price--quote { color: #8a877f; }

.services-cta { border: 1px solid #dedbd4; border-radius: 6px; background: #ffffff; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.services-cta__title { margin: 0 0 6px; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 21px; }
.services-cta__desc { margin: 0; color: #55534f; font-size: 16px; }

.pretix-widget-attribution a {
  display: none;
}

.pretix-widget-event-calendar-head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pretix-widget-event-calendar-head .pretix-widget-event-calendar-previous-month,
.pretix-widget-event-calendar-head .pretix-widget-event-calendar-next-month,
.pretix-widget.pretix-widget-mobile .pretix-widget-event-calendar .pretix-widget-event-calendar-head .pretix-widget-event-calendar-previous-month,
.pretix-widget.pretix-widget-mobile .pretix-widget-event-calendar .pretix-widget-event-calendar-head .pretix-widget-event-calendar-next-month {
  display: inline-block !important;
  width: auto !important;
  flex: 0 0 auto;
}
.pretix-widget-event-calendar-head strong {
  flex: 1;
  text-align: center;
  order: 0;
  padding-bottom: 10px;
}
