:root {
  --green: #4f8a62;
  --green-deep: #173a24;
  --green-mid: #315e40;
  --green-soft: #eaf3e9;
  --green-muted: #b9cabd;
  --ink: #1f2d24;
  --ink-soft: #607267;
  --paper: #f8f8f2;
  --surface: #fffffc;
  --warm: #eee7dd;
  --rose: #d8a083;
  --line: rgba(23, 58, 36, 0.17);
  --frame-width: 1240px;
  --font-sans-cn: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans-cn);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(79, 138, 98, 0.45);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--green-deep);
  color: var(--surface);
}

.skip-link:focus {
  top: 16px;
}

.site-frame {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: none;
}

.site-header {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: 0 54px;
  background: rgba(248, 248, 242, 0.98);
}

.home-page .site-header {
  border-bottom: 1px solid rgba(47, 82, 59, 0.12);
  background: #dfe5dc;
}

.brand {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  color: var(--green-deep);
  font-family: var(--font-sans-cn);
  font-size: 18px;
  font-weight: 600;
}

.brand small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
  color: #4c5a51;
  font-size: 13px;
}

.desktop-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 1px;
  background: var(--green);
  content: "";
  transition: right 180ms ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.primary-button,
.secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-button {
  padding: 0 24px;
  background: var(--green);
  color: var(--surface);
}

.secondary-button {
  padding: 0 22px;
  border: 1px solid var(--green-mid);
  color: var(--green-deep);
}

.primary-button:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
}

.secondary-button:hover {
  background: var(--green-deep);
  color: var(--surface);
}

.hero {
  position: relative;
  height: clamp(580px, 72vh, 700px);
  min-height: 580px;
  overflow: hidden;
  background: var(--green-deep);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("./assets/meadow-hero.webp");
  background-position: center 56%;
  background-size: cover;
  content: "";
  transform: scaleX(-1);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(19, 39, 27, 0.42) 0%, rgba(19, 39, 27, 0.27) 46%, rgba(14, 32, 22, 0.58) 100%),
    linear-gradient(90deg, rgba(18, 39, 25, 0.25), rgba(42, 51, 30, 0.12) 70%);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 82px 68px;
}

.hero h1 {
  width: auto;
  display: block;
  margin: 0;
  color: #fffefa;
  font-family: var(--font-sans-cn);
  line-height: 1.12;
  text-align: left;
  text-shadow: 0 2px 22px rgba(5, 18, 11, 0.3);
}

.hero-brand-name {
  display: flex;
  gap: 0.1em;
  font-size: clamp(50px, 5.5vw, 68px);
  font-weight: 400;
}

.hero-actions {
  margin-top: 46px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero-caption {
  max-width: none;
  margin: 14px 0 0 3px;
  color: rgba(255, 255, 252, 0.9);
  font-family: "FangSong", "STFangsong", "FangSong_GB2312", "Noto Serif SC", "Songti SC", serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.75;
  white-space: nowrap;
}

.hero .primary-button {
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 252, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.94);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 600;
}

.hero .primary-button:hover {
  background: #fff;
  color: var(--green-deep);
}

.section {
  padding: 104px 74px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 88px;
  background: var(--surface);
}

.about-photo {
  position: relative;
  min-width: 0;
}

.about-photo > img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: center;
  border-radius: 48% 48% 4px 4px;
}

.about-photo > p {
  position: absolute;
  right: -34px;
  bottom: 56px;
  width: 134px;
  height: 134px;
  display: grid;
  place-content: center;
  margin: 0;
  border: 8px solid var(--surface);
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-mid);
  text-align: center;
  line-height: 1.35;
}

.about-photo > p strong,
.about-photo > p span {
  display: block;
  font-family: var(--font-sans-cn);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.about-copy {
  width: 100%;
  max-width: 680px;
}

.about-copy h2,
.center-heading h2,
.process-heading h2,
.split-heading h2,
.booking-copy h2,
.boundary h2 {
  margin-bottom: 22px;
  color: var(--green-deep);
  font-family: var(--font-sans-cn);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.35;
}

.about-copy > p {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
}

.about-copy > p:last-child {
  margin-bottom: 0;
}

.services {
  background: var(--paper);
}

.center-heading {
  max-width: 650px;
  margin: 0 auto 62px;
  text-align: center;
}

.center-heading h2 {
  margin-bottom: 12px;
}

.center-heading > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  min-width: 0;
  min-height: 270px;
  padding: 32px 28px 28px;
}

.service-item + .service-item {
  border-left: 1px solid var(--line);
}

.service-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 50%;
  background: var(--green);
  color: var(--surface);
  font-size: 11px;
}

.service-item:nth-child(2) .service-number,
.service-item:nth-child(4) .service-number {
  background: var(--rose);
}

