:root {
  color-scheme: light;
  --integral: #4a893a;
  --integral-dark: #336b28;
  --secondary-green: #7ead70;
  --ink: #101828;
  --muted: #6a7282;
  --stage: #f3f4f6;
  --app-bg: #f9fafb;
  --strip-bg: #f8fbf5;
  --line: #f3f4f6;
  --card: #ffffff;
  --hero-text: #f1f5f1;
  --shadow: 0 10px 22px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.08);
  --card-shadow: 0 1px 3px rgba(16, 24, 40, 0.11), 0 1px 2px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--stage);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.page-stage {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0;
}

.app-shell {
  width: min(100vw, 384px);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--app-bg);
  box-shadow: none;
}

.site-header {
  height: 68px;
  display: flex;
  flex: 0 0 68px;
  z-index: 20;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 9px;
  background: #ffffff;
}

.app-content {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--app-bg);
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 84px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.brand strong {
  color: var(--integral);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.55;
  white-space: nowrap;
}

.brand small {
  color: var(--secondary-green);
  font-size: 12px;
  line-height: 1.1;
}

.menu-button {
  width: 28px;
  height: 28px;
  display: grid;
  place-content: center;
  gap: 3px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 14px;
  height: 1.5px;
  display: block;
  border-radius: 999px;
  background: #475467;
}

.desktop-main-nav,
.desktop-brand-card {
  display: none;
}

