/*
Theme Name: キボウノオト相談室
Theme URI: https://lovely.lovepop.jp/grace/
Author: ITAS.U
Description: キボウノオト相談室のための、やわらかな水彩感と余白を大切にしたオリジナルテーマです。
Version: 2.1.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: kibounooto-soudanshitsu
*/

:root {
  --kb-ink: #4b3528;
  --kb-ink-soft: #705e50;
  --kb-sage: #7fa36b;
  --kb-sage-dark: #668b61;
  --kb-young-leaf: #91ad65;
  --kb-coral: #e28d72;
  --kb-coral-dark: #c9735c;
  --kb-ocher: #c58b51;
  --kb-ivory: #fbf8f0;
  --kb-cream: #f4f0e5;
  --kb-white: #fffefa;
  --kb-line: #e6dac6;
  --kb-blue: #7ea5b3;
  --kb-shadow: 0 12px 36px rgba(75, 53, 40, .08);
  --kb-content: 1120px;
  --kb-text: 760px;
  --kb-radius: 18px;
  --kb-font-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "BIZ UDPMincho", serif;
  --kb-font-sans: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kb-ink);
  background: var(--kb-white);
  font-family: var(--kb-font-serif);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .035em;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--kb-sage-dark); }

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 16px;
  color: #fff;
  background: var(--kb-ink);
}
.skip-link:focus { transform: none; }

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

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(230, 218, 198, .7);
  background: rgba(255, 254, 250, .96);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 32px;
}

