:root {
  --inner-max: min(1180px, calc(100vw - 44px));
  --inner-display-font: "RuoyuDisplay", "Songti SC", "STSong", serif;
  --inner-body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --inner-line: rgba(88, 70, 55, 0.16);
  --inner-soft: #fbf7f0;
  --inner-petal: #d99682;
  --inner-copper: #a7684f;
  --inner-radius: 22px;
}

.inner-page {
  overflow-x: clip;
  background: #f8f4ec;
  font-family: var(--inner-body-font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.inner-page button,
.inner-page input,
.inner-page select,
.inner-page textarea {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-shadow: none;
}

.inner-page .site-header {
  background: rgba(250, 247, 241, 0.94);
}

.inner-page .site-nav a,
.inner-page .nav-toggle {
  font-family: var(--inner-body-font);
  font-weight: 600;
  text-shadow: none;
}

.inner-page .site-nav [aria-current="page"] {
  color: var(--clay-deep);
  font-weight: 700;
}

.inner-page main {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.28));
}

.inner-eyebrow {
  margin: 0 0 13px;
  color: var(--inner-copper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.inner-page h1,
.inner-page h2 {
  font-family: var(--inner-display-font);
  color: #342d27;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: none;
}

.inner-page h1 {
  font-size: clamp(36px, 3vw, 44px);
  line-height: 1.3;
}

.inner-page h2 {
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1.2;
}

.private-hero h1 span {
  display: block;
  white-space: nowrap;
}

.inner-page h3 {
  font-family: var(--inner-body-font);
  color: #3e352e;
  font-weight: 600;
  line-height: 1.45;
  text-shadow: none;
}

.private-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  width: var(--inner-max);
  min-height: 650px;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0 clamp(52px, 7vw, 86px);
  align-items: center;
}

.private-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: clamp(34px, 5vw, 68px) clamp(0px, 2.5vw, 34px) clamp(34px, 5vw, 68px) 0;
}

.private-hero-text {
  max-width: 570px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}

.private-hero-visual {
  position: relative;
  min-height: 550px;
  margin: 0;
  overflow: hidden;
  border-radius: 180px 18px 18px 18px;
  box-shadow: 0 28px 80px rgba(72, 51, 36, 0.13);
}

.private-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(40, 31, 25, 0.48));
  pointer-events: none;
}

.private-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 550px;
  object-fit: cover;
  object-position: 68% center;
}

.private-hero-visual figcaption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 1;
  color: #fffaf3;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.private-hero-visual figcaption span {
  margin-right: 10px;
  opacity: 0.66;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.inner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.inner-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 23px;
  border: 1px solid rgba(92, 65, 50, 0.32);
  border-radius: 999px;
  font-size: 14px;
  font-family: var(--inner-body-font);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.inner-button:hover {
  transform: translateY(-2px);
}

.inner-button--primary {
  border-color: var(--inner-petal);
  background: var(--inner-petal);
  color: #fff;
}

.inner-button--ghost {
  background: rgba(255, 255, 255, 0.38);
  color: #4b4038;
}

.inner-section,
.path-section,
.final-cta {
  width: var(--inner-max);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
}

.inner-heading {
  max-width: 760px;
  margin: 0 auto clamp(38px, 5vw, 62px);
  text-align: center;
}

#directions-title,
#path-title {
  white-space: nowrap;
}

.inner-heading > p:last-child:not(.inner-eyebrow) {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--muted);
}

.fit-section {
  border-top: 1px solid var(--inner-line);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 16px;
}

.fit-grid article {
  grid-column: span 2;
  min-height: 250px;
  padding: 27px 24px;
  border: 1px solid var(--inner-line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.58);
}

.fit-grid article > span {
  display: block;
  margin-bottom: 45px;
  color: var(--inner-petal);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.fit-grid h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.fit-grid p {
  color: var(--muted);
  font-size: 14px;
}

.directions-section {
  border-top: 1px solid var(--inner-line);
}

.direction-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.direction-card {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--inner-line);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.64);
}

.direction-summary {
  display: flex;
  min-height: 140px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 23px 25px;
}

.direction-index {
  margin-bottom: 5px;
  color: var(--inner-copper) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.direction-summary h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.direction-summary p {
  color: var(--muted);
  font-size: 13px;
}

.direction-summary button {
  display: inline-flex;
  min-width: 72px;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--inner-line);
  border-radius: 999px;
  background: transparent;
  color: #5c4c42;
  cursor: pointer;
  font-family: var(--inner-body-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-shadow: none;
}

.direction-summary button b {
  font-size: 18px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.direction-summary button[aria-expanded="true"] b {
  transform: rotate(45deg);
}

.direction-detail {
  padding: 0 25px 25px;
}

.direction-detail dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding-top: 21px;
  border-top: 1px solid var(--inner-line);
}

.direction-detail dl > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.direction-detail dt {
  margin-bottom: 5px;
  color: #4c4037;
  font-size: 13px;
  font-weight: 700;
}

.direction-detail dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.path-section {
  width: 100%;
  max-width: none;
  padding-right: max(22px, calc((100vw - 1180px) / 2));
  padding-left: max(22px, calc((100vw - 1180px) / 2));
  background: rgba(234, 225, 213, 0.42);
}

.training-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.training-path::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 7%;
  left: 7%;
  border-top: 1px dashed rgba(169, 104, 79, 0.46);
}