.section-home-link {
  color: var(--integral);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.hero-banner {
  height: 216px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #ad673e;
  background: #31552c;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 10px 20px 18px 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--hero-text);
}

.hero-copy p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-copy h1 {
  width: 250px;
  margin: 0 0 10px;
  color: #ffffff;
  font-family: Oswald, Impact, "Arial Narrow", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.06;
}

.hero-copy span {
  color: #edf3ed;
  font-family: Satisfy, "Brush Script MT", cursive;
  font-size: 15px;
  letter-spacing: 0.8px;
  line-height: 1.45;
}

.category-strip {
  min-height: 78px;
  position: sticky;
  top: 0;
  z-index: 15;
  border-bottom: 1px solid var(--line);
  background: var(--strip-bg);
}

.category-strip::before,
.category-strip::after {
  width: 34px;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(45, 111, 48, 0.72);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.category-strip::before {
  content: "<";
  left: 0;
  background: linear-gradient(to right, var(--strip-bg) 42%, rgba(248, 251, 245, 0));
}

.category-strip::after {
  content: ">";
  right: 0;
  background: linear-gradient(to left, var(--strip-bg) 42%, rgba(248, 251, 245, 0));
}

.category-strip[data-can-scroll-left="true"]::before,
.category-strip[data-can-scroll-right="true"]::after {
  opacity: 1;
}

.category-nav {
  min-height: 78px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 10px 7px;
  background: transparent;
  scroll-padding: 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-tab {
  min-width: 66px;
  min-height: 62px;
  flex: 1 0 66px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  border-radius: 8px;
  color: var(--integral);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  scroll-snap-align: center;
  text-align: center;
  text-decoration: none;
}

.category-tab[aria-current="page"] {
  background: #f1f8ee;
  box-shadow: inset 0 0 0 1px rgba(126, 173, 112, 0.65);
}

.category-tab[aria-current="page"] span:last-child {
  color: var(--integral-dark);
  font-weight: 800;
}

.category-icon-wrap {
  width: 46px;
  height: 44px;
  display: grid;
  align-items: end;
  justify-items: center;
  overflow: hidden;
  padding-bottom: 2px;
}

.category-icon {
  width: auto;
  height: auto;
  max-width: 56px;
  max-height: 39px;
  object-fit: contain;
  filter: saturate(0.95);
}

.category-tab:not([aria-current="page"]) .category-icon {
  opacity: 0.88;
}

.category-tab-image-only {
  min-width: 112px;
  flex-basis: 112px;
}

.category-tab-image-only .category-icon-wrap {
  width: 100%;
  height: 54px;
  align-items: center;
  padding-bottom: 0;
}

.category-tab-image-only .category-icon {
  max-width: 100%;
  max-height: 52px;
}

.section-heading,
.home-intro {
  padding: 25px 16px;
  background: #ffffff;
}

.section-heading h1,
.home-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.65;
}

.section-heading p,
.home-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.scroll-panel {
  background: var(--app-bg);
}

body[data-page="home"] .scroll-panel {
  min-height: max(180px, calc(100dvh - 432px));
  display: grid;
  align-items: center;
  background: #ffffff;
}

body[data-page="home"] .home-intro {
  padding: 26px 32px 30px;
  text-align: center;
}

body[data-page="home"] .home-intro h2 {
  font-size: 19px;
}

body[data-page="home"] .home-intro p {
  max-width: 280px;
  margin: 4px auto 0;
  font-size: 13px;
}

.home-grid {
  display: grid;
  gap: 10px;
  padding: 8px 16px 16px;
}

.home-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
  text-decoration: none;
}

.home-card-image {
  width: 62px;
  height: 58px;
  object-fit: contain;
}

.home-card span {
  display: grid;
  gap: 2px;
}

.home-card strong {
  font-size: 14px;
  line-height: 1.2;
}

.home-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.exercise-scroll {
  padding-top: 8px;
}

.exercise-list {
  display: grid;
  gap: 16px;
  padding: 0 16px 16px;
}

.exercise-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.exercise-empty {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.exercise-empty h2 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.exercise-empty p {
  max-width: 280px;
  margin: 6px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.access-gate-panel {
  min-height: calc(100dvh - 68px - 216px);
  display: grid;
  place-items: center;
  padding: 28px 22px;
  background: #ffffff;
}

.access-gate-message {
  max-width: 520px;
  text-align: center;
}

.access-gate-message h1 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
}

.access-gate-message p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.doctor-entry-panel {
  padding: 18px 16px 20px;
  background: #ffffff;
}

.doctor-entry-intro {
  max-width: 680px;
  margin: 0 auto 14px;
  text-align: center;
}

.doctor-entry-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.doctor-entry-intro p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.doctor-entry-grid {
  display: grid;
  gap: 12px;
}

.doctor-entry-card {
  display: grid;
  grid-template-columns: 1fr 96px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.doctor-entry-card h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.doctor-entry-card a {
  color: var(--integral);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.doctor-entry-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.exercise-image {
  width: 100%;
  height: 100px;
  margin-bottom: 0;
  border-radius: 10px;
  background: #f3f4ef;
  object-fit: contain;
}

.exercise-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.exercise-title-row h2 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
}

.exercise-title-row span {
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--secondary-green);
  font-size: 9px;
  font-weight: 700;
  line-height: 13.5px;
}

.exercise-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 17.875px;
}

.exercise-stats {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-top: 4px;
}

.exercise-stat {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #4a5565;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  text-align: center;
}

.exercise-stat span:last-child:not(.sr-only) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  position: relative;
}

.stat-reps {
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.64-6.36'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.64-6.36'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.stat-reps::after {
  content: none;
}

.stat-hold {
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.stat-sets {
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M16 18h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M16 18h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.stat-sets::before,
.stat-sets::after {
  content: none;
}

.stat-sets::before {
  top: 4px;
}

.stat-sets::after {
  top: 8px;
}

.video-button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
  border-radius: 8px;
  background: var(--integral);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  text-decoration: none;
}

.video-embed {
  width: 100%;
  margin-top: 2px;
}

.video-embed-trigger {
  width: 100%;
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 0 0 10px;
  border: 1px solid rgba(126, 173, 112, 0.42);
  border-radius: 10px;
  background: #f4f8f1;
  color: var(--integral-dark);
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.video-embed-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef6ea, #dfead9);
}

.video-embed-play {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--integral);
  box-shadow: 0 8px 16px rgba(51, 107, 40, 0.22);
}

.video-embed-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ffffff;
}

