/* ============================================================
   SECONDARY PAGES DESIGN SYSTEM (暖白极简奢华主题)
   ============================================================ */

:root {
  --bg-color:     #f5f4f0;      /* 极雅暖白背景 */
  --text-dark:    #1b1b19;      /* 深焦炭黑 */
  --text-muted:   #666562;      /* 灰褐辅助文字 */
  --accent:       #e84020;      /* 品牌橙红 */
  --white:        #ffffff;
  
  --border-light: rgba(27, 27, 25, 0.08); /* 极细边框 */
  --border-focus: rgba(232, 64, 32, 0.35);
  
  --font:  'Space Grotesk', sans-serif;
  --mono:  'DM Mono', monospace;
  --serif: 'Playfair Display', serif;
}

/* ============================================================
   RESET & BASICS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg-color);
  color: var(--text-dark);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

button, input, textarea {
  font-family: inherit;
}



/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
}

.text-60 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-22 {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.4;
}

.text-18 {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.75;
}

.italic-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
}

.sec-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sec-label::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background-color: var(--accent);
  border-radius: 50%;
}

/* ============================================================
   LAYOUT CONTAINER
   ============================================================ */
.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.py-150 { padding-top: 150px; padding-bottom: 150px; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.pb-150 { padding-bottom: 150px; }
.pt-150 { padding-top: 150px; }
.pt-200 { padding-top: 200px; }

/* Grid systems */
.default-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 40px;
  row-gap: 40px;
  align-items: start;
}

.spacer {
  grid-column: span 1;
}

.content-block {
  display: flex;
  flex-direction: column;
}
.gap-60  { gap: 60px; }
.gap-40  { gap: 40px; }
.gap-30  { gap: 30px; }
.gap-20  { gap: 20px; }
.gap-12  { gap: 12px; }
.gap-150 { gap: 150px; }

.max-w-400 { max-width: 400px; }
.max-w-500 { max-width: 500px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 48px;
  background: rgba(245, 244, 240, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27, 27, 25, 0.12);
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease, opacity 0.3s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

body.loader-active #nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav-col-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text-dark);
  font-family: var(--font);
  text-align: left;
  transition: color 0.25s ease;
}
.nav-meta-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-meta-sub {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.nav-meta-desc {
  font-family: var(--mono);
  font-size: 9.5px;
  color: rgba(27, 27, 25, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
  transition: color 0.25s ease;
}

.nav-logo-center {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  transition: color 0.25s ease;
}

.nav-col-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-pill-links {
  display: flex;
  gap: 22px;
}
.nav-link-item {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s;
  cursor: pointer;
}
.nav-contact-btn {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-contact-btn:hover {
  color: var(--text-dark);
}

.nav-hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px; height: 12px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
.nav-hamburger-btn span {
  display: block;
  width: 100%; height: 2px;
  background-color: var(--text-dark);
  transition: transform 0.3s, opacity 0.3s;
}

/* Fullscreen Overlay Menu */
.modal-menu-wrapper {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(245, 244, 240, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 40px 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.modal-menu-wrapper.is-active {
  opacity: 1;
  pointer-events: auto;
}

.menu-header-brand {
  position: absolute;
  top: 34px; left: 50px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
}
.menu-header-brand span { color: var(--accent); }

.menu-close-btn {
  position: absolute;
  top: 34px; right: 50px;
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  cursor: pointer;
}

.menu-grid {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-links-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  list-style: none;
}

.menu-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.menu-link .menu-dot {
  width: 12px; height: 12px;
  background-color: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s, transform 0.3s;
}
.menu-link:hover {
  color: var(--text-dark);
}
.menu-link:hover .menu-dot {
  opacity: 1;
  transform: scale(1);
}

.menu-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
}

.menu-motto {
  font-style: italic;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text-muted);
}

.menu-socials {
  display: flex;
  gap: 24px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT FORM & ELEMENTS
   ============================================================ */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-form-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-group {
  position: relative;
}

.text-field {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  font-size: 16px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s;
}
.text-field::placeholder {
  color: #aaa;
  opacity: 1;
}
.text-field:focus {
  border-bottom-color: var(--accent);
}

textarea.text-field {
  min-height: 120px;
  resize: vertical;
}

.cta-btn {
  align-self: flex-start;
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 14px rgba(232, 64, 32, 0.15);
}
.cta-btn:hover {
  background-color: #ff5734;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 64, 32, 0.25);
}

.statement-visual {
  width: 100%;
  aspect-ratio: 3 / 4;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}
.statement-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) brightness(0.94);
  transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.statement-visual:hover img {
  filter: contrast(1) brightness(1);
  transform: scale(1.02);
}

/* WeChat contact popup & code block */
.wechat-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: box-shadow 0.3s;
}
.wechat-box:hover {
  box-shadow: 0 10px 30px rgba(27, 27, 25, 0.04);
}
.wechat-qr-mini {
  width: 120px; height: 120px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-light);
}
.wechat-text-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ============================================================
   COACHING / SERVICE GRID & ACCORDION
   ============================================================ */
.service-list-block {
  display: flex;
  flex-direction: column;
  margin-top: 60px;
}

.service-item-card {
  display: grid;
  grid-template-columns: 80px 1.5fr 2.5fr;
  padding: 56px 0;
  border-top: 1px solid var(--border-light);
  gap: 40px;
  align-items: start;
}
.service-item-card:last-child {
  border-bottom: 1px solid var(--border-light);
}

.service-idx {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}

.service-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
}