.training-path li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 17px;
  text-align: center;
}

.training-path li > span {
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(169, 104, 79, 0.34);
  border-radius: 50%;
  background: #f6f0e7;
  color: var(--inner-copper);
  font-family: Georgia, serif;
  font-size: 12px;
}

.training-path strong {
  color: #4b4038;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.case-study-section {
  scroll-margin-top: 90px;
  padding: clamp(60px, 7vw, 88px) 0;
  border-top: 1px solid rgba(169, 104, 79, 0.12);
  border-bottom: 1px solid rgba(169, 104, 79, 0.12);
  background:
    radial-gradient(circle at 88% 10%, rgba(203, 174, 148, 0.18), transparent 28%),
    #eee7dc;
}

.case-study-shell {
  width: var(--inner-max);
  margin: 0 auto;
}

.case-study-heading {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.case-study-heading h2 {
  margin-top: 10px;
}

.case-study-heading > p:last-child {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.case-record-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.case-record-path::before {
  position: absolute;
  top: 22px;
  right: 7%;
  left: 7%;
  border-top: 1px dashed rgba(169, 104, 79, 0.44);
  content: "";
}

.case-record-path li {
  position: relative;
  min-width: 0;
  text-align: center;
}

.case-record-index {
  position: relative;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0 auto;
  place-items: center;
  border: 1px solid rgba(169, 104, 79, 0.4);
  border-radius: 50%;
  background: #eee7dc;
  color: var(--inner-copper);
  font-family: Georgia, serif;
  font-size: 11px;
}

.case-record-path a {
  display: block;
  margin-top: 18px;
  color: #4b4038;
  text-decoration: none;
}

.case-record-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
  border: 1px solid rgba(169, 104, 79, 0.2);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(86, 67, 54, 0.07);
}

.case-record-thumb::after {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.92);
  color: var(--inner-copper);
  content: "↗";
  font-size: 12px;
}

.case-record-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 300ms ease;
}

.case-record-path a:hover .case-record-thumb img {
  transform: scale(1.035);
}

.case-record-path strong,
.case-record-path small {
  display: block;
}

.case-record-path strong {
  font-size: 14px;
  font-weight: 600;
}

