:root {
  --bg: #f4f5f0;
  --rect-w: 100vw;
  --rect-h: 100vh;
  --band-raw: calc((var(--rect-w) - var(--rect-h)) / 2);
  --band-center: var(--band-raw);
  --band: min(var(--band-raw), calc(var(--rect-h) * 0.44));
  --outer-column-left: calc(var(--band-center) / 2);
  --outer-column-right: calc(100% - (var(--band-center) / 2));
  --inner-square-left: var(--band-center);
  --inner-square-right: calc(100% - var(--band-center));
  --inner-square-top: 0px;
  --inner-square-bottom: var(--rect-h);
  --inner-square-size: calc(var(--inner-square-right) - var(--inner-square-left));
  --inner-square-scale: calc(var(--inner-square-size) / 100px);
  --inner-left-circle-center: calc(var(--inner-square-left) + ((var(--inner-square-right) - var(--inner-square-left)) * 0.25));
  --outer-top: 25%;
  --outer-bottom: 75%;
  --outer-r: calc(var(--band) / 2);
  --top-band-h: calc(var(--outer-top) - var(--outer-r));
  --top-band-h-clamped: clamp(50px, var(--top-band-h), 100px);
  --mobile-top-band-h: clamp(36.4px, 6.3vw, 53.2px);
  --header-height: 48.3px;
  --text-size: 20px;
  --section-line-height: calc(var(--text-size) * 1.2);
  --section-outer-space: var(--section-line-height);
  --section-grid-bg: #f4f5f0;
  --section-text-indent: clamp(2.5rem, 6vw, 4rem);
  --section-header-gap: var(--section-outer-space);
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: grid;
  place-items: center;
  background: var(--bg);
  font-family: "ABC Diatype", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--text-size);
}

.lang-inline,
.lang-block,
.brand-link-so,
.shape-label-line-so {
  display: block;
}

.lang-inline-so,
.lang-block-so {
  direction: rtl;
}

.home-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.content-page {
  display: block;
  margin: 0;
  padding: 0 var(--section-outer-space) var(--section-outer-space) var(--section-outer-space);
  min-height: 100vh;
  box-sizing: border-box;
}

h1,
h2 {
  margin: 0 0 0px 0;
  font-weight: 400;
  font-size: inherit;
}

.facility-page h2 {
  font-size: var(--text-size);
  line-height: 1.2;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--section-outer-space);
}

.facility-col-left {
  grid-column: 1 / span 2;
}

.facility-col-center {
  grid-column: 3 / span 1;
}

.facility-col-right {
  grid-column: 4 / span 2;
  text-align: right;
}

.about-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--section-outer-space);
  min-height: calc(100dvh - var(--header-height) - 1.5 * var(--section-outer-space));
}

.about-col-left {
  grid-column: 1 / span 2;
}

.about-col-center {
  grid-column: 3 / span 1;
  align-self: center;
}

.about-col-right {
  grid-column: 4 / span 2;
  text-align: right;
}

.about-col {
  font-size: var(--text-size);
  line-height: 1.2;
}

.about-col > div:first-child > :first-child {
  margin-top: 0;
}

.about-col > div:first-child > :last-child {
  margin-bottom: 0;
}

.about-links {
  margin-top: 1.2em;
  margin-inline-start: var(--section-text-indent);
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.about-link {
  color: #000000;
  text-decoration: none;
  transition: color 150ms ease;
}

.about-link:hover {
  color: #ffffff;
}

.about-link-label,
.about-link-value {
  display: inline;
}

.about-portrait {
  width: 100%;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--page-color, #ffffff);
}

.about-portrait-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: screen;
}

.student-work-grid {
  position: relative;
  --masonry-gutter: var(--section-outer-space);
}

.student-work-item {
  margin: 0;
  width: calc((100% - (4 * var(--masonry-gutter))) / 5);
  margin-bottom: var(--section-outer-space);
  position: relative;
  background: transparent;
}

