:root {
  --paper: #f6f3eb;
  --paper2: #ece8de;
  --brown: #372f26;
  --green: #304d40;
  --muted: #756d60;
  --gold: #b8a17b;
  --line: #d9d1c2;
  --serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
select,
textarea {
  font: inherit
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a6503a;
  outline-offset: 5px
}

button {
  cursor: pointer
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

h1,
h2,
h3,
p,
figure {
  margin: 0
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.35
}

h1 {
  font-size: clamp(2.6rem, 5.3vw, 5rem)
}

h2 {
  font-size: clamp(2rem, 3.3vw, 3.2rem)
}

h3 {
  font-size: 1.55rem
}

p {
  margin-top: 18px
}

.wrap {
  width: min(1320px, calc(100% - 96px));
  margin: auto
}

.header {
  height: 105px;
  padding: 0 48px;
  display: flex;
  gap: 34px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 235, .97)
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0
}

.brand b {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 7px;
  font-weight: 600
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1.2
}

.brand-seal {
  background: #924537;
  color: var(--paper);
  border: 1px solid #924537;
  outline: 1px solid #924537;
  outline-offset: 3px;
  font-family: var(--serif);
  font-size: 18px;
  padding: 4px 6px;
  line-height: 1.1
}

.header nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  align-items: center
}

.header nav a {
  padding: 12px 0;
  white-space: nowrap;
  position: relative
}

.header nav a[aria-current]:after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 22px;
  height: 2px;
  background: #9a543d
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: var(--brown);
  color: #fff;
  padding: 13px 24px;
  min-height: 48px;
  border: 1px solid var(--brown);
  font-size: 14px;
  transition: background .2s, color .2s
}

.button:hover {
  background: var(--green);
  color: white
}

.button.outline {
  background: transparent;
  color: var(--brown);
  border-color: #aaa08e
}

.button.light {
  background: var(--paper);
  color: var(--brown);
  border-color: var(--paper)
}

.menu-toggle {
  display: none
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  padding-top: 58px;
  padding-bottom: 60px;
  align-items: center
}

.eyebrow {
  font-size: 12px;
  color: var(--green);
  letter-spacing: 2.4px;
  margin: 0 0 25px;
  font-weight: 500
}

.hero-heading {
  display: flex;
  align-items: center;
  gap: 18px
}

.hero h1 {
  font-size: clamp(2.8rem, 4.7vw, 4.6rem);
  letter-spacing: 1px;
  line-height: 1.4;
  white-space: nowrap
}

.hero h1 span {
  color: var(--green)
}

.vertical-note {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  letter-spacing: 5px;
  color: var(--muted);
  font-size: 14px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  margin: 0 0 0 10px
}

.hero-intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 2
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px
}

.hero-foot {
  display: flex;
  gap: 20px;
  font-size: 12px;
  margin-top: 42px;
  color: var(--muted)
}

.hero-foot span+span {
  border-left: 1px solid var(--line);
  padding-left: 20px
}

.hero-image {
  height: 530px;
  position: relative;
  align-self: stretch
}

.hero-image img {
  object-position: 47% center
}

.hero-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 34, 25, .55), transparent 50%);
  pointer-events: none
}

.hero-image figcaption {
  position: absolute;
  bottom: 21px;
  left: 25px;
  right: 25px;
  color: white;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  font-size: 12px
}

.image-label {
  position: absolute;
  right: 24px;
  top: 24px;
  background: rgba(246, 243, 235, .94);
  padding: 20px 15px;
  font-family: var(--serif);
  writing-mode: vertical-rl;
  letter-spacing: 5px;
  font-size: 19px;
  line-height: 1.8
}

.image-label em {
  font-style: normal;
  color: var(--green)
}

.intro-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px
}

.intro-strip b {
  font-family: Georgia, serif;
  color: var(--green);
  font-weight: 400;
  font-size: 35px;
  margin-right: 10px
}

.intro-strip a {
  color: var(--brown)
}

footer {
  margin-top: 100px;
  background: #263e33;
  color: #ece9df;
  padding: 64px 48px 20px
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 50px;
  max-width: 1320px;
  margin: auto
}

.footer-top h2 {
  font-size: 38px;
  letter-spacing: 5px
}

.footer-top h3 {
  font-family: var(--sans);
  font-size: 14px;
  margin: 0 0 18px;
  color: #cdc5ad
}

.footer-top p {
  font-size: 13px;
  color: #c7ccbf
}

.footer-top a:not(.button) {
  display: block;
  font-size: 14px;
  line-height: 2.3
}

.footer-bottom {
  max-width: 1320px;
  margin: 50px auto 0;
  border-top: 1px solid #5b6b5b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #c7ccbf
}

.skip-link {
  position: fixed;
  left: 15px;
  top: -100px;
  background: white;
  z-index: 100;
  padding: 10px
}

