/* HumanIA — the homepage (/ and /en/), built 2026-09-25 from
   design-files/homepage/HumanIA Home v2.dc.html ("Luminous", like /libro).

   This file holds only what the homepage adds. Everything it shares with the
   book page — base type and colour, the wordmark, buttons, image slots, course
   cards, the fixed phone bar, reveal motion, reduced-motion handling — comes
   from /libro/libro.css, which the homepage also loads. A change there changes
   both pages. The CLAUDE.md "no new colours or fonts" rule does not apply to
   this design (Nick, 2026-09-24/25). */

html:has(body.hp) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.hp) { scroll-behavior: auto; } }
@keyframes hp-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hp-panel-in { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes hp-fade-in { from { opacity: 0; } to { opacity: 1; } }

.hp-wrap { max-width: 1180px; margin: 0 auto; }
.hp-eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8A6A52; }
.hp-h2 { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 300; line-height: 1.1; letter-spacing: -.02em; color: #221B16; text-wrap: balance; }
.hp-h2 em { font-style: italic; color: #A4552F; }
.hp-dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: #E0A075; box-shadow: 0 0 24px 8px rgba(224, 160, 117, .45); }
.hp-l2 { animation: hp-in .7s cubic-bezier(.2, .7, .2, 1) both; }
.hp-section { scroll-margin-top: 96px; }

/* the "look deeper" pill (See all the skills · How it works) */
.hp-deeper { display: inline-flex; border-radius: 999px; padding: 1px; background: linear-gradient(135deg, #FFFFFF 0%, #E0A075 50%, #FFFFFF 100%); box-shadow: 0 20px 40px -20px rgba(140, 70, 30, .5); }
.hp-deeper button {
  display: inline-flex; align-items: center; gap: 16px; min-height: 60px; padding: 0 10px 0 28px; border: 0; border-radius: 999px;
  background: rgba(250, 246, 240, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: pointer;
  font-family: Newsreader, Georgia, serif; font-style: italic; font-size: 21px; color: #221B16; transition: background .3s; text-align: left;
}
.hp-deeper button:hover { background: #FFFFFF; }
.hp-deeper__icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #221B16; color: #F6F1E9; display: flex; align-items: center; justify-content: center; font: 400 22px/1 'Hanken Grotesk', system-ui, sans-serif; }

/* ---------- header ---------- */
.hp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding: 18px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, padding .3s;
}
/* Persistent: clear over the sunrise at the very top; once the page scrolls (home.js adds
   .is-scrolled) it takes the page colour, so it reads over every section, dark ones included. */
.hp-header.is-scrolled {
  padding-top: 10px; padding-bottom: 10px; background-color: rgba(246, 241, 233, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(34, 27, 22, .08);
}
@media (prefers-reduced-motion: reduce) { .hp-header { transition: none; } }
.hp-header__in { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hp-header .lb-mark { font-size: 24px; text-decoration: none; }
.hp-header__right { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 24px); }
.hp-lang { display: flex; align-items: center; gap: 6px; font-size: 14px; letter-spacing: .06em; color: #3E342C; }
.hp-lang a { text-decoration: none; color: #3E342C; padding: 12px 4px; }
.hp-lang a[aria-current="true"] { color: #221B16; font-weight: 500; }
.hp-lang a:hover { color: #A4552F; }
.hp-header__cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: rgba(246, 241, 233, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(34, 27, 22, .18);
  color: #221B16; font: 500 15px/1 'Hanken Grotesk', system-ui, sans-serif; text-decoration: none; white-space: nowrap; transition: background .3s, color .3s;
}
.hp-header__cta:hover { background: #221B16; color: #F6F1E9; }
/* The phone menu: holds the language choice on narrow screens (hidden on wider ones). */
.hp-menu { position: relative; display: none; }
.hp-menu__btn {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 999px;
  border: 1px solid rgba(34, 27, 22, .18); background: rgba(246, 241, 233, .6); color: #221B16; cursor: pointer;
}
.hp-menu__btn:focus-visible, .hp-menu__panel a:focus-visible { outline: 2px solid #A4552F; outline-offset: 2px; }
.hp-menu__bars, .hp-menu__bars::before, .hp-menu__bars::after { display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; }
.hp-menu__bars { position: relative; }
.hp-menu__bars::before, .hp-menu__bars::after { content: ""; position: absolute; left: 0; }
.hp-menu__bars::before { top: -5px; }
.hp-menu__bars::after { top: 5px; }
.hp-menu__btn[aria-expanded="true"] .hp-menu__bars { background: transparent; }
.hp-menu__btn[aria-expanded="true"] .hp-menu__bars::before { top: 0; transform: rotate(45deg); }
.hp-menu__btn[aria-expanded="true"] .hp-menu__bars::after { top: 0; transform: rotate(-45deg); }
.hp-menu__panel {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px; padding: 10px; border-radius: 18px;
  background: #FBF7F1; box-shadow: 0 30px 60px -30px rgba(120, 70, 30, .45), inset 0 0 0 1px #EAD9C3; display: flex; flex-direction: column;
}
.hp-menu__panel[hidden] { display: none; }
.hp-menu__h { margin: 4px 10px 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8A6A52; }
.hp-menu__panel a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 12px; text-decoration: none; color: #3E342C; font-size: 16px; }
.hp-menu__panel a[aria-current="true"] { color: #221B16; font-weight: 500; }
.hp-menu__panel a:hover { background: #F1EBE1; color: #A4552F; }
/* Narrow screens: one line — the wordmark, "Join the waitlist" and the menu. The language
   choice moves into the menu, so the persistent header takes as little of the screen as possible. */
@media (max-width: 560px) {
  .hp-header { padding-left: 16px; padding-right: 16px; }
  .hp-header__right { gap: 8px; }
  .hp-header .hp-lang { display: none; }
  .hp-menu { display: block; }
  .hp-header .lb-mark { font-size: 22px; }
  .hp-header__cta { min-height: 40px; padding: 0 14px; font-size: 14px; }
}
/* The narrowest phones (under 360px): a little tighter again, so the Spanish button and the menu
   still fit on the one line. */
@media (max-width: 359px) {
  .hp-header { padding-left: 12px; padding-right: 12px; }
  .hp-header__in { gap: 8px; }
  .hp-header__right { gap: 6px; }
  .hp-header .lb-mark { font-size: 18px; }
  .hp-header__cta { padding: 0 10px; font-size: 13px; }
  .hp-menu__btn { width: 36px; height: 36px; }
}

/* ---------- 1 Opening ---------- */
.hp-open { position: relative; background: #F6F1E9; }
.hp-open__band { position: relative; width: 100%; height: clamp(560px, 92svh, 940px); background: #EADFCF; }
.hp-open__band .lb-slot > picture > img { object-position: 30% 50%; }
.hp-open__glow { position: absolute; inset: 0; background: radial-gradient(70% 45% at 50% 46%, rgba(246, 241, 233, .62) 0%, rgba(246, 241, 233, 0) 70%); pointer-events: none; z-index: 1; }
.hp-open__fade { position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, rgba(246, 241, 233, 0) 0%, #F6F1E9 100%); pointer-events: none; z-index: 1; }
.hp-open__name { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 24px); text-align: center; padding: 0 24px; pointer-events: none; }
.hp-open__mark { margin: 0; font-size: clamp(64px, 17vw, 176px); letter-spacing: -.02em; line-height: .95; }
.hp-open__mark .ia, .hp-footer .lb-mark .ia { color: #3FB8C4; letter-spacing: 0; }
.hp-open__desc { margin: 0; font-family: Newsreader, Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(20px, 4.6vw, 30px); line-height: 1.3; color: #221B16; text-wrap: balance; }
/* The three boxes under the name (Draft 7): plain text, typographic, over the sunrise. Side by side
   on wider screens; on phones three slim lines, and the band shrinks to its contents so the
   headline stays on the first screen (the headline itself is unchanged). */
.hp-offer { list-style: none; margin: clamp(10px, 2vw, 20px) 0 0; padding: 0; width: 100%; max-width: 920px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hp-offer li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 20px; border-radius: 20px; background: rgba(246, 241, 233, .5); border: 1px solid #F6F1E9; }   /* half see-through, no blur, so the sunrise shows behind; a solid cream edge (Nick, 2026-09-27) */
.hp-offer__t { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.2; color: #221B16; }
.hp-offer__d { font-size: 15px; line-height: 1.45; color: #5A4D42; text-wrap: balance; }
@media (max-width: 767px) {
  .hp-open__band { height: auto; }
  .hp-open__name { position: relative; inset: auto; padding: 92px 16px 20px; gap: 10px; }
  .hp-offer { grid-template-columns: 1fr; gap: 6px; max-width: 440px; margin-top: 8px; }
  .hp-offer li { gap: 1px; padding: 7px 14px 8px; border-radius: 14px; text-align: center; }
  .hp-offer__t { font-size: 16.5px; }
  .hp-offer__d { font-size: 13.5px; line-height: 1.35; }
  /* the band's height now follows its contents, so the fade needs a fixed height (a percentage of an
     automatic height would be nothing, leaving a hard edge where the sunrise ends) */
  .hp-open__fade { height: 170px; bottom: -1px; }   /* -1px: covers the fractional last row of the band */
}
/* "Play video", under the three boxes: compact, in the page's pill style. */
.hp-playbtn {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(4px, 1.2vw, 12px);
  min-height: 44px; padding: 0 20px 0 6px; border-radius: 999px; border: 1px solid rgba(34, 27, 22, .18);
  background: rgba(246, 241, 233, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #221B16; font: 500 15px/1 'Hanken Grotesk', system-ui, sans-serif; cursor: pointer; transition: background .3s, color .3s;
}
.hp-playbtn:hover { background: #221B16; color: #F6F1E9; }
.hp-playbtn:focus-visible { outline: 2px solid #A4552F; outline-offset: 3px; }
.hp-playbtn__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #221B16; }
.hp-playbtn__icon::after { content: ""; position: absolute; left: 12px; top: 10px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #F6F1E9; }
.hp-playbtn:hover .hp-playbtn__icon { background: #F6F1E9; }
.hp-playbtn:hover .hp-playbtn__icon::after { border-left-color: #221B16; }

/* The film player: full screen over the page. */
.hp-video { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; background: rgba(20, 16, 13, .94); animation: hp-fade-in .25s ease both; }
.hp-video[hidden] { display: none; }
.hp-video__dialog { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: calc(64px + env(safe-area-inset-top)) clamp(0px, 3vw, 40px) calc(24px + env(safe-area-inset-bottom)); outline: none; }
.hp-video__stage { width: 100%; max-width: 1280px; max-height: 100%; aspect-ratio: 16 / 9; }
.hp-video__stage video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.hp-video__close {
  position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(246, 241, 233, .35); background: rgba(246, 241, 233, .12); color: #F6F1E9; font-size: 26px; line-height: 1; cursor: pointer;
}
.hp-video__close:hover { background: rgba(246, 241, 233, .24); }
.hp-video__close:focus-visible { outline: 2px solid #F6F1E9; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .hp-video { animation: none; } }

.hp-open__in { max-width: 1120px; margin: 0 auto; padding: clamp(24px, 5vw, 48px) 24px clamp(120px, 20vw, 200px); display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 5vw, 40px); text-align: center; }
.hp-h1 { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 300; font-size: clamp(42px, 10vw, 92px); line-height: 1.03; letter-spacing: -.025em; color: #221B16; max-width: 15ch; text-wrap: balance; }
.hp-open__key { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hp-open__key p { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 400; font-style: italic; font-size: clamp(28px, 6.6vw, 48px); line-height: 1.12; letter-spacing: -.015em; color: #A4552F; max-width: 18ch; text-wrap: balance; }
.hp-open__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; padding-top: 4px; }
.hp-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 1px solid #C9B79F;
  color: #221B16; font: 500 17px/1 'Hanken Grotesk', system-ui, sans-serif; text-decoration: none; transition: border-color .3s, color .3s;
}
.hp-btn-ghost:hover { border-color: #A4552F; color: #A4552F; }

/* ---------- 2 Why ---------- */
.hp-why { background: #F6F1E9; padding: 0 24px clamp(120px, 20vw, 200px); }
.hp-why__in { max-width: 1000px; margin: 0 auto; text-align: center; }
.hp-why__line { display: block; width: 1px; height: clamp(64px, 10vw, 110px); margin: 0 auto clamp(48px, 8vw, 80px); background: linear-gradient(180deg, rgba(164, 85, 47, 0), #D9B48E); }
.hp-why .hp-h2 { font-size: clamp(36px, 8.4vw, 76px); letter-spacing: -.025em; }
.hp-why .hp-h2 span { display: block; }
.hp-why .hp-h2 em { display: block; margin-top: .35em; }

/* ---------- 3 and 4 The skills ---------- */
.hp-skills { background: #F6F1E9; padding: 0 24px clamp(120px, 20vw, 200px); }
.hp-skills__out { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hp-skills__out > .hp-h2 { font-size: clamp(34px, 8vw, 64px); line-height: 1.06; letter-spacing: -.025em; }
.hp-skills .hp-eyebrow--lead { margin: 0 0 clamp(18px, 3vw, 24px); }
.hp-skills__out > .hp-h2, .hp-inner > .hp-h2 { margin-bottom: clamp(48px, 8vw, 72px); }
.hp-skillgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: clamp(48px, 8vw, 64px) 56px; width: 100%; }
.hp-skill { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hp-skill[hidden] { display: none; }
.hp-skill__name { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(30px, 7vw, 40px); line-height: 1.1; letter-spacing: -.02em; color: #221B16; text-wrap: balance; }
.hp-skill__line { font-size: 17px; line-height: 1.55; color: #5A4D42; max-width: 24em; text-wrap: pretty; }
.hp-inner {
  position: relative; max-width: 1180px; margin: clamp(96px, 16vw, 150px) auto 0; border-radius: 40px;
  background: radial-gradient(120% 90% at 50% 0%, #F4D6B8 0%, #F1E0CC 45%, #EFE5D8 100%);
  padding: clamp(64px, 11vw, 110px) clamp(20px, 5vw, 64px) clamp(64px, 10vw, 100px); text-align: center; box-shadow: 0 40px 80px -50px rgba(140, 70, 30, .45);
}
.hp-inner__glow { position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, rgba(224, 160, 117, 0), #E0A075, rgba(224, 160, 117, 0)); box-shadow: 0 0 30px 6px rgba(224, 160, 117, .35); }
.hp-inner > .hp-h2 { margin-left: auto; margin-right: auto; font-size: clamp(32px, 7.4vw, 56px); max-width: 18ch; }
.hp-inner .hp-skillgrid { max-width: 1000px; margin: 0 auto; }
.hp-inner .hp-skill__name { font-style: italic; color: #8E4524; }
.hp-inner .hp-skill__line { color: #4A3E34; }
.hp-skills__learned { margin: clamp(72px, 12vw, 110px) 0 0; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(38px, 9vw, 76px); line-height: 1.04; letter-spacing: -.03em; color: #A4552F; text-wrap: balance; }
.hp-skills__learned[hidden] { display: none; }
.hp-skills__toggle { display: flex; justify-content: center; margin-top: clamp(56px, 9vw, 80px); }

/* ---------- 10 A taste of what you'll master ---------- */
.hp-under { background: #F1EBE1; padding: 0 24px clamp(120px, 20vw, 200px); }
.hp-under__in { display: flex; flex-direction: column; align-items: center; gap: clamp(48px, 8vw, 80px); }
.hp-under__img, .hp-q__img, .hp-practice__img { position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 300px; border-radius: 28px; overflow: hidden; background: #E7DDCD; box-shadow: 0 40px 80px -30px rgba(120, 70, 30, .35); }
.hp-practice__img { aspect-ratio: 4 / 3; min-height: 0; }
.hp-under .hp-h2 { text-align: center; font-size: clamp(32px, 7.4vw, 60px); max-width: 20ch; }
.hp-ulist { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 780px; border-top: 1px solid #DCCBB5; }
.hp-ulist li { border-bottom: 1px solid #DCCBB5; }
.hp-ulist button { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; width: 100%; min-height: 44px; padding: clamp(22px, 4vw, 30px) 0; border: 0; background: transparent; cursor: pointer; text-align: left; color: #221B16; font: inherit; }
.hp-ulist__text { display: flex; flex-direction: column; gap: 6px; }
.hp-ulist__phrase { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(24px, 5.6vw, 30px); line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
.hp-ulist__rest { font: 400 17px/1.5 'Hanken Grotesk', system-ui, sans-serif; color: #5A4D42; text-wrap: pretty; }
.hp-ulist__icon { flex: none; margin-top: 4px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #C9B79F; background: transparent; color: #A4552F; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background .3s, color .3s, border-color .3s; }
.hp-ulist button[aria-expanded="true"] .hp-ulist__icon { border-color: #221B16; background: #221B16; color: #F6F1E9; }
.hp-ulist__more { margin: 0 0 clamp(26px, 4vw, 34px); padding: 20px 22px; border-radius: 18px; background: rgba(250, 246, 240, .8); box-shadow: inset 0 0 0 1px #EAD9C3; font-size: 17px; line-height: 1.7; color: #3E342C; max-width: 40em; text-wrap: pretty; }
.hp-ulist__more[hidden] { display: none; }
.hp-under__close { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; padding-top: clamp(24px, 5vw, 48px); }
.hp-under__close .hp-h2 { font-weight: 400; font-size: clamp(42px, 10.4vw, 96px); line-height: 1; letter-spacing: -.035em; color: #A4552F; max-width: 12ch; }
.hp-under__close p { margin: 0; font-size: 18px; line-height: 1.65; max-width: 32em; text-wrap: pretty; }

/* ---------- 11 Courses (cards come from libro.css) ---------- */
.hp-courses { background: linear-gradient(180deg, #F1EBE1 0%, #F6F1E9 30%); padding: 0 24px clamp(120px, 20vw, 200px); }
.hp-courses .lb-courses__h { font-size: clamp(32px, 7.4vw, 60px); line-height: 1.08; }
.hp-course { display: flex; flex-direction: column; gap: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: center; color: #221B16; font: inherit; }
.hp-course__see {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 8px 0 22px; border-radius: 999px; border: 1px solid #C9B79F;
  font: 500 15px/1 'Hanken Grotesk', system-ui, sans-serif; color: #221B16; transition: border-color .3s; text-align: left;
}
.hp-course:hover .hp-course__see { border-color: #A4552F; }
.hp-course__arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #221B16; color: #F6F1E9; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.hp-course:focus-visible { outline: 2px solid #A4552F; outline-offset: 6px; border-radius: 24px; }
.hp-next { margin: 0 auto; max-width: 44em; text-align: center; font-family: Newsreader, Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(17px, 4vw, 20px); line-height: 1.6; color: #3E342C; text-wrap: balance; }

/* ---------- 5 The question and 6 the reason: one moment ---------- */
.hp-q { background: #F6F1E9; padding: 0 24px clamp(40px, 7vw, 64px); }
.hp-q__in { display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 7vw, 64px); text-align: center; }
.hp-q__h { font-size: clamp(32px, 7.4vw, 60px); max-width: 22ch; }
/* /libro only: the book bridge line under the question — a short statement, set apart from the body text */
.hp-q__bridge { margin: 0; font-family: Newsreader, Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(22px, 5.2vw, 30px); line-height: 1.3; color: #3E342C; max-width: 26em; text-wrap: balance; }
.hp-q__p, .hp-adapt__p { margin: 0; font-size: 18px; line-height: 1.65; color: #3E342C; max-width: 32em; text-wrap: pretty; }
.hp-reason { background: linear-gradient(180deg, #F6F1E9 0%, #F1EBE1 100%); padding: clamp(16px, 3vw, 32px) 24px clamp(120px, 20vw, 200px); }
.hp-reason__in { display: flex; flex-direction: column; align-items: center; gap: clamp(48px, 8vw, 80px); text-align: center; }
.hp-reason__h { font-weight: 400; font-size: clamp(40px, 9.6vw, 88px); line-height: 1.02; letter-spacing: -.035em; max-width: 15ch; }
.hp-reasons { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 780px; border-top: 1px solid #DCCBB5; text-align: left; }
.hp-reasons li { padding: clamp(22px, 4vw, 30px) 0; border-bottom: 1px solid #DCCBB5; display: flex; flex-direction: column; gap: 6px; }
.hp-reasons__name { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(24px, 5.6vw, 30px); line-height: 1.15; letter-spacing: -.015em; color: #221B16; text-wrap: balance; }
.hp-reasons__line { font-size: 17px; line-height: 1.55; color: #5A4D42; text-wrap: pretty; }

/* ---------- 7 The first answer: practice ---------- */
.hp-practice { background: #F1EBE1; padding: 0 24px clamp(120px, 20vw, 200px); }
.hp-practice__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; gap: clamp(40px, 7vw, 72px); }
.hp-practice__copy { display: flex; flex-direction: column; gap: 24px; }
.hp-practice__copy .hp-h2 { font-size: clamp(32px, 6.4vw, 52px); }
.hp-practice__copy p { margin: 0; font-size: 18px; line-height: 1.65; color: #3E342C; text-wrap: pretty; }

/* ---------- 8 The second answer: two lines, both at heading size ---------- */
.hp-adapt { background: linear-gradient(180deg, #F1EBE1 0%, #F6F1E9 100%); padding: 0 24px clamp(120px, 20vw, 200px); }
.hp-adapt__in { display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 7vw, 64px); text-align: center; }
.hp-adapt__h { font-size: clamp(30px, 6.6vw, 54px); max-width: 24ch; }
.hp-adapt__l1, .hp-adapt__l2 { display: block; }
.hp-adapt__l2 { margin-top: .55em; }
.hp-adapt .hp-howdetail { text-align: left; }
.hp-howdetail { width: 100%; max-width: 860px; border-radius: 28px; padding: 1px; background: linear-gradient(135deg, #FFFFFF 0%, #E0A075 45%, #FFFFFF 100%); box-shadow: 0 50px 90px -50px rgba(140, 70, 30, .5); }
.hp-howdetail[hidden] { display: none; }
.hp-howdetail__in { border-radius: 27px; background: rgba(250, 246, 240, .88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: clamp(28px, 6vw, 56px) clamp(22px, 6vw, 56px); display: flex; flex-direction: column; gap: clamp(32px, 5vw, 44px); }
.hp-howstep { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; align-items: baseline; }
.hp-howstep__n { font-family: Newsreader, Georgia, serif; font-weight: 300; font-size: clamp(34px, 7vw, 44px); line-height: 1; color: #D9A57E; }
.hp-howstep__t { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(22px, 5vw, 26px); line-height: 1.2; color: #221B16; }
.hp-howstep p { grid-column: 2; margin: 8px 0 0; font-size: 17px; line-height: 1.7; color: #3E342C; text-wrap: pretty; }

/* ---------- 12 The network (layout from libro.css .lb-comm) ---------- */
.hp-comm .lb-comm__h { font-size: clamp(32px, 7.6vw, 64px); line-height: 1.08; max-width: 19ch; }

/* ---------- 13 The difference: a statement (the background of the old "What it's built on") ---------- */
.hp-found { background: linear-gradient(180deg, #221B16 0, #3E342C 30px, #F1EBE1 130px, #F6F1E9 100%); padding: clamp(140px, 24vw, 240px) 24px clamp(120px, 20vw, 200px); }
/* The fade from the dark network section is fixed in height, so it ends (130px) before the heading starts (140px or more) at every width. */
.hp-found__in { max-width: 1000px; margin: 0 auto; text-align: center; }
.hp-diff__in { display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 5vw, 40px); }
.hp-diff__h { font-weight: 400; font-size: clamp(40px, 9.6vw, 88px); line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; }
.hp-diff__recap { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(21px, 4.8vw, 27px); line-height: 1.45; color: #221B16; max-width: 34em; text-wrap: pretty; }
.hp-diff__proof { margin: 0; font-size: 16px; line-height: 1.7; color: #5A4D42; max-width: 40em; text-wrap: pretty; }

/* ---------- 14 Founders ---------- */
.hp-people { background: #F6F1E9; padding: 0 24px clamp(120px, 20vw, 200px); }
.hp-people__in { display: flex; flex-direction: column; align-items: center; gap: clamp(48px, 8vw, 72px); }
.hp-people .hp-h2 { text-align: center; font-size: clamp(30px, 7vw, 54px); max-width: 22ch; }
.hp-people__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; width: 100%; align-items: start; }
/* From tablet width the three founders always sit on one row (the same height, closed). */
@media (min-width: 700px) { .hp-people__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* the cards share rows (photo, name, line, More), so closed they are the same height */
.hp-person { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; border-radius: 28px; background: #FBF7F1; box-shadow: 0 30px 60px -40px rgba(120, 70, 30, .35); padding: 14px 14px 22px; text-align: center; }
/* The photo is capped at the largest size the smallest file shows sharply on a
   high-resolution phone (2 image pixels per screen point) — see BUILD_TASKS. */
.hp-person__photo { position: relative; width: 100%; max-width: 216px; margin: 0 auto; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden; background: #E7DDCD; }
.hp-person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-person h3 { margin: 24px 0 0; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(26px, 6vw, 30px); line-height: 1.1; letter-spacing: -.015em; color: #221B16; }
.hp-person__line { margin: 10px 0 0; padding: 0 10px; font-size: 16px; line-height: 1.6; color: #3E342C; text-wrap: pretty; }
.hp-person__more { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 18px 10px 0; }
.hp-person__bio { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid #E7DDCD; width: 100%; text-align: left; }
.hp-person__bio[hidden] { display: none; }
.hp-person__role { margin: 0; font-family: Newsreader, Georgia, serif; font-style: italic; font-size: 17px; color: #A4552F; text-align: center; }
.hp-person__bio p { margin: 0; font-size: 16px; line-height: 1.65; color: #3E342C; text-wrap: pretty; }
.hp-pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid #C9B79F; background: transparent;
  color: #221B16; font: 500 15px/1 'Hanken Grotesk', system-ui, sans-serif; cursor: pointer; transition: border-color .3s, color .3s;
}
.hp-pill:hover { border-color: #A4552F; color: #A4552F; }
.hp-pill span { color: #A4552F; font-size: 17px; }

/* ---------- 15 Join (layout from libro.css .lb-join) ---------- */
.hp-join .lb-join__in { gap: 32px; }
.hp-join .lb-join__h { font-size: clamp(38px, 9vw, 80px); line-height: 1.04; }
.hp-join__sub { margin: 0; font-size: 18px; line-height: 1.6; max-width: 30em; text-wrap: pretty; }

/* ---------- footer ---------- */
.hp-footer { background: #F1EBE1; border-top: 1px solid #E7DDCD; padding: clamp(40px, 6vw, 56px) 24px calc(clamp(40px, 6vw, 56px) + 72px); }
.hp-footer__in { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 48px; }
.hp-footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 34em; flex: 1 1 320px; }
.hp-footer .lb-mark { font-size: 22px; }
.hp-footer__legal { margin: 0; font-size: 14px; line-height: 1.6; color: #3E342C; text-wrap: pretty; }
.hp-footer__right { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hp-footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.hp-footer__links a { text-decoration: none; color: #221B16; padding: 10px 0; }
.hp-footer__links a:hover { color: #A4552F; }
.hp-footer__links a.hp-admin { color: #8A7B6C; }
.hp-footer .hp-lang a:first-child { padding-left: 0; }

/* ---------- course panel (layer 2) ---------- */
.hp-panel { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: clamp(0px, calc((100vw - 720px) / 4), 40px); background: rgba(34, 27, 22, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: hp-fade-in .35s ease both; }
.hp-panel[hidden] { display: none; }
.hp-panel__dialog { position: relative; width: 100%; max-width: 980px; height: 100%; border-radius: clamp(0px, calc((100vw - 720px) / 4), 28px); overflow: hidden; background: #F6F1E9; box-shadow: 0 60px 120px -40px rgba(34, 27, 22, .6); display: flex; flex-direction: column; animation: hp-panel-in .5s cubic-bezier(.2, .7, .2, 1) both; outline: none; }
.hp-panel__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) 14px 12px; pointer-events: none; }
.hp-panel__bar > * { pointer-events: auto; }
.hp-panel__nav { display: flex; align-items: center; gap: 8px; }
.hp-panel__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); background: rgba(246, 241, 233, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #221B16; font-size: 18px; cursor: pointer; }
.hp-panel__count { padding: 0 12px; min-height: 32px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(246, 241, 233, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; letter-spacing: .08em; color: #221B16; }
.hp-panel__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #221B16; color: #F6F1E9; font-size: 22px; line-height: 1; cursor: pointer; }
.hp-panel__scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.hp-panel__img { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 46vh; background: #E7DDCD; }
.hp-panel__img .lb-band__fade { z-index: 1; }
.hp-panel__body { max-width: 720px; margin: 0 auto; padding: 0 24px calc(56px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: clamp(28px, 5vw, 40px); }
.hp-panel__head { display: flex; flex-direction: column; gap: 18px; text-align: center; align-items: center; margin-top: -8px; position: relative; z-index: 2; }
.hp-panel__course { margin: 0; font-family: Newsreader, Georgia, serif; font-style: italic; font-size: clamp(22px, 5vw, 26px); color: #A4552F; }
.hp-panel__h { font-size: clamp(28px, 6.6vw, 42px); line-height: 1.14; }
.hp-panel__learn { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid #E2D3BF; }
.hp-panel__learn li { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid #E2D3BF; font-family: Newsreader, Georgia, serif; font-size: clamp(20px, 4.8vw, 23px); line-height: 1.35; color: #221B16; text-wrap: pretty; }
.hp-panel__learn li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #E0A075; box-shadow: 0 0 12px 3px rgba(224, 160, 117, .45); transform: translateY(-3px); }
.hp-panel__group { display: flex; flex-direction: column; gap: 18px; }
.hp-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hp-tags li { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #F1E3D2; color: #5A3A26; font-size: 14px; letter-spacing: .01em; }
.hp-panel__note { margin: 0; font-size: 14px; line-height: 1.6; font-style: italic; color: #6B5B4E; text-wrap: pretty; }
.hp-panel__join { display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; min-height: 60px; padding: 14px 24px; border-radius: 999px; background: #221B16; color: #F6F1E9; font: 500 17px/1.3 'Hanken Grotesk', system-ui, sans-serif; text-decoration: none; transition: background .3s; }
.hp-panel__join:hover { background: #A4552F; color: #F6F1E9; }
html.hp-locked { overflow: hidden; }