.site-branding { flex: 0 0 auto; }
.site-title {
  display: block;
  color: var(--kb-ink);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .11em;
  text-decoration: none;
}
.site-description {
  margin: 5px 0 0;
  color: var(--kb-ink-soft);
  font-family: var(--kb-font-sans);
  font-size: 11px;
  letter-spacing: .08em;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  display: block;
  padding: 10px 0;
  font-family: var(--kb-font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--kb-sage-dark); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  border-radius: 50%;
  color: var(--kb-ink);
  background: var(--kb-ivory);
  cursor: pointer;
}
.menu-toggle__line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .25s, opacity .25s;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.kb-hero {
  position: relative;
  isolation: isolate;
  min-height: 590px;
  overflow: hidden;
  background: var(--kb-ivory);
}
.kb-hero::after {
  position: absolute;
  z-index: 1;
  right: -5%;
  bottom: -38px;
  left: -5%;
  height: 76px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--kb-white);
  content: "";
}
.kb-hero__image,
.kb-hero__figure {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.kb-hero__image,
.kb-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.kb-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(251,248,240,.98) 0%, rgba(251,248,240,.94) 34%, rgba(251,248,240,.45) 57%, rgba(251,248,240,.03) 78%);
  content: "";
}
.kb-hero__inner {
  display: grid;
  align-items: center;
  min-height: 590px;
  padding-block: 78px 104px;
}
.kb-hero__copy { max-width: 660px; }
.kb-hero__eyebrow {
  margin: 0 0 14px;
  color: var(--kb-sage-dark);
  font-family: var(--kb-font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
}
.kb-hero h1 {
  margin: 0 0 28px;
  font-size: clamp(30px, 3.3vw, 44px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .08em;
  white-space: nowrap;
}
.kb-hero__lead {
  margin: 0 0 30px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 2.05;
}

.kb-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--kb-coral);
  box-shadow: 0 8px 20px rgba(226,141,114,.22);
  font-family: var(--kb-font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.kb-button:hover,
.wp-block-button__link:hover {
  color: #fff;
  background: var(--kb-coral-dark);
  box-shadow: 0 10px 22px rgba(201,115,92,.27);
  transform: translateY(-2px);
}
.kb-button--green,
.kb-button--green .wp-block-button__link { background: var(--kb-sage); box-shadow: 0 8px 20px rgba(127,163,107,.2); }
.kb-button--green:hover,
.kb-button--green .wp-block-button__link:hover { background: var(--kb-sage-dark); }
.kb-button--outline,
.kb-button--outline .wp-block-button__link { border-color: var(--kb-sage); color: var(--kb-sage-dark); background: transparent; box-shadow: none; }
.kb-button--outline:hover,
.kb-button--outline .wp-block-button__link:hover { color: #fff; background: var(--kb-sage-dark); }

.kb-section { position: relative; padding: clamp(72px, 9vw, 118px) 0; }
.kb-section--soft { background: linear-gradient(135deg, #fbf8f0, #f7f5ec); }
.kb-section--white { background: var(--kb-white); }
.kb-section__heading {
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(25px, 3.3vw, 38px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .11em;
}
.kb-section h2.kb-section__heading,
.kb-contact-band h2 {
  padding: 0;
  border: 0;
}
.kb-section__subheading {
  max-width: 720px;
  margin: 0 auto 48px;
  color: var(--kb-ink-soft);
  text-align: center;
  font-family: var(--kb-font-sans);
  font-size: 14px;
  line-height: 1.9;
}
.kb-section__ornament {
  display: block;
  width: 52px;
  height: 2px;
  margin: 21px auto 42px;
  border: 0;
  background: var(--kb-ocher);
}

.kb-approach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.kb-approach {
  min-width: 0;
  text-align: center;
}
.kb-approach__icon {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin: 0 auto 20px;
}
.kb-approach__icon img { width: 92px; height: 92px; object-fit: contain; }
.kb-approach h3 {
  min-height: 3.5em;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}
.kb-approach p {
  margin: 0;
  color: var(--kb-ink-soft);
  font-family: var(--kb-font-sans);
  font-size: 13px;
  line-height: 1.9;
}
.kb-approach-note {
  margin: 50px auto 0;
  text-align: center;
  font-size: 17px;
  line-height: 2;
}

.kb-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.kb-value {
  min-height: 320px;
  padding: 30px 24px 24px;
  border: 1px solid rgba(145,173,101,.15);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(238,243,224,.78), rgba(255,254,250,.75));
  text-align: center;
}
.kb-value__number {
  display: block;
  margin-bottom: 10px;
  color: var(--kb-young-leaf);
  font-size: 38px;
  line-height: 1;
}
.kb-value h3 { margin: 0 0 14px; font-size: 18px; font-weight: 600; line-height: 1.75; }
.kb-value p { margin: 0; color: var(--kb-ink-soft); font-family: var(--kb-font-sans); font-size: 13px; }
.kb-value img { width: 66px; height: 66px; margin-top: 17px; object-fit: contain; }

.kb-consultations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 850px;
  margin: 0 auto;
  gap: 12px;
}
.kb-chip {
  margin: 0;
  padding: 10px 22px;
  border-radius: 999px;
  background: #f1efe3;
  font-family: var(--kb-font-sans);
  font-size: 14px;
}
.kb-consultations-note { margin: 30px 0 0; text-align: center; }

.kb-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.kb-approach-grid > .kb-approach,
.kb-values > .kb-value,
.kb-consultations > .kb-chip,
.kb-service-grid > .kb-service-card,
.kb-guide-grid > .kb-guide-card,
.kb-step-list > .kb-step,
.kb-contact-options > .kb-contact-option {
  margin-block: 0;
}
.kb-service-card {
  overflow: hidden;
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  background: #fff;
  box-shadow: var(--kb-shadow);
}
.kb-service-card__image,
.kb-service-card__image-block { width: 100%; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.kb-service-card__image,
.kb-service-card__image-block img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kb-service-card__body { padding: 27px 25px 30px; text-align: center; }
.kb-service-card h3 { margin: 0 0 8px; font-size: 21px; font-weight: 500; }
.kb-service-card p { min-height: 5.7em; margin: 0 0 21px; color: var(--kb-ink-soft); font-family: var(--kb-font-sans); font-size: 13px; }
.kb-service-card .kb-button,
.kb-service-card .wp-block-button__link { min-height: 42px; padding: 9px 22px; font-size: 13px; }

.kb-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.kb-guide-card {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  padding: 30px 27px;
  border: 1px solid var(--kb-line);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 9px 26px rgba(75,53,40,.05);
}
.kb-guide-card h3 { margin: 0 0 9px; font-size: 19px; font-weight: 500; }
.kb-guide-card p { max-width: 75%; margin: 0 0 20px; color: var(--kb-ink-soft); font-family: var(--kb-font-sans); font-size: 13px; }
.kb-guide-card .kb-guide-card__image { position: absolute; right: 13px; bottom: 4px; width: 96px; height: 96px; margin: 0; opacity: .9; }
.kb-guide-card .kb-guide-card__image img { width: 100%; height: 100%; object-fit: contain; }
.kb-guide-card .kb-button,
.kb-guide-card .wp-block-button__link { min-height: 40px; padding: 8px 19px; font-size: 12px; }

.kb-contact-band { padding: 72px 0; color: #fff; background: var(--kb-sage-dark); text-align: center; }
.kb-contact-band h2 { margin: 0 0 12px; font-size: clamp(24px, 3.1vw, 35px); font-weight: 500; }
.kb-contact-band p { margin: 0 0 25px; }
.kb-contact-band .kb-button,
.kb-contact-band .wp-block-button__link { color: var(--kb-ink); background: #fff; box-shadow: none; }
.kb-contact-band .kb-button:hover,
.kb-contact-band .wp-block-button__link:hover { color: var(--kb-ink); background: var(--kb-ivory); }

.page-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 14px 0 13px;
  background: linear-gradient(110deg, var(--kb-ivory), #f2f4e7);
  box-shadow: 0 9px 22px rgba(75,53,40,.08);
}
.page-hero::after {
  position: absolute;
  right: max(4vw, 28px);
  bottom: -38px;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(127,163,107,.18);
  border-radius: 50%;
  content: "";
}
.page-hero__eyebrow { margin: 0 0 3px; color: var(--kb-sage-dark); font-family: var(--kb-font-sans); font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.page-hero h1 { margin: 0; font-size: clamp(27px, 3vw, 34px); font-weight: 500; line-height: 1.3; letter-spacing: .09em; }

.entry-content {
  width: min(var(--kb-text), calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 105px;
}
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin: 2.6em 0 1em; font-size: clamp(23px, 3vw, 32px); font-weight: 500; line-height: 1.65; letter-spacing: .08em; }
.entry-content h3 { margin: 2.2em 0 .8em; font-size: 21px; font-weight: 600; }
.entry-content p, .entry-content li { font-family: var(--kb-font-sans); }
.entry-content p { margin: 0 0 1.55em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content hr { margin: 52px 0; border: 0; border-top: 1px solid var(--kb-line); }
.entry-content figure { margin: 38px 0; }
.entry-content img { border-radius: 10px; }
.entry-content h2 {
  padding: 0 0 .45em;
  border: 0;
  border-bottom: 1px solid var(--kb-line);
}
.page-intro-visual {
  width: min(900px, calc(100% - 48px));
  margin: 64px auto 0;
}
.page-intro-visual img {
  display: block;
  width: 100%;
  max-height: 460px;
  border-radius: var(--kb-radius);
  object-fit: cover;
  box-shadow: var(--kb-shadow);
}
.kb-detail-lead {
  margin: 0 0 42px;
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 2;
}
.kb-detail-panel,
.kb-note {
  margin: 38px 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--kb-line);
  border-radius: 14px;
  background: var(--kb-ivory);
}
.kb-note { border-left: 4px solid var(--kb-sage); }
.kb-step-list { display: grid; margin: 42px 0; gap: 22px; }
.kb-step {
  position: relative;
  padding: 31px 31px 31px 92px;
  border: 1px solid var(--kb-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(75,53,40,.05);
}
.kb-step__number {
  position: absolute;
  top: 29px;
  left: 27px;
  color: var(--kb-sage);
  font-size: 38px;
  line-height: 1;
}
.kb-step h2 { margin: 0 0 12px; padding: 0; border: 0; font-size: 23px; }
.kb-step p:last-child { margin-bottom: 0; }
.kb-benefit-list { display: grid; grid-template-columns: repeat(2, 1fr); margin: 30px 0; padding: 0; gap: 12px; list-style: none; }
.kb-benefit-list li { position: relative; padding: 17px 18px 17px 45px; border-radius: 10px; background: #f3f5e8; }
.kb-benefit-list li::before { position: absolute; top: 15px; left: 18px; color: var(--kb-sage-dark); content: "○"; }
.kb-profile-card { margin: 20px 0 42px; padding: clamp(28px, 5vw, 48px); border-radius: var(--kb-radius); background: linear-gradient(135deg, #f5f6e9, var(--kb-ivory)); }
.kb-profile-layout { align-items: center; margin: 0 0 52px; gap: clamp(28px, 5vw, 58px); }
.kb-profile-layout .kb-profile-card { margin: 0; }
.kb-profile-photo { margin: 0; }
.kb-profile-photo img { display: block; width: 100%; max-height: 520px; border-radius: var(--kb-radius); object-fit: cover; object-position: center top; box-shadow: var(--kb-shadow); }
.kb-profile-card__role { margin: 0; color: var(--kb-sage-dark); font-size: 14px; font-weight: 700; }
.kb-profile-card__name { margin: 8px 0 22px; font-size: clamp(28px, 4vw, 39px); font-weight: 500; letter-spacing: .12em; }
.kb-credential-list { columns: 2; column-gap: 42px; }
.kb-credential-list li { break-inside: avoid; margin-bottom: 7px; }
.kb-contact-options { display: grid; grid-template-columns: repeat(3, 1fr); margin: 38px 0; gap: 18px; }
.kb-contact-option { padding: 28px 24px; border: 1px solid var(--kb-line); border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 7px 22px rgba(75,53,40,.05); }
.kb-contact-option h2 { margin: 0 0 10px; padding: 0; border: 0; font-size: 21px; }
.kb-contact-option p { margin-bottom: 18px; }
.kb-contact-option__value { font-size: 18px; font-weight: 700; }
.kb-contact-option .wp-block-buttons { justify-content: center; }
.kb-price-table { margin: 28px 0; overflow-x: auto; }
.kb-price-table table { width: 100%; border-collapse: collapse; background: #fff; }
.kb-price-table th,
.kb-price-table td { padding: 18px 20px; border: 1px solid var(--kb-line); font-family: var(--kb-font-sans); text-align: left; }
.kb-price-table th { width: 54%; background: var(--kb-ivory); font-weight: 700; }
.entry-content .alignwide { width: min(980px, calc(100vw - 48px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }

/* Gutenberg wrappers should preserve the same spacing as the original templates. */
.kb-block-home > .wp-block-group { margin-block: 0; }
.kb-block-home .wp-block-group,
.entry-content .wp-block-group { box-sizing: border-box; }
.kb-block-home .kb-container > :first-child,
.kb-service-card__body > :first-child,
.kb-guide-card > :first-child,
.kb-contact-band .kb-container > :first-child,
.kb-detail-panel > :first-child,
.kb-note > :first-child,
.kb-profile-card > :first-child { margin-top: 0; }
.kb-block-home .kb-container > :last-child,
.kb-service-card__body > :last-child,
.kb-guide-card > :last-child,
.kb-contact-band .kb-container > :last-child,
.kb-detail-panel > :last-child,
.kb-note > :last-child,
.kb-profile-card > :last-child { margin-bottom: 0; }
.entry-content input:not([type="submit"]),
.entry-content textarea,
.entry-content select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--kb-line);
  border-radius: 8px;
  background: #fff;
}

.site-footer { padding: 56px 0 24px; color: #fff; background: #4f6652; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.site-footer__title { margin: 0 0 12px; font-size: 22px; font-weight: 500; letter-spacing: .1em; }
.site-footer p { margin: 0; font-family: var(--kb-font-sans); font-size: 13px; line-height: 2; }
.site-footer__nav ul { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; gap: 4px 24px; list-style: none; }
.site-footer__nav a { font-family: var(--kb-font-sans); font-size: 13px; text-decoration: none; }
.site-footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); font-family: var(--kb-font-sans); font-size: 11px; text-align: center; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 1040px) {
  .site-header__inner { min-height: 78px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(255,254,250,.99);
    box-shadow: 0 18px 30px rgba(75,53,40,.08);
    transition: max-height .3s ease;
  }
  .primary-nav.is-open { max-height: calc(100vh - 78px); overflow-y: auto; }
  .primary-nav ul { display: block; width: min(var(--kb-content), calc(100% - 48px)); margin: 0 auto; padding: 14px 0 22px; }
  .primary-nav a { padding: 12px 6px; border-bottom: 1px solid var(--kb-line); }
  .kb-approach-grid { grid-template-columns: repeat(3, 1fr); row-gap: 42px; }
  .kb-values { grid-template-columns: repeat(2, 1fr); }
  .kb-service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .kb-container { width: min(100% - 32px, var(--kb-content)); }
  .site-description { font-size: 9px; }
  .kb-hero { min-height: 700px; }
  .kb-hero__image { object-position: 64% center; }
  .kb-hero::before { background: linear-gradient(180deg, rgba(251,248,240,.98) 0%, rgba(251,248,240,.92) 47%, rgba(251,248,240,.22) 74%, rgba(251,248,240,.02) 100%); }
  .kb-hero__inner { align-items: start; min-height: 700px; padding-top: 68px; }
  .kb-hero__copy { max-width: 94%; }
  .kb-hero h1 { font-size: clamp(28px, 8vw, 38px); line-height: 1.65; }
  .kb-hero h1 { white-space: normal; }
  .kb-hero__lead { font-size: 14px; }
  .kb-section { padding-block: 70px; }
  .kb-section__subheading { margin-bottom: 36px; }
  .kb-approach-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .kb-approach__icon { width: 88px; height: 88px; }
  .kb-approach__icon img { width: 78px; height: 78px; }
  .kb-approach h3 { min-height: 0; font-size: 15px; }
  .kb-values, .kb-service-grid, .kb-guide-grid, .site-footer__grid { grid-template-columns: 1fr; }
  .kb-value { min-height: 0; }
  .kb-service-card p { min-height: 0; }
  .kb-guide-card { min-height: 190px; }
  .site-footer__grid { gap: 35px; }
  .site-footer__nav ul { grid-template-columns: 1fr; }
  .page-hero { padding: 13px 0 12px; }
  .page-hero::after { right: 16px; bottom: -31px; width: 64px; height: 64px; }
  .page-hero__eyebrow { margin-bottom: 2px; font-size: 9.5px; letter-spacing: .12em; }
  .page-hero h1 { font-size: clamp(23px, 6.4vw, 26px); line-height: 1.3; letter-spacing: .07em; }
  .entry-content { width: min(100% - 32px, var(--kb-text)); padding-block: 42px 80px; }
  .page-intro-visual { width: min(100% - 32px, 900px); margin-top: 0; }
  .kb-benefit-list, .kb-contact-options { grid-template-columns: 1fr; }
  .kb-credential-list { columns: 1; }
  .kb-step { padding: 78px 23px 25px; }
  .kb-step__number { top: 24px; left: 23px; }
}

@media (max-width: 430px) {
  .site-title { font-size: 19px; letter-spacing: .06em; }
  .kb-hero h1 { font-size: 27px; letter-spacing: .07em; }
  .page-hero { padding: 11px 0 10px; }
  .page-hero h1 { font-size: 24px; }
  .kb-approach-grid { grid-template-columns: 1fr; }
  .kb-approach { max-width: 280px; margin-inline: auto; }
  .kb-chip { width: 100%; text-align: center; }
}

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