.skip-link:focus {
  top: 10px
}

.mobile-actions {
  display: none
}

.photo-pending {
  background: var(--paper2);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  gap: 10px
}

.photo-pending span {
  font-family: var(--serif);
  font-size: 28px
}

.photo-pending small {
  font-size: 13px
}

@media(min-width:1500px) {
  .hero {
    padding-top: 75px;
    padding-bottom: 75px
  }
}

@media(max-width:1150px) {
  .header {
    padding: 0 25px;
    gap: 20px
  }

  .header nav {
    gap: 16px
  }

  .header-book {
    padding: 10px 15px
  }

  .wrap {
    width: calc(100% - 60px)
  }

  .hero {
    gap: 30px
  }

  .hero h1 {
    font-size: 4.8vw
  }

  .vertical-note {
    display: none
  }

  .hero-image {
    height: 480px
  }
}

@media(max-width:900px) {
  .header {
    height: 82px
  }

  .header nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 20px 30px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    grid-template-columns: 1fr 1fr
  }

  .header nav.open {
    display: grid
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    border: 0;
    background: none;
    min-height: 44px
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 25px
  }

  .hero h1 {
    font-size: 4.8vw
  }

  .hero-foot {
    flex-wrap: wrap;
    gap: 8px
  }

  .hero-foot span+span {
    border: 0;
    padding-left: 0
  }

  .hero-intro {
    font-size: 16px
  }

  .hero-image {
    height: 430px
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px
  }

  .footer-top {
    grid-template-columns: 1fr 1fr
  }

  .intro-strip>span {
    max-width: 170px
  }
}

@media(max-width:620px) {
  .wrap {
    width: calc(100% - 40px)
  }

  .header {
    padding: 0 22px;
    height: 76px
  }

  .header nav {
    top: 76px
  }

  .brand b {
    font-size: 25px
  }

  .brand small {
    font-size: 9px
  }

  .header-book {
    display: none
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 35px;
    padding-bottom: 28px;
    gap: 32px
  }

  .hero h1 {
    font-size: clamp(2.5rem, 9.6vw, 3.7rem)
  }

  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 20px
  }

  .hero-intro {
    font-size: 16px
  }

  .hero-foot {
    margin-top: 25px;
    gap: 15px
  }

  .hero-image {
    height: 390px
  }

  .image-label {
    font-size: 17px
  }

  .hero-image figcaption {
    left: 16px;
    right: 16px
  }

  .intro-strip {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0
  }

  .intro-strip>span {
    width: 100%;
    max-width: none
  }

  .intro-strip b {
    font-size: 29px
  }

  .intro-strip a {
    font-size: 13px
  }

  footer {
    padding: 44px 24px 95px;
    margin-top: 60px
  }

  .footer-top {
    gap: 36px 22px;
    grid-template-columns: 1fr 1fr
  }

  .footer-top>div:first-child {
    grid-column: 1/-1
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px
  }

  .mobile-actions {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 9px 15px calc(9px + env(safe-area-inset-bottom));
    gap: 10px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    z-index: 25
  }

  .mobile-actions .button {
    flex: 1;
    justify-content: center;
    padding: 10px;
    min-height: 44px
  }

  body {
    padding-bottom: 65px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important
  }
}

.section {
  padding-top: 100px;
  padding-bottom: 15px
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 38px
}

.section-head .eyebrow {
  margin-bottom: 15px
}

.section-head .button {
  flex-shrink: 0
}

.muted {
  color: var(--muted)
}

.small {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted)
}

.text-link {
  font-size: 14px;
  display: inline-block;
  align-self: center;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px
}

.text-button {
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 5px;
  padding: 8px 0;
  color: inherit;
  font-size: 14px;
  min-height: 44px
}

.story-slice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-bottom: 90px
}

.story-slice figure {
  height: 500px
}

.story-slice figure img {
  height: calc(100% - 35px)
}

figcaption {
  font-size: 12px;
  color: var(--muted);
  padding-top: 8px
}

blockquote {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.6;
  margin: 30px 0 15px;
  color: var(--green)
}

.heritage-band {
  background: var(--green);
  color: var(--paper);
  padding: 65px 0
}

.heritage-band>.wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 60px
}

.heritage-band .eyebrow {
  color: #c2cbbd
}

.heritage-band h2 {
  font-size: 36px
}

.heritage-item {
  border-left: 1px solid #6c7b64;
  padding-left: 32px
}

.heritage-item>span {
  color: #c5b494;
  font-size: 13px
}

.heritage-item h3 {
  font-size: 23px;
  margin-top: 12px
}

.heritage-item p {
  font-size: 14px;
  color: #d3d8ca
}

.heritage-item a {
  font-size: 14px;
  display: inline-block;
  margin-top: 15px
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line)
}