.case-record-path small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.case-study-note {
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.pricing-section {
  scroll-margin-top: 90px;
}

.pricing-root[data-state="loading"] {
  min-height: 260px;
}

.pricing-card--single {
  width: 100%;
  min-height: 340px;
  margin: 0;
  padding: 40px 28px 30px;
}

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

.pricing-card {
  position: relative;
  border: 1px solid var(--inner-line);
  border-radius: var(--inner-radius);
  background: rgba(255, 253, 249, 0.7);
}

.pricing-plans .pricing-card {
  min-height: 340px;
  padding: 40px 28px 30px;
}

.pricing-tag {
  position: absolute;
  top: 0;
  left: 50%;
  min-width: 110px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #b18a73;
  color: #fff;
  font-family: var(--inner-body-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: center;
  text-shadow: none;
  transform: translate(-50%, -50%);
}

.pricing-kicker {
  color: var(--inner-copper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pricing-sessions {
  margin-top: 9px;
  color: #4a4038;
  font-size: 16px;
  font-weight: 700;
}

.pricing-card h3 {
  margin: 5px 0 12px;
  font-size: 19px;
}

.pricing-price {
  margin: 12px 0;
  color: var(--inner-copper);
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
}

.pricing-price span {
  margin-right: 5px;
  font-size: 16px;
}

.pricing-validity {
  margin-bottom: 18px;
  color: #4d423a !important;
  font-weight: 600;
}

.pricing-card > p:last-child {
  color: var(--muted);
  font-size: 13px;
}

.pricing-note,
.pricing-error,
.pricing-loading {
  max-width: 1000px;
  margin: 18px auto 0;
  padding: 12px 18px;
  border: 1px solid var(--inner-line);
  border-radius: 10px;
  background: rgba(239, 232, 222, 0.5);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.boundary-section {
  display: grid;
  grid-template-columns: minmax(560px, 1.05fr) minmax(360px, 0.95fr);
  gap: 0;
  align-items: stretch;
  min-height: 390px;
  background: #eee7dc;
}

.boundary-copy {
  align-self: center;
  width: 100%;
  max-width: none;
  padding: clamp(54px, 6vw, 82px) clamp(34px, 5vw, 72px) clamp(54px, 6vw, 82px) max(22px, calc((100vw - 1180px) / 2));
}

.boundary-copy h2 {
  margin-bottom: 22px;
  white-space: nowrap;
}

.boundary-copy .inner-eyebrow {
  white-space: nowrap;
}

.boundary-copy > p:not(.inner-eyebrow) {
  max-width: 640px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.boundary-section > img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 48%;
  border-radius: 120px 0 0 0;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  align-items: end;
  gap: 48px;
}

.final-cta > div:first-child > p:last-child {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
}

.final-cta .inner-actions {
  justify-content: flex-end;
  margin: 0;
}

.inner-page :focus-visible {
  outline: 3px solid rgba(169, 104, 79, 0.44);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .inner-page .site-nav { gap: 14px; }
  .inner-page .site-nav a { letter-spacing: 0.06em; }
  .fit-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fit-grid article { grid-column: span 2; }
  .fit-grid article:nth-child(4), .fit-grid article:nth-child(5) { grid-column: span 3; }
  .boundary-section { grid-template-columns: 1fr; }
  .boundary-copy { max-width: 760px; }
}

@media (max-width: 900px) {
  .private-hero {
    grid-template-columns: 1fr 0.85fr;
    min-height: 0;
  }
  .private-hero-visual,
  .private-hero-visual img { min-height: 470px; }
  .direction-list { grid-template-columns: 1fr; }
  .training-path { grid-template-columns: repeat(3, 1fr); gap: 36px 0; }
  .training-path::before { display: none; }
  .pricing-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boundary-section { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; }
  .final-cta .inner-actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  :root { --inner-max: calc(100vw - 36px); }
  .inner-page h1 { font-size: clamp(34px, 10.2vw, 46px); }
  .inner-page h2 { font-size: clamp(30px, 9vw, 42px); }
  .private-hero h1 span,
  #directions-title,
  #path-title { white-space: normal; }
  .private-hero { grid-template-columns: 1fr; padding-top: 42px; }
  .private-hero-copy { padding: 28px 0 34px; }
  .private-hero-text { font-size: 16px; }
  .private-hero-visual { min-height: 390px; border-radius: 110px 14px 14px 14px; }
  .private-hero-visual img { min-height: 390px; object-position: 67% center; }
  .private-hero-visual figcaption { right: 16px; bottom: 15px; left: 18px; font-size: 12px; }
  .inner-actions { display: grid; grid-template-columns: 1fr; }
  .inner-button { width: 100%; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-grid article,
  .fit-grid article:nth-child(4),
  .fit-grid article:nth-child(5) { grid-column: auto; min-height: 0; }
  .fit-grid article > span { margin-bottom: 24px; }
  .direction-summary { align-items: flex-start; padding: 21px 18px; }
  .direction-summary button { min-width: 62px; }
  .direction-summary button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .direction-detail { padding: 0 18px 22px; }
  .direction-detail dl { grid-template-columns: 1fr; }
  .direction-detail dl > div:last-child:nth-child(odd) { grid-column: auto; }
  .path-section { padding-right: 24px; padding-left: 24px; }
  .training-path { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 390px; }
  .training-path::before { display: block; top: 24px; bottom: 24px; left: 23px; right: auto; border-top: 0; border-left: 1px dashed rgba(169, 104, 79, 0.46); }
  .training-path li { grid-template-columns: 48px 1fr; justify-items: start; align-items: center; gap: 18px; padding: 0 0 30px; text-align: left; }
  .training-path li:last-child { padding-bottom: 0; }
  .training-path strong br { display: none; }
  .case-study-section { padding: 52px 0; }
  .case-study-heading { max-width: 520px; }
  .case-record-path { grid-template-columns: 1fr; gap: 18px; max-width: 500px; margin: 34px auto 0; }
  .case-record-path::before { top: 23px; right: auto; bottom: 23px; left: 22px; border-top: 0; border-left: 1px dashed rgba(169, 104, 79, 0.44); }
  .case-record-path li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; text-align: left; }
  .case-record-index { margin: 0; }
  .case-record-path a { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: 14px; margin-top: 0; }
  .case-record-thumb { grid-row: 1 / 3; margin-bottom: 0; }
  .case-record-path strong { align-self: end; }
  .case-record-path small { align-self: start; margin-top: 3px; }
  .case-study-note { max-width: 500px; margin-top: 28px; text-align: left; }
  .pricing-card--single { min-height: 0; }
  .pricing-plans { grid-template-columns: 1fr; gap: 26px; }
  .pricing-plans .pricing-card { min-height: 0; }
  .boundary-section { grid-template-columns: 1fr; }
  .boundary-copy { padding: 66px 24px 48px; }
  .boundary-section > img { max-height: 360px; border-radius: 80px 0 0; }
  .final-cta { gap: 20px; }
}

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