:root {
  --navy: #005078;
  --navy-deep: #00476e;
  --teal: #20aaa7;
  --teal-dark: #178f8c;
  --gold: #ff9b00;
  --ink: #263f4d;
  --body: #476d7d;
  --muted: #667b86;
  --pale: #effafa;
  --warm: #f5fbfd;
  --line: #d2ecee;
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(0, 72, 113, .1);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #e3eff2;
  backdrop-filter: blur(12px);
}

.topbar {
  color: rgba(255, 255, 255, .92);
  background: var(--navy-deep);
  font-size: 13px;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
}

.topbar a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.nav-inner {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: 270px;
  display: grid;
  grid-template-columns: 44px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
}

.brand img {
  width: 44px;
  height: 44px;
  grid-row: 1 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.brand-name {
  align-self: end;
  color: var(--teal-dark);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.brand-tagline {
  align-self: start;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  color: #315464;
  font-size: 14px;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 25px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(90deg, #004f7c 0%, #3ca4a4 58%, #e5f7f5 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 54px;
  align-items: center;
  padding-block: 82px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow.light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d8fbff;
}

.eyebrow.light::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--gold);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: 58px;
  line-height: 1.18;
}

.hero-lead {
  margin: 22px 0 0;
  font-size: 20px;
}

.hero-text {
  max-width: 700px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .2s ease, background .2s ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
}

.button.outline {
  color: var(--teal-dark);
  border-color: var(--line);
  background: var(--white);
}

.hero-panel {
  min-height: 350px;
  padding: 34px;
  color: var(--navy-deep);
  background: rgba(225, 250, 248, .93);
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 4px;
  box-shadow: 0 22px 45px rgba(0, 71, 110, .2);
}

.hero-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.32;
}

.hero-panel>p {
  margin: 14px 0 0;
  color: #416c78;
  font-size: 14px;
}

.dot-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.dot-list li {
  position: relative;
  padding-left: 18px;
  color: #416b78;
}

.dot-list li::before {
  position: absolute;
  top: .8em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
}

.dot-list.compact {
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.section {
  padding: 84px 0;
  scroll-margin-top: 108px;
}

.tint-section,
.contact-section {
  background: var(--pale);
}

.section-heading {
  max-width: 890px;
  margin: 0 auto 40px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.space-copy h2,
.contact-info h2 {
  margin: 0;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.3;
}

.section-heading>p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.prose {
  color: var(--body);
}

.prose p {
  margin: 0 0 16px;
}

.prose strong {
  color: var(--navy);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 46px;
  align-items: start;
}

.about-copy h2 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.3;
}

.about-copy {
  font-size: 17px;
  line-height: 1.65;
}

.about-image {
  width: 100%;
  position: sticky;
  top: 132px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.business-intro {
  margin-bottom: 8px !important;
}

.numbered-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  margin-top: 28px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.number-badge,
.mini-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

.number-badge {
  width: 56px;
  height: 56px;
  border-radius: 7px;
  font-size: 20px;
}

.card-content h3 {
  margin: 0;
  color: var(--navy);
  font-size: 30px;
}

.card-content>p {
  color: var(--body);
}

.card-subtitle {
  margin: 2px 0 24px;
  color: #266d73 !important;
  font-size: 20px;
  font-weight: 800;
}

.two-column-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}

.soft-panel {
  padding: 24px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.soft-panel h4 {
  margin: 0;
  color: var(--navy);
  font-size: 23px;
}

.dot-list.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 16px;
}

.process-list,
.definition-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.process-list {
  display: grid;
  gap: 10px;
}

.process-list li {
  min-height: 72px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border-radius: 4px;
}

.process-list li>span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 4px;
  font-weight: 800;
}

.process-list p,
.definition-list li {
  color: var(--body);
  font-size: 14px;
}

.process-list p {
  margin: 2px 0 0;
}

.definition-list {
  display: grid;
  gap: 10px;
}

.method-block,
.consultant-block {
  margin-top: 50px;
}

.subsection-title {
  margin: 0 0 26px;
  color: var(--navy);
  font-size: 32px;
  text-align: center;
}

.subsection-title.left {
  text-align: left;
  font-size: 29px;
}

.five-grid,
.four-grid,
.three-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.mini-card,
.consultation-card,
.training-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.path-grid .mini-card {
  min-height: 380px;
}

.change-grid .mini-card {
  min-height: 290px;
}

.mini-number {
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 6px;
}

.mini-card h4,
.training-card h4 {
  margin: 16px 0 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.4;
}

.mini-card strong {
  display: block;
  color: #286d73;
  font-size: 15px;
}

.mini-card p,
.training-card p {
  color: var(--body);
  font-size: 14px;
}

.principle-banner {
  margin-top: 54px;
  padding: 42px 28px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, var(--navy-deep), #0b7893);
  border-radius: 6px;
}