.category-card {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 25px 28px 18px;
  transition: background .2s;
  display: flex;
  flex-direction: column
}

.category-card:hover {
  background: var(--paper2)
}

.card-num {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 20px
}

.category-card h3 {
  font-size: 24px
}

.category-card p {
  font-size: 14px;
  color: var(--muted);
  min-height: 50px;
  margin-top: 12px
}

.card-audience {
  font-size: 12px;
  color: var(--green);
  margin-top: 18px
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 12px;
  font-size: 12px;
  color: var(--muted)
}

.card-bottom>span:last-child {
  font-size: 22px;
  color: var(--brown)
}

.open-learning {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding: 60px;
  background: var(--paper2);
  margin-top: 90px
}

.open-learning>.button {
  margin-top: 25px
}

.open-learning p {
  font-size: 15px;
  color: var(--muted)
}

.open-learning .button {
  margin-top: 26px
}

.practice-rules>div {
  position: relative;
  border-top: 1px solid #c9bdab;
  padding: 20px 0 20px 48px
}

.practice-rules span {
  position: absolute;
  left: 0;
  font-family: Georgia, serif;
  color: var(--green)
}

.practice-rules h3 {
  font-size: 21px
}

.practice-rules p {
  margin-top: 8px
}

.venue-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--paper2);
  padding-bottom: 15px;
  touch-action: pan-x pan-y
}

.venue-card {
  border: 1px solid var(--line);
  min-width: 0
}

.venue-rail .venue-card {
  flex: 0 0 calc(31.3% - 12px);
  scroll-snap-align: start
}

.venue-photo {
  height: 220px;
  display: block;
  position: relative
}

.venue-photo .photo-pending {
  height: 100%;
  min-height: 0;
  border: 0
}

.venue-photo .photo-pending span {
  font-size: 22px
}

.venue-photo .photo-pending small {
  max-width: 80%;
  text-align: center
}

.venue-index {
  position: absolute;
  top: 15px;
  left: 18px;
  color: var(--muted);
  font-family: Georgia, serif
}

.venue-content {
  padding: 25px 22px
}

.venue-content>.eyebrow {
  font-size: 12px;
  margin-bottom: 10px
}

.venue-content h3 {
  font-size: 23px;
  min-height: 62px
}

.venue-address {
  font-size: 14px;
  color: var(--muted);
  min-height: 76px
}

.phone {
  font-family: Georgia, serif;
  display: block;
  font-size: 23px;
  margin-top: 18px
}

.venue-content .small {
  margin-top: 8px
}

.venue-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap
}

.venue-actions .button {
  padding: 10px 16px;
  gap: 20px
}

.venue-actions .text-link {
  font-size: 13px
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.carousel-controls>div {
  display: flex;
  gap: 22px;
  align-items: center
}

.carousel-controls button:not(.text-button) {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--brown);
  width: 48px;
  height: 48px;
  font-size: 22px
}

.carousel-controls button:hover {
  background: var(--paper2)
}

.rail-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 13px
}

.english-band {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  margin-top: 100px;
  background: var(--green);
  color: var(--paper)
}

.english-photo {
  height: 660px
}

.english-photo img {
  object-position: 50% 55%
}

.english-copy {
  padding: 80px clamp(35px, 6vw, 110px);
  align-self: center
}

.english-copy .eyebrow {
  color: #c8d1c2
}

.english-copy h2 {
  font-family: Georgia, serif;
  font-size: clamp(2.8rem, 4.2vw, 4.3rem);
  line-height: 1.15
}

.english-copy>p:not(.eyebrow) {
  font-size: 17px;
  color: #d2d8c9;
  line-height: 1.8
}

.english-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #63745f;
  font-size: 14px
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px
}

.teacher-photo {
  height: 360px;
  overflow: hidden
}

.teacher-photo img {
  object-position: 50% 24%
}

.teacher-photo .photo-pending {
  height: 100%
}

.teacher-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px
}

.teacher-heading h3 {
  font-size: 30px
}

.teacher-card>p {
  font-size: 14px;
  margin-top: 10px;
  color: var(--muted)
}

.teacher-card>.small {
  font-size: 12px
}

.teacher-experience {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 13px !important
}

.philosophy {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px;
  margin-top: 60px
}

.philosophy blockquote {
  margin: 0;
  font-size: 30px
}

.philosophy p {
  font-size: 14px;
  color: var(--muted);
  max-width: 780px;
  margin: 18px auto 0
}

.gallery-track {
  min-width: 0
}

.gallery-slide {
  height: auto
}

.gallery-slide>img {
  height: 560px;
  object-position: center
}

.gallery-slide figcaption {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding: 25px 0
}

.gallery-slide h3 {
  font-size: 28px;
  color: var(--brown)
}

.gallery-slide p {
  margin: 0;
  font-size: 13px
}

