.brand-about-page {
  --surface: #fff;
  --paper: #fff;
  background: #fff;
}
.brand-about {
  --brand-base: #fff;
  --brand-green: #173f36;
  background: var(--brand-base);
}
.brand-about h2 { font-size: clamp(2rem, 4.25vw, 3.65rem); line-height: 1.18; }
.brand-about .button { flex-wrap: wrap; gap: 3px 10px; white-space: normal; }

.brand-hero {
  --brand-hero-art-width: min(65vw, 1140px);
  position: relative;
  isolation: isolate;
  background: var(--brand-base);
}
.brand-hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: clamp(28px, 5vw, 76px);
  background: linear-gradient(to top, var(--brand-base), transparent);
  content: "";
  pointer-events: none;
}
.brand-hero-layout {
  display: grid;
  align-items: center;
  min-height: calc(var(--brand-hero-art-width) * 2 / 3);
  padding-block: clamp(36px, 6vw, 88px);
}
.brand-hero-copy { max-width: 43%; }
.brand-principle {
  width: fit-content;
  margin-bottom: clamp(16px, 2vw, 29px);
  color: #163d34;
  font: 800 clamp(2.25rem, 5.1vw, 4.75rem)/1.19 var(--display);
  letter-spacing: -.027em;
  word-spacing: .16em;
}
.brand-principle span { display: block; white-space: nowrap; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .brand-principle {
    color: transparent;
    background-image: linear-gradient(108deg, #0d6266 4%, #345cb7 32%, #7046a8 61%, #a4436d 84%, #a04b36);
    -webkit-background-clip: text;
    background-clip: text;
  }
}
.brand-intro {
  max-width: 26em;
  color: #263e37;
  font-size: clamp(1.0625rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.65;
  text-wrap: pretty;
}
.brand-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: var(--brand-hero-art-width);
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to right, transparent 7%, #0002 15%, #000b 25%, #000 34%);
}

.brand-mission { background: var(--brand-base); }
.brand-mission-grid, .brand-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.35vw, 31px);
  margin-top: clamp(22px, 3.2vw, 42px);
}
.brand-mission-grid { --mission-row-gap: clamp(12px, 2vw, 21px); }
.brand-mission-grid article {
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: var(--mission-row-gap);
  min-width: 0;
  padding: clamp(20px, 3vw, 41px);
  border: 1px solid #b9c9b6;
  border-radius: 16px;
  background: linear-gradient(145deg, #e7eee0, #f9f6e9);
}
@supports (grid-template-rows: subgrid) {
  @media (width > 700px) {
    .brand-mission-grid { row-gap: var(--mission-row-gap); }
    .brand-mission-grid article {
      grid-row: span 3;
      grid-template-rows: subgrid;
    }
  }
}
.brand-mission-grid article + article {
  border-color: #204b40;
  background: radial-gradient(ellipse at 89% 18%, #3f6454, transparent 70%), #20473c;
  color: #fff7e5;
}
.brand-mission-grid h3 { color: #305c4f; font-weight: 750; font-size: .975rem; }
.brand-mission-grid article + article h3 { color: #f5d99c; }
.brand-mission-text {
  color: #163f35;
  font: 750 clamp(1.42rem, 2.6vw, 2.2rem)/1.37 var(--display);
  letter-spacing: -.036em;
  text-wrap: balance;
}
.brand-mission-grid article + article .brand-mission-text { color: #fff7e5; }
.brand-vision {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px solid #8f9f8c;
  color: #43554a;
  font-size: .9375rem;
}
.brand-vision strong { font-weight: 750; }
.brand-mission-grid article + article .brand-vision { border-color: #d7dec268; color: #eef1e8; }

.brand-values { background: linear-gradient(var(--brand-base), #f2f7f4); }
.brand-value-grid article {
  min-width: 0;
  padding: clamp(19px, 2.9vw, 36px);
  border-top: 3px solid #628972;
  border-radius: 3px 3px 14px 14px;
  background: linear-gradient(150deg, #e3eddc, #f7f7ed 80%);
}
.brand-value-grid article + article {
  border-color: #b08b52;
  background: linear-gradient(150deg, #f4e8d1, #faf7ed 80%);
}
.brand-value-grid h3 {
  margin-bottom: 8px;
  font: 750 clamp(1.8rem, 3.7vw, 3rem)/1.24 var(--display);
  color: var(--brand-green);
}
.brand-value-definition { margin-bottom: 13px; color: var(--brand-green); font-weight: 750; }
.brand-value-grid p:last-child { max-width: 33em; color: #3c5147; text-wrap: pretty; }
.brand-culture { margin-top: clamp(28px, 4.9vw, 59px); }
.brand-culture h3, .brand-ai h3 {
  color: var(--brand-green);
  font: 750 clamp(1.25rem, 2.65vw, 1.8rem)/1.3 var(--display);
}
.brand-culture dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.5vw, 35px);
  margin-top: 15px;
}
.brand-culture dl > div { padding-top: 12px; border-top: 1px solid #aebcae; }
.brand-culture dt { color: var(--brand-green); font-weight: 750; }
.brand-culture dd { margin-top: 5px; font-size: .9375rem; color: #3b5146; text-wrap: pretty; }

.brand-approach { background: linear-gradient(#f2f7f4, var(--brand-base) 72%); }
.brand-steps {
  --step-dot: #5c8069;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3.2vw, 45px);
  list-style: none;
  margin: clamp(22px, 3.7vw, 40px) 0 0;
  padding: 0;
}
.brand-steps::before {
  content: "";
  position: absolute;
  inset: 7px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, #7f9b84, #a9aa8b 54%, #c3a06a);
}
.brand-steps li { position: relative; padding-top: 23px; }
.brand-steps li::before {
  content: "";
  position: absolute;
  inset: 2px auto auto 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--step-dot);
  border-radius: 50%;
  background: #fff;
}
.brand-steps li:last-child { --step-dot: #977244; }
.brand-steps h3 { color: var(--brand-green); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.45; }
.brand-steps p { margin-top: 7px; color: #344c41; text-wrap: pretty; }
.brand-ai {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px 24px;
  margin-top: clamp(25px, 4.1vw, 49px);
  padding: clamp(15px, 2.4vw, 28px);
  border: 1px solid #adbfaf;
  border-radius: 12px;
  background: #e9f0e6;
}
.brand-ai > div { flex: 1 1 27em; }
.brand-ai p { margin-top: 6px; max-width: 46em; color: #344c41; text-wrap: pretty; }
.brand-approach > .wrap > .button { margin-top: 19px; }

.brand-teachers { background: radial-gradient(ellipse at 79% 45%, #edf4ee, transparent 72%), var(--brand-base); }
.brand-locations-layout {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(20px, 5vw, 70px);
}

.brand-practice { background: var(--brand-base); }
.brand-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(ellipse at 87% 40%, #346252, transparent 76%), #183e35;
  color: #f8f4e8;
}
.brand-case-copy { align-self: center; padding: clamp(21px, 4.1vw, 54px); }
.brand-case h2 { color: #fff3d9; font-size: clamp(1.87rem, 3.6vw, 3rem); }
.brand-case p { max-width: 32em; margin-top: 14px; text-wrap: pretty; }
.brand-case .button { margin-top: 18px; }
.brand-case figure { position: relative; min-height: 0; margin: 0; }
.brand-case img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  mask-image: linear-gradient(to right, transparent, #000 25%);
}
.brand-case figcaption {
  position: absolute;
  inset: auto 12px 12px auto;
  padding: 4px 9px;
  border-radius: 4px;
  background: #193931;
  color: #fff8e9;
  font-size: .8125rem;
}

.brand-locations { background: var(--brand-base); }
.brand-locations p { margin-top: 9px; color: #43564c; }
.brand-location-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 18px; margin-top: 16px; }
.brand-location-actions .button span { font-variant-numeric: tabular-nums; }
.brand-map {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr 1fr;
  align-items: center;
  gap: clamp(17px, 2.4vw, 34px);
  min-height: clamp(265px, 30vw, 385px);
  margin: 0;
  margin-inline-start: calc(-1 * clamp(8px, 2.4vw, 32px));
  padding: clamp(13px, 2.3vw, 30px);
}
.brand-map-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  mask-image: linear-gradient(to right, transparent, #000 23%, #000 92%, transparent);
}
.brand-map::after {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 0;
  background: linear-gradient(var(--brand-base), transparent 16%, transparent 84%, var(--brand-base));
  pointer-events: none;
}
.brand-map figcaption {
  justify-self: start;
  color: #415b53;
  font-size: .8125rem;
  font-weight: 700;
}
.brand-map-marker {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  justify-self: start;
  max-width: 100%;
  margin-inline-start: clamp(8px, 5vw, 68px);
  color: #354c46;
  font-size: .875rem;
  font-style: normal;
}
.brand-map-marker > div {
  padding: 8px clamp(9px, 1.4vw, 16px);
  border: 1px solid #d7e1dd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px #253f3515;
}
.brand-map-marker + .brand-map-marker {
  justify-self: end;
  margin-inline: 0 clamp(0px, 2vw, 24px);
}
.brand-map-marker strong { display: block; color: var(--brand-green); }
.brand-map-pin {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 9px;
  border: 1px solid #fff;
  border-radius: 50% 50% 50% 2px;
  background: #24736b;
  box-shadow: 0 1px 3px #183f4050;
  transform: rotate(-45deg);
}
.brand-map-pin::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}
.brand-map-marker + .brand-map-marker .brand-map-pin { background: #ad663a; }

@media (max-width: 850px) {
  .brand-hero::after { display: none; }
  .brand-hero-layout {
    min-height: 0;
    padding-block: 33px 12px;
  }
  .brand-hero-copy { max-width: none; }
  .brand-hero-art {
    position: static;
    width: 100%;
    height: auto;
    mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  }
  .brand-principle { font-size: clamp(2.05rem, 9.3vw, 3.45rem); }
}
@media (max-width: 700px) {
  .brand-mission-grid, .brand-value-grid, .brand-case, .brand-locations-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .brand-map { margin-inline-start: 0; }
  .brand-map-art { mask-image: linear-gradient(to right, transparent, #000 12%, #000 90%, transparent); }
  .brand-case figure { min-height: 0; }
  .brand-case img { position: relative; height: auto; mask-image: linear-gradient(to bottom, transparent, #000 16%); }
}
@media (max-width: 510px) {
  .brand-culture dl, .brand-steps { grid-template-columns: minmax(0, 1fr); }
  .brand-steps { padding-inline-start: 17px; }
  .brand-steps::before { inset: 8px auto 12px 5px; width: 1px; height: auto; background: #a4b3a0; }
  .brand-steps li { padding: 0 0 0 7px; }
  .brand-steps li::before { inset: 5px auto auto -17px; }
  .brand-map-marker, .brand-map-marker + .brand-map-marker { margin-inline: 0; }
}
@media (forced-colors: active) {
  .brand-principle { color: CanvasText; background: none; }
  .brand-map-art, .brand-map::after { display: none; }
  .brand-map-pin { border-color: CanvasText; }
}
