* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f7f1e7;
  --surface: rgba(255, 255, 255, 0.92);
  --text: #232a24;
  --muted: #5e685f;
  --accent: #4d7051;
  --accent-dark: #314d36;
  --accent-soft: #e8efe6;
  --border: rgba(77, 112, 81, 0.18);
  --shadow: 0 22px 50px rgba(35, 42, 36, 0.09);
  --white: #ffffff;
}

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

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(180deg, #fbf7ef 0%, #efe3d2 42%, #f8f1e8 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

.hidden-field {
  display: none;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(77, 112, 81, 0.32);
  outline-offset: 3px;
}

.page-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: auto;
  height: 98px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: var(--text);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  padding: 14px 16px;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-dark);
  background: rgba(77, 112, 81, 0.09);
  transform: translateY(-1px);
}

.nav-links .active {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(77, 112, 81, 0.18);
}

.nav-social {
  flex: 0 0 auto;
}

.nav-social a {
  width: 36px;
  height: 36px;
  background: rgba(77, 112, 81, 0.08);
}

.hero-section,
.content-section {
  position: relative;
  padding: 88px 0;
}

.hero-section {
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(77, 112, 81, 0.11), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(166, 133, 88, 0.12), transparent 20%);
}

.soft-bg {
  background: rgba(255, 255, 255, 0.56);
}

.hero-grid,
.section-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.section-split {
  align-items: start;
}

.hero-copy,
.split-text,
.section-header {
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.08;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: 0;
}

.no-wrap {
  white-space: nowrap;
}

h2 {
  font-size: clamp(31px, 4vw, 46px);
}

h3 {
  font-size: 24px;
}

.hero-copy p,
.split-text p,
.section-header p,
.service-card p,
.feature-card p,
.contact-card p,
.feature-list {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-copy p,
.split-text p {
  margin-bottom: 22px;
}

.lead-text {
  color: var(--text) !important;
  font-size: 21px !important;
  font-weight: 650;
  line-height: 1.65 !important;
}

.hero-about .hero-copy p:not(.eyebrow):not(.lead-text),
.hero-home .hero-copy p,
.bio-grid .feature-card p,
.article-body p,
.practice-card p,
.hero-taichi .hero-copy p:not(.lead-text),
.hero-services .hero-copy p,
.hero-services ~ .content-section .service-card p,
.hero-services ~ .content-section .split-text p {
  text-align: justify;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  padding: 15px 28px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 16px 28px rgba(77, 112, 81, 0.18);
}

.primary-button:hover,
.secondary-button:hover,
.text-button:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  background: var(--accent-dark);
  box-shadow: 0 18px 32px rgba(77, 112, 81, 0.22);
}

.secondary-button {
  color: var(--text);
  background: rgba(77, 112, 81, 0.11);
}

.secondary-button:hover {
  background: rgba(77, 112, 81, 0.17);
}

.text-button {
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--border);
}