.gallery .carousel-controls {
  border-top: 1px solid var(--line);
  padding-top: 20px
}

.gallery-counter {
  font-family: Georgia, serif;
  font-size: 14px
}

.booking-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  padding-top: 110px
}

.booking-section>div:first-child>p {
  color: var(--muted)
}

.booking-steps {
  margin: 35px 0
}

.booking-steps p {
  border-top: 1px solid var(--line);
  padding: 15px 0;
  margin: 0;
  font-size: 15px
}

.booking-steps span {
  color: var(--green);
  font-family: Georgia, serif;
  margin-right: 20px
}

.booking-form {
  background: #eeeadf;
  padding: 35px
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.form-grid label,
.login-form label,
.filter-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px
}

.form-grid label>span {
  display: none
}

.form-grid .wide {
  grid-column: 1/-1
}

input:not([type=checkbox]):not([type=radio]),
select,
textarea {
  width: 100%;
  border: 1px solid #bcb3a2;
  border-radius: 0;
  padding: 10px 12px;
  background: var(--paper);
  min-height: 47px;
  color: var(--brown);
  min-width: 0
}

input[type=checkbox],
input[type=radio] {
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  flex: 0 0 18px;
  vertical-align: middle;
  accent-color: var(--green)
}

textarea {
  resize: vertical
}

select {
  max-width: 100%
}

.form-grid small {
  font-size: 12px;
  color: var(--muted)
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  margin: 22px 0
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin: 5px 0 0;
  flex-shrink: 0;
  accent-color: var(--green)
}

.consent a {
  text-decoration: underline
}

.booking-form button[type=submit] {
  width: 100%;
  justify-content: center
}

.form-message:empty {
  display: none
}

.form-message {
  font-size: 14px;
  color: #8b342c;
  margin: 15px 0
}

.booking-form .small {
  font-size: 12px
}

.booking-result {
  padding: 35px;
  border: 1px solid var(--gold);
  background: var(--paper2)
}

.booking-result h3 {
  font-size: 30px
}

.booking-result p {
  overflow-wrap: anywhere
}

.honey {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.breadcrumb {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 30px;
  flex-wrap: wrap
}

.page-intro {
  padding-top: 50px;
  padding-bottom: 55px
}

.page-intro h1 {
  font-size: clamp(2.8rem, 4.4vw, 4.6rem);
  max-width: 1000px
}

.page-intro>p:last-child {
  max-width: 730px;
  color: var(--muted);
  margin-top: 25px
}

.editorial .wide-image {
  height: 550px
}

.wide-image>img {
  height: calc(100% - 30px)
}

.editorial-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 70px;
  margin-top: 70px
}

.editorial-grid aside {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--green)
}

.editorial-grid aside small {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px
}

.editorial article {
  max-width: 850px
}

.editorial h2,
.detail-grid article>h2,
.teacher-bio h2,
.prose h2 {
  font-size: 30px;
  margin-top: 45px;
  margin-bottom: 20px
}

.editorial h2:first-child {
  margin-top: 0
}

.editorial p,
.detail-grid article>p {
  color: var(--muted)
}

.lineage {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 10px;
  text-align: center
}

.lineage h3 {
  font-size: 24px;
  margin-top: 10px
}

.lineage small {
  font-size: 13px;
  color: var(--muted)
}

.content-note {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  margin-top: 30px
}

.article-image {
  margin: 30px 0
}

.article-image img {
  max-height: 450px;
  aspect-ratio: 1.5
}

.course-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
  padding-top: 60px;
  padding-bottom: 20px
}

.course-group>div:first-child>p {
  font-size: 14px;
  color: var(--muted)
}

.course-row {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 25px 0
}

.course-row p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 10px
}

.course-row small {
  display: block;
  font-size: 12px;
  color: var(--green);
  margin-top: 12px
}

.course-row>span {
  font-size: 25px
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 80px;
  align-items: start
}

.detail-aside {
  position: sticky;
  top: 135px;
  padding: 30px;
  background: var(--paper2)
}

.detail-aside h3 {
  font-size: 27px
}

.detail-aside p {
  font-size: 14px;
  color: var(--muted)
}

.detail-aside>.button {
  width: 100%;
  margin-top: 22px
}

.detail-aside>.text-link {
  margin-top: 20px
}

.tag {
  padding: 5px 10px;
  font-size: 12px;
  border: 1px solid var(--gold);
  color: var(--muted)
}

.number-list {
  padding: 0;
  list-style: none;
  counter-reset: steps
}

.number-list li {
  counter-increment: steps;
  border-bottom: 1px solid var(--line);
  padding: 15px 0
}

.number-list li:before {
  content: '0' counter(steps);
  font-family: Georgia, serif;
  margin-right: 25px;
  color: var(--green)
}

.facts {
  margin: 20px 0 30px
}