.principle-banner h3 {
  margin: 0;
  font-size: 31px;
}

.principle-banner h4 {
  margin: 4px 0 22px;
  color: #d8fbff;
  font-size: 23px;
}

.principle-banner p {
  margin: 12px 0;
  color: rgba(255, 255, 255, .9);
}

.consultation-section {
  padding-top: 84px;
}

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

.consultation-card {
  min-height: 455px;
  box-shadow: var(--shadow);
}

.consultation-card h3 {
  margin: 18px 0 14px;
  color: var(--navy);
  font-size: 22px;
}

.consultation-card p {
  color: var(--body);
  font-size: 14px;
}

.consultation-wide {
  min-height: 345px;
  grid-column: 1 / -1;
}

.consultation-wide .wide-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.consultation-wide .wide-copy p+p {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.consultant-heading {
  max-width: 1000px;
}

.consultant-heading h2 {
  font-size: 42px;
}

.challenge-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.challenge-card span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--gold);
  border-radius: 50%;
  font-weight: 800;
}

.challenge-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.6;
}

.training-card {
  min-height: 300px;
  box-shadow: var(--shadow);
}

.pill {
  display: inline-block;
  padding: 5px 12px;
  color: var(--teal-dark);
  background: var(--pale);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.course-grid .training-card {
  min-height: 270px;
}

.audience-grid p {
  min-height: 100px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow);
}

.media-card-grid {
  align-items: stretch;
}

.media-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.media-card img {
  width: calc(100% - 28px);
  height: 190px;
  margin: 14px 14px 0;
  object-fit: cover;
  border-radius: 5px;
}

.welfare-grid .media-card img {
  height: 145px;
}

.media-card h3 {
  margin: 18px 18px 8px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.4;
}

.media-card p {
  margin: 0 18px 24px;
  color: #667b86;
  font-size: 16px;
  line-height: 1.75;
}

.feedback-section {
  padding-top: 0;
}

.feedback-grid .media-card {
  min-height: 500px;
}

.feedback-grid .media-card img {
  height: 190px;
}

.founder-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.founder-profile,
.founder-copy {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.founder-profile {
  overflow: hidden;
}

.founder-profile img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 16%;
}

.founder-profile div {
  padding: 24px;
}

.founder-profile h3,
.founder-strengths h3,
.venue-list h3,
.system-card h3,
.promise-grid h3 {
  margin: 0;
  color: var(--navy);
}

.founder-profile p,
.founder-strengths p,
.venue-list p,
.system-card p,
.promise-grid p {
  color: var(--body);
  font-size: 16px;
}

.founder-copy {
  padding: 30px;
}

.founder-belief {
  margin-top: 26px;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(100deg, var(--navy-deep), #3ca7a5);
  border-radius: 6px;
}

.founder-belief h3,
.founder-belief p {
  margin: 0;
}

.founder-belief p {
  margin-top: 6px;
  color: rgba(255, 255, 255, .9);
}

.founder-strengths {
  margin-top: 26px;
}

.founder-strengths article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.space-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 28px;
  align-items: stretch;
}

.space-image {
  width: 100%;
  height: 100%;
  min-height: 670px;
  object-fit: cover;
  border-radius: 6px;
}

.space-copy>p {
  color: var(--body);
}

.venue-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.venue-list article {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.venue-list p {
  margin: 4px 0 0;
}

.system-card {
  /* min-height: 612px; */
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 1px 2px rgba(13, 77, 110, 0.04);
}

.system-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13, 77, 110, 0.1);
}

.system-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: .2px;
}

.system-card p {
  margin: 10px 0 18px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--body);
}

.three-grid.system-grid {
  gap: 18px;
}

@media (min-width: 900px) {
  .three-grid.system-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.image-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  /* margin-top: auto; */
}

.image-mosaic img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 2px;
  cursor: zoom-in;
}

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

.mosaic-4 img {
  height: 140px;
}

.mosaic-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.mosaic-6 img {
  height: 92px;
}

.mosaic-9 img {
  height: 72px;
}

.product-mosaic img {
  aspect-ratio: 16 / 9;
  height: auto;
}

/* 让第 3 行两张卡与首行卡片高度感一致：拉高 mosaic-4/6 默认行高 */
@media (min-width: 900px) {
  .system-card {
    padding: 24px 22px 22px;
  }

  .mosaic-4 img {
    height: 132px;
  }
}

