:root {
  color-scheme: light;
  --paper: #f7f3ec;
  --paper-2: #fffdf9;
  --ink: #191815;
  --muted: #706a61;
  --line: #ddd5ca;
  --orange: #ed6128;
  --orange-dark: #c94818;
  --orange-soft: #fff0e6;
  --sage-soft: #eef1ea;
  --blue-soft: #edf2fb;
  --content: 1480px;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.course-modal-open { overflow: hidden; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button, summary { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
::selection { background: #ffd8c4; color: var(--orange-dark); }

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: .75rem;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}
.header-inner {
  width: min(var(--content), calc(100% - 3rem));
  min-height: 4.7rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", var(--font-serif);
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
}


.contact-summary {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  padding: .36rem .72rem .36rem .38rem;
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: 999px;
  background: var(--paper-2);
  box-shadow: 0 9px 26px rgba(45, 37, 30, .055);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.contact-summary:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--orange) 52%, var(--line));
  box-shadow: 0 13px 32px rgba(45, 37, 30, .09);
}
.contact-summary img {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  object-fit: cover;
}
.contact-summary-copy {
  display: grid;
  gap: .1rem;
  text-align: left;
  line-height: 1.15;
}
.contact-summary-copy strong {
  font-size: .82rem;
  font-weight: 780;
  white-space: nowrap;
}
.contact-summary-copy small {
  color: var(--orange-dark);
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .06em;
}
.contact-plus {
  color: var(--orange-dark);
  font-size: .95rem;
}

.hero-contact-card {
  margin-top: 1.15rem;
  padding: .85rem;
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: 1.25rem;
  background: color-mix(in srgb, var(--paper-2) 94%, transparent);
  box-shadow: 0 14px 38px rgba(45, 37, 30, .065);
}
.profile-identity {
  display: block;
}
.profile-copy { min-width: 0; }
.profile-copy > strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 680;
  line-height: 1.25;
}
.profile-copy p {
  margin: .18rem 0 0;
  color: var(--ink-soft);
  font-size: .74rem;
  font-weight: 720;
  line-height: 1.62;
}
.profile-copy small {
  display: block;
  margin-top: .2rem;
  color: var(--muted);
  font-size: .67rem;
  line-height: 1.5;
}
.profile-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, .88fr) minmax(0, 1.18fr);
  gap: .48rem;
  margin-top: .72rem;
}
.profile-contact-item,
.profile-service {
  position: relative;
  min-width: 0;
  min-height: 4rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--paper);
}
.profile-contact-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .18rem;
  padding: .58rem .62rem;
}
a.profile-contact-item {
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
a.profile-contact-item:hover {
  transform: translateY(-1px);
  border-color: var(--orange);
  background: #fff7f1;
}
.profile-contact-item > span,
.profile-service-copy > span {
  color: var(--orange-dark);
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .08em;
}
.profile-contact-item > strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: .7rem;
  line-height: 1.4;
}
.profile-contact-item > small,
.profile-service-copy > small {
  color: var(--muted);
  font-size: .6rem;
  line-height: 1.42;
}
.profile-wechat { padding-right: 3.35rem; }
.profile-copy-button {
  position: absolute;
  right: .48rem;
  bottom: .48rem;
  min-height: 1.72rem;
  padding: .25rem .5rem;
  border: 1px solid color-mix(in srgb, var(--orange) 45%, var(--line));
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--orange-dark);
  cursor: pointer;
  font-size: .58rem;
  font-weight: 780;
}
.profile-copy-button:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.profile-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.4rem;
  gap: .45rem;
  align-items: center;
  padding: .38rem .4rem .38rem .62rem;
}
.profile-service-copy {
  min-width: 0;
  display: grid;
  gap: .2rem;
}
.profile-service-qr {
  display: block;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: .55rem;
  background: #fff;
  overflow: hidden;
}
.profile-service img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.contact-feedback {
  min-height: 0;
  margin: .35rem 0 -.1rem;
  color: var(--orange-dark);
  font-size: .62rem;
  text-align: right;
}