.service-item h3 {
  margin-bottom: 10px;
  color: var(--green-deep);
  font-family: var(--font-sans-cn);
  font-size: 22px;
  font-weight: 500;
}

.service-item p {
  min-height: 70px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.service-item small {
  color: var(--green-mid);
  font-size: 13px;
  font-weight: 600;
}

.process {
  background: var(--green-mid);
  color: var(--surface);
}

.process-heading {
  max-width: 700px;
  margin: 0 auto 58px;
  text-align: center;
}

.process-heading h2 {
  margin-bottom: 0;
  color: var(--surface);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-width: 0;
  padding: 0 28px;
  text-align: center;
}

.process-list li + li::before {
  position: absolute;
  left: 0;
  top: 28px;
  width: calc(50% - 34px);
  height: 1px;
  background: rgba(255, 255, 252, 0.3);
  content: "";
  transform: translateX(-50%);
}

.process-list span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green-mid);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
}

.process-list h3 {
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 650;
}

.process-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 252, 0.88);
  font-size: 13px;
}

.counselors {
  background: var(--surface);
}

.counselors .split-heading,
.counselor-stage,
.counselor-more {
  width: 100%;
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: 90px;
  margin-bottom: 54px;
}

.split-heading h2 {
  margin-bottom: 0;
}

.counselor-heading-side > p {
  max-width: 420px;
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 13px;
}

.counselor-heading-side {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.counselor-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.counselor-group-heading h2,
.counselor-group-heading h3,
.counselor-group-heading p {
  margin-bottom: 0;
}

.counselor-group-heading h2,
.counselor-group-heading h3 {
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 550;
}

.counselor-group-heading p {
  color: var(--ink-soft);
  font-size: 11px;
}

.counselor-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  overflow: hidden;
  padding: 0;
  touch-action: pan-y;
  outline-offset: 6px;
}

.counselor-card {
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper);
  opacity: 1;
}

.counselor-card[hidden] {
  display: none !important;
}

.counselor-card img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  object-position: center 18%;
  background: var(--green-soft);
}

.counselor-card div {
  padding: 22px 24px 25px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.counselor-card h3 {
  margin-bottom: 5px;
  color: var(--green-deep);
  font-family: var(--font-sans-cn);
  font-size: 22px;
  font-weight: 500;
}

.counselor-card p {
  min-height: 2.8em;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 13px;
}

.counselor-card small {
  color: var(--green-mid);
  font-size: 12px;
}

.counselor-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 28px;
}

.directory-section {
  padding: 72px 74px 112px;
  background: var(--surface);
}

.counselor-directory-grid {
  width: 100%;
  max-width: 1160px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.directory-section .counselor-group-heading {
  max-width: 1160px;
  align-items: flex-end;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 22px;
  padding-bottom: 10px;
}

.directory-heading-copy h2 {
  margin-bottom: 6px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}

.directory-heading-copy p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.directory-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
}

.directory-filters button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.directory-filters button:hover,
.directory-filters button.is-active {
  border-bottom-color: var(--green);
  color: var(--green-deep);
}

.directory-filters button:focus-visible {
  outline: 2px solid rgba(79, 138, 98, 0.45);
  outline-offset: 2px;
}

.directory-profile {
  min-width: 0;
  min-height: 264px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(23, 58, 36, 0.12);
  border-radius: 3px;
  background: var(--paper);
}

.directory-profile[hidden] {
  display: none;
}

.directory-profile > img {
  width: 172px;
  height: 100%;
  min-height: 264px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 0;
  background: var(--green-soft);
}

.directory-photo-placeholder {
  width: 112px;
  min-height: 226px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green-soft);
  color: var(--ink-soft);
  font-size: 10px;
}

.directory-photo-placeholder img {
  width: 42px;
  height: 42px;
  opacity: 0.65;
}

.directory-profile-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
}

.directory-profile-copy header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.directory-profile-copy h3 {
  margin-bottom: 3px;
  color: #245638;
  font-size: 24px;
  font-weight: 600;
}

.directory-profile-copy header p {
  flex: 0 0 auto;
  margin-bottom: 0;
  color: #65796b;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.directory-degree {
  margin-bottom: 22px;
  color: #3f5848;
  font-size: 13px;
  line-height: 1.75;
}

.directory-profile-copy dl {
  display: block;
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 58, 36, 0.12);
}

.directory-profile-copy dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.directory-profile-copy dd {
  margin-left: 0;
  color: #4f765c;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 1180px) {
  .counselor-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .directory-profile {
    grid-template-columns: 148px minmax(0, 1fr);
  }

  .directory-profile > img {
    width: 148px;
  }

  .directory-profile-copy {
    padding-right: 19px;
    padding-left: 19px;
  }
}