.facts>div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 15px
}

.facts dt {
  color: var(--muted)
}

.facts dd {
  margin: 0
}

.inline-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  margin: 25px 0
}

.inline-links a {
  border-bottom: 1px solid var(--line)
}

.empty-media {
  border: 1px dashed var(--gold);
  padding: 30px;
  background: var(--paper2)
}

.empty-media p {
  font-size: 14px
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 18px 0
}

.faq-list summary {
  cursor: pointer;
  min-height: 32px;
  font-size: 16px
}

.faq-list p {
  font-size: 15px;
  color: var(--muted);
  padding: 0 0 10px
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 35px
}

.filter-bar button {
  border: 1px solid var(--line);
  background: none;
  padding: 10px 24px;
  color: var(--brown);
  min-height: 45px
}

.filter-bar button[aria-pressed=true] {
  color: var(--paper);
  background: var(--green);
  border-color: var(--green)
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px
}

.venue-grid .venue-photo {
  height: 290px
}

.venue-grid .venue-content h3 {
  min-height: 0
}

.venue-grid .venue-address {
  min-height: 0
}

.space-gallery {
  margin-top: 70px
}

.space-gallery>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 25px
}

.space-gallery img {
  height: 300px
}

.location-detail-photo {
  height: 380px
}

.location-detail-photo .photo-pending {
  height: 100%
}

.contact-phone {
  font-family: Georgia, serif;
  font-size: 26px;
  display: block;
  margin-top: 15px
}

.teacher-detail {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  margin-top: 55px
}

.teacher-detail>figure {
  height: 620px;
  position: sticky;
  top: 130px
}

.teacher-detail>figure .photo-pending {
  height: 100%
}

.teacher-detail>figure img {
  object-position: center top
}

.teacher-detail h1 {
  font-size: 64px
}

.teacher-bio p {
  color: var(--muted);
  font-size: 15px
}

.english-teacher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 70px
}

.english-teacher figure {
  height: 490px
}

.english-teacher figure img {
  object-position: center 40%
}

.english-teacher p {
  color: var(--muted)
}

.english-teacher .button {
  margin-top: 25px
}

.english-teacher h3 {
  margin-top: 25px
}

.english-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
  padding-top: 55px
}

.english-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.7rem, 4.6vw, 4.8rem);
  line-height: 1.2
}

.english-hero h1 em {
  font-weight: 400;
  color: var(--green)
}

.english-hero figure {
  height: 620px
}

.english-hero p {
  color: var(--muted)
}

.english-hero .eyebrow {
  color: var(--green)
}

.three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px
}

.three-columns p {
  color: var(--muted);
  font-size: 15px
}

.three-columns>div {
  border-top: 1px solid var(--line);
  padding-top: 28px
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.learning-path {
  background: var(--paper2);
  padding: 45px
}

.learning-path.green {
  background: var(--green);
  color: var(--paper)
}

.learning-path h2 {
  font-family: Georgia, serif;
  font-size: 40px
}

.learning-path p {
  font-size: 15px
}

.learning-path.green .eyebrow,
.learning-path.green .small {
  color: #d3d6c9
}

.learning-path .button {
  margin-top: 25px
}

.english-location {
  border-top: 1px solid var(--line);
  padding-top: 25px
}

.english-location .button {
  margin-top: 22px
}

.english-location p {
  min-height: 50px
}

.booking-page {
  max-width: 820px
}

.prose {
  max-width: 820px
}

.prose p {
  color: var(--muted)
}

.prose>.button {
  margin-top: 35px
}

.login-form {
  max-width: 480px;
  background: var(--paper2);
  padding: 35px
}

.login-form label {
  margin: 25px 0
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center
}

.admin-toolbar h2 {
  font-size: 30px
}

.admin-toolbar .actions {
  margin: 0
}

.filter-form {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 15px;
  align-items: end;
  padding: 30px 0
}

.lead-card {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px
}

.lead-card h3 {
  font-size: 25px
}

.lead-card p {
  font-size: 14px;
  margin: 8px 0;
  overflow-wrap: anywhere
}

.lead-card small {
  font-size: 12px;
  color: var(--muted)
}

.lead-card form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.lead-card label {
  font-size: 13px
}

.lead-card textarea {
  min-height: 80px
}

.lead-card .wide {
  grid-column: 1/-1
}

.lead-card .button {
  justify-content: center
}

.admin-pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  align-items: center
}

button:disabled {
  opacity: .55;
  cursor: not-allowed
}

dialog {
  border: 1px solid var(--gold);
  background: var(--paper);
  color: var(--brown);
  max-width: 460px;
  width: calc(100% - 40px);
  padding: 35px
}

dialog::backdrop {
  background: rgba(15, 25, 20, .6)
}

dialog h2 {
  font-size: 30px
}

