.subpage-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); margin-left: auto; }
.subpage-nav .text-link { font-size: 13px; white-space: nowrap; }
.subpage-nav .button { margin: 0; }
.subpage-hero {
  padding-block: clamp(34px, 5.9vw, 82px);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 75% 8%, #e7ebde, transparent 64%), var(--paper);
}
.subpage-hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(22px, 5vw, 70px); }
.subpage-hero h1 { font-size: clamp(36px, 5vw, 66px); line-height: 1.2; letter-spacing: -.05em; }
.subpage-hero #company-title { font-size: clamp(30px, 4.4vw, 58px); word-break: keep-all; }
.subpage-hero h1 small { display: block; margin-top: 5px; color: #4e6446; font-size: .48em; letter-spacing: -.025em; }
.subpage-intro { max-width: 36em; margin-top: 15px; color: var(--muted); line-height: 1.9; }
.subpage-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 23px; }
.subpage-actions .text-link { font-size: 14px; }
.subpage-photo { background: var(--white); border: 1px solid var(--border); padding: clamp(5px, .7vw, 10px); }
.subpage-photo img { aspect-ratio: 1.51; object-fit: cover; }
.branch-photo-contained img { object-fit: contain; background: #edebe2; }
.subpage-photo figcaption { font-size: 12px; color: var(--muted); padding: 5px 0 0 2px; }
.subpage-jump { border-bottom: 1px solid var(--border); background: var(--white); }
.subpage-jump .wrap { display: flex; gap: 4px clamp(16px, 4vw, 46px); flex-wrap: wrap; }
.subpage-jump a { min-height: 48px; font-size: 13px; }
.subpage-jump .icon { width: 15px; height: 15px; }
.subpage-grid { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(0, .74fr); align-items: start; gap: clamp(24px, 5vw, 70px); }
.subpage-grid h2 { margin-bottom: 20px; }
.subpage-heading { margin-bottom: 24px; }
.subpage-copy { color: var(--muted); margin-bottom: 15px; }
.branch-lessons article { padding-block: 13px; border-top: 1px solid var(--border); }
.branch-lessons article:last-child { border-bottom: 1px solid var(--border); }
.branch-lessons h3, .branch-panel h3 { font-size: clamp(17px, 2vw, 22px); margin-bottom: 5px; }
.branch-lessons p, .branch-panel p { color: var(--muted); }
.night-course-label { color: #3c547a; font-weight: 750; }
a.night-course-label { text-underline-offset: .2em; }
.branch-panel { background: var(--white); padding: clamp(18px, 2.8vw, 32px); border: 1px solid var(--border); border-radius: 7px; }
.branch-panel p + p { margin-top: 8px; }
.branch-panel .text-link { margin-top: 8px; }
.branch-facts { margin: 13px 0 0; }
.branch-facts > div { display: grid; grid-template-columns: minmax(74px, .34fr) minmax(0, 1fr); align-items: baseline; gap: 10px; padding-block: 9px; border-top: 1px solid var(--border); }
.branch-facts dt { font-weight: 750; }
.branch-facts dd { color: var(--muted); overflow-wrap: anywhere; }
.branch-panel .branch-facts { font-size: 14px; }
.branch-access, .company-business { background: #ebeee4; }
.company-business-link { display: block; text-decoration: none; }
.company-business-link h3 { text-decoration: underline; text-decoration-color: #8a9a81; text-underline-offset: .25em; }
.company-business-link:hover h3 { text-decoration-color: currentColor; }
.company-business-resources { margin-top: 12px; }
.company-business-resources-links { display: flex; flex-wrap: wrap; gap: 2px 22px; margin-top: 4px; }
.company-business-resources-links .text-link { text-decoration-color: #8a9a81; }
.company-business-resources-links .text-link:hover { text-decoration-color: currentColor; }
.branch-access .branch-panel .text-link { margin-top: 15px; }
.branch-instructor { padding-top: 15px; }
.branch-instructor h3 { margin-bottom: 10px; }
.branch-instructor p + p { margin-top: 10px; }
.branch-portrait { max-width: 320px; margin-top: 16px; }
.branch-portrait img { aspect-ratio: auto; }
.branch-support { margin-top: 18px; }
.branch-support a { margin: 0 15px 8px 0; }
.branch-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 32px); }
.branch-media-grid .video-card { min-width: 0; }
.branch-media-grid .video-category { margin-top: 10px; }
.branch-media-grid .subpage-photo img { aspect-ratio: 1.23; object-fit: contain; background: #edebe2; }
.branch-media .video-section { padding: 0; border: 0; }
.branch-source { font-size: 12px; color: var(--muted); margin-top: 15px; }
.company-logo-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 418px);
  justify-self: center;
  padding: clamp(36px, 5.2vw, 63px) clamp(20px, 3.5vw, 43px) clamp(44px, 5.2vw, 57px);
  border-color: #ab8a54;
  border-radius: 48% 48% 30px 30px / 24% 24% 24px 24px;
  background: radial-gradient(ellipse at 50% 36%, #fcf5e4 24%, #f4e7c9 70%, #e8d5ac);
}
.company-logo-image::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7px;
  border: 1px solid #c3a66f;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px #fff6dd9c, inset 0 0 0 4px #d6bf8a86;
  pointer-events: none;
}
.company-logo-image > img { aspect-ratio: 5 / 4; mix-blend-mode: multiply; }
.company-logo-image figcaption { padding: 3px 0 0; }
.company-logo-image figcaption img { width: 90%; margin-inline: auto; aspect-ratio: auto; }
.company-logo-image figcaption::before,
.company-logo-image figcaption::after {
  content: "";
  position: absolute;
  inset-block-end: 13px;
  width: clamp(64px, 8vw, 108px);
  aspect-ratio: 3;
  background: url("/assets/mucha-header-flourish.webp") center / contain no-repeat;
  pointer-events: none;
}
.company-logo-image figcaption::before { inset-inline-start: 8%; transform: scaleX(-1); }
.company-logo-image figcaption::after { inset-inline-end: 8%; }
.company-profile { display: grid; grid-template-columns: minmax(190px, .52fr) minmax(0, 1fr); align-items: start; gap: clamp(22px, 5vw, 68px); }
.company-profile .subpage-photo img { aspect-ratio: auto; }
.company-profile h2 { margin-bottom: 16px; }
.company-profile h3 { margin: 24px 0 10px; }
.company-profile .branch-facts { margin-top: 19px; }
.subpage-footer .footer-inner { min-height: 90px; }

.works-hero h1 { font-size: clamp(28px, 3.7vw, 54px); word-break: keep-all; }
.works-hero .subpage-photo img { aspect-ratio: 16 / 9; }
.works-intro { margin-top: 10px; color: var(--muted); }
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 30px); }
.work-example { padding: clamp(12px, 1.8vw, 24px); border: 1px solid var(--border); border-radius: 7px; background: var(--white); }
.work-example h3 { margin-bottom: 12px; font-size: clamp(18px, 2.2vw, 25px); }
.work-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.work-pair a { display: block; border-radius: 4px; }
.work-pair img { aspect-ratio: 4 / 3; object-fit: contain; border: 1px solid var(--border); border-radius: 4px; background: #edebe2; }
.work-pair figcaption { margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.works-more { margin-top: 25px; }
.works-more .works-grid { padding: 8px 0 20px; }
.works-videos { background: #ebeee4; }
.works-videos .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 761px) {
  .branch-access-map .subpage-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
}

@media (max-width: 760px) {
  .subpage-hero-grid, .subpage-grid { grid-template-columns: 1fr; }
  .subpage-body { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .subpage-nav .text-link:not(.subpage-home-link) { display: none; }
  .subpage-nav .subpage-home-link { min-height: 44px; align-items: center; }
  .subpage-nav .button-header { display: inline-flex; }
  .subpage-actions { gap: 9px 17px; margin-top: 17px; }
  .subpage-actions .button { min-height: 50px; }
  .company-profile, .branch-media-grid { grid-template-columns: 1fr; }
  .company-profile > figure { width: min(235px, 100%); }
  .works-grid, .works-videos .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .subpage-body .header-inner { flex-wrap: wrap; gap: 0 8px; padding-block: 6px; }
  .subpage-body [id] { scroll-margin-top: 106px; }
}