.promise-grid article {
  min-height: 252px;
  padding: 24px;
  border-left: 4px solid var(--teal);
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-info {
  padding: 28px;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
}

.contact-info h2 {
  color: var(--white);
}

.contact-info>p {
  color: rgba(255, 255, 255, .82);
}

.contact-info dl {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.contact-info dl div {
  padding: 13px 15px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
}

.contact-info dt {
  font-weight: 800;
}

.contact-info dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.map-link {
  display: block;
  overflow: hidden;
  border-radius: 5px;
}

.map-link img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
}

.appointment-form {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.full-field {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #d8e8eb;
  border-radius: 5px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(32, 170, 167, .12);
}

.form-grid [aria-invalid="true"] {
  border-color: #bf3d3d;
}

.form-grid textarea {
  min-height: 130px;
  resize: vertical;
}

.form-message {
  min-height: 28px;
  margin: 14px 0 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.form-message.error {
  color: #b32828;
}

.privacy-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  height: 7px;
  padding: 0;
  color: rgba(255, 255, 255, .82);
  background: var(--navy-deep);
  font-size: 13px;
  overflow: hidden;
}

/* Desktop dimensions mirror the customer-approved 1280px reference image. */
@media (min-width: 901px) {
  #brand {
    min-height: 1405px;
  }

  #services {
    min-height: 3355px;
  }

  #consulting {
    min-height: 1134px;
  }

  #consultant {
    min-height: 1545px;
    padding-block: 59px;
  }

  #consultant .consultant-block {
    margin-top: 30px;
  }

  #welfare,
  #feedback {
    min-height: 930px;
  }

  #founder {
    min-height: 1450px;
  }

  #space {
    min-height: 1149px;
  }

  /* #system {
    min-height: 2133px;
  } */

  .promise-section {
    min-height: 541px;
  }

  #contact {
    min-height: 1071px;
  }
}

.footer-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  text-align: center;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: none;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 72, 113, .25);
}

.floating-cta a {
  min-width: 82px;
  padding: 10px 13px;
  color: var(--white);
  text-align: center;
  background: var(--navy);
}

.floating-cta a+a {
  background: var(--teal);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 36, 52, .9);
}

.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 90vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 13px;
    font-size: 13px;
  }

  .brand {
    min-width: 225px;
  }

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

  .path-grid .mini-card,
  .change-grid .mini-card {
    min-height: 0;
  }

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

  .system-card {
    min-height: 540px;
  }
}

@media (max-width: 900px) {
  .site-footer {
    height: auto;
    padding: 24px 0;
    overflow: visible;
  }

  .topbar-inner span:last-child,
  .brand-tagline {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .brand {
    min-width: 0;
    grid-template-columns: 42px auto;
    grid-template-rows: auto;
  }

  .brand img {
    grid-row: auto;
  }

  .brand-name {
    align-self: center;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 108px;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 18px 26px;
    background: var(--white);
    box-shadow: -16px 20px 32px rgba(0, 72, 113, .16);
    white-space: normal;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid #e7f1f3;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-panel {
    max-width: 600px;
  }

  .about-grid,
  .founder-grid,
  .space-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    position: static;
    max-width: 610px;
    margin-inline: auto;
  }

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

  .consultation-wide {
    grid-column: 1 / -1;
  }

  .space-image {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .topbar {
    font-size: 12px;
  }

  .topbar-inner {
    min-height: 32px;
  }

  .nav-inner {
    min-height: 64px;
  }

  .main-nav {
    top: 96px;
  }

  .hero-grid {
    padding-block: 56px;
  }

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

  .hero-lead {
    font-size: 17px;
  }

  .hero-panel {
    padding: 22px;
  }

  .hero-panel h2 {
    font-size: 21px;
  }

  .section {
    padding: 60px 0;
    scroll-margin-top: 96px;
  }

  .section-heading h2,
  .about-copy h2,
  .space-copy h2,
  .contact-info h2,
  .consultant-heading h2 {
    font-size: 29px;
  }

  .numbered-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .number-badge {
    width: 50px;
    height: 50px;
  }

  .card-content h3,
  .subsection-title,
  .subsection-title.left {
    font-size: 25px;
  }

  .two-column-panels,
  .consultation-wide .wide-copy,
  .five-grid,
  .four-grid,
  .three-grid,
  .consultation-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .consultation-wide {
    grid-column: auto;
  }

  .consultation-wide .wide-copy p+p {
    padding: 0;
    border-left: 0;
  }

  .principle-banner {
    padding: 34px 18px;
  }

  .principle-banner h3 {
    font-size: 25px;
  }

  .principle-banner h4 {
    font-size: 20px;
  }

  .training-card,
  .consultation-card,
  .feedback-grid .media-card,
  .system-card {
    min-height: 0;
  }

  .media-card img,
  .welfare-grid .media-card img,
  .feedback-grid .media-card img {
    height: auto;
    max-height: 300px;
    aspect-ratio: 16 / 10;
  }

  .founder-profile img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .space-image {
    min-height: 0;
    height: auto;
  }

  .system-card {
    padding: 20px;
  }

  .image-mosaic img,
  .mosaic-4 img,
  .mosaic-9 img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .product-mosaic img {
    aspect-ratio: 16 / 9;
  }

  .contact-info,
  .appointment-form {
    padding: 22px;
  }

}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}