.ast-masterclasses {
  --mc-ink: #18362e;
  --mc-green: #1f6658;
  --mc-line: #d5dfd8;
  --mc-mist: #f3f6f1;
  --mc-gold: #dbad56;
  color: var(--mc-ink);
  font-family: "GothamPro", Arial, sans-serif;
}

.ast-masterclasses img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ast-masterclasses figure { margin: 0; }
.ast-masterclasses__eyebrow {
  margin: 0 0 14px;
  color: var(--mc-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ast-masterclasses__hero,
.ast-masterclasses__story,
.ast-masterclasses__section,
.ast-masterclasses__atmosphere {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

.ast-masterclasses__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(38px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 6vw, 86px) 0 80px;
}
.ast-masterclasses__hero-copy { min-width: 0; animation: mc-rise 520ms ease both; }
.ast-masterclasses__hero h1 {
  max-width: 740px;
  margin: 0 0 28px;
  color: var(--mc-ink);
  font-size: clamp(42px, 4.15vw, 62px);
  line-height: 1.08;
  letter-spacing: -.038em;
}
.ast-masterclasses__hero-copy > p:not(.ast-masterclasses__eyebrow):not(.ast-masterclasses__hero-facts) {
  max-width: 620px;
  margin: 0 0 13px;
  color: #50675d;
  font-size: 16px;
  line-height: 1.65;
}
.ast-masterclasses__hero-copy > .ast-masterclasses__hero-lead {
  color: var(--mc-ink) !important;
  font-size: 21px !important;
  font-weight: 700;
  line-height: 1.4 !important;
}
.ast-masterclasses__hero-actions { margin-top: 28px; }
.ast-masterclasses__hero-actions .ast-button {
  display: inline-flex;
  justify-content: center;
  min-height: 52px;
  align-items: center;
  padding: 13px 24px;
  background: var(--mc-green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.ast-masterclasses__hero-actions .ast-button:hover,
.ast-masterclasses__hero-actions .ast-button:focus-visible { background: #154e40; color: #fff; }
.ast-masterclasses__hero-facts {
  margin: 18px 0 0;
  color: #62786b;
  font-size: 13px;
  font-weight: 700;
}

.ast-masterclasses__hero-board {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: repeat(2, minmax(0, 250px));
  gap: 10px;
  min-width: 0;
  animation: mc-rise 680ms 100ms ease both;
}
.ast-masterclasses__hero-shot { position: relative; overflow: hidden; background: #d5e0d8; }
.ast-masterclasses__hero-shot--main { grid-row: 1 / 3; }
.ast-masterclasses__hero-shot img { transition: transform 360ms ease; }
.ast-masterclasses__hero-shot:hover img { transform: scale(1.045); }
.ast-masterclasses__hero-shot::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(12, 39, 31, .76));
  content: "";
}
.ast-masterclasses__hero-shot figcaption {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 16px;
  left: 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.ast-masterclasses__story {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 20px clamp(32px, 6vw, 84px);
  padding: 75px 0 86px;
  border-top: 1px solid var(--mc-line);
}
.ast-masterclasses__story .ast-masterclasses__eyebrow { grid-column: 1 / -1; }
.ast-masterclasses__story h2,
.ast-masterclasses__section-head h2,
.ast-masterclasses__journey h2,
.ast-masterclasses__atmosphere h2 {
  margin: 0;
  color: var(--mc-ink);
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -.032em;
}
.ast-masterclasses__story-copy { max-width: 650px; }
.ast-masterclasses__story-copy p { margin: 0 0 18px; color: #50675d; font-size: 16px; line-height: 1.72; }
.ast-masterclasses__story-copy strong { color: var(--mc-ink); }
.ast-masterclasses__story-copy .ast-masterclasses__story-quote {
  margin-top: 26px;
  padding-left: 22px;
  border-left: 3px solid var(--mc-gold);
  color: var(--mc-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.ast-masterclasses__section { padding: 76px 0 90px; border-top: 1px solid var(--mc-line); scroll-margin-top: 26px; }
.ast-masterclasses__section-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px 42px;
  margin-bottom: 38px;
}
.ast-masterclasses__section-head .ast-masterclasses__eyebrow { margin: 12px 0 0; }
.ast-masterclasses__section-head > p:last-child:not(.ast-masterclasses__eyebrow) {
  grid-column: 2;
  max-width: 670px;
  margin: 2px 0 0;
  color: #5a7066;
  font-size: 15px;
  line-height: 1.65;
}
.ast-workshop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ast-workshop-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--mc-line); background: #fff; transition: transform 220ms ease, box-shadow 220ms ease; }
.ast-workshop-card:hover { transform: translateY(-4px); box-shadow: 0 13px 28px rgba(17, 53, 42, .10); }
.ast-workshop-card__media { position: relative; height: 230px; overflow: hidden; background: #e5eee9; }
.ast-workshop-card__media img { transition: transform 340ms ease; }
.ast-workshop-card:hover .ast-workshop-card__media img { transform: scale(1.035); }
.ast-workshop-card__media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 17px 12px;
  background: linear-gradient(transparent, rgba(15, 42, 33, .8));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.ast-workshop-card__body { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.ast-workshop-card__fish { margin: 0 0 10px; color: var(--mc-green); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ast-workshop-card h3 { margin: 0 0 14px; font-size: 24px; line-height: 1.2; }
.ast-workshop-card__body > p:not(.ast-workshop-card__fish) { margin: 0 0 20px; color: #596f66; line-height: 1.55; }
.ast-workshop-card__meta { margin-top: auto; padding: 13px 0; border-top: 1px solid var(--mc-line); border-bottom: 1px solid var(--mc-line); }
.ast-workshop-card__meta strong { font-size: 16px; }
.ast-workshop-card details { padding: 14px 0; }
.ast-workshop-card summary { color: var(--mc-green); font-weight: 700; cursor: pointer; }
.ast-workshop-card ul { margin: 12px 0 0; padding-left: 18px; color: #596f66; }
.ast-workshop-card__action { display: flex; justify-content: space-between; padding: 14px 17px; background: var(--mc-green); color: #fff; font-weight: 700; text-decoration: none; }
.ast-workshop-card__action::after { content: "→"; }
.ast-workshop-card__action:hover,
.ast-workshop-card__action:focus-visible { background: #154e40; color: #fff; }
.ast-masterclasses__image-note { margin: 17px 0 0; color: #67796e; font-size: 12px; line-height: 1.55; }

.ast-masterclasses__journey { padding: 80px 0 92px; background: var(--mc-mist); }
.ast-masterclasses__journey-intro,
.ast-masterclasses__included-list,
.ast-masterclasses__process {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}
.ast-masterclasses__journey-intro { max-width: 1220px; }
.ast-masterclasses__journey-intro h2 { max-width: 780px; }
.ast-masterclasses__journey-intro > p:last-child { max-width: 680px; margin: 20px 0 0; color: #526a5e; font-size: 17px; line-height: 1.65; }
.ast-masterclasses__included-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 26px;
  margin-top: 36px;
  margin-bottom: 82px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mc-line);
}
.ast-masterclasses__included-list li { padding: 18px 0; border-bottom: 1px solid var(--mc-line); font-size: 15px; font-weight: 700; line-height: 1.4; }
.ast-masterclasses__included-list li::before { content: "✓"; margin-right: 12px; color: var(--mc-green); }
.ast-masterclasses__process .ast-masterclasses__section-head { margin-bottom: 32px; }
.ast-masterclasses__process ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ast-masterclasses__process li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); min-height: 250px; background: #fff; }
.ast-masterclasses__process li:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.ast-masterclasses__process li:nth-child(even) figure { order: 2; }
.ast-masterclasses__process li figure { min-height: 250px; overflow: hidden; }
.ast-masterclasses__process li img { transition: transform 320ms ease; }
.ast-masterclasses__process li:hover img { transform: scale(1.025); }
.ast-masterclasses__process li > div { align-self: center; max-width: 700px; padding: 35px clamp(28px, 5vw, 72px); }
.ast-masterclasses__process li span { color: var(--mc-green); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.ast-masterclasses__process h3 { margin: 9px 0 13px; color: var(--mc-ink); font-size: clamp(25px, 2.4vw, 34px); line-height: 1.2; }
.ast-masterclasses__process li p { margin: 0; color: #536a5f; font-size: 15px; line-height: 1.65; }

.ast-masterclasses__atmosphere { padding: 86px 0 94px; }
.ast-masterclasses__collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(3, 154px);
  gap: 12px;
}
.ast-masterclasses__collage figure { min-width: 0; min-height: 0; overflow: hidden; background: #d6e3dc; }
.ast-masterclasses__collage figure img { transition: transform 360ms ease; }
.ast-masterclasses__collage figure:hover img { transform: scale(1.04); }
.ast-masterclasses__collage-main { grid-column: 1 / 7; grid-row: 1 / 4; }
.ast-masterclasses__collage figure:nth-child(2) { grid-column: 7 / 10; grid-row: 1 / 3; }
.ast-masterclasses__collage figure:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 2; }
.ast-masterclasses__collage figure:nth-child(4) { grid-column: 10 / 13; grid-row: 2 / 4; }
.ast-masterclasses__collage figure:nth-child(5) { grid-column: 7 / 10; grid-row: 3 / 4; }

.ast-workshop-booking { margin-top: 0 !important; }
.ast-workshop-booking .ast-visit__intro { background: var(--mc-ink); }
.ast-mobile-booking-launch { display: none; }
.ast-workshop-booking__steps { display: none; }

@media (min-width: 701px) {
  .ast-workshop-booking.ast-visit {
    display: block;
    width: min(1180px, calc(100% - 48px));
    padding: 0;
    overflow: visible;
    border-radius: 8px;
    background: #fff;
  }
  .ast-workshop-booking .ast-visit__intro {
    padding: 34px clamp(32px, 5vw, 64px);
  }
  .ast-workshop-booking .ast-visit__intro h2 { max-width: none; }
  .ast-workshop-booking .ast-visit__intro > p:not(.ast-visit__eyebrow) { max-width: 850px; }
  .ast-workshop-booking__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 0;
    padding: 27px clamp(32px, 5vw, 64px) 0;
    list-style: none;
    color: #24594b;
    font-size: 15px;
    font-weight: 700;
  }
  .ast-workshop-booking__steps li { display: flex; align-items: center; gap: 9px; }
  .ast-workshop-booking__steps li > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #e5f0e8;
    color: #17493f;
    font-size: 14px;
  }
  .ast-workshop-booking .ast-form { padding-top: 24px; }
  .ast-workshop-booking .ast-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ast-workshop-booking .ast-form__grid::before { display: none; }
  .ast-workshop-booking .ast-field select,
  .ast-workshop-booking .ast-date-trigger { min-width: 0; width: 100%; }
  .ast-workshop-booking .ast-form__footer .ast-button { width: auto; min-width: 210px; }
}

@media (min-width: 701px) and (max-width: 850px) {
  .ast-workshop-booking .ast-form__grid { grid-template-columns: 1fr; }
}

@keyframes mc-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  .ast-masterclasses__hero { grid-template-columns: 1fr; }
  .ast-masterclasses__hero-board { grid-template-rows: repeat(2, 210px); }
  .ast-masterclasses__story { grid-template-columns: 1fr; }
  .ast-masterclasses__story .ast-masterclasses__eyebrow { grid-column: 1; }
  .ast-workshop-grid { gap: 14px; }
  .ast-workshop-card__body { padding: 18px; }
}

@media (max-width: 700px) {
  .ast-masterclasses__hero,
  .ast-masterclasses__story,
  .ast-masterclasses__section,
  .ast-masterclasses__atmosphere,
  .ast-masterclasses__journey-intro,
  .ast-masterclasses__included-list,
  .ast-masterclasses__process { width: calc(100% - 32px); }
  .ast-masterclasses__hero { gap: 30px; padding: 38px 0 54px; }
  .ast-masterclasses__hero h1 { font-size: clamp(35px, 9vw, 48px); }
  .ast-masterclasses__hero-copy > p:not(.ast-masterclasses__eyebrow):not(.ast-masterclasses__hero-facts) { font-size: 15px; }
  .ast-masterclasses__hero-actions .ast-button { width: 100%; box-sizing: border-box; }
  .ast-masterclasses__hero-board { grid-template-rows: repeat(2, 140px); }
  .ast-masterclasses__hero-shot figcaption { font-size: 12px; }
  .ast-masterclasses__story { padding: 52px 0; }
  .ast-masterclasses__story-copy .ast-masterclasses__story-quote { font-size: 18px; }
  .ast-masterclasses__section { padding: 52px 0 62px; }
  .ast-masterclasses__section-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .ast-masterclasses__section-head .ast-masterclasses__eyebrow { margin: 0; }
  .ast-masterclasses__section-head > p:last-child:not(.ast-masterclasses__eyebrow) { grid-column: 1; }
  .ast-workshop-grid { grid-template-columns: 1fr; gap: 18px; }
  .ast-workshop-card__media { height: 220px; }
  .ast-masterclasses__journey { padding: 58px 0; }
  .ast-masterclasses__included-list { grid-template-columns: 1fr; margin-bottom: 54px; }
  .ast-masterclasses__process li,
  .ast-masterclasses__process li:nth-child(even) { grid-template-columns: 1fr; }
  .ast-masterclasses__process li:nth-child(even) figure { order: 0; }
  .ast-masterclasses__process li figure { min-height: 190px; height: 190px; }
  .ast-masterclasses__process li > div { padding: 23px 22px 30px; }
  .ast-masterclasses__atmosphere { padding: 58px 0 68px; }
  .ast-masterclasses__collage { grid-template-columns: repeat(2, 1fr); grid-template-rows: 220px repeat(2, 130px); gap: 8px; }
  .ast-masterclasses__collage-main { grid-column: 1 / 3; grid-row: 1; }
  .ast-masterclasses__collage figure:nth-child(2) { grid-column: 1; grid-row: 2; }
  .ast-masterclasses__collage figure:nth-child(3) { grid-column: 2; grid-row: 2; }
  .ast-masterclasses__collage figure:nth-child(4) { grid-column: 1; grid-row: 3; }
  .ast-masterclasses__collage figure:nth-child(5) { grid-column: 2; grid-row: 3; }
  .ast-mobile-booking-launch { display: block; width: calc(100% - 32px); min-height: 54px; margin: 22px auto; border: 0; background: var(--mc-green); color: #fff; font: inherit; font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
  .ast-masterclasses__hero-copy,
  .ast-masterclasses__hero-board { animation: none; }
  .ast-masterclasses__hero-shot img,
  .ast-workshop-card,
  .ast-workshop-card__media img,
  .ast-masterclasses__process li img,
  .ast-masterclasses__collage figure img { transition: none; }
}