.hero {
  min-height: calc(100svh - 4.7rem);
  display: grid;
  align-items: center;
  padding: clamp(1.2rem, 2.2vw, 2.4rem) 0 clamp(1.8rem, 3vw, 3.2rem);
}
.hero-shell {
  width: min(var(--content), calc(100% - 3rem));
  margin-inline: auto;
}
.hero-main {
  display: grid;
  grid-template-columns: minmax(28rem, .92fr) minmax(32rem, 1.08fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.hero-carousel {
  position: relative;
  height: clamp(31rem, 62vh, 43rem);
  min-width: 0;
  border-radius: 2.25rem;
  background: #e9e1d7;
  box-shadow: 0 28px 70px rgba(47, 39, 31, .14);
}
.carousel-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #e9e1d7;
}
.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform .58s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--slide-background, #e9e1d7);
}
.carousel-slide.is-contain::before {
  content: "";
  position: absolute;
  inset: -2rem;
  z-index: 0;
  background-image: var(--slide-bg-image);
  background-size: cover;
  background-position: var(--slide-position, 50% 50%);
  filter: blur(28px) saturate(.82);
  opacity: .32;
  transform: scale(1.08);
}
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 16, 13, 0) 52%, rgba(20, 16, 13, .64) 100%);
}
.carousel-slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: var(--slide-fit, cover);
  object-position: var(--slide-position, 50% 50%);
}
.slide-caption {
  position: absolute;
  left: clamp(1rem, 2.1vw, 1.55rem);
  right: 8.5rem;
  bottom: clamp(1rem, 2.1vw, 1.55rem);
  z-index: 2;
  color: #fff;
}
.slide-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  margin-bottom: .48rem;
  padding: .2rem .5rem;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  background: rgba(22, 17, 13, .34);
  font-size: .62rem;
  font-weight: 760;
  letter-spacing: .08em;
}
.slide-label.is-generated { background: rgba(237, 97, 40, .74); }
.slide-caption.is-top {
  top: clamp(1rem, 2.1vw, 1.55rem);
  bottom: auto;
}
.slide-caption strong {
  display: block;
  max-width: 21rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 650;
  line-height: 1.5;
  text-shadow: 0 2px 16px rgba(0,0,0,.34);
}
.carousel-controls {
  position: absolute;
  right: clamp(.8rem, 1.5vw, 1.15rem);
  bottom: clamp(.8rem, 1.5vw, 1.15rem);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .32rem;
  padding: .34rem;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 999px;
  background: rgba(255,253,249,.9);
  box-shadow: 0 10px 28px rgba(27,21,17,.18);
}
.carousel-button {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  transition: background .18s ease, color .18s ease;
}
.carousel-button:hover { background: var(--orange); color: #fff; }
.carousel-dots { display: flex; align-items: center; gap: .18rem; }
.carousel-dot {
  width: 1.1rem;
  height: 2rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.carousel-dot span {
  width: .34rem;
  height: .34rem;
  border-radius: 999px;
  background: #b8afa5;
  transition: width .18s ease, background .18s ease;
}
.carousel-dot.is-active span { width: .86rem; background: var(--orange); }
.carousel-status {
  min-width: 2.45rem;
  color: var(--muted);
  font-size: .63rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.hero-copy { min-width: 0; }
.hero-eyebrow {
  margin: 0 0 1.15rem;
  color: var(--orange-dark);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .18em;
}
.hero h1 {
  margin: 0;
  max-width: none;
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 5.7vw, 6.6rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero-lead {
  max-width: 38rem;
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: clamp(.98rem, 1.15vw, 1.15rem);
  line-height: 1.85;
}

.entry-zone {
  position: relative;
  margin-top: clamp(2rem, 3.2vw, 3.2rem);
  padding-top: clamp(1.4rem, 2.2vw, 2rem);
  border-top: 1px solid var(--line);
}
.entry-title {
  max-width: none;
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 680;
  line-height: 1.42;
  letter-spacing: -.025em;
}
.entry-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .82rem;
  align-items: stretch;
}
.entry-pill {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 7.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: 1.15rem 1.05rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 88%, var(--ink));
  border-radius: 1.35rem;
  background: color-mix(in srgb, var(--paper-2) 92%, transparent);
  color: var(--ink);
  font-size: clamp(1rem, 1.22vw, 1.2rem);
  font-weight: 790;
  line-height: 1.42;
  letter-spacing: -.015em;
  text-align: left;
  text-wrap: balance;
  white-space: normal;
  box-shadow: 0 13px 30px rgba(51, 42, 32, .065);
}
.entry-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.05rem;
  width: 2.4rem;
  height: .24rem;
  border-radius: 0 0 999px 999px;
  background: color-mix(in srgb, var(--orange) 68%, var(--line));
}
.entry-pill-2, .entry-pill-5 { background: var(--sage-soft); }
.entry-pill-3 { background: var(--blue-soft); }
.entry-pill-4, .entry-pill-6 { background: var(--orange-soft); }
.entry-pill-2::before, .entry-pill-5::before { background: #6f8b68; }
.entry-pill-3::before { background: #6f87bd; }
.entry-pill-4::before, .entry-pill-6::before { background: #d88652; }

.course-disclosure {
  position: relative;
  width: 100%;
  min-width: 0;
}
.course-disclosure summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.course-disclosure summary::-webkit-details-marker { display: none; }
.entry-pill-course {
  border-color: color-mix(in srgb, var(--orange) 48%, var(--line));
  background: #fff7f1;
  color: var(--ink);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.entry-pill-course::before { background: var(--orange); }
.entry-pill-course:hover,
.course-disclosure[open] .entry-pill-course {
  transform: translateY(-3px);
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 18px 38px rgba(201, 72, 24, .2);
}
.entry-arrow {
  flex: 0 0 auto;
  font-size: 1.25rem;
  line-height: 1;
}

.course-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(31, 25, 20, .56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.course-popover {
  position: relative;
  width: min(54rem, 100%);
  max-height: min(86svh, 48rem);
  overflow: auto;
  padding: clamp(1.15rem, 2.4vw, 1.8rem);
  border: 2px solid color-mix(in srgb, var(--orange) 58%, #fff);
  border-radius: 1.6rem;
  background: var(--paper-2);
  box-shadow: 0 32px 100px rgba(28, 20, 14, .34), 0 0 0 7px rgba(255, 255, 255, .2);
  cursor: auto;
  animation: course-pop-in .2s ease-out;
}
.course-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 2;
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(39, 31, 24, .12);
}
.course-close:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
@keyframes course-pop-in {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.course-popover-head {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 1.25rem;
  align-items: end;
  padding: .1rem 3.2rem 1.1rem .1rem;
}
.course-popover-head p {
  margin: 0 0 .25rem;
  color: var(--orange-dark);
  font-size: .66rem;
  font-weight: 820;
  letter-spacing: .12em;
}
.course-popover-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -.02em;
}
.course-popover-head > span {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.6;
}
.course-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .62rem;
}
.course-link {
  min-height: 4.7rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  padding: .85rem .9rem;
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: var(--paper);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.course-link:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  background: #fff7f1;
}
.course-copy { min-width: 0; }
.course-copy strong {
  display: block;
  font-size: .88rem;
  line-height: 1.38;
  text-wrap: balance;
}
.course-copy small {
  display: block;
  margin-top: .22rem;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.45;
}
.course-arrow { color: var(--orange-dark); font-size: 1.15rem; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

@media (min-width: 841px) and (max-height: 820px) {
  .header-inner { min-height: 4.1rem; }
  .hero {
    min-height: calc(100svh - 4.1rem);
    padding: .75rem 0 1rem;
  }
  .hero-carousel { height: min(58vh, 31rem); }
  .hero h1 { font-size: clamp(3.05rem, 4.8vw, 5.05rem); }
  .hero-lead { margin-top: .78rem; line-height: 1.62; }
  .hero-contact-card { margin-top: .72rem; padding: .64rem; border-radius: 1rem; }
  .profile-copy > strong { font-size: .98rem; }
  .profile-copy p { font-size: .64rem; }
  .profile-copy small { font-size: .6rem; }
  .profile-contact-grid { gap: .38rem; margin-top: .5rem; }
  .profile-contact-item, .profile-service { min-height: 3.35rem; }
  .profile-contact-item { padding: .42rem .5rem; }
  .profile-service { grid-template-columns: minmax(0, 1fr) 3.45rem; padding: .28rem .3rem .28rem .5rem; }
  .profile-service-qr { width: 3.45rem; height: 3.45rem; }
  .entry-zone { margin-top: 1.1rem; padding-top: .85rem; }
  .entry-title { margin-bottom: .72rem; font-size: 1.3rem; }
  .entry-list { gap: .52rem; }
  .entry-pill {
    min-height: 5.15rem;
    padding: .8rem .72rem;
    border-radius: 1rem;
    font-size: .88rem;
    line-height: 1.34;
  }
  .entry-pill::before { left: .72rem; width: 1.8rem; height: .2rem; }
  .slide-caption { right: 7.7rem; bottom: .8rem; left: .9rem; }
  .slide-label { margin-bottom: .28rem; }
  .slide-caption strong { font-size: .95rem; }
  .carousel-controls { right: .65rem; bottom: .65rem; transform: scale(.92); transform-origin: right bottom; }
}

@media (max-width: 1120px) {
  .entry-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-main {
    grid-template-columns: minmax(22rem, .86fr) minmax(27rem, 1.14fr);
    gap: 3rem;
  }
  .hero-carousel { height: clamp(28rem, 56vh, 38rem); }
  .hero h1 { font-size: clamp(3.2rem, 6.3vw, 5.4rem); }
  .profile-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-service { grid-column: 1 / -1; }
}

@media (max-width: 840px) {
  .entry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-main { grid-template-columns: 1fr; gap: 2rem; }
  .hero-carousel { width: min(100%, 40rem); height: min(66vh, 35rem); }
  .hero-copy { width: min(100%, 42rem); }
  .hero h1 { max-width: 12ch; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 4.6rem; }
  .header-inner, .hero-shell { width: min(100% - 1.2rem, var(--content)); }
  .header-inner { min-height: 4.2rem; gap: .7rem; }
  .brand { font-size: 1.08rem; letter-spacing: .05em; }
  .contact-summary { min-height: 2.75rem; gap: .48rem; padding: .28rem .5rem .28rem .3rem; }
  .contact-summary img { width: 2.05rem; height: 2.05rem; }
  .contact-summary-copy strong { font-size: .72rem; }
  .contact-summary-copy small { font-size: .6rem; }
  .contact-plus { display: none; }

  .hero { min-height: 0; padding-top: .72rem; }
  .hero-main { gap: 1.45rem; }
  .hero-carousel {
    width: 100%;
    height: 24rem;
    border-radius: 1.25rem;
  }
  .slide-caption { left: .85rem; right: 7.2rem; bottom: .85rem; }
  .slide-caption strong { font-size: .9rem; line-height: 1.42; }
  .slide-label { margin-bottom: .3rem; font-size: .56rem; }
  .carousel-controls { right: .55rem; bottom: .55rem; padding: .24rem; gap: .18rem; }
  .carousel-button { width: 1.8rem; height: 1.8rem; font-size: .86rem; }
  .carousel-dot { width: .82rem; height: 1.7rem; }
  .carousel-status { display: none; }

  .hero-eyebrow { margin-bottom: .72rem; }
  .hero h1 {
    max-width: none;
    font-size: clamp(2.55rem, 12vw, 3.85rem);
    line-height: 1.06;
  }
  .hero-lead { margin-top: .9rem; font-size: .91rem; line-height: 1.72; }
  .hero-contact-card { margin-top: .95rem; padding: .72rem; border-radius: 1.08rem; }
  .profile-copy > strong { font-size: 1.02rem; }
  .profile-copy p { font-size: .7rem; }
  .profile-copy small { font-size: .64rem; }
  .profile-contact-grid { grid-template-columns: 1fr; gap: .46rem; margin-top: .62rem; }
  .profile-contact-item, .profile-service { min-height: 3.75rem; }
  .profile-contact-item { padding: .56rem .62rem; }
  .profile-service { grid-column: auto; grid-template-columns: minmax(0, 1fr) 4rem; padding: .34rem .38rem .34rem .62rem; }
  .profile-service-qr { width: 4rem; height: 4rem; }
  .contact-feedback { margin-top: .28rem; }

  .entry-zone { margin-top: 1.5rem; padding-top: 1.1rem; }
  .entry-title { margin-bottom: .9rem; font-size: 1.28rem; }
  .entry-list { gap: .62rem; }
  .entry-pill {
    min-height: 6.2rem;
    padding: .92rem .82rem;
    border-radius: 1.08rem;
    font-size: .92rem;
    line-height: 1.38;
    text-align: left;
  }
  .entry-pill::before { left: .82rem; width: 1.85rem; height: .2rem; }
  .course-disclosure { width: 100%; }
  .entry-pill-course { width: 100%; }
  .course-modal-layer { padding: .65rem; align-items: end; }
  .course-popover {
    width: 100%;
    max-height: 88svh;
    padding: 1rem;
    border-radius: 1.25rem 1.25rem .9rem .9rem;
  }
  .course-close { top: .65rem; right: .65rem; width: 2.25rem; height: 2.25rem; }
  .course-popover-head { display: block; padding: .05rem 2.7rem .8rem .05rem; }
  .course-popover-head h2 { font-size: 1.3rem; }
  .course-popover-head > span { display: block; margin-top: .45rem; font-size: .76rem; }
  .course-links { grid-template-columns: 1fr; gap: .48rem; }
  .course-link { min-height: 4.05rem; padding: .7rem .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
