/* Shared finishing styles. The existing typefaces and page palettes are retained. */
html { scroll-padding-top: 88px; }
body { background: #fff9f4; }
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #1b718a !important;
  outline-offset: 4px;
}
:where(a.t-btn, .t-btnflex, button, .migration-action) { text-decoration: none !important; }
h1.tn-atom { margin: 0; }
h2.t-section__title, h1.t-section__title { margin-top: 0; }
.t-section__title { text-wrap: balance; }
.t-popup .t-input, .t708__popup .t-input { font-size: max(16px, 1em); }
.t-slds__arrow_wrapper { min-width: 44px; min-height: 44px; }
.t-slds__bullet_wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.t-slds__bullet { padding: 9px !important; }
.t1148__arrow { min-width: 32px; min-height: 32px; }

/* Main page: keep text readable against the portrait at every breakpoint. */
#rec4791510301 .expert-hero { color: #30231e; }
#rec4791510301 .expert-hero__content { text-shadow: none; }
#rec4791510301 .expert-hero__name { border: 0; padding: 0; }
#rec4791510301 .expert-hero__profession { margin-top: 24px; }
#rec4791510301 .expert-hero__slogan { max-width: 32ch; }
@media (max-width: 640px) {
  #rec4791510301 .expert-hero { height: clamp(650px, 175vw, 760px); min-height: 650px; }
  #rec4791510301 .expert-hero::after {
    background: linear-gradient(180deg, transparent 42%, rgba(29,21,17,.25) 58%, rgba(29,21,17,.88) 83%, #1d1511 100%);
  }
  #rec4791510301 .expert-hero__container { padding: 0 24px 40px; }
  #rec4791510301 .expert-hero__name { color: #fff; font-size: clamp(30px, 8.5vw, 42px); line-height: 1.1; }
  #rec4791510301 .expert-hero__profession { color: #fff; margin-top: 18px; font-size: 24px; }
  #rec4791510301 .expert-hero__slogan { color: #f7e1ca; margin-top: 22px; font-size: 18px; line-height: 1.5; text-shadow: none; }
}

