/* Asteria prototype, round 2 v3: the sections after the hero. Tokens live in proto.css. */
section {
  position: relative;
}
.manifesto {
  background: var(--forest);
  color: var(--cream);
}
.manifesto .inner {
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding-block: 120px;
}
.manifesto p.big {
  margin: 26px auto 0;
  max-width: 21ch;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.22;
}
.manifesto .w {
  opacity: 0.18;
}
.pill-img {
  display: inline-block;
  vertical-align: middle;
  width: 2.2em;
  height: 1.02em;
  border-radius: 999px;
  overflow: hidden;
  transform: scale(0);
}
.pill-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Classes: a pinned horizontal walk through tall arches. */
.classes {
  background: var(--sand);
}
.classes-pin {
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.classes-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: clamp(24px, 4vh, 44px);
}
.classes-head h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 112px);
}
.progress {
  width: min(260px, 40vw);
  height: 1px;
  background: var(--line);
}
.progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--cocoa);
  transform: scaleX(0);
  transform-origin: right;
}
.track {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  padding-inline: calc(var(--pad) + 16px);
  width: max-content;
}
.card {
  position: relative;
  flex: none;
  width: clamp(260px, 26vw, 380px);
  height: min(64svh, 600px);
  border-radius: 999px 999px 32px 32px;
  overflow: hidden;
  color: var(--paper);
  text-decoration: none;
}
.card img {
  position: absolute;
  inset: 0 -10%;
  width: 120%;
  height: 100%;
  object-fit: cover;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 45%,
    rgba(47, 34, 27, 0.75)
  );
}
.card .meta {
  position: absolute;
  z-index: 1;
  inset-inline: 24px;
  bottom: 22px;
}
.card .n {
  font: 400 12px var(--body);
  letter-spacing: 0.2em;
  opacity: 0.8;
}
.card h3 {
  margin: 4px 0 2px;
  font: 600 clamp(32px, 3vw, 46px)/1 var(--display);
}
.card p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* Why: cards that stack as you scroll. */
.why {
  background: var(--sand);
  padding-block: 40px 120px;
}
.why h2 {
  margin: 0 0 40px;
  font-size: clamp(44px, 6vw, 96px);
}
.stack-card {
  position: sticky;
  top: 90px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  min-height: 72svh;
  margin-bottom: 40px;
  padding: clamp(20px, 3vw, 40px);
  border-radius: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  transform-origin: 50% 0;
}
.stack-card:nth-child(3) {
  background: var(--linen);
}
.stack-card:nth-child(4) {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest-2);
}
.stack-card .num {
  font: 700 clamp(80px, 10vw, 160px)/0.8 var(--display);
  color: var(--clay);
}
.stack-card h3 {
  margin: 10px 0 12px;
  font: 600 clamp(36px, 4vw, 60px)/1.05 var(--display);
}
.stack-card p {
  margin: 0;
  max-width: 40ch;
  color: inherit;
  opacity: 0.8;
}
.stack-card img {
  width: 100%;
  height: clamp(260px, 52svh, 520px);
  object-fit: cover;
  border-radius: 999px 999px 28px 28px;
}

/* Schedule teaser: days, then a list that shows a photo by the pointer. */
.schedule {
  background: var(--paper);
  padding-block: clamp(90px, 12vw, 160px);
}
.schedule h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 96px);
}
.days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 18px;
}
.day {
  position: relative;
  min-width: 64px;
  min-height: 72px;
  padding: 8px 12px;
  border-radius: 999px 999px 18px 18px;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  line-height: 1.2;
  font-size: 14px;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.day b {
  display: block;
  font: 600 24px var(--display);
}
.day[aria-pressed="true"] {
  background: var(--cocoa);
  color: var(--paper);
  border-color: var(--cocoa);
}
.day .today {
  position: absolute;
  top: -11px;
  color: var(--gold);
  font-size: 13px;
  animation: breathe 3s ease-in-out infinite;
}
.slots {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.slot {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.slot time {
  font: 600 30px var(--display);
  direction: ltr;
  text-align: start;
  font-variant-numeric: tabular-nums;
}
.slot strong {
  display: block;
  font-weight: 500;
  font-size: 19px;
}
.slot span {
  color: var(--taupe);
  font-size: 15px;
}
.slot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--cocoa);
  text-decoration: none;
  font-size: 14px;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.slot a:hover {
  background: var(--cocoa);
  color: var(--paper);
}
.slot.full a {
  opacity: 0.5;
}
.peek {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 220px;
  height: 280px;
  border-radius: 999px 999px 22px 22px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
}
.peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