.video-embed-label {
  color: var(--integral-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.video-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  border-radius: 10px;
  background: #000000;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #ffffff;
}

.site-footer {
  min-height: 70px;
  flex: 0 0 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 18px;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--integral);
  text-align: left;
}

.footer-logo {
  width: 122px;
  height: 54px;
  object-fit: contain;
}

.site-footer div {
  display: grid;
}

.site-footer strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 13.5px;
}

.site-footer small {
  margin-top: 3px;
  color: var(--secondary-green);
  font-size: 8px;
  line-height: 10px;
}

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.menu-button:focus-visible,
.section-home-link:focus-visible,
.doctor-entry-card a:focus-visible,
.category-tab:focus-visible,
.home-card:focus-visible,
.video-embed-trigger:focus-visible,
.video-button:focus-visible {
  outline: 3px solid rgba(126, 173, 112, 0.58);
  outline-offset: 2px;
}

@media (max-width: 899px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .page-stage,
  .app-shell {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  .page-stage {
    width: 100%;
    position: fixed;
    inset: 0;
  }

  .site-header,
  .site-footer {
    flex-shrink: 0;
  }

  .app-content {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
  }
}

@media (min-width: 900px) {
  :root {
    --desktop-header-h: 84px;
    --desktop-nav-h: 88px;
    --desktop-brand-card-h: 440px;
  }

  body {
    background: #ffffff;
  }

  .page-stage {
    min-height: 100dvh;
    display: block;
    padding: 0;
  }

  .app-shell {
    width: 100%;
    min-height: 100dvh;
    height: auto;
    overflow: visible;
    background: #ffffff;
    box-shadow: none;
  }

  .site-header {
    height: var(--desktop-header-h);
    position: sticky;
    top: 0;
    flex-basis: var(--desktop-header-h);
    padding: 0 clamp(40px, 4vw, 64px);
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  }

  .brand strong {
    font-size: 25px;
    line-height: 1.55;
  }

  .brand small {
    color: var(--secondary-green);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
  }

  .menu-button {
    display: none;
  }

  .desktop-main-nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 2.8vw, 40px);
    margin-left: auto;
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
  }

  .desktop-main-nav span,
  .desktop-main-nav a {
    position: relative;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: none;
    white-space: nowrap;
  }

  .app-content {
    overflow: visible;
    background: #ffffff;
  }

  .hero-banner {
    height: clamp(220px, 20vw, 288px);
    min-height: 0;
    border-bottom: 0;
    background: #31552c url("images/east-tennessee-desktop.png") center / cover no-repeat;
  }

  .hero-image {
    display: none;
  }

  .hero-copy {
    max-width: 1220px;
    margin: 0 auto;
    padding: 24px clamp(40px, 4vw, 64px) 28px;
    justify-content: center;
  }

  .hero-copy p {
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 2.2px;
  }

  .hero-copy h1 {
    width: min(520px, 46vw);
    margin-bottom: 12px;
    font-size: clamp(32px, 3.4vw, 46px);
    letter-spacing: 0;
    line-height: 1.03;
  }

  .hero-copy span {
    font-size: clamp(18px, 1.6vw, 23px);
    letter-spacing: 0;
    line-height: 1.25;
  }

  .category-strip {
    min-height: var(--desktop-nav-h);
    top: var(--desktop-header-h);
    border-bottom: 1px solid rgba(16, 24, 40, 0.06);
  }

  .category-strip::before {
    width: 70px;
  }

  .category-strip::after {
    width: 70px;
  }

  .category-nav {
    min-height: var(--desktop-nav-h);
    gap: clamp(16px, 3vw, 52px);
    padding: 10px clamp(52px, 6vw, 96px);
    background: transparent;
  }

  .category-tab {
    min-height: 68px;
    min-width: 96px;
    flex-basis: 96px;
    border-radius: 8px;
    font-size: 15px;
    gap: 3px;
  }

  .category-tab-image-only {
    min-width: 150px;
    flex-basis: 150px;
  }

  .category-tab-image-only .category-icon-wrap {
    height: 62px;
  }

  .category-tab-image-only .category-icon {
    max-height: 60px;
  }

  .category-tab[aria-current="page"] {
    background: rgba(241, 248, 238, 0.92);
    box-shadow: inset 0 0 0 1px rgba(126, 173, 112, 0.78);
  }

  .category-icon-wrap {
    width: 64px;
    height: 48px;
  }

  .category-icon {
    max-width: 68px;
    max-height: 44px;
  }

  .section-heading {
    max-width: 1320px;
    margin: 0 auto;
    padding: 25px clamp(40px, 4vw, 64px);
    background: #ffffff;
  }

  .section-heading h1 {
    font-size: 24px;
  }

  .section-heading p {
    max-width: 480px;
    margin-top: 3px;
    font-size: 15px;
    line-height: 1.4;
  }

  body[data-page="home"] .scroll-panel {
    min-height: 260px;
    background: #ffffff;
  }

  body[data-page="home"] .home-intro {
    padding: 42px clamp(40px, 4vw, 64px) 54px;
  }

  body[data-page="home"] .home-intro h2 {
    font-size: 28px;
  }

  body[data-page="home"] .home-intro p {
    max-width: 540px;
    font-size: 16px;
  }

  body[data-page="access-gate"] .access-gate-panel {
    min-height: calc(100dvh - var(--desktop-header-h) - var(--desktop-hero-h));
  }

  .desktop-content-layout {
    max-width: 1320px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 318px);
    gap: 42px;
    margin: 0 auto;
    padding: 0 clamp(40px, 4vw, 64px) 48px;
  }

  .exercise-scroll {
    padding-top: 0;
    background: #ffffff;
  }

  .exercise-list {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .exercise-card {
    min-height: 260px;
    gap: 12px;
    padding: 24px 20px;
    border-radius: 8px;
  }

  .exercise-empty {
    padding: 38px 28px;
    border-radius: 8px;
  }

  .exercise-empty h2 {
    font-size: 18px;
  }

  .exercise-empty p {
    max-width: 420px;
    font-size: 14px;
  }

  .exercise-image {
    height: 250px;
    margin-bottom: 0;
    border-radius: 8px;
  }

  .exercise-title-row h2 {
    font-size: 16px;
    line-height: 1.25;
  }

  .exercise-title-row span {
    padding: 2px 5px;
    font-size: 11px;
    line-height: 15px;
  }

  .exercise-card p {
    max-width: 820px;
    font-size: 14px;
    line-height: 1.45;
  }

  .exercise-stats {
    width: 100%;
    max-width: 560px;
    flex-direction: row;
    flex-wrap: wrap;
    align-self: center;
    gap: 12px 24px;
    margin-top: auto;
    padding-top: 4px;
  }

  .exercise-stat {
    gap: 7px;
    font-size: 13px;
    line-height: 1.3;
  }

  .stat-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .stat-reps,
  .stat-hold,
  .stat-sets {
    border-width: 2px;
  }

  .stat-reps::after {
    right: -2px;
    bottom: 2px;
    width: 5px;
    height: 5px;
    border-width: 0 2px 2px 0;
  }

  .stat-hold::before {
    left: 8px;
    top: 4px;
    width: 2px;
    height: 6px;
  }

  .stat-hold::after {
    left: 8px;
    top: 9px;
    width: 6px;
    height: 2px;
  }

  .stat-sets {
    border-radius: 3px;
  }

  .stat-sets::before,
  .stat-sets::after {
    right: 3px;
    left: 3px;
    height: 2px;
  }

  .stat-sets::before {
    top: 6px;
  }

  .stat-sets::after {
    top: 12px;
  }

  .video-button {
    height: 36px;
    margin-top: 10px;
    font-size: 14px;
  }

  .video-embed {
    margin-top: 10px;
  }

  .video-embed-trigger,
  .video-iframe {
    border-radius: 8px;
  }

  .video-embed-play {
    width: 54px;
    height: 54px;
  }

  .video-embed-label {
    font-size: 14px;
  }

  .desktop-brand-card {
    height: var(--desktop-brand-card-h);
    position: sticky;
    top: calc(var(--desktop-header-h) + var(--desktop-nav-h) + max(24px, (100dvh - var(--desktop-header-h) - var(--desktop-nav-h) - var(--desktop-brand-card-h)) / 2));
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 28px 24px;
    border-radius: 8px;
    background: #f1f6ec;
    color: var(--integral);
    text-align: center;
  }

  .desktop-brand-card img {
    width: 220px;
    max-width: 100%;
    height: auto;
  }

  .desktop-brand-card div {
    display: grid;
  }

  .desktop-brand-card strong {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.05;
  }

  .site-footer {
    display: none;
  }

  body[data-page="doctor-entry"] .app-shell {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  body[data-page="doctor-entry"] .app-content {
    flex: 1 1 auto;
  }

  body[data-page="doctor-entry"] .doctor-entry-panel {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px clamp(40px, 4vw, 64px) 34px;
  }

  body[data-page="doctor-entry"] .doctor-entry-intro {
    margin-bottom: 20px;
  }

  body[data-page="doctor-entry"] .doctor-entry-intro h1 {
    font-size: 30px;
  }

  body[data-page="doctor-entry"] .doctor-entry-intro p {
    font-size: 16px;
  }

  body[data-page="doctor-entry"] .doctor-entry-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 45px;
  }

  body[data-page="doctor-entry"] .doctor-entry-card {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 286px;
    padding: 20px 16px;
    text-align: center;
  }

  body[data-page="doctor-entry"] .doctor-entry-card h2 {
    min-height: 46px;
    margin-bottom: 8px;
    font-size: 18px;
  }

  body[data-page="doctor-entry"] .doctor-entry-card a {
    min-height: 40px;
    font-size: 13px;
  }

  body[data-page="doctor-entry"] .doctor-entry-card img {
    width: 142px;
    height: 142px;
  }

  body[data-page="doctor-entry"] .site-footer {
    min-height: 70px;
    flex: 0 0 70px;
    display: flex;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  body {
    background: #ffffff;
  }

  .page-stage {
    min-height: 100dvh;
    display: block;
    padding: 0;
  }

  .app-shell {
    width: 100%;
    height: 100dvh;
    background: #ffffff;
    box-shadow: none;
  }

  .site-header {
    padding: 0 24px;
  }

  .app-content {
    background: #ffffff;
  }

  .hero-banner {
    height: clamp(200px, 30vw, 248px);
  }

  .hero-copy {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-copy h1 {
    width: min(420px, 68vw);
    font-size: 32px;
  }

  .hero-copy span {
    font-size: 17px;
  }

  body[data-page="access-gate"] .access-gate-panel {
    min-height: calc(100dvh - 68px - clamp(200px, 30vw, 248px));
  }

  .category-strip {
    min-height: 88px;
  }

  .category-nav {
    min-height: 88px;
    gap: 8px;
    padding: 10px 24px 9px;
  }

  .category-tab {
    min-height: 68px;
    min-width: 92px;
    flex-basis: 92px;
    font-size: 12px;
  }

  .category-tab-image-only {
    min-width: 132px;
    flex-basis: 132px;
  }

  .category-tab-image-only .category-icon-wrap {
    height: 60px;
  }

  .category-tab-image-only .category-icon {
    max-height: 58px;
  }

  .category-icon-wrap {
    width: 54px;
    height: 48px;
  }

  .category-icon {
    max-width: 62px;
    max-height: 43px;
  }

  .section-heading,
  .home-intro {
    padding-right: 24px;
    padding-left: 24px;
  }

  .exercise-list {
    max-width: 720px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
  }

  .exercise-image {
    height: 200px;
  }

  .exercise-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .doctor-entry-panel {
    padding: 24px;
  }

  .doctor-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px;
  }

  .doctor-entry-card {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 254px;
    text-align: center;
  }

  .doctor-entry-card img {
    width: 128px;
    height: 128px;
  }
}