dialog .dialog-close {
  float: right;
  border: 0;
  background: none;
  font-size: 24px;
  min-width: 44px;
  min-height: 44px
}

dialog p {
  font-size: 15px
}

dialog .button {
  margin-top: 25px
}

[hidden] {
  display: none !important
}

@media(max-width:1100px) {
  .story-slice {
    gap: 45px
  }

  .heritage-band>.wrap {
    gap: 30px
  }

  .heritage-item {
    padding-left: 22px
  }

  .open-learning {
    padding: 40px;
    gap: 50px
  }

  .venue-rail .venue-card {
    flex-basis: 40%
  }

  .venue-actions {
    align-items: flex-start
  }

  .booking-section {
    gap: 45px
  }

  .detail-grid {
    gap: 35px;
    grid-template-columns: minmax(0, 1fr) 290px
  }

  .teacher-photo {
    height: 310px
  }

  .english-copy {
    padding: 45px
  }

  .english-copy h2 {
    font-size: 46px
  }
}

@media(max-width:800px) {
  .section {
    padding-top: 65px
  }

  .section-head {
    align-items: flex-start
  }

  .section-head .button {
    padding: 10px 14px
  }

  .story-slice {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 65px
  }

  .story-slice figure {
    height: 420px
  }

  .heritage-band>.wrap {
    grid-template-columns: 1fr 1fr
  }

  .heritage-band>.wrap>div:first-child {
    grid-column: 1/-1
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .open-learning {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .venue-rail .venue-card {
    flex-basis: 48%
  }

  .english-band {
    grid-template-columns: 1fr 1fr
  }

  .english-photo {
    height: 580px
  }

  .english-copy {
    padding: 32px
  }

  .english-copy h2 {
    font-size: 36px
  }

  .english-copy>p:not(.eyebrow) {
    font-size: 15px
  }

  .teacher-grid {
    gap: 18px
  }

  .teacher-photo {
    height: 250px
  }

  .teacher-card .teacher-experience {
    font-size: 12px !important
  }

  .philosophy blockquote {
    font-size: 25px
  }

  .gallery-slide>img {
    height: 400px
  }

  .gallery-slide figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px
  }

  .booking-section {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 70px
  }

  .booking-section>div:first-child h2 br {
    display: none
  }

  .booking-steps {
    display: none
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .editorial-grid aside {
    display: none
  }

  .detail-grid {
    grid-template-columns: 1fr
  }

  .detail-aside {
    position: static;
    order: -1
  }

  .detail-aside h3 br {
    display: none
  }

  .detail-aside>.button {
    width: auto;
    margin-right: 12px
  }

  .course-group {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .teacher-detail {
    gap: 30px;
    grid-template-columns: .8fr 1.2fr
  }

  .teacher-detail>figure {
    height: 400px
  }

  .english-hero {
    gap: 25px
  }

  .english-hero figure {
    height: 530px
  }

  .english-hero h1 {
    font-size: 40px
  }

  .english-teacher {
    gap: 35px
  }

  .three-columns {
    gap: 22px
  }

  .learning-path {
    padding: 28px
  }

  .learning-path h2 {
    font-size: 32px
  }

  .filter-form {
    grid-template-columns: 1fr 1fr
  }

  .lead-card {
    gap: 25px
  }

  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column
  }
}

@media(max-width:620px) {
  .section-head {
    display: block;
    margin-bottom: 28px
  }

  .section-head>.button,
  .section-head>.carousel-controls {
    margin-top: 22px
  }

  .story-slice {
    padding-top: 60px
  }

  .story-slice figure {
    height: 330px
  }

  .heritage-band {
    padding: 42px 0
  }

  .heritage-band>.wrap {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .heritage-band>.wrap>div:first-child {
    grid-column: auto
  }

  .heritage-band h2 {
    font-size: 32px
  }

  .heritage-item {
    padding-left: 20px
  }

  .category-grid {
    grid-template-columns: 1fr 1fr
  }

  .category-card {
    padding: 18px 16px 12px
  }

  .category-card h3 {
    font-size: 20px
  }

  .category-card p {
    font-size: 13px;
    min-height: 70px
  }

  .card-num {
    font-size: 20px;
    margin-bottom: 15px
  }

  .card-audience {
    font-size: 12px;
    min-height: 40px
  }

  .card-bottom {
    font-size: 12px;
    gap: 8px;
    min-height: 55px
  }

  .open-learning {
    padding: 30px 24px;
    margin-top: 55px;
    gap: 32px
  }

  .open-learning h2 {
    font-size: 29px
  }

  .venue-rail .venue-card {
    flex-basis: 88%
  }

  .venue-photo {
    height: 225px
  }

  .venue-content h3 {
    min-height: 0
  }

  .venue-address {
    min-height: 55px
  }

  .venue-content {
    padding: 22px
  }

  .english-band {
    grid-template-columns: 1fr;
    margin-top: 65px
  }

  .english-photo {
    height: 370px
  }

  .english-copy {
    padding: 36px 25px 45px
  }

  .english-copy h2 {
    font-size: 42px
  }

  .teacher-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .teacher-photo {
    height: 380px
  }

  .teacher-photo img {
    object-position: center 30%
  }

  .teacher-card .teacher-experience {
    font-size: 13px !important
  }

  .teacher-card>.small {
    font-size: 13px
  }

  .philosophy {
    padding: 25px 0;
    margin-top: 40px
  }

  .philosophy blockquote {
    font-size: 24px
  }

  .gallery-slide>img {
    height: 300px
  }

  .gallery-slide h3 {
    font-size: 24px
  }

  .gallery-slide figcaption {
    padding: 20px 0
  }

  .booking-form {
    padding: 25px 20px
  }

  .form-grid {
    gap: 18px;
    grid-template-columns: 1fr
  }

  .form-grid .wide {
    grid-column: auto
  }

  .booking-section {
    padding-top: 65px
  }

  .booking-section h2 {
    font-size: 32px
  }

  .booking-section>div:first-child>p br {
    display: none
  }

  .booking-result {
    padding: 25px
  }

  .breadcrumb {
    padding-top: 22px
  }

  .page-intro {
    padding-top: 35px;
    padding-bottom: 35px
  }

  .page-intro h1 {
    font-size: 36px
  }

  .page-intro>p:last-child {
    font-size: 15px
  }

  .editorial .wide-image {
    height: 310px
  }

  .editorial-grid {
    margin-top: 30px
  }

  .editorial h2,
  .detail-grid article>h2,
  .teacher-bio h2,
  .prose h2 {
    font-size: 27px
  }

  .lineage h3 {
    font-size: 21px
  }

  .facts>div {
    grid-template-columns: 85px 1fr;
    gap: 12px;
    font-size: 14px
  }

  .detail-aside {
    padding: 25px
  }

  .course-group {
    padding-top: 45px
  }

  .course-row h3 {
    font-size: 23px
  }

  .venue-grid {
    grid-template-columns: 1fr
  }

  .venue-grid .venue-photo {
    height: 250px
  }

  .filter-bar button {
    padding: 10px 17px
  }

  .space-gallery>div {
    grid-template-columns: 1fr
  }

  .space-gallery img {
    height: 240px
  }

  .location-detail-photo {
    height: 260px
  }

  .teacher-detail {
    grid-template-columns: 1fr;
    margin-top: 35px;
    gap: 30px
  }

  .teacher-detail>figure {
    height: 430px;
    position: static
  }

  .teacher-detail h1 {
    font-size: 46px
  }

  .english-hero {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding-top: 35px;
    align-items: stretch
  }

  .english-hero h1 {
    font-size: 42px
  }

  .english-hero figure {
    height: 420px
  }

  .three-columns,
  .two-columns {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .two-columns {
    gap: 0
  }

  .learning-path {
    padding: 35px 25px
  }

  .english-teacher {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 35px
  }

  .english-teacher figure {
    height: 360px
  }

  .english-location p {
    min-height: 0
  }

  .prose p {
    font-size: 15px
  }

  .lead-card {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .filter-form {
    grid-template-columns: 1fr
  }

  .admin-toolbar .actions {
    flex-wrap: wrap
  }

  .admin-pagination {
    gap: 10px
  }

  .admin-pagination .button {
    padding: 10px 14px
  }

  .login-form {
    padding: 25px
  }
}

/* Course overview: a quieter, image-led card rhythm inspired by the reference site. */
.courses-overview {
  padding-top: 27px;
  padding-bottom: 34px
}

.courses-overview-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin: 0 0 21px
}

.courses-overview-intro .eyebrow {
  margin-bottom: 6px;
  letter-spacing: 2px
}

.courses-overview-intro h1 {
  font-size: clamp(2.3rem, 3.25vw, 3.4rem);
  line-height: 1.35
}

.courses-overview-intro h1 span {
  color: var(--green)
}

.courses-overview-intro>p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 5px;
  flex-shrink: 0
}

.course-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px
}

.course-entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  padding: 12px 18px 11px;
  overflow: hidden;
  background: #fcfaf5;
  border: 1px solid #e3ddd0;
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(54, 42, 28, .035);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease
}

.course-entry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(54, 42, 28, .1);
  background: #fffdf8
}