.student-work-sizer {
  width: calc((100% - (4 * var(--masonry-gutter))) / 5);
}

.student-work-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: block;
}

.student-work-item summary::-webkit-details-marker {
  display: none;
}

.student-work-item summary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--page-color, #ffffff);
  z-index: 0;
}

.student-work-item img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: screen;
  position: relative;
  z-index: 1;
  transition: filter 150ms ease, mix-blend-mode 150ms ease;
}

.student-work-item:hover img {
  filter: none;
  mix-blend-mode: normal;
}

.student-work-info {
  margin-top: 8px;
  font-size: var(--text-size);
  line-height: 1.2;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 250ms ease, opacity 200ms ease, transform 200ms ease;
  transition-delay: 0ms, 0ms, 0ms;
}

.student-work-info p {
  margin: 0;
}

.student-work-item[open] .student-work-info {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms, 200ms, 200ms;
}

.teacher-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--page-color, #ffffff);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.teacher-photo.is-visible {
  display: flex;
}

.teacher-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: screen;
}

.teacher-name {
  cursor: pointer;
}
.teacher-list {
  margin: 0;
  padding-inline-start: var(--section-text-indent);
  font-size: var(--text-size);
  line-height: 1.2;
}

.teacher-list + h2 {
  margin-top: 3.6em;
}

.facility-col h2 {
  margin-left: 0;
  margin-right: 0;
}

.teacher-item {
  margin-bottom: 12px;
}

.teacher-item::marker {
  color: #000000;
}

.teacher-item:has(.teacher-name.is-hovered)::marker,
.teacher-item:has(.teacher-link.is-hovered)::marker {
  color: #ffffff;
}

.teacher-name {
  display: table;
  margin-bottom: 0;
  font-size: var(--text-size);
}

.teacher-subtitles.teacher-hover-target {
  display: table;
  cursor: pointer;
}

.teacher-name.is-hovered,
.teacher-name:hover,
.teacher-link.is-hovered,
.teacher-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.teacher-name.is-hovered + .teacher-subtitles,
.teacher-name:hover + .teacher-subtitles,
.teacher-name:focus + .teacher-subtitles {
  color: #ffffff;
}

.teacher-link {
  display: table;
  color: #000000;
  text-decoration: none;
}

.teacher-subtitles {
  margin-inline-start: var(--section-text-indent);
  margin-top: 0;
  opacity: 1;
  font-size: var(--text-size);
}

.teacher-subtitles p {
  margin: 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--section-outer-space);
  align-items: start;
  min-height: calc(100dvh - var(--header-height) - 2 * var(--section-outer-space));
}

.events-col {
  font-size: var(--text-size);
  line-height: 1.2;
}

.events-col-left {
  grid-column: 1 / span 2;
}

.events-col-center {
  grid-column: 3 / span 1;
  align-self: center;
}

.events-col-right {
  grid-column: 4 / span 2;
  text-align: right;
}

.events-col h2 + .events-list,
.events-col .events-list + h2 {
  margin-top: 1.2em;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: inherit;
  padding-inline-start: var(--section-text-indent);
}

.event-item {
  margin: 0;
  padding: 0;
  line-height: inherit;
}

.event-summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(7ch, auto) minmax(0, 1fr);
  gap: 0 16px;
  padding: 0;
  cursor: pointer;
  color: #000000;
  line-height: inherit;
  transition: color 150ms ease;
  position: relative;
}

.event-summary::before {
  content: "";
  position: absolute;
  inset-inline-start: calc(-0.38 * var(--section-text-indent));
  top: 0.4em;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: currentColor;
  pointer-events: none;
}

.event-summary::-webkit-details-marker {
  display: none;
}

.event-item:hover .event-summary,
.event-item.is-hovered .event-summary,
.event-item[open] .event-summary {
  color: #ffffff;
}