/* Seven keys: use document flow instead of fixed positions for long copy. */
.migration-audience { background: #fff4e9; color: #30271f; border-block: 1px solid #e6d2bd; }
.migration-audience__inner { display: grid; grid-template-columns: 40% minmax(0, 60%); }
.migration-audience__intro { min-width: 0; display: flex; flex-direction: column; padding: 36px clamp(24px, 2.6vw, 48px); }
.migration-audience h2, .migration-changes h2 { margin: 0 0 32px; font: 500 clamp(30px, 3vw, 44px)/1.08 'Playfair Display', Georgia, serif; text-wrap: balance; }
.migration-audience__intro h2 { font: 400 clamp(28px, 2.5vw, 38px)/1.2 Arial, sans-serif; }
.migration-audience ul { padding: 0; margin: 0 0 32px; list-style: none; }
.migration-audience li { margin: 0 0 16px; font: 400 16px/1.6 Arial, sans-serif; }
.migration-audience li::before { content: '− '; }
.migration-audience__intro .migration-action { width: min(100%, 400px); min-height: 60px; margin-top: auto; align-self: center; background: #fff9f4; font-size: 18px; }
.migration-action { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 52px; height: auto; padding: 14px 28px; border: 1px solid #473225; border-radius: 30px; color: #30271f !important; background: transparent; font: 500 16px/1.3 Arial, sans-serif; transition: background-color .2s; }
.migration-action:hover { background: #f0dfcf; }
.migration-audience__stories { min-width: 0; min-height: 700px; background: #dac3a3 var(--audience-flower) center/cover no-repeat; }
.migration-audience__flower { display: none; }
.migration-audience__results { box-sizing: border-box; width: 52%; margin-left: auto; padding: 32px 24px 28px 0; }
.migration-audience__results h2 { margin-bottom: 24px; font-size: clamp(30px, 2.8vw, 44px); }
.migration-audience__note { margin: 0 0 28px; color: #7b542c; font: 400 18px/1.5 Arial, sans-serif; }
#rec2752209201 .student-stories { width: 100%; height: 420px; overflow-y: auto; overflow-x: hidden; padding: 0 4px 10px 0; box-sizing: border-box; scroll-behavior: smooth; scroll-snap-type: y proximity; scrollbar-width: none; overscroll-behavior-y: contain; }
#rec2752209201 .student-stories::-webkit-scrollbar { display: none; }
#rec2752209201 .student-stories:focus-visible { outline: 3px solid #1b718a; outline-offset: 4px; }
#rec2752209201 .student-story { width: 100%; min-height: 118px; margin-bottom: 14px; padding: 18px 30px 20px; box-sizing: border-box; background: rgba(255,249,242,.94); border-radius: 30px; scroll-snap-align: start; }
#rec2752209201 .student-story__meta { margin-bottom: 12px; font: 400 12px/1.2 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #995d36; }
#rec2752209201 .student-story__text { font: 400 16px/1.3 'Playfair Display', Georgia, serif; color: #29231f; }
.migration-changes { padding: 0 0 0 32px; background: linear-gradient(rgba(255,242,225,.12), rgba(255,242,225,.18)), var(--changes-photo) center/cover; color: #211d1b; }
.migration-changes__inner { min-height: clamp(680px, 50vw, 820px); margin: 0; display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 2.2fr); gap: clamp(32px, 4vw, 64px); align-items: stretch; }
.migration-changes h2 { max-width: 13ch; margin: 0; padding-block: 40px; align-self: center; line-height: 1.12; }
.migration-changes__table { display: grid; gap: 0; min-width: 0; }
.migration-change {
  position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1.25fr);
  align-items: center; gap: 20px; padding: 18px 26px; min-height: 98px;
  border: 1px solid rgba(255,255,255,.34); border-radius: 0;
  background: linear-gradient(125deg, rgba(255,255,255,.055), rgba(255,255,255,.008) 55%, rgba(255,255,255,.028)), rgba(255,246,235,.025);
  -webkit-backdrop-filter: blur(8px) saturate(180%) contrast(105%);
  backdrop-filter: blur(8px) saturate(180%) contrast(105%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 3px 3px -3px rgba(255,255,255,.95), inset 0 -1px 0 rgba(35,30,25,.23), inset 1px 0 0 rgba(255,255,255,.3);
}
.migration-change:last-child { min-height: 88px; }
.migration-change::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, rgba(255,255,255,.13), transparent 13%, transparent 79%, rgba(255,255,255,.045)); }
.migration-change > * { position: relative; z-index: 1; }
.migration-change p { margin: 0; font: 400 16px/1.6 Arial, sans-serif; color: #121619; text-shadow: 0 1px 1px rgba(255,255,255,.18); }
.migration-change p:first-child { color: #171b1f; }
.migration-change__arrow { font: 400 28px/1 Arial, sans-serif; color: #171b1f; text-align: center; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .migration-change { background: rgba(255,249,244,.88); }
}
.migration-author { padding: clamp(56px, 6vw, 96px) 24px; color: #30271f; background: #fff9f4; }
.migration-author__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
.migration-author h2 { margin: 0 0 32px; font: 500 clamp(30px, 3vw, 44px)/1.08 'Playfair Display', Georgia, serif; }
.migration-author p { margin: 0; font: 400 17px/1.7 Arial, sans-serif; }
.migration-author .migration-author__lead { margin-bottom: 28px; font: 400 23px/1.5 'Playfair Display', Georgia, serif; }
.migration-author figure { margin: 0; }
.migration-author img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: cover; }
.migration-course { padding: clamp(56px, 6vw, 96px) 24px; color: #30271f; background: #fff9f4; }
.migration-course__inner { max-width: 1200px; margin: 0 auto; }
.migration-course h2 { margin: 0 0 40px; font: 500 clamp(30px, 3vw, 44px)/1.08 'Playfair Display', Georgia, serif; text-wrap: balance; }
.migration-course__grid { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.migration-course li { border: 1px solid #e6d2bd; background: #fff4e9; padding: 28px 24px; }
.migration-course h3 { margin: 0 0 18px; font: 400 23px/1.2 'Playfair Display', Georgia, serif; }
.migration-course p { margin: 0; font: 400 16px/1.65 Arial, sans-serif; }
.key-card-r__text { font-size: 16px !important; line-height: 1.6 !important; }
.key-card-r__content { scrollbar-width: thin; scrollbar-color: #cbbbae transparent; }
.key-card-r__content::-webkit-scrollbar { display: block; width: 4px; }
.key-card-r:nth-child(1) { --accent: #8b2fa6 !important; }
.key-card-r:nth-child(3) { --accent: #00768a !important; }
.key-card-r:nth-child(4) { --accent: #24763f !important; }
.key-card-r:nth-child(5) { --accent: #8a6800 !important; }
.key-card-r:nth-child(6) { --accent: #b75016 !important; }
.key-card-r:nth-child(7) { --accent: #c7293c !important; }
#rec2830425401 .t659__title { font-size: 14px !important; }
#rec2832479701 .t-card__title { color: #945032 !important; }
#rec2832479701 .t-card__descr, #rec2832479701 .t-card__descr li { font-size: 16px !important; line-height: 1.6 !important; }
#rec2832479701 .t-btnflex__text { font-size: 16px !important; }
#rec2832479701 .t-section__title { margin-bottom: 64px !important; }

/* Designer: a single responsive composition prevents name/profession overlap. */
#rec3607995701.designer-hero { position: relative; min-height: clamp(620px, 54vw, 820px); background: #d7e1e6 var(--designer-photo) center/cover no-repeat; color: #252525; }
#rec3607995701 .designer-hero__inner { box-sizing: border-box; max-width: 1600px; margin: 0 auto; min-height: inherit; display: flex; align-items: center; justify-content: flex-end; padding: 64px 48px; }
#rec3607995701 .designer-hero__content { width: 52%; text-align: center; position: relative; }
#rec3607995701 .designer-hero__mark { display: block; width: clamp(100px, 11vw, 160px); height: auto; margin: 0 auto 32px; }
#rec3607995701.designer-hero h1 { margin: 0 0 20px; font: 500 clamp(42px, 4.5vw, 70px)/1.06 'Playfair Display', Georgia, serif; text-wrap: balance; }
#rec3607995701 .designer-hero__profession { margin: 0; font: 400 clamp(26px, 2.4vw, 36px)/1.2 'Playfair Display', Georgia, serif; }
#rec3607995701 .designer-hero__slogan { margin: 40px 0 0; color: #b62026; font: 400 clamp(24px, 2.4vw, 36px)/1.2 'Playfair Display', Georgia, serif; }
#rec3681051901 .t-descr { font-size: 16px !important; line-height: 1.6 !important; }
#rec3117969601 .t480__uptitle { font-size: 16px !important; line-height: 1.6 !important; }
#rec3680881801 .t-btnflex, #rec3681051901 .t-btnflex, #rec3712668301 .t-btnflex { background-color: #cd1724 !important; }
#rec3680881801 .t-btnflex__text, #rec3681051901 .t-btnflex__text, #rec3712668301 .t-btnflex__text { font-size: 16px !important; }
#rec3712668301 .t-input-group_cb .t-checkbox__control { font-size: 14px !important; line-height: 1.5 !important; }
#rec4764839401 .designer-hero__button { background-color: #cd1724 !important; font-size: 16px !important; }
#rec4424401001 .km-hero__direction { font-size: 14px !important; }
#rec3164453301 .km-hero__direction { font-size: 14px !important; }
#rec3164453301 .km-hero__button { font-size: 16px !important; }
#rec3164453301 .km-hero__eyebrow { font-size: 12px !important; }
#rec3165618501 .km-mission__label { font-size: 14px !important; }
#rec3179064901 .t-card__uptitle { font-size: 14px !important; }
#rec3179064901 .t-btnflex__text { font-size: 16px !important; }
:is(#rec3165618501, #rec3173520301, #rec3173840201, #rec3173840901) :is(.km-accordion__preorder, .km-levels__preorder, .km-results__preorder, .km-audience__preorder) { font-size: 16px !important; min-height: 44px; }
#rec3173520301 .km-levels, #rec3173840901 .km-audience {
  --rainbow-gradient: linear-gradient(90deg, #b92230, #ac4b0d, #826300, #26713b, #006c83, #2852a8, #7139ad);
}
:is(#rec3165618501, #rec3173520301, #rec3173840201, #rec3173840901) :is(.km-levels__title, .km-results__main-title, .km-audience__title) { font-size: clamp(30px, 2.8vw, 40px) !important; line-height: 1.15 !important; }
@media (max-width: 959px) {
  .migration-changes__inner { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .migration-changes h2 { max-width: 25ch; }
  .migration-audience__inner { grid-template-columns: 1fr; }
  .migration-audience__intro { padding: 40px 32px; }
  .migration-audience__intro .migration-action { margin-top: 8px; }
  .migration-course__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #rec3607995701.designer-hero { min-height: 720px; background-position: left center; }
  #rec3607995701.designer-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.86) 100%); }
  #rec3607995701 .designer-hero__inner { align-items: flex-end; justify-content: flex-start; padding: 48px 32px; }
  #rec3607995701 .designer-hero__content { width: 100%; max-width: 620px; text-align: left; color: #fff; }
  #rec3607995701 .designer-hero__mark { display: none; }
  #rec3607995701.designer-hero h1 { font-size: clamp(38px, 6vw, 56px); }
  #rec3607995701 .designer-hero__profession { font-size: 28px; }
  #rec3607995701 .designer-hero__slogan { margin-top: 28px; color: #fff; font-size: 28px; }
}
@media (max-width: 639px) {
  .migration-course__grid { grid-template-columns: 1fr; gap: 16px; }
  .migration-course { padding-left: 20px; padding-right: 20px; }
  .migration-audience__inner { grid-template-columns: 1fr; gap: 0; }
  .migration-audience__intro { padding: 36px 20px; }
  .migration-audience__stories { min-height: 0; background: #fff4e9; }
  .migration-audience__flower { display: block; aspect-ratio: 1.4; background: #dac3a3 var(--audience-flower) center/cover no-repeat; }
  .migration-audience__results { width: 100%; margin: 0; padding: 28px 20px 32px; }
  .migration-audience__results h2 { font-size: 32px; }
  .migration-audience__note { font-size: 16px; }
  #rec2752209201 .student-stories { height: 390px; }
  #rec2752209201 .student-story { min-height: 112px; padding: 17px 22px 19px; border-radius: 24px; }
  #rec2752209201 .student-story__text { font-size: 15px; }
  .migration-author__inner { grid-template-columns: 1fr; gap: 32px; }
  .migration-author figure { grid-row: 1; }
  .migration-author { padding-right: 20px; padding-left: 20px; }
  .migration-author p { font-size: 16px; }
  .migration-author .migration-author__lead { font-size: 21px; }
  .migration-change { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .migration-change__arrow { width: 28px; transform: rotate(90deg); }
  .migration-changes { padding-right: 0; padding-left: 20px; }
  .migration-audience li, .migration-change p { font-size: 16px; }
  #rec3607995701.designer-hero { min-height: 700px; }
  #rec3607995701 .designer-hero__inner { padding: 40px 24px; }
  #rec3607995701.designer-hero h1 { font-size: clamp(32px, 9vw, 42px); }
  #rec3607995701 .designer-hero__profession, #rec3607995701 .designer-hero__slogan { font-size: 26px; }
  #rec3681051901 .t499__bgimg { width: 88px !important; height: 88px !important; margin-left: 20px; margin-bottom: 12px; }
  #rec3681051901 .t499__title { min-height: 88px; display: flex; align-items: center; font-size: 22px !important; padding-right: 0 !important; }
  #rec3681051901 .t499__blockdescr { clear: both; margin-right: 0 !important; width: 100%; max-width: 100%; padding-right: 0 !important; box-sizing: border-box; }
  :is(#rec3680921601, #rec3680932901, #rec3680945001) { padding-top: 48px !important; padding-bottom: 16px !important; }
  :is(#rec3680921601, #rec3680932901, #rec3680945001) .t-section__title { margin-bottom: 32px !important; }
  :is(#rec3680921601, #rec3680945001) .t670__separator { height: min(60svh, 520px) !important; padding-bottom: 0 !important; }
  :is(#rec3712209401, #rec3712244501, #rec3712161401) { padding-top: 24px !important; padding-bottom: 48px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