.booking {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-top: 82px;
  padding-bottom: 82px;
  background: var(--warm);
  text-align: center;
}

.booking-copy h2 {
  max-width: 620px;
  margin: 0 auto 14px;
}

.booking-copy > p {
  color: var(--ink-soft);
  font-size: 13px;
}

.booking-codes {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 38px;
}

.booking-code {
  width: 166px;
  display: grid;
  justify-items: center;
  margin: 0;
  text-align: center;
}

.qr-placeholder {
  width: 126px;
  height: 126px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 9px;
  padding: 13px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.qr-placeholder span {
  border: 5px solid rgba(79, 138, 98, 0.5);
}

.qr-placeholder i {
  border-radius: 50%;
  background: var(--rose);
}

.qr-placeholder-assistant span {
  border-color: rgba(49, 94, 64, 0.62);
}

.qr-placeholder-assistant i {
  background: var(--green-muted);
}

.qr-image-frame {
  position: relative;
  width: 126px;
  height: 126px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.qr-image-frame img {
  position: absolute;
  top: -32.5%;
  left: -10.3%;
  width: 120.6%;
  max-width: none;
  height: auto;
}

.booking-code figcaption {
  margin-top: 9px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 550;
}

.booking-code figcaption small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 400;
}

.boundary {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 70px;
  padding: 64px 74px;
  background: #c7d4c9;
}

.boundary h2 {
  margin-bottom: 0;
  font-size: 34px;
}

.boundary > p {
  margin-bottom: 0;
  color: #4b5d50;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr;
  gap: 44px;
  padding: 58px 58px 28px;
  background: var(--green-deep);
  color: rgba(255, 255, 252, 0.72);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 252, 0.45);
  border-radius: 50%;
}

.footer-brand strong,
.footer-column strong {
  color: var(--surface);
  font-family: var(--font-sans-cn);
  font-weight: 500;
}

.footer-brand strong {
  font-size: 18px;
}

.footer-brand p,
.footer-column p {
  margin: 6px 0 0;
  font-size: 13px;
}

.footer-brand p {
  font-family: var(--font-sans-cn);
  font-size: 13px;
}

.footer-column strong {
  font-size: 13px;
}

.footer-links {
  grid-column: 1 / -1;
  display: flex;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 252, 0.14);
  font-size: 13px;
}