.service-desc-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tag-chip {
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid var(--border-light);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(27, 27, 25, 0.02);
}

/* ============================================================
   ABOUT TIMELINE & STORY
   ============================================================ */
.about-story-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.about-story-chapters {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.story-chapter-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.story-chapter-idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.story-chapter-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}
.story-chapter-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}
.story-chapter-text p {
  margin-bottom: 16px;
}

.about-sticky-visual {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-sticky-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: contrast(1.1);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

/* Values large cards */
.values-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.value-card-item {
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.value-card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}
.value-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
  background: var(--text-dark);
  color: var(--white);
  padding: 100px 40px 60px;
}
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-section a:hover {
  color: var(--white);
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.footer-consultation-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 550px;
}
.footer-consultation-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
}
.footer-cta-group {
  display: flex;
  gap: 16px;
}
.footer-section .footer-cta-light {
  padding: 14px 32px;
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
  border-radius: 999px;
  font-size: 14px;
}
.footer-section .footer-cta-light:hover {
  background: var(--accent);
  color: var(--white);
}
.footer-cta-outlined {
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 14px;
}
.footer-cta-outlined:hover {
  border-color: var(--white);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-col-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--mono);
  text-transform: uppercase;
}
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  font-size: 16px;
}

.footer-signature {
  font-family: var(--serif);
  font-size: clamp(3rem, 10vw, 7.5rem);
  text-align: center;
  opacity: 0.15;
  margin-top: 60px;
  pointer-events: none;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  margin-top: 40px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   GSAP & SPLITTEXT ANIMATIONS
   ============================================================ */
[animate="word"] {
  opacity: 1;
}
[animate="word"] .word {
  display: inline-block;
  opacity: 0.25;
  transition: opacity 0.15s ease-out;
}
[animate="word"] .word.active {
  opacity: 1;
}

[animate="line"] {
  overflow: hidden;
}
[animate="line"] .line-wrap {
  display: block;
  overflow: hidden;
}
[animate="line"] .line-content {
  display: block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}
[animate="line"] .line-content.active {
  transform: translateY(0%);
  opacity: 1;
}

/* General Fade elements */
.fade-up-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up-element.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Success Toast popup for Form */
.toast-popup {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: var(--text-dark);
  color: var(--white);
  padding: 16px 28px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  z-index: 100000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}
.toast-popup.show {
  transform: translateY(0);
  opacity: 1;
}

/* Horizontal Scroll Gallery Section */
.gallery-scroll-section {
  padding-bottom: 100px;
  overflow: hidden;
  position: relative;
}
.gallery-scroll-title-wrap {
  margin-bottom: 48px;
}
.gallery-scroll-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
}
.gallery-scroll-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}
.gallery-scroll-track:hover {
  animation-play-state: paused;
}
.gallery-scroll-group {
  display: flex;
  gap: 24px;
  padding-right: 24px; /* Matches the gap between items */
}
.gallery-card {
  width: min(400px, 80vw);
  height: 500px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
}
.gallery-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.95);
}
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 27, 25, 0.75) 0%, rgba(27, 27, 25, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: var(--white);
  pointer-events: none;
}
.gallery-card-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}
.gallery-card-action {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 768px) {
  .gallery-card {
    width: 280px;
    height: 380px;
  }
}

#nav.nav-dark-theme {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#nav.nav-dark-theme .nav-col-left {
  color: var(--white);
}
#nav.nav-dark-theme .nav-meta-sub {
  color: rgba(255, 255, 255, 0.7);
}
#nav.nav-dark-theme .nav-meta-desc {
  color: rgba(255, 255, 255, 0.4);
}
#nav.nav-dark-theme .nav-logo-center {
  color: var(--white);
}
#nav.nav-dark-theme .nav-link-item {
  color: rgba(255, 255, 255, 0.7);
}
#nav.nav-dark-theme .nav-link-item:hover,
#nav.nav-dark-theme .nav-link-item.active {
  color: var(--white);
}
#nav.nav-dark-theme .nav-hamburger-btn span {
  background-color: var(--white) !important;
}
#nav.nav-dark-theme .nav-contact-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
}
#nav.nav-dark-theme .nav-contact-btn:hover {
  color: var(--white);
}