.course-entry-top,
.course-entry-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.course-entry-number {
  font-family: Georgia, serif;
  font-size: 12px;
  color: #a55a41;
  letter-spacing: 1px
}

.course-entry-ornament {
  font-size: 13px;
  color: var(--gold)
}

.course-entry-copy h2 {
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  line-height: 1.35
}

.course-entry-copy p {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0 0;
  line-height: 1.55
}

.course-entry-bottom {
  border-top: 1px solid var(--line);
  padding-top: 6px;
  color: var(--muted);
  font-size: 11px;
  min-height: 25px
}

.course-entry-bottom strong {
  color: #89543d;
  font-weight: 500;
  white-space: nowrap
}

.course-overview-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px
}

.course-overview-note a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px
}

.course-next-step {
  padding: 15px 20px;
  background: var(--paper2);
  font-size: 14px
}

.course-next-step a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--green)
}

@media(max-width:900px) {
  .courses-overview-intro {
    align-items: start;
    flex-direction: column;
    gap: 10px
  }

  .courses-overview-intro>p br {
    display: none
  }

  .course-entry-grid {
    gap: 12px
  }

  .course-entry-card {
    padding: 17px;
    min-height: 180px
  }

  .course-entry-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px
  }

  .course-entry-bottom strong {
    font-size: 13px
  }
}

