body {
  background: #eeefe9;
  color: #252720;
  font-size: clamp(8px,1.58vw,19px);
}
.studio {
  display: grid;
  grid-template-columns: 3.55em minmax(0,1fr);
  padding: .8em;
  gap: 1.05em;
}
.rail {
  border-radius: 1.3em;
  background: #20221e;
  color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1.65em;
  padding: 1.1em .22em;
}
.rail strong {
  color: #292e20;
  background: #e6eacb;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 1.9em;
  aspect-ratio: 1;
  font-size: 1.15em;
}
.rail p {
  text-align: center;
  font-size: .79em;
  color: #d1d2c9;
}
.rail p:first-of-type {
  border-block: 1px solid #56594f;
  padding: .7em 0;
}
.studio-body {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: .55em;
  padding: .4em .5em .2em 0;
}
.studio-body>header {
  font-size: .9em;
}
.studio-body h1 {
  font-weight: 550;
  font-size: 3.4em;
  letter-spacing: -.09em;
  line-height: .99;
}
.studio-body h1 em {
  font-style: normal;
  color: #636953;
}
.weekline {
  font-size: .85em;
  padding: .45em 0;
  border-block: 1px solid #bfc3b6;
  color: #4d5548;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr .76fr;
  grid-template-rows: minmax(0,1fr) minmax(0,1.05fr);
  gap: .65em;
}
.studio-grid>article,.today {
  border-radius: 1.28em;
  min-width: 0;
  padding: .95em 1.05em;
}
.stat {
  background: #e4f78f;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat .num {
  font-size: 3.55em;
  margin: .14em 0 .03em;
}
.segments {
  display: flex;
  gap: .24em;
  margin: .45em 0;
}
.segments i {
  flex: 1;
  height: 1.38em;
  border-radius: .8em;
  background: #303424;
}
.segments i:last-child {
  border: 1px dashed #728347;
  background: transparent;
}
.class-photo {
  background: linear-gradient(0deg,#231f17c9,transparent 75%),url('/agency/studio-editions/yeo-kiln/hero.webp') center 54%/cover;
  color: white;
  display: grid;
  align-items: end;
}
.class-photo h2 {
  font-weight: 520;
  font-size: 2em;
  line-height: 1.05;
  margin-top: .2em;
}
.today,.seats {
  background: #fbfcf6;
}
.today {
  grid-column: 3;
  grid-row: 1;
}
.today h2 {
  margin-bottom: .55em;
}
.today div {
  border-top: 1px solid #d7dacb;
  padding: .48em 0;
  display: grid;
  grid-template-columns: 1fr auto;
}
.today time {
  grid-column: 1/-1;
  color: #59634d;
  font-size: .8em;
}
.today strong {
  font-size: .88em;
}
.today small {
  color: #637056;
}
.seats {
  grid-column: 1/3;
  display: flex;
  flex-direction: column;
}
.seat-bars {
  display: flex;
  flex: 1;
  justify-content: space-around;
  text-align: center;
  margin-top: .55em;
  background: repeating-linear-gradient(to top,transparent 0 24%,#e7e9df 24.5% 25%) center 50%/100% 70% no-repeat;
}
.seat-bars>div {
  width: 7.5%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: .15em;
  font-size: .86em;
}
.track {
  flex: 1;
  width: 88%;
  min-height: 2.7em;
  display: flex;
  align-items: flex-end;
  background: #e5e9db;
  border-radius: 2em;
}
.track i {
  width: 100%;
  border-radius: 2em;
  background: #464f40;
  box-shadow: inset 0 .41em #859378;
}
.firing {
  grid-column: 3;
  background: #dde2d3;
}
.firing .num {
  font: italic 2.75em/.98 Georgia,serif;
  margin: .12em 0;
}
.firing p:last-child {
  margin-top: .45em;
  font-size: .82em;
}
@media (max-aspect-ratio:6/5) and (max-width:820px) {
  body {
    font-size: clamp(10px,3.05vw,17px);
  }
  .studio {
    display: block;
    padding: .8em;
  }
  .rail {
    display: none;
  }
  .studio-body {
    padding: 0;
    gap: .48em;
  }
  .studio-body h1 {
    font-size: 2.5em;
  }
  .studio-grid {
    grid-template-columns: 1fr 1.12fr;
    grid-template-rows: auto auto auto;
  }
  .studio-grid>article,.today {
    padding: .75em .9em;
  }
  .today {
    grid-column: 1;
    grid-row: 3;
  }
  .firing {
    grid-column: 2;
    grid-row: 3;
  }
  .seats {
    grid-row: 2;
    grid-column: 1/-1;
  }
  .stat .num {
    font-size: 2.9em;
  }
  .seat-bars .track {
    min-height: 4.5em;
  }
  .weekline {
    font-size: .78em;
  }
  .embedded .studio {
    display: flex;
  }
  .embedded .studio-body {
    width: 100%;
  }
  .embedded .today,.embedded .firing {
    display: none;
  }
  .embedded .studio-grid {
    grid-template-rows: 1fr 1.1fr;
  }
  .embedded .studio-body h1 {
    font-size: 2.32em;
  }
  .embedded .seat-bars .track {
    min-height: 1.8em;
  }
}

@media (max-width: 330px) and (max-aspect-ratio: 6/5) {
  .embedded .studio { padding: .5em; }
  .embedded .studio-body { gap: .3em; }
  .embedded .studio-body h1 { font-size: 2em; }
  .embedded .studio-grid { gap: .4em; }
  .embedded .studio-grid > article { padding: .55em .7em; }
}
@media (max-width: 520px) and (min-aspect-ratio: 6/5) {
  .embedded .studio { padding: .55em; }
}