/* ============================================================
   PAGE PRELOADER & TRANSITION LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  /* Local London image with enough contrast for the loader typography. */
  background-image:
    linear-gradient(rgba(8, 8, 8, 0.42), rgba(8, 8, 8, 0.66)),
    url("./assets/loader-london-taxi.png");
  background-color: #111110;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0%);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.loader::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(10, 10, 10, 0.14);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.loader-relative-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 48px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Header layout inside loader */
.loader-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  align-items: center;
  column-gap: 32px;
  width: 100%;
}
.loader-nav .nav-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.loader-nav .nav-meta-title {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
}
.loader-nav .nav-meta-sub {
  font-family: var(--font);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
.loader-nav .nav-logo-center {
  position: static;
  left: auto;
  transform: none;
  justify-self: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
}
.loader-nav .nav-col-right {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-family: var(--font);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  min-width: 0;
  white-space: nowrap;
}

.loader-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.loader-number {
  color: var(--white);
  font-family: var(--font);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.loader-percent-symbol {
  color: var(--white);
  font-family: var(--font);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  margin-left: 2px;
}

.loader-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.loader-desc-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.loader-desc-title {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--white);
}
.loader-desc-subtitle {
  font-family: var(--font);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
}

.loader-status-text {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
}

/* Screen slide-up out effect */
.loader.loader-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

/* ============================================================
   COACHING PAGE SPECIFIC SERVICE CARD ILLUSTRATIONS
   ============================================================ */
.coaching-page-services .service-item-card {
  grid-template-columns: 80px 1.2fr 2fr 1fr;
  align-items: center;
}
.coaching-page-services .service-img-wrapper {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.coaching-page-services .service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.98);
  transition: filter 0.4s ease, transform 0.4s ease;
  will-change: filter, transform;
}
.coaching-page-services .service-card-img-illustration {
  object-fit: contain;
  background: #f5f3ef;
}
.coaching-page-services .service-item-card:hover .service-card-img {
  filter: contrast(1) brightness(1);
  transform: scale(1.03);
}

@media (max-width: 991px) {
  .coaching-page-services .service-item-card {
    grid-template-columns: 40px 1fr;
    gap: 20px;
  }
  .coaching-page-services .service-img-wrapper {
    grid-column: span 2;
    aspect-ratio: 1.5 / 1;
    margin-top: 10px;
    max-width: 100%;
  }
}

/* Mobile adjustments for loader */
@media (max-width: 767px) {
  .loader-nav .nav-col-left,
  .loader-nav .nav-col-right,
  .loader-bottom-row .loader-desc-block {
    display: none;
  }
  .loader-nav {
    display: flex;
    justify-content: center;
  }
  .loader-bottom-row {
    justify-content: center;
  }
  .loader-relative-wrapper {
    padding: 30px 24px;
  }
}

/* ============================================================
   RESPONSIVENESS (MOBILE / TABLET PATCH)
   ============================================================ */
@media (max-width: 991px) {
  .default-grid {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  .spacer { display: none; }
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-story-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-sticky-visual {
    position: relative;
    top: 0;
  }
  .values-grid-3col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-item-card {
    grid-template-columns: 40px 1fr;
    gap: 20px;
  }
  .service-desc-wrapper {
    grid-column: span 2;
  }
  .footer-top-row {
    flex-direction: column;
    gap: 50px;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
  }
  #nav {
    width: 100%;
    padding: 14px 24px;
    top: 0; left: 0;
    transform: none;
  }
  .nav-col-left { display: none; }
  .nav-pill-links { display: none; }
  .nav-logo-center {
    position: static;
    transform: none;
    left: auto;
  }
}

@media (max-width: 478px) {
  .site-container {
    padding: 0 20px;
  }
  .py-100 { padding-top: 60px; padding-bottom: 60px; }
  .pt-150 { padding-top: 100px; }
  .py-150 { padding-top: 100px; padding-bottom: 100px; }
  
  .wechat-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .footer-cta-light, .footer-cta-outlined {
    text-align: center;
    width: 100%;
  }
  
  .modal-menu-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
  .menu-header-brand { left: 20px; }
  .menu-close-btn { right: 20px; }
}
