:root {
  --paper: #FBF7EF;
  --panel: #FFFFFF;
  --ink: #14110F;
  --body: #3A332D;
  --body-muted: #4A423B;
  --meta: #6C645C;
  --coral: #E4665B;
  --coral-deep: #C6483C;
  --yellow: #F6DB63;
  --green: #8FAF62;
  --mint-tint: #EDF3E4;
  --cream-tint: #FDF0D8;
  --dashed-rule: #C9C1B6;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
}

a {
  color: var(--coral-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}

summary {
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}

#warmups, #videos, #ask {
  scroll-margin-top: 24px;
}

/* Layout */

.page {
  min-height: 100vh;
  padding: 28px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shell {
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

@media (max-width: 759px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Hero */

.hero {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 6px 0 8px;
}

.hero__logo {
  width: 360px;
  max-width: 80%;
  display: block;
  flex: 0 0 auto;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  max-width: 520px;
  flex: 1 1 340px;
}

.hero__headline {
  margin: 0;
  font-family: 'Baloo 2', system-ui;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.15;
  color: var(--ink);
}

.hero__sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  max-width: 40ch;
  color: var(--body-muted);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 18px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn--coral { background: var(--coral); color: #FFFFFF; }
.btn--coral:hover { color: #FFFFFF; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { color: var(--ink); }
.btn--white { background: #FFFFFF; color: var(--ink); }
.btn--white:hover { color: var(--ink); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { color: var(--ink); }

.pill {
  display: inline-block;
  padding: 11px 17px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.pill--green { background: var(--green); color: var(--ink); }
.pill--green:hover { color: var(--ink); }

/* Panels */

.panel {
  background: var(--panel);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 5px 5px 0 var(--ink);
  box-sizing: border-box;
  width: 100%;
}

.panel--wide {
  grid-column: 1 / -1;
}

.panel--mint {
  background: var(--mint-tint);
}

.panel--cream {
  background: var(--cream-tint);
}

/* Headings & body text */

.h2 {
  margin: 0 0 12px;
  font-family: 'Baloo 2', system-ui;
  font-weight: 700;
  font-size: 21px;
}

.h2--small {
  margin: 0 0 6px;
  font-size: 19px;
}

.body-text {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  max-width: 68ch;
  text-wrap: pretty;
}

.body-text--muted {
  color: var(--body-muted);
}

.body-text--intro {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
}

.body-text--60ch {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  max-width: 60ch;
}

/* Keep in touch */

.keep-in-touch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 32px;
  align-items: start;
}

.keep-in-touch__cell--divider {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-left: 3px dashed var(--dashed-rule);
  padding-left: 32px;
}

@media (max-width: 699px) {
  .keep-in-touch__cell--divider {
    border-left: none;
    border-top: 3px dashed var(--dashed-rule);
    padding-left: 0;
    padding-top: 20px;
  }
}

/* Disclosure */

.disclosure {
  margin-top: 4px;
}

.disclosure__summary {
  font-weight: 700;
  font-size: 15px;
  color: var(--coral-deep);
  list-style: none;
}

.disclosure__body {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body-muted);
  max-width: 68ch;
  text-wrap: pretty;
}

/* Section header row (warmups / videos) */

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 6px;
}

#videos .section-header {
  margin-bottom: 14px;
}

.badge {
  padding: 4px 10px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.link-small {
  font-size: 14px;
  font-weight: 700;
}

/* Media frames */

.media-frame {
  border: 3px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 4px 4px 0 var(--ink);
}

.media-frame--video {
  background: var(--ink);
  aspect-ratio: 16 / 9;
}

.calendar-iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

.video-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footnote {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--meta);
}

.footnote__strong {
  color: var(--body);
}

/* Video grid */

.video-grid {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
}

.video-grid::-webkit-scrollbar {
  height: 8px;
}

.video-grid::-webkit-scrollbar-thumb {
  background: var(--ink);
  border-radius: 999px;
}

.video-grid::-webkit-scrollbar-track {
  background: transparent;
}

.video-grid__card {
  display: block;
  flex: 0 0 160px;
  scroll-snap-align: start;
  border: 3px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  text-decoration: none;
  color: var(--ink);
}

.video-grid__card:hover {
  color: var(--ink);
}

.video-grid__card--active {
  border-color: var(--coral-deep);
  box-shadow: 3px 3px 0 var(--coral-deep);
}

.video-grid__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid var(--ink);
}

.video-grid__title {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

/* Ask form */

.ask-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field {
  padding: 11px 13px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: #FFFFFF;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
}

textarea.field {
  resize: vertical;
}

.submit-btn {
  align-self: flex-start;
  padding: 11px 17px;
  background: var(--ink);
  color: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

/* Footer */

.footer {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 6px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--meta);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
