/* Content-led refresh: preserve the KHL palette, photography and typography. */
.refresh { --max: 1280px; }
.refresh .nav-wrap { max-width: 1440px; }
.refresh .main-nav { gap: 27px; }
.refresh .nav-login { padding: 10px 15px; border: 1px solid #575757; border-radius: 4px; }
.refresh .nav-login span { margin-left: 9px; color: #ff716b; }
.refresh .nav-login::after { display: none; }
.refresh .text-link { color: var(--red-dark); font-weight: 760; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.refresh .button { gap: 14px; letter-spacing: .01em; text-align: center; }
.refresh .button-ink { background: var(--ink); }
.refresh .button-ink:hover { background: #383838; }
.refresh .refresh-hero { min-height: 690px; }
.refresh .refresh-hero h1 { max-width: 850px; font-size: clamp(3.35rem, 5.8vw, 6.1rem); line-height: 1.01; letter-spacing: -.045em; text-wrap: initial; }
.refresh .refresh-hero p { max-width: 645px; margin-top: 30px; font-size: 1.2rem; line-height: 1.65; }
.refresh .refresh-hero::after { background: linear-gradient(90deg,rgba(10,10,10,.93),rgba(10,10,10,.75) 45%,rgba(10,10,10,.12)); }
.refresh .hero-secondary { align-self: center; padding: 13px 0; color: #fff; text-decoration: none; border-bottom: 1px solid #ffffff70; font-weight: 650; }
.refresh .hero-secondary span { margin-left: 10px; }
.refresh .hero-actions { gap: 26px; }
.refresh .section { padding-block: clamp(68px, 7.6vw, 104px); }
.refresh .refresh-section-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.refresh .refresh-section-heading h2 { margin-bottom: 0; }
.refresh .refresh-section-heading > p { max-width: 435px; color: var(--muted); margin: 0 0 5px; font-size: 1.13rem; }
.learning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.learning-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.learning-image { height: 215px; overflow: hidden; background: #e8e5e1; }
.learning-image img { width: 100%; height: 100%; object-fit: cover; }
.learning-image-scrivener img { object-position: 50% 15%; }
.learning-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(26px,3vw,40px); }
.learning-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 23px; }
.learning-meta .eyebrow { margin: 0; font-size: .7rem; letter-spacing: .12em; }
.availability { color: #585450; font-size: .76rem; border-left: 1px solid #d0cbc5; padding-left: 15px; }
.learning-copy h3 { font-size: clamp(1.75rem, 2.6vw, 2.65rem); }
.learning-copy p { margin: 0 0 29px; color: var(--muted); }
.learning-copy .button { align-self: start; margin-top: auto; padding-inline: 19px; }
.free-entry { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 45px; padding: 35px 40px; margin-top: 30px; background: var(--mist); border-left: 3px solid var(--red); }
.free-entry h3 { font-size: 1.65rem; margin-bottom: 10px; }
.free-entry p { max-width: 730px; margin: 0; color: var(--muted); }
.free-entry .eyebrow { display: block; margin-bottom: 10px; }
.software-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.software-grid h2 { color: #ff716b; }
.software-grid h2 span { display: block; font-size: .5em; letter-spacing: -.015em; color: #fff; margin-top: 12px; }
.software-grid p:not(.eyebrow):not(.lead) { color: #c9c6c3; }
.software-grid .lead { font-size: 1.32rem; }
.software-art { margin: 0; }
.software-art img { width: 100%; border: 1px solid #3a3634; border-radius: 4px; }
.software-art figcaption { margin-top: 18px; font-size: .85rem; color: #bcb8b5; }
.software-action { display: flex; flex-direction: column; align-items: start; gap: 17px; margin-top: 30px; }
.quiet-status { color: #c9c6c3; font-size: .84rem; }
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px,7vw,100px); align-items: center; }
.story-photo img { width: 100%; height: auto; border-radius: 3px; }
.story-photo > span { display: block; color: var(--muted); font-size: .83rem; padding-top: 15px; }
.story-grid h2 { font-size: clamp(2.1rem,3.4vw,3.45rem); }
.story-grid p { color: var(--muted); }
.story-grid .eyebrow { color: var(--red-dark); }
.story-grid .story-principle { color: var(--ink); font-weight: 700; border-left: 3px solid var(--red); padding-left: 19px; margin: 28px 0; }
.contact-section { background: var(--mist); }
.refresh-contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.refresh-contact h2 { margin-bottom: .4em; }
.refresh-contact p { max-width: 670px; color: var(--muted); }
.contact-actions { display: flex; flex-direction: column; align-items: start; justify-self: end; gap: 23px; }
.refresh-footer { display: flex; align-items: start; justify-content: space-between; gap: 40px; }
.refresh-footer img { width: 150px; height: auto; }
.refresh-footer p { font-size: .9rem; color: #b6b2af; }
.refresh-footer-links { display: flex; flex-wrap: wrap; gap: 14px 28px; max-width: 590px; padding-top: 9px; }
.refresh-footer-links a { font-size: .9rem; color: #d2cfcc; text-decoration: none; }
.refresh-footer-links a:hover { color: #ff716b; }
.refresh .footer-bottom { margin-top: 35px; }
.refresh .page-header { padding-block: 80px; }
.refresh .page-header .lead { color: #d0cdca; }
.refresh .story-prose { max-width: 770px; }
.refresh .story-prose p { color: var(--muted); }
.refresh .section-dark .story-prose p { color: #d0cdca; }
.refresh .section-dark .editorial-aside .eyebrow { color: #ff8a84; }
.refresh .section-dark .section-index { color: #53504d; }
.refresh .story-end { max-width: 760px; margin-top: 48px; }
.refresh .small-heading { font-size: 2.3rem; }
.course-review { margin: 38px 0 0; padding: 25px 0 0; border-top: 1px solid #d1cbc5; }
.course-review blockquote { margin: 0; }
.course-review blockquote p { font-size: 1.25rem; line-height: 1.5; }
.course-review figcaption { font-size: .9rem; color: #4f4c49; }
.course-review figcaption span { font-size: .8rem; }
.refresh :is(a,button):focus-visible { outline: 3px solid #a52b26; outline-offset: 5px; }
.refresh .site-header :is(a,button):focus-visible { outline-color: #ff8a84; }
@media (max-width: 1050px) {
  .refresh .main-nav { gap: 18px; }
  .refresh .refresh-section-heading { gap: 35px; }
  .software-grid { gap: 38px; }
  .learning-copy .button { width: 100%; font-size: .92rem; }
  .learning-meta { align-items: start; flex-direction: column; }
  .availability { border-left: 0; padding-left: 0; }
  .free-entry { gap: 25px; padding: 30px; }
}
@media (max-width: 760px) {
  .refresh .refresh-hero { min-height: 700px; }
  .refresh .refresh-hero::before { background-position: 62% center; }
  .refresh .refresh-hero::after { background: linear-gradient(90deg,rgba(10,10,10,.91),rgba(10,10,10,.58)); }
  .refresh .refresh-hero h1 { font-size: clamp(2.8rem,8.5vw,3.7rem); }
  .refresh .refresh-hero p { font-size: 1.09rem; line-height: 1.65; }
  .refresh .hero-content { padding-block: 65px; }
  .refresh .hero-kicker { font-size: .65rem; letter-spacing: .13em; }
  .refresh .hero-kicker::before { width: 20px; }
  .refresh .hero-actions { gap: 13px; align-items: start; }
  .refresh .hero-actions .button { width: auto; }
  .refresh .main-nav.open { gap: 0; }
  .refresh .main-nav .nav-login { margin-top: 12px; padding: 13px 16px; }
  .refresh .refresh-section-heading, .learning-grid, .software-grid, .story-grid, .refresh-contact, .free-entry { grid-template-columns: 1fr; }
  .refresh .refresh-section-heading { gap: 20px; margin-bottom: 30px; }
  .refresh .refresh-section-heading > p { font-size: 1.05rem; }
  .learning-grid { gap: 26px; }
  .learning-image { height: 185px; }
  .learning-copy { padding: 26px 24px; }
  .learning-copy h3 { font-size: 1.9rem; }
  .learning-copy .button { font-size: .91rem; padding-inline: 12px; gap: 8px; }
  .free-entry { padding: 28px 24px; gap: 24px; }
  .free-entry .button { justify-self: start; }
  .software-grid { gap: 40px; }
  .software-grid h2 { font-size: 2.85rem; }
  .software-grid .lead { font-size: 1.17rem; }
  .software-art figcaption { font-size: .8rem; }
  .software-action .button { font-size: .94rem; padding-inline: 16px; }
  .story-grid { gap: 35px; }
  .refresh-home .story-photo { max-width: 410px; }
  .story-grid h2 { font-size: 2.35rem; }
  .contact-actions { justify-self: start; gap: 20px; }
  .refresh-contact { gap: 22px; }
  .refresh-footer { flex-direction: column; gap: 24px; }
  .refresh-footer-links { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .refresh .page-header { padding-block: 58px; }
  .refresh .page-header h1 { font-size: 2.65rem; }
  .refresh-courses .page-header h1 { font-size: clamp(2rem,10vw,2.65rem); }
  .refresh .editorial-aside { position: static; }
  .refresh .story-gallery { gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .refresh *, .refresh *::before, .refresh *::after { transition: none !important; animation: none !important; }
}

.learning-card[id] { scroll-margin-top: 96px; }

/* Introduce Gian before the offers, with a short, readable personal bridge. */
.refresh-home .story-intro { padding-block: clamp(46px, 5vw, 68px); border-bottom: 1px solid var(--line); }
.story-intro .story-grid { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(35px, 5vw, 72px); align-items: center; }
.story-intro .story-photo { max-width: 220px; }
.story-intro .story-photo > span { padding-top: 12px; }
.story-intro h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); margin-bottom: 22px; }
.story-intro p:not(.eyebrow) { max-width: 760px; margin-bottom: 16px; }
.story-intro .text-link { display: inline-block; margin-top: 3px; }
.contact-actions .entry-note { font-size: .83rem; color: var(--muted); max-width: 280px; }
.contact-followup { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; margin-top: 45px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact-followup h3 { font-size: 1.23rem; margin: 0 0 10px; }
.contact-followup[id] { scroll-margin-top: 110px; }
.contact-followup p { max-width: 620px; color: var(--muted); font-size: .96rem; margin: 0; }
.contact-followup .contact-links { display: flex; flex-direction: column; align-items: start; gap: 16px; justify-self: end; margin: 0; }
.contact-followup .contact-links .text-link { font-size: .9rem; padding: 0; margin: 0; border: 0; background: transparent; }
@media (max-width: 760px) {
  .story-intro .story-grid { grid-template-columns: 1fr; gap: 26px; }
  .refresh-home .story-intro .story-photo { display: flex; align-items: center; gap: 16px; max-width: none; }
  .story-intro .story-photo img { width: 86px; height: 86px; flex: 0 0 86px; }
  .story-intro .story-photo > span { padding-top: 0; }
  .story-intro h2 { font-size: clamp(1.8rem, 6.8vw, 2.3rem); }
  .contact-followup { grid-template-columns: 1fr; gap: 22px; margin-top: 34px; padding-top: 28px; }
  .contact-followup .contact-links { justify-self: start; }
  .refresh-home .hero-kicker { max-width: 100%; line-height: 1.65; }
  .refresh-home .hero-kicker::before { flex-shrink: 0; }
}

/* A restrained preview of the next product, separate from current offers. */
.coming-soon-section { padding-block: clamp(48px, 5vw, 72px); background: var(--mist); border-bottom: 1px solid var(--line); }
.coming-soon-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.coming-soon-heading { padding-left: 22px; border-left: 3px solid var(--red); }
.coming-soon-heading h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); margin-bottom: 16px; }
.coming-soon-heading .eyebrow { margin-top: 0; margin-bottom: 16px; }
.coming-soon-status { color: #5c5752; font-size: .85rem; }
.coming-soon-copy .lead { margin: 0 0 17px; font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 650; }
.coming-soon-copy p:not(.lead) { color: var(--muted); }
.coming-soon-copy .coming-soon-note { margin-top: 24px; margin-bottom: 0; font-size: .9rem; font-weight: 650; color: #4f4b47; }
@media (max-width: 760px) {
  .coming-soon-grid { grid-template-columns: 1fr; gap: 28px; }
  .coming-soon-heading { padding-left: 17px; }
  .coming-soon-heading h2 { font-size: clamp(1.95rem, 8vw, 2.8rem); }
}