.footer-links a,
.footer-legal a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 252, 0.28);
  text-underline-offset: 4px;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.reveal {
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.copy-wechat {
  min-height: 32px;
  margin-top: 4px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(23, 58, 36, 0.35);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.copy-wechat:hover {
  border-bottom-color: var(--green-deep);
  color: var(--green-deep);
}

.copy-wechat:focus-visible {
  outline: 3px solid rgba(79, 138, 98, 0.45);
  outline-offset: 3px;
}

.copy-status {
  min-height: 1.5em;
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.legal-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-main {
  width: min(calc(100% - 48px), 800px);
  margin: 0 auto;
  padding: 84px 0 120px;
}

.legal-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 48px;
  color: var(--green-mid);
  font-size: 14px;
}

.legal-main h1 {
  margin-bottom: 12px;
  color: var(--green-deep);
  font-family: var(--font-sans-cn);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
}

.legal-updated {
  margin-bottom: 48px;
  color: var(--ink-soft);
  font-size: 13px;
}

.legal-main h2 {
  margin: 40px 0 14px;
  color: var(--green-mid);
  font-size: 21px;
  font-weight: 550;
}

.legal-main p,
.legal-main li {
  color: var(--ink-soft);
  line-height: 1.85;
}

@media (max-width: 980px) {
  .site-frame {
    width: 100%;
    margin: 0 auto;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    padding: 0 28px;
  }

  .desktop-nav {
    justify-content: flex-end;
    gap: clamp(14px, 2.4vw, 24px);
    font-size: 11px;
  }

  .hero {
    height: clamp(560px, 72vh, 660px);
  }

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

  .hero h1 {
    line-height: 1.08;
  }

  .hero-brand-name {
    font-size: clamp(48px, 6.3vw, 59px);
  }

  .about {
    gap: 58px;
  }

  .section {
    padding-right: 48px;
    padding-left: 48px;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .counselor-stage {
    gap: 16px;
  }

  .directory-section {
    padding-right: 48px;
    padding-left: 48px;
  }

  .counselor-directory-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 12px;
  }

  body {
    background: var(--paper);
  }

  .site-frame {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .site-header {
    min-height: 0;
    grid-template-columns: 1fr;
    row-gap: 8px;
    padding: 12px 18px 8px;
  }

  .desktop-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid rgba(47, 82, 59, 0.1);
    font-size: 11px;
  }

  .desktop-nav a {
    min-height: 36px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

  .hero {
    height: min(560px, calc(100svh - 102px));
    min-height: 500px;
  }

  .hero-copy {
    padding: 70px 24px 54px;
  }

  .hero h1 {
    line-height: 1.08;
  }

  .hero-brand-name {
    gap: 0.08em;
    font-size: 40px;
  }

  .hero::after {
    background-position: 20% 58%;
  }

  .hero-caption {
    max-width: none;
    margin-top: 12px;
    margin-left: 2px;
    font-size: 16px;
    line-height: 1.7;
    white-space: normal;
  }

  .hero-actions {
    margin-top: 38px;
  }

  .hero .primary-button {
    min-height: 44px;
    padding: 0 24px;
    font-size: 12px;
  }

  .section {
    padding: 78px 22px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .about-photo {
    width: calc(100% - 26px);
  }

  .about-photo > p {
    right: -26px;
    bottom: 34px;
    width: 112px;
    height: 112px;
  }

  .about-copy h2,
  .center-heading h2,
  .process-heading h2,
  .split-heading h2,
  .booking-copy h2,
  .boundary h2 {
    font-size: 31px;
  }

  .center-heading {
    margin-bottom: 42px;
    text-align: left;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item:nth-child(3) {
    min-height: 0;
    padding: 28px 4px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-item:first-child {
    border-top: 0;
  }

  .service-number {
    margin-bottom: 20px;
  }

  .service-item p {
    min-height: 0;
  }

  .process-heading {
    margin-bottom: 42px;
    text-align: left;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 0 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 252, 0.18);
    text-align: left;
  }

  .process-list li + li::before {
    display: none;
  }

  .process-list span {
    width: 46px;
    height: 46px;
    grid-row: 1 / 3;
    margin: 0;
  }

  .process-list h3 {
    align-self: end;
    margin-bottom: 2px;
  }

  .split-heading,
  .booking,
  .boundary {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-heading {
    margin-bottom: 42px;
  }

  .counselor-heading-side {
    gap: 20px;
  }

  .counselor-stage {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 4px;
  }

  .counselor-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 146px;
  }

  .counselor-card img {
    width: 108px;
    height: 100%;
    aspect-ratio: auto;
  }

  .counselor-card div {
    align-self: center;
    padding: 18px 46px 18px 18px;
  }

  .counselor-card h3 {
    font-size: 20px;
  }

  .counselor-card p {
    min-height: 0;
  }

  .counselor-more {
    justify-content: flex-start;
    margin-right: 4px;
    margin-left: 4px;
  }

  .directory-section {
    padding: 48px 22px 76px;
  }

  .directory-section .counselor-group-heading {
    align-items: flex-end;
    flex-direction: row;
    gap: 18px;
  }

  .directory-filters {
    width: auto;
    justify-content: space-between;
    gap: 4px;
  }

  .directory-filters button {
    flex: 0 0 auto;
    padding-right: 4px;
    padding-left: 4px;
  }

  .counselor-directory-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .directory-profile {
    min-height: 214px;
    grid-template-columns: 110px minmax(0, 1fr);
    padding-bottom: 0;
    border: 1px solid rgba(23, 58, 36, 0.12);
    background: var(--paper);
  }

  .directory-profile > img {
    width: 110px;
    height: 100%;
    min-height: 214px;
    aspect-ratio: auto;
  }

  .directory-profile-copy {
    min-height: 214px;
    padding: 17px 17px 15px;
  }

  .directory-profile-copy header {
    display: flex;
    margin-bottom: 13px;
  }

  .directory-profile-copy h3 {
    margin-bottom: 2px;
    font-size: 20px;
  }

  .directory-degree {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.6;
  }

  .directory-profile-copy dl {
    margin-top: auto;
    padding-top: 8px;
  }

  .directory-profile-copy dd {
    font-size: 13px;
    text-align: left;
  }

  .booking-codes {
    width: 100%;
    gap: 4px;
  }

  .booking-code {
    width: min(46%, 166px);
  }

  .qr-placeholder {
    width: 112px;
    height: 112px;
    gap: 8px;
    padding: 11px;
  }

  .qr-image-frame {
    width: 112px;
    height: 112px;
  }

  .boundary {
    padding: 60px 22px 66px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 22px 26px;
  }

  .footer-links,
  .footer-legal {
    grid-column: 1;
  }

  .footer-legal {
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
  }

  .legal-main {
    padding-top: 58px;
  }

  .legal-main h1 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .directory-section .counselor-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .directory-filters {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
  }

  .directory-filters button {
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 360px) {
  .directory-profile-copy header {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal.reveal-pending {
    opacity: 1;
    transform: none;
  }
}