.text-button:hover {
  border-color: rgba(77, 112, 81, 0.34);
  background: rgba(77, 112, 81, 0.08);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  margin-top: 8px;
  border: 1px solid rgba(77, 112, 81, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 850;
  padding: 14px 26px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.inline-link::after {
  content: none;
}

.inline-link:hover {
  border-color: rgba(77, 112, 81, 0.34);
  background: rgba(77, 112, 81, 0.09);
  transform: translateY(-1px);
}

.hero-image,
.image-card {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(77, 112, 81, 0.14);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-image {
  min-height: 430px;
}

.hero-services .hero-copy {
  max-width: 620px;
}

.hero-services .hero-copy h1 {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.1;
}

.hero-services .hero-copy p {
  max-width: 620px;
}

.hero-services .hero-image {
  height: 420px;
  min-height: 0;
  border-radius: 28px;
}

.hero-services .hero-image img {
  object-position: left center;
}

.taichi-hero-art {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.taichi-hero-art img {
  object-fit: contain;
  object-position: left center;
}

.home-hero-image img {
  object-position: center 35%;
}

.hero-about .hero-image img {
  object-position: center 18%;
}

.home-practice-image {
  height: 380px;
  min-height: 0;
  padding: 0;
}

.home-practice-image img {
  height: 100%;
  object-position: center;
}

.home-practice-image:first-of-type img {
  object-position: center 38%;
}

.home-practice-section .split-text h2 {
  margin-bottom: 28px;
}

.home-credentials-section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.home-proof-section {
  padding-top: 44px;
  padding-bottom: 54px;
}

.home-practice-section {
  padding-top: 68px;
}

.instructor-preview h2 {
  margin-bottom: 28px;
}

.instructor-preview p {
  text-align: justify;
}

.instructor-preview .inline-link {
  min-width: 170px;
  min-height: 56px;
  padding-inline: 30px;
}

.instructor-preview + .home-practice-image img {
  object-position: center 20%;
}

.hero-services {
  padding-bottom: 46px;
}

.hero-services + .classes-overview-section {
  padding-top: 46px;
}

.hero-image img,
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card img {
  transition: transform 0.4s ease;
}

.image-card:hover img {
  transform: scale(1.03);
}

.section-header {
  margin-bottom: 30px;
}

.feature-grid,
.value-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid .feature-card {
  box-shadow: 0 14px 30px rgba(35, 42, 36, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-grid .feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(35, 42, 36, 0.07);
}

.principles-section {
  padding-top: 52px;
}

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

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 24px;
  align-items: stretch;
}

.locations-stack {
  display: grid;
  gap: 28px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.principle-card {
  min-height: 260px;
  border: 1px solid rgba(77, 112, 81, 0.14);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(35, 42, 36, 0.06);
  padding: 30px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.principle-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
}

.principle-card h2 {
  margin-bottom: 22px;
}

.principle-card p,
.practice-card p,
.article-aside p,
.article-body p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.principle-card p {
  text-align: justify;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 52px;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 140px;
}

.article-image-aside {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  min-height: 0;
  border: 1px solid rgba(77, 112, 81, 0.14);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-image-aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
}

.article-aside h2 {
  margin-bottom: 18px;
}

.article-body {
  display: grid;
  gap: 24px;
}

.article-body h2 {
  margin-bottom: 4px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.practice-card {
  border: 1px solid rgba(77, 112, 81, 0.14);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(35, 42, 36, 0.06);
  padding: 30px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.practice-card h2 {
  margin-bottom: 8px;
}

.practice-subtitle {
  color: var(--accent) !important;
  font-size: 15px !important;
  font-weight: 850;
  line-height: 1.4 !important;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.practice-card p + p {
  margin-top: 18px;
}

.hero-taichi ~ .content-section .split-text h2 {
  margin-bottom: 24px;
}

.hero-taichi ~ .content-section .split-text p {
  margin-bottom: 24px;
}

.taichi-progress-image {
  height: 360px;
  min-height: 0;
  padding: 0;
}

.taichi-progress-image img {
  height: 100%;
  object-position: left center;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.credential-card {
  border: 1px solid rgba(77, 112, 81, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(35, 42, 36, 0.05);
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.credential-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 850;
}

.credential-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.home-location-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.home-location-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(77, 112, 81, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 40px rgba(35, 42, 36, 0.06);
  padding: 32px;
}

.home-location-card h2 {
  margin-bottom: 18px;
}

.home-location-card .primary-button {
  flex: 0 0 auto;
}

.audience-section {
  padding-top: 58px;
}

.audience-grid .feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-grid .feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(35, 42, 36, 0.08);
}

.audience-grid .feature-card p {
  text-align: justify;
}

.principles-section .feature-card p {
  text-align: justify;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bio-section {
  padding-top: 34px;
  padding-bottom: 54px;
}

.bio-card-wide {
  grid-column: span 2;
}

.bio-card-wide h2 {
  font-size: clamp(36px, 4.4vw, 52px);
}

.formation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.formation-list article {
  border-left: 3px solid rgba(77, 112, 81, 0.32);
  padding-left: 18px;
}

.formation-list h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.formation-list p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  text-align: justify !important;
}

.training-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 980px);
  margin: 32px auto 0;
}

.training-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: var(--accent-soft);
  cursor: zoom-in;
}

.training-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.training-photo-zoom img {
  transform: scale(1.08);
}

.training-photo-lift img {
  object-position: center 28%;
}

.training-photo:hover img {
  transform: scale(1.03);
}

.training-photo:focus-visible {
  outline: 3px solid rgba(77, 112, 81, 0.32);
  outline-offset: 4px;
}

.training-photo-zoom:hover img {
  transform: scale(1.11);
}

.schedule-card {
  grid-column: span 2;
}

.schedule-card h3 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 38px);
}

.location-grid .schedule-card {
  grid-column: auto;
}

.classes-overview-section {
  padding-top: 58px;
  padding-bottom: 44px;
}

.classes-location-section,
.classes-callout-section,
.faq-section {
  padding-top: 46px;
}

.classes-location-section {
  padding-bottom: 36px;
}

.classes-callout-section {
  padding-top: 24px;
}

.centered-section-header {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.video-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.video-section-header {
  max-width: none;
  text-align: center;
  margin-bottom: 30px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.single-video-grid {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.video-card {
  overflow: hidden;
  border: 1px solid rgba(77, 112, 81, 0.14);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 24px 58px rgba(35, 42, 36, 0.1);
  aspect-ratio: 16 / 9;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.video-card:hover {
  border-color: rgba(77, 112, 81, 0.26);
  box-shadow: 0 28px 68px rgba(35, 42, 36, 0.13);
  transform: translateY(-2px);
}

.video-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.classes-callout-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(77, 112, 81, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 40px rgba(35, 42, 36, 0.06);
  padding: 32px 38px;
}

.classes-callout-card .split-text {
  max-width: 620px;
}

.classes-callout-card .split-text h2 {
  margin-bottom: 18px;
}

.classes-callout-card .split-text p:not(.eyebrow) {
  max-width: 590px;
}

.classes-callout-card .primary-button {
  width: fit-content;
  margin-top: 6px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(77, 112, 81, 0.14);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(35, 42, 36, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: rgba(77, 112, 81, 0.24);
  box-shadow: 0 18px 38px rgba(35, 42, 36, 0.07);
}

.faq-question {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 850;
  padding: 20px 58px 20px 24px;
  text-align: left;
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  color: var(--accent-dark);
  font-size: 26px;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  border-top: 1px solid rgba(77, 112, 81, 0.12);
  padding: 14px 24px 20px;
}

.faq-answer p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  text-align: justify;
}

.callout-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  border-radius: 20px;
  background: transparent;
  border: 0;
  padding: 0;
}

.callout-logo-card img {
  width: min(100%, 270px);
  height: auto;
  object-fit: contain;
}

.service-card,
.feature-card,
.contact-card {
  border: 1px solid rgba(77, 112, 81, 0.14);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(35, 42, 36, 0.06);
  padding: 30px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover,
.feature-card:hover,
.contact-card:hover,
.principle-card:hover,
.practice-card:hover,
.credential-card:hover {
  border-color: rgba(77, 112, 81, 0.22);
  box-shadow: 0 22px 48px rgba(35, 42, 36, 0.08);
  transform: translateY(-2px);
}

.service-card h2,
.feature-card h2,
.feature-card h3,
.contact-card h3 {
  margin-bottom: 16px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.detail-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  list-style: none;
}

.locations-stack .detail-list {
  font-size: 16px;
  line-height: 1.65;
}

.detail-list a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.detail-list .detail-contact-link,
.detail-list .mobile-phone-link {
  font-weight: inherit;
}

.detail-list .mobile-phone-link {
  color: inherit;
  cursor: text;
  pointer-events: none;
}

.detail-list a:hover {
  text-decoration: underline;
}

.map-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.map-button,
.map-copy-button,
.map-phone-button {
  width: 100%;
  min-height: 50px;
  padding: 14px 18px;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.map-button {
  grid-column: 1 / -1;
}

.map-phone-button {
  grid-column: auto;
}

.map-card {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(77, 112, 81, 0.14);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  display: block;
}

.contact-section {
  padding-top: 66px;
}

.contact-details {
  margin-top: 18px;
  border-top: 1px solid rgba(77, 112, 81, 0.14);
  padding-top: 18px;
}

.contact-details h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 34px);
}

.contact-section .contact-card {
  height: 520px;
  min-height: 0;
  padding: 0;
}

.contact-section .contact-card img {
  height: 100%;
  object-position: center 34%;
}

.contact-form {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 620px;
  margin-top: 8px;
}

.form-field {
  display: grid;
  gap: 9px;
}

.form-field label {
  color: var(--text);
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(77, 112, 81, 0.2);
  border-radius: 16px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: 15px 17px;
}

.form-field textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
  min-height: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.form-status:empty {
  min-height: 0;
}

.form-status.is-error {
  color: #8a3a2c;
}

.form-status.is-success {
  color: var(--accent-dark);
}

.site-footer {
  border-top: 1px solid rgba(77, 112, 81, 0.14);
  padding: 36px 0 46px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(77, 112, 81, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-title {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
}

.site-footer p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 25, 22, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  width: min(940px, 100%);
  max-height: min(82vh, 760px);
}

.lightbox-inner img {
  width: 100%;
  max-height: min(82vh, 760px);
  border-radius: 20px;
  background: var(--surface);
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
}

.lightbox-prev {
  left: -18px;
}

.lightbox-next {
  right: -18px;
}

.not-found-section {
  min-height: 58vh;
  display: grid;
  align-items: center;
}

.not-found-content {
  max-width: 720px;
}

.not-found-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .page-wrap {
    width: min(100%, calc(100% - 32px));
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-social {
    justify-content: flex-start;
  }

  .hero-grid,
  .section-split,
  .feature-grid,
  .value-grid,
  .service-grid,
  .location-grid,
  .credential-grid,
  .video-grid,
  .principle-grid,
  .article-layout,
  .practice-grid,
  .bio-grid {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .article-image-aside {
    aspect-ratio: 16 / 10;
  }

  .bio-card-wide,
  .schedule-card {
    grid-column: auto;
  }

  .training-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-section,
  .content-section {
    padding: 64px 0;
  }

  .classes-overview-section {
    padding-bottom: 42px;
  }

  .hero-services {
    padding-bottom: 38px;
  }

  .hero-services + .classes-overview-section {
    padding-top: 38px;
  }

  .classes-location-section,
  .classes-callout-section {
    padding-top: 42px;
  }

  .classes-location-section {
    padding-bottom: 30px;
  }

  .classes-callout-section {
    padding-top: 26px;
  }

  .classes-callout-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px;
  }

  .home-location-card {
    display: grid;
  }

  .footer-meta {
    justify-items: start;
  }

  .hero-image,
  .hero-services .hero-image {
    min-height: 340px;
    height: auto;
  }
}

@media (max-width: 620px) {
  .page-wrap {
    width: min(100%, calc(100% - 24px));
  }

  html {
    scroll-padding-top: 108px;
  }

  .navbar {
    align-items: center;
    gap: 8px;
    padding: 5px 0 8px;
  }

  .logo img {
    height: 60px;
  }

  .nav-links {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .nav-social {
    display: none;
  }

  .nav-links a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 36px;
    padding: 10px 4px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
  }

  .nav-links a:first-child {
    display: none;
  }

  .nav-links a:nth-child(3) {
    flex: 1.45 1 0;
  }


  h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  .hero-home h1 {
    font-size: 31px;
  }

  .hero-services .hero-copy h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-copy p,
  .split-text p,
  .service-card p,
  .feature-card p,
  .feature-list,
  .principle-card p,
  .practice-card p,
  .article-aside p,
  .article-body p {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-section,
  .content-section {
    padding: 38px 0;
  }

  .home-credentials-section,
  .home-proof-section,
  .home-practice-section,
  .principles-section,
  .classes-overview-section,
  .classes-location-section,
  .classes-callout-section,
  .video-section,
  .faq-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .classes-location-section {
    padding-bottom: 24px;
  }

  .classes-callout-section {
    padding-top: 18px;
  }

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

  .hero-actions,
  .primary-button,
  .secondary-button,
  .text-button,
  .inline-link,
  .map-button,
  .map-copy-button,
  .map-phone-button,
  .classes-callout-card .primary-button,
  .home-location-card .primary-button {
    width: 100%;
  }

  .map-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .service-card,
  .feature-card,
  .contact-card,
  .principle-card,
  .practice-card {
    min-height: 0;
    padding: 20px;
  }

  .credential-card,
  .home-location-card,
  .classes-callout-card {
    padding: 22px;
  }

  .credential-grid,
  .principle-grid,
  .practice-grid,
  .service-grid,
  .value-grid,
  .feature-grid {
    gap: 14px;
  }

  .credential-card p,
  .principle-card p,
  .practice-card p,
  .service-card p,
  .feature-card p {
    text-align: justify !important;
    hyphens: auto;
  }

  .hero-services .hero-copy p,
  .hero-services ~ .content-section .split-text p {
    text-align: left !important;
  }

  .section-header {
    margin-bottom: 22px;
  }

  .credential-card span {
    margin-bottom: 8px;
  }

  .credential-card p {
    margin-bottom: 0;
  }

  .detail-list {
    gap: 10px;
    font-size: 15px;
    line-height: 1.55;
  }

  .detail-list strong {
    white-space: nowrap;
  }

  .detail-list .mobile-phone-link {
    color: var(--accent-dark);
    cursor: pointer;
    pointer-events: auto;
  }

  .home-location-card {
    gap: 22px;
  }

  .training-gallery {
    grid-template-columns: 1fr;
  }

  .training-photo {
    grid-column: auto;
  }

  .hero-image,
  .image-card,
  .home-practice-image,
  .taichi-progress-image,
  .map-card,
  .map-card iframe {
    min-height: 280px;
    border-radius: 18px;
  }

  .article-image-aside {
    width: 100%;
    height: 280px;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 18px;
  }

  .hero-services .hero-image {
    height: 300px;
    min-height: 0;
    border-radius: 18px;
  }

  .hero-services .hero-image img {
    height: 100%;
    object-fit: cover;
    object-position: left center;
  }

  .map-card,
  .map-card iframe {
    min-height: 220px;
  }

  .locations-stack {
    gap: 22px;
  }

  .locations-stack .location-grid {
    gap: 14px;
  }

  .home-hero-image {
    min-height: 260px;
  }

  .home-hero-image img {
    object-position: center 32%;
  }

  .home-practice-image {
    height: 260px;
    min-height: 0;
  }

  .taichi-hero-art {
    min-height: 220px;
    border-radius: 0;
  }

  .taichi-hero-art img {
    object-fit: contain;
    object-position: right center;
  }

  .callout-logo-card {
    min-height: 160px;
    border-radius: 18px;
  }

  .contact-section .contact-card {
    height: 360px;
  }

  .contact-form {
    gap: 16px;
  }

  .contact-details {
    margin-top: 10px;
    padding-top: 14px;
  }

  .contact-details h2 {
    margin-bottom: 14px;
  }

  .faq-question {
    font-size: 16px;
    padding: 18px 48px 18px 20px;
  }

  .faq-answer {
    padding: 14px 20px 18px;
  }

  .faq-answer p,
  .form-status {
    font-size: 15px;
    text-align: left;
  }

  .lightbox-modal {
    padding: 18px;
  }

  .lightbox-close {
    top: -10px;
    right: -6px;
  }

  .lightbox-nav {
    top: auto;
    bottom: -58px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 52px);
  }

  .lightbox-next {
    right: calc(50% - 52px);
  }

}