.event-summary-date {
  grid-column: 1;
  grid-row: 1 / span 2;
  line-height: inherit;
}

.event-summary-title,
.event-summary-subtitle {
  grid-column: 2;
  line-height: inherit;
}

.event-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  line-height: inherit;
  transition: max-height 250ms ease, opacity 200ms ease, transform 200ms ease;
}

.event-item[open] .event-body {
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 0;
  color: #ffffff;
}

.event-text p {
  margin-bottom: 0;
  margin-top: 0;
  line-height: inherit;
}

.event-photo {
  width: 100%;
  background: var(--page-color, #ffffff);
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  overflow: hidden;
  position: relative;
  align-self: start;
}

.event-photo.is-visible {
  display: flex;
}

.event-photo-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--page-color, #ffffff);
}

.event-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: screen;
}

.rect {
  width: 100vw;
  height: 100%;
  background: transparent;
  display: grid;
  place-items: center;
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.rect svg {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.rect svg a {
  cursor: pointer;
}

.line {
  position: absolute;
  background: #000000;
  pointer-events: none;
  z-index: 0;
}

.line-h {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  transform: translateY(-0.5px);
}

.line-v {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-0.5px);
}

.line-v-outer-left {
  left: var(--outer-column-left);
}

.line-v-outer-right {
  left: var(--outer-column-right);
}

.outer-circle {
  position: absolute;
  width: var(--band);
  height: var(--band);
  border: 1px solid #000000;
  border-radius: 50%;
  box-sizing: border-box;
  pointer-events: none;
  display: block;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.mobile-outer-circle {
  display: none;
}

.shape-link {
  cursor: pointer;
  pointer-events: all;
}

.shape-link-safe-lower-left {
  display: none;
}

.shape-link-safe-lower-right-square {
  display: none;
}

.shape-link .shape {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: fill 150ms ease, stroke 150ms ease;
  pointer-events: all;
}

.shape-link:hover .shape,
.shape-link:focus .shape,
.shape-link.is-intro-hover .shape {
  fill: var(--hover-color, #f4d000);
  stroke: transparent;
}

.rect:has(.shape-link-safe-lower-left:hover) .shape-safe-lower-composite,
.rect:has(.shape-link-safe-lower-left:focus) .shape-safe-lower-composite,
.rect:has(.shape-link-safe-lower-left.is-intro-hover) .shape-safe-lower-composite,
.rect:has(.shape-link-safe-lower-right-square:hover) .shape-safe-lower-composite,
.rect:has(.shape-link-safe-lower-right-square:focus) .shape-safe-lower-composite,
.rect:has(.shape-link-safe-lower-right-square.is-intro-hover) .shape-safe-lower-composite {
  fill: var(--hover-color, #f4d000);
  stroke: transparent;
}

.base-shape-outline {
  pointer-events: none;
}

.shape-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 150ms ease;
  color: #000000;
  font-size: var(--text-size);
  letter-spacing: 0.5px;
  inline-size: min(100%, 18ch);
  max-inline-size: calc(100% - 1rem);
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  text-align: center;
}

.shape-label-line {
  display: block;
  font-size: var(--text-size);
  line-height: 1;
}

.shape-label-line-fallback {
  display: none;
}

.shape-label-inner {
  width: calc(var(--inner-square-size) / 2);
  height: calc(var(--inner-square-size) / 2);
  transform: translate(0, 0);
  justify-content: center;
  z-index: 3;
}

.shape-label-inner-left-top {
  left: var(--inner-square-left);
  top: var(--inner-square-top);
}

.shape-label-inner-right-top {
  left: calc(var(--inner-square-left) + (var(--inner-square-size) / 2));
  top: var(--inner-square-top);
}

.shape-label-inner-left-bottom {
  left: var(--inner-square-left);
  top: calc(var(--inner-square-top) + (var(--inner-square-size) / 2));
}

.shape-label-inner-safe-lower {
  left: var(--inner-square-left);
  top: calc(var(--inner-square-top) + (var(--inner-square-size) / 2));
  width: var(--inner-square-size);
  height: calc(var(--inner-square-size) / 2);
}

.outer-left {
  left: var(--outer-column-left);
}

.outer-right {
  left: var(--outer-column-right);
}

.outer-top {
  top: var(--outer-top);
}

.outer-bottom {
  top: var(--outer-bottom);
}

.line-h-outer-top {
  top: calc(var(--outer-top) - var(--outer-r));
}

.line-h-outer-bottom {
  top: calc(var(--outer-bottom) + var(--outer-r));
}

.line-h-outer-top-lower {
  top: calc(var(--outer-top) + var(--outer-r));
}

.line-h-outer-bottom-upper {
  top: calc(var(--outer-bottom) - var(--outer-r));
}

.top-band {
  position: sticky;
  left: 0;
  top: 0;
  width: auto;
  height: var(--header-height);
  min-height: var(--header-height);
  max-height: var(--header-height);
  border-bottom: 1px solid #000000;
  background: var(--bg);
  z-index: 20;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4.05px var(--section-outer-space);
  box-sizing: border-box;
  overflow: hidden;
}

.content-page .top-band {
  width: calc(100% + 2 * var(--section-outer-space));
  margin: 0 calc(-1 * var(--section-outer-space)) 0;
}

.content-page > .top-band + * {
  margin-top: var(--section-header-gap);
}

.about-page > .top-band + .about-grid {
  margin-top: calc(var(--section-header-gap) * 0.5);
}

.home-page .top-band {
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.top-band .brand-svg {
  height: 39.2px;
  max-height: 39.2px;
  min-height: 1px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.top-band .brand-right {
  margin-left: auto;
  justify-content: flex-end;
}

.top-band .brand-right .brand-svg {
  max-height: 39.2px;
}

.brand-link {
  pointer-events: auto;
  display: flex;
  align-items: center;
  height: auto;
  flex: 0 0 42%;
  max-width: 42%;
  min-width: 0;
}

.brand-title {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
}

.top-band .section-sup {
  position: absolute;
  top: 0;
  left: calc(100% + 8px);
  font-size: min(var(--text-size), 16px);
  line-height: 1.2;
  color: #000000;
  pointer-events: none;
  width: max-content;
  white-space: nowrap;
}

.brand-right .section-sup {
  left: auto;
  right: calc(100% + 8px);
  text-align: right;
}

.form-shape-1 {
  position: absolute;
  left: var(--outer-column-left);
  top: calc(var(--outer-bottom) - var(--outer-r));
  width: calc(var(--outer-column-right) - var(--outer-column-left));
  height: var(--band);
  background: transparent;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  box-sizing: border-box;
  pointer-events: auto;
  z-index: 4;
}

.shape-rect-left {
  position: absolute;
  left: var(--outer-column-left);
  top: 0;
  width: calc(var(--inner-square-left) - var(--outer-column-left));
  height: 100%;
  background: transparent;
  pointer-events: auto;
  z-index: 5;
}

.shape-rect-top {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--inner-square-top);
  background: transparent;
  pointer-events: auto;
  z-index: 5;
  display: none;
}

.shape-rect-inner-right-bottom {
  position: absolute;
  left: calc(var(--inner-square-left) + var(--inner-square-size) / 2);
  top: calc(var(--inner-square-top) + var(--inner-square-size) / 2);
  width: calc(var(--inner-square-size) / 2);
  height: calc(var(--inner-square-size) / 2);
  background: transparent;
  z-index: 5;
  cursor: pointer;
}

.shape-rect-inner-right-bottom:hover,
.shape-rect-inner-right-bottom:focus,
.shape-rect-inner-right-bottom.is-intro-hover {
  background: var(--hover-color, #f4d000);
}

.shape-rect-inner-right-bottom:hover .shape-label,
.shape-rect-inner-right-bottom:focus .shape-label,
.shape-rect-inner-right-bottom.is-intro-hover .shape-label {
  opacity: 1;
}

.has-inner-right-bottom-square .shape-label-inner-safe-lower {
  width: calc(var(--inner-square-size) / 2);
}

@media (max-width: 900px), (max-aspect-ratio: 5/4) {
  :root {
    --rect-h: calc(100dvh - var(--mobile-top-band-h));
    --header-height: var(--mobile-top-band-h);
    --inner-square-size: min(var(--rect-w), var(--rect-h));
    --inner-square-left: calc((var(--rect-w) - var(--inner-square-size)) / 2);
    --inner-square-right: calc(var(--inner-square-left) + var(--inner-square-size));
    --inner-square-top: calc((var(--rect-h) - var(--inner-square-size)) / 2);
    --inner-square-bottom: calc(var(--inner-square-top) + var(--inner-square-size));
    --inner-left-circle-center: calc(var(--inner-square-left) + (var(--inner-square-size) * 0.25));
    --mobile-outer-gap-y: var(--inner-square-top);
    --mobile-outer-d: var(--mobile-outer-gap-y);
    --mobile-outer-r: calc(var(--mobile-outer-d) / 2);
    --mobile-quad-left-x: calc(var(--inner-square-left) + (var(--inner-square-size) * 0.25));
    --mobile-quad-right-x: calc(var(--inner-square-left) + (var(--inner-square-size) * 0.75));
    --mobile-outer-top-y: var(--mobile-outer-r);
    --mobile-outer-bottom-y: calc(var(--rect-h) - var(--mobile-outer-r));
    --text-size: clamp(16px, 3.9vw, 19px);
    --section-line-height: calc(var(--text-size) * 1.2);
    --section-outer-space: var(--section-line-height);
    --section-text-indent: 0;
  }

  .home-page {
    grid-template-rows: var(--mobile-top-band-h) minmax(0, 1fr);
  }

  .top-band {
    height: var(--mobile-top-band-h);
    min-height: var(--mobile-top-band-h);
    max-height: var(--mobile-top-band-h);
  }

  .content-page {
    padding: 0 var(--section-outer-space) var(--section-outer-space) var(--section-outer-space);
  }

  .content-page .top-band {
    margin: 0 calc(-1 * var(--section-outer-space)) 0;
  }

  .top-band {
    gap: 8px;
    padding: 4.05px var(--section-outer-space);
  }

  .brand-link {
    flex: 0 0 42%;
    max-width: 52%;
  }

  html[data-mono-lingual="true"] .brand-link {
    flex-basis: 52%;
  }

  .top-band .brand-svg {
    height: min(32.2px, calc(var(--mobile-top-band-h) - 9.1px));
    max-height: min(32.2px, calc(var(--mobile-top-band-h) - 9.1px));
  }

  .top-band .brand-right .brand-svg {
    height: min(29.4px, calc(var(--mobile-top-band-h) - 9.1px));
    max-height: min(29.4px, calc(var(--mobile-top-band-h) - 9.1px));
  }

  .top-band .section-sup {
    font-size: 0.75em;
    line-height: 1.05;
  }

  .outer-circle,
  .line-v-outer-left,
  .line-v-outer-right,
  .line-h-outer-top,
  .line-h-outer-bottom,
  .line-h-outer-top-lower,
  .line-h-outer-bottom-upper {
    display: none;
  }

  .home-page[data-mobile-outer-circles="true"] .mobile-outer-circle {
    display: block;
    width: var(--mobile-outer-d);
    height: var(--mobile-outer-d);
  }

  .mobile-outer-circle-top-left,
  .mobile-outer-circle-bottom-left {
    left: var(--mobile-quad-left-x);
  }

  .mobile-outer-circle-top-right,
  .mobile-outer-circle-bottom-right {
    left: var(--mobile-quad-right-x);
  }

  .mobile-outer-circle-top-left,
  .mobile-outer-circle-top-right {
    top: var(--mobile-outer-top-y);
  }

  .mobile-outer-circle-bottom-left,
  .mobile-outer-circle-bottom-right {
    top: var(--mobile-outer-bottom-y);
  }

  .shape-rect-left {
    left: var(--inner-square-left);
    width: calc(var(--inner-left-circle-center) - var(--inner-square-left));
  }

  .home-page[data-rect-zone="2"] .shape-rect-left {
    display: block;
  }

  .home-page[data-rect-zone="2"] .shape-rect-top {
    display: none;
  }

  .home-page[data-rect-zone="3"] .shape-rect-left {
    display: none;
  }

  .home-page[data-rect-zone="3"] .shape-rect-top {
    display: block;
  }

  .form-shape-1 {
    display: none;
  }

  .shape-link-safe-lower-left {
    display: inline;
  }

  .shape-link-safe-lower-right-square {
    display: inline;
  }

  .events-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .events-col-left,
  .events-col-center,
  .events-col-right {
    grid-column: auto;
  }

  .events-col-center {
    display: none;
  }

  html[data-mono-lingual="true"][data-mobile-lang="en"] .brand-link-so,
  html[data-mono-lingual="true"][data-mobile-lang="en"] .lang-inline-so,
  html[data-mono-lingual="true"][data-mobile-lang="en"] .lang-block-so,
  html[data-mono-lingual="true"][data-mobile-lang="en"] .shape-label-line-so {
    display: none;
  }

  html[data-mono-lingual="true"][data-mobile-lang="so"] .brand-link-en,
  html[data-mono-lingual="true"][data-mobile-lang="so"] .lang-inline-en,
  html[data-mono-lingual="true"][data-mobile-lang="so"] .lang-block-en,
  html[data-mono-lingual="true"][data-mobile-lang="so"] .shape-label-line-en {
    display: none;
  }

  html[data-mono-lingual="true"][data-mobile-lang="so"] .shape-label-line-fallback {
    display: block;
  }

  html[data-mono-lingual="true"][data-mobile-lang="en"] .top-band {
    justify-content: flex-start;
  }

  html[data-mono-lingual="true"][data-mobile-lang="so"] .top-band {
    justify-content: flex-end;
  }

  html[data-mono-lingual="true"][data-mobile-lang="so"] .top-band .section-sup {
    text-align: right;
  }

  html[data-mono-lingual="true"][data-mobile-lang="so"] .top-band .brand-right {
    margin-left: 0;
  }

}

@media (max-width: 900px), (max-aspect-ratio: 5/4) {
  .about-grid {
    min-height: 0;
  }

  .about-grid,
  .facility-grid,
  .events-grid {
    grid-template-columns: 1fr;
    gap: var(--section-outer-space);
  }

  .about-col,
  .facility-col,
  .events-col {
    min-width: 0;
  }

  .about-col-left,
  .about-col-center,
  .about-col-right,
  .facility-col-left,
  .facility-col-center,
  .facility-col-right,
  .events-col-left,
  .events-col-center,
  .events-col-right {
    grid-column: auto;
  }

  html[data-mono-lingual="true"][data-mobile-lang="en"] .about-col-left,
  html[data-mono-lingual="true"][data-mobile-lang="en"] .facility-col-left,
  html[data-mono-lingual="true"][data-mobile-lang="en"] .events-col-left {
    order: 1;
  }

  html[data-mono-lingual="true"][data-mobile-lang="so"] .about-col-right,
  html[data-mono-lingual="true"][data-mobile-lang="so"] .facility-col-right,
  html[data-mono-lingual="true"][data-mobile-lang="so"] .events-col-right {
    order: 1;
    text-align: right;
  }

  .about-col-center,
  .facility-col-center {
    order: 2;
  }

  .about-links,
  .teacher-list,
  .teacher-subtitles,
  .events-list {
    margin-inline-start: 0;
    padding-inline-start: 0;
  }

  .about-links,
  .teacher-list,
  .events-list {
    gap: 0.35em;
  }

  .teacher-list {
    list-style: none;
  }

  .teacher-list + h2 {
    margin-top: 2.1em;
  }

  .teacher-item {
    margin-bottom: 0.7em;
  }

  .teacher-subtitles {
    margin-top: 0.15em;
  }

  .about-portrait,
  .teacher-photo,
  .event-photo-frame {
    aspect-ratio: 4 / 5;
  }

  .events-col h2 + .events-list,
  .events-col .events-list + h2 {
    margin-top: 0.9em;
  }

  .event-summary {
    grid-template-columns: minmax(6.2ch, auto) minmax(0, 1fr);
    gap: 0 12px;
  }

  .event-summary::before {
    inset-inline-start: -12px;
  }

  .event-body,
  .student-work-info {
    transform: none;
  }

  .student-work-grid {
    --masonry-gutter: var(--section-outer-space);
  }

  .student-work-item,
  .student-work-sizer {
    width: calc((100% - var(--masonry-gutter)) / 2);
  }
}

@media (max-width: 560px) {
  .student-work-item,
  .student-work-sizer {
    width: 100%;
  }

  .shape-rect-left .shape-label,
  .shape-rect-top .shape-label,
  .form-shape-1 .shape-label {
    max-inline-size: calc(100% - 0.5rem);
    inline-size: min(100%, 14ch);
  }

  .shape-label-line {
    font-size: clamp(14px, 3.8vw, 17px);
  }

  .event-summary {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .event-summary-date,
  .event-summary-title,
  .event-summary-subtitle {
    grid-column: auto;
    grid-row: auto;
  }

  .event-summary-date {
    margin-bottom: 0.1em;
  }
}

.shape-rect-left:hover,
.shape-rect-left:focus,
.shape-rect-left.is-intro-hover,
.shape-rect-top:hover,
.shape-rect-top:focus,
.shape-rect-top.is-intro-hover {
  background: var(--hover-color, #f4d000);
  z-index: 6;
}

.shape-rect-left:hover .shape-label,
.shape-rect-left:focus .shape-label,
.shape-rect-left.is-intro-hover .shape-label,
.shape-rect-top:hover .shape-label,
.shape-rect-top:focus .shape-label,
.shape-rect-top.is-intro-hover .shape-label {
  opacity: 1;
}

.form-shape-1::before,
.form-shape-1::after {
  content: "";
  position: absolute;
  top: 0;
  width: var(--band);
  height: var(--band);
  border: 1px solid #000000;
  border-radius: 50%;
  box-sizing: border-box;
  background: transparent;
}

.form-shape-1::before {
  left: calc(-1 * var(--outer-r));
}

.form-shape-1::after {
  right: calc(-1 * var(--outer-r));
}

.form-shape-1:hover,
.form-shape-1.is-intro-hover {
  background:
    linear-gradient(var(--hover-color, #f4d000), var(--hover-color, #f4d000)) left top / var(--outer-r) var(--outer-r) no-repeat,
    linear-gradient(var(--hover-color, #f4d000), var(--hover-color, #f4d000)) right bottom / var(--outer-r) var(--outer-r) no-repeat,
    radial-gradient(circle at 0 var(--outer-r), transparent var(--outer-r), var(--bg) var(--outer-r)) left top / var(--outer-r) var(--band) no-repeat,
    radial-gradient(circle at 100% var(--outer-r), transparent var(--outer-r), var(--bg) var(--outer-r)) right top / var(--outer-r) var(--band) no-repeat,
    var(--hover-color, #f4d000);
}

.form-shape-1:hover::before,
.form-shape-1:hover::after,
.form-shape-1.is-intro-hover::before,
.form-shape-1.is-intro-hover::after {
  background: var(--hover-color, #f4d000);
  border-color: transparent;
}

.form-shape-1:hover .shape-label,
.form-shape-1:focus .shape-label,
.form-shape-1.is-intro-hover .shape-label {
  opacity: 1;
}

.rect:has(.form-shape-1:hover) .outer-circle.outer-bottom,
.rect:has(.form-shape-1.is-intro-hover) .outer-circle.outer-bottom {
  opacity: 0;
}

.rect:has(.shape-link-inner-left-top:hover) .shape-label-inner-left-top,
.rect:has(.shape-link-inner-left-top:focus) .shape-label-inner-left-top,
.rect:has(.shape-link-inner-left-top.is-intro-hover) .shape-label-inner-left-top,
.rect:has(.shape-link-inner-right-top:hover) .shape-label-inner-right-top,
.rect:has(.shape-link-inner-right-top:focus) .shape-label-inner-right-top,
.rect:has(.shape-link-inner-right-top.is-intro-hover) .shape-label-inner-right-top,
.rect:has(.shape-link-safe-lower-left:hover) .shape-label-inner-safe-lower,
.rect:has(.shape-link-safe-lower-left:focus) .shape-label-inner-safe-lower,
.rect:has(.shape-link-safe-lower-left.is-intro-hover) .shape-label-inner-safe-lower,
.rect:has(.shape-link-safe-lower-right-square:hover) .shape-label-inner-safe-lower,
.rect:has(.shape-link-safe-lower-right-square:focus) .shape-label-inner-safe-lower,
.rect:has(.shape-link-safe-lower-right-square.is-intro-hover) .shape-label-inner-safe-lower {
  opacity: 1;
}

.rect:has(.shape-link-inner-left-top:hover) .base-shape-outline-inner-left-top,
.rect:has(.shape-link-inner-left-top.is-intro-hover) .base-shape-outline-inner-left-top,
.rect:has(.shape-link-inner-right-top:hover) .base-shape-outline-inner-right-top,
.rect:has(.shape-link-inner-right-top.is-intro-hover) .base-shape-outline-inner-right-top,
.rect:has(.shape-link-safe-lower-left:hover) .base-shape-outline-inner-left-bottom,
.rect:has(.shape-link-safe-lower-left:hover) .base-shape-outline-inner-right-bottom,
.rect:has(.shape-link-safe-lower-left:focus) .base-shape-outline-inner-left-bottom,
.rect:has(.shape-link-safe-lower-left:focus) .base-shape-outline-inner-right-bottom,
.rect:has(.shape-link-safe-lower-left.is-intro-hover) .base-shape-outline-inner-left-bottom,
.rect:has(.shape-link-safe-lower-left.is-intro-hover) .base-shape-outline-inner-right-bottom,
.rect:has(.shape-link-safe-lower-right-square:hover) .base-shape-outline-inner-left-bottom,
.rect:has(.shape-link-safe-lower-right-square:hover) .base-shape-outline-inner-right-bottom,
.rect:has(.shape-link-safe-lower-right-square:focus) .base-shape-outline-inner-left-bottom,
.rect:has(.shape-link-safe-lower-right-square:focus) .base-shape-outline-inner-right-bottom,
.rect:has(.shape-link-safe-lower-right-square.is-intro-hover) .base-shape-outline-inner-left-bottom,
.rect:has(.shape-link-safe-lower-right-square.is-intro-hover) .base-shape-outline-inner-right-bottom,
.rect:has(.shape-link-inner-left-top:focus) .base-shape-outline-inner-left-top,
.rect:has(.shape-link-inner-right-top:focus) .base-shape-outline-inner-right-top {
  opacity: 0;
}

.home-page.is-history-return .rect .shape-label {
  opacity: 0;
}