@media(max-width:620px) {
  .courses-overview {
    padding-top: 5px
  }

  .courses-overview-intro {
    margin: 8px 0 24px
  }

  .courses-overview-intro h1 {
    font-size: clamp(2.05rem, 8.4vw, 2.7rem)
  }

  .courses-overview-intro h1 span {
    display: block
  }

  .courses-overview-intro>p {
    font-size: 14px
  }

  .course-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }

  .course-entry-card {
    min-height: 176px;
    padding: 14px;
    border-radius: 13px
  }

  .course-entry-copy h2 {
    font-size: 20px
  }

  .course-entry-copy p {
    font-size: 12px;
    line-height: 1.45
  }

  .course-entry-number {
    font-size: 13px
  }

  .course-entry-bottom {
    font-size: 11px
  }

  .course-entry-bottom strong {
    font-size: 12px
  }

  .course-overview-note {
    font-size: 12px
  }
}

/* Four-location photo rail */
.space-gallery {
  margin-top: 90px;
  padding-top: 46px;
  border-top: 1px solid var(--line)
}

.space-gallery .space-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin: 0 0 28px
}

.space-gallery-head>div:first-child {
  max-width: 760px
}

.space-gallery-head .eyebrow {
  margin-bottom: 12px
}

.space-gallery-head .muted {
  margin-bottom: 0
}

.space-gallery .space-gallery-rail {
  display: flex;
  grid-template-columns: none;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  margin: 0;
  padding: 2px 0 12px;
  touch-action: pan-x pan-y
}

.space-gallery-rail::-webkit-scrollbar {
  display: none
}

.space-gallery-card {
  flex: 0 0 clamp(420px, 45vw, 680px);
  scroll-snap-align: start;
  margin: 0
}

.space-gallery-card:nth-child(3n) {
  flex-basis: clamp(350px, 37vw, 560px)
}

.space-gallery-photo {
  position: relative;
  height: clamp(310px, 32vw, 470px);
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper2)
}

.space-gallery .space-gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease
}

.space-gallery-card:hover .space-gallery-photo img {
  transform: scale(1.018)
}

.space-gallery-photo>span {
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(247, 244, 236, .9);
  font-family: Georgia, serif;
  font-size: 13px;
  color: var(--brown);
  backdrop-filter: blur(8px)
}

.space-gallery-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 2px 0
}

.space-gallery-card figcaption strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--brown)
}

.space-gallery-card figcaption small {
  font-size: 12px;
  color: var(--muted);
  text-align: right
}

.space-gallery .space-gallery-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 12px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted)
}

.space-gallery-footer [data-space-counter] {
  font-family: Georgia, serif;
  color: var(--brown)
}

@media(max-width:620px) {
  .space-gallery {
    margin-top: 60px;
    padding-top: 35px
  }

  .space-gallery .space-gallery-head {
    display: block
  }

  .space-gallery-head .carousel-controls {
    margin-top: 22px
  }

  .space-gallery-card,
  .space-gallery-card:nth-child(3n) {
    flex-basis: 86vw
  }

  .space-gallery-photo {
    height: 300px
  }

  .space-gallery-card figcaption {
    display: block
  }

  .space-gallery-card figcaption small {
    display: block;
    text-align: left;
    margin-top: 5px
  }

  .space-gallery-footer>span:last-child {
    display: none
  }
}

/* Keep the site links balanced in two columns, including the mobile footer. */
.footer-top>div:nth-child(2) {
  min-width: 0;
  column-count: 2;
  column-gap: 24px;
}

.footer-top>div:nth-child(2)>h3 {
  column-span: all;
  margin-bottom: 18px;
}

.footer-top>div:nth-child(2)>a {
  break-inside: avoid-column;
}

@media(max-width:620px) {
  .footer-top>div:nth-child(2) {
    grid-column: 1/-1;
  }
}
