/* The homepage chapters stay in the document flow on phones, with or without script. */
#front .practice-story {
  --story-night: #111923;
  --story-paper: #f4f3eb;
  --story-ink: #15232a;
  --story-lime: #d6f583;
  color: var(--story-ink);
  background: var(--story-paper);
  font: 400 1rem/1.5 'Public Sans', Arial, sans-serif;
}
.cc-map-entry #front .practice-story { display: none; }
html:has(body[data-ppw-family="home"] .practice-story) { scroll-padding-top: var(--ppw-header-height,64px); }
#front .story-chapter { position: relative; padding: clamp(3rem, 7vw, 7rem) 0; scroll-margin-top: 0; }
#front .story-inner { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
#front .story-spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 5vw, 5.75rem); }
#front .practice-story .story-copy { min-width: 0; }
#front .practice-story .story-label {
  display: flex; align-items: center; gap: .65rem;
  margin: 0 0 .9rem; color: inherit;
  font: 700 .84rem/1.4 'Public Sans', Arial, sans-serif;
}
#front .story-label::before { content: ''; width: 2.1rem; height: 2px; background: currentColor; }
#front .practice-story h2 {
  margin: 0; max-width: 17ch;
  font: 650 clamp(2.65rem, 4.9vw, 5.3rem)/1 'Public Sans', Arial, sans-serif;
  letter-spacing: -.055em; color: inherit; text-wrap: balance;
}
#front .practice-story .story-copy > p:not(.story-label) {
  max-width: 47ch; margin: 1.1rem 0 .75rem; color: inherit;
  font: 400 clamp(1rem, 1.25vw, 1.18rem)/1.52 'Public Sans', Arial, sans-serif;
}
#front .practice-story a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
#front .practice-story .story-action {
  display: inline-flex; align-items: center; gap: 1.1em;
  min-height: 46px; margin-top: .25rem; padding: .5rem 0;
  border-bottom: 2px solid currentColor; color: inherit;
  font: 700 1rem/1.25 'Public Sans', Arial, sans-serif; text-decoration: none;
}
#front .practice-story .story-action:hover { text-decoration: underline; }
#front .practice-story .story-action span, #front .story-shelf b { font-weight: 500; }
#front .practice-story :focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
#front .practice-story figcaption { margin-top: .5rem; color: inherit; font: 450 .84rem/1.4 'Public Sans', Arial, sans-serif; }
#front .practice-story .story-related, #front .story-resource-lines p { display: flex; align-items: center; flex-wrap: wrap; column-gap: 1.4rem; row-gap: 0; }
#front .practice-story .story-related { margin-top: .65rem; }
#front .practice-story :is(.story-related a,.story-resource-lines a,.story-text-link) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 550; }
#front .practice-story figure { min-width: 0; margin: 0; }
#front .practice-story img, #front .practice-story video { display: block; max-width: 100%; height: auto; }
#front .story-teaching { background: var(--story-paper); color: var(--story-ink); }
#front .story-teaching-art { align-self: center; }
#front .story-teaching-art img { width: 100%; }
#front .story-victor { background: #232d34; color: #f7f7ef; }
#front .story-victor .story-label, #front .story-seminars .story-label, #front .story-atlas .story-label { color: var(--story-lime); }
#front .story-portrait {
  justify-self: center; width: min(100%, 28rem); align-self: end;
  background: radial-gradient(ellipse at 50% 100%, #57645d, transparent 70%);
  border-bottom: 1px solid #6e7c7d;
}
#front .story-portrait img { width: 100%; }
#front .story-voice { margin-top: 1.3rem; border-top: 1px solid #667375; max-width: 32rem; }
#front .story-voice a:first-child {
  display: grid; grid-template-columns: minmax(56px, 6.3rem) minmax(0,1fr) auto; align-items: center; gap: 1rem;
  min-height: 64px; padding: .75rem 0 0; text-decoration: none; font-size: .88rem;
}
#front .story-voice a:first-child strong { font: 650 1rem/1.35 'Public Sans', Arial, sans-serif; color: #f7f7ef; }
#front .story-voice a:hover strong { text-decoration: underline; }
#front .story-voice img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
#front .story-seminars { background: var(--story-night); color: #f7f7ef; }
#front .story-seminars .story-inner { display: grid; grid-template-columns: minmax(0,.77fr) minmax(0,1.23fr); gap: 1.3rem clamp(2rem,5vw,5rem); align-items: center; }
#front .story-seminars .story-related { grid-column: 1/-1; margin: 0; border-top: 1px solid #4b5961; }
#front .story-film video { width: 100%; aspect-ratio: 16 / 9; background: #0a1015; }
#front .story-film figcaption { display: flex; justify-content: space-between; gap: .35rem 1rem; flex-wrap: wrap; color: #d1dadd; }
#front .story-lifestyle { background: #e3e9dc; color: var(--story-ink); }
#front .story-app-art {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.72fr);
  align-items: center; padding: 1.2rem clamp(.4rem,2vw,2rem) .5rem;
}
#front .story-app-art figcaption { grid-column: 1/-1; padding-top: .5rem; text-align: center; }
#front .story-app-art .story-movement { width: 120%; max-width: 120%; border: .4rem solid #f6f6ed; transform: rotate(-3deg); }
#front .story-app-art .story-phone { width: 100%; z-index: 1; border-radius: .55rem; box-shadow: 0 12px 30px #15232a35; }
#front .story-atlas { color: #f7f7ef; background: #1c2932; }
#front .story-atlas-art img { width: 100%; }
#front .story-learning { background: #f1efe6; color: var(--story-ink); }
#front .story-reading-intro { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 1.8rem; }
#front .story-shelf { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.8rem,2vw,2rem); list-style: none; }
#front .story-shelf li { padding: 0; margin: 0; min-width: 0; }
#front .story-shelf a { display: block; text-decoration: none; }
#front .story-shelf img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
#front .story-products { background: #dfe5dc; color: var(--story-ink); }
#front .story-print a { display: flex; align-items: center; justify-content: center; gap: 4%; padding: 5%; background: #c0c9be; }
#front .story-print img { width: 37%; height: auto; max-height: 375px; object-fit: contain; }
#front .story-print img:first-child { transform: rotate(-3deg); }
#front .story-print img:last-child { transform: rotate(3deg); }
#front .story-products .story-resource-lines { margin: 2.1rem auto 0; }
#front .story-shelf span { display: flex; justify-content: space-between; align-items: center; gap: .65rem; min-height: 48px; border-bottom: 1px solid #87918b; font-weight: 650; }
#front .story-shelf a:hover span { text-decoration: underline; }
#front .story-resource-lines { margin: 2.1rem 0 0; }
#front .story-resource-lines > div { display: grid; grid-template-columns: minmax(10rem,.5fr) 1.5fr; gap: .7rem 2rem; align-items: baseline; border-top: 1px solid #a6aea8; padding: .55rem 0; }
#front .practice-story .story-resource-lines h3 { color: inherit; margin: 0; font: 700 1rem/1.4 'Public Sans', Arial, sans-serif; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not([data-practice-motion="off"]) #front .story-portrait img {
      animation: practice-portrait-arrives linear both; animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    @keyframes practice-portrait-arrives { from { transform: translateY(9px); } to { transform: translateY(0); } }
  }
}
@media (max-width: 720px) {
  #front .story-chapter { padding: 2.6rem 0; }
  #front .story-inner { width: calc(100% - 2rem); }
  #front .story-spread, #front .story-seminars .story-inner { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  #front .practice-story h2 { font-size: clamp(2.35rem, 9.7vw, 3.85rem); }
  #front :is(.story-teaching,.story-lifestyle,.story-seminars,.story-atlas,.story-products) .story-copy { display: contents; }
  #front :is(.story-teaching,.story-lifestyle,.story-seminars,.story-atlas,.story-products) .story-inner:first-child { row-gap: 0; }
  #front .practice-story :is(.story-teaching-art,.story-app-art,.story-film,.story-atlas-art,.story-print) { grid-row: 3; margin: 1rem 0 .25rem; }
  #front .practice-story .story-action { justify-self: start; }
  #front .story-victor .story-spread { grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); align-items: end; gap: .75rem; }
  #front .story-victor .story-copy { display: contents; }
  #front .story-victor .story-label { grid-column: 1/-1; grid-row:1; margin:0; }
  #front .story-victor h2 { grid-column: 1; grid-row: 2; font-size: clamp(1.95rem, 8.8vw, 3.4rem); align-self:center; }
  #front .story-victor .story-portrait { grid-column: 2; grid-row: 2; }
  #front .story-victor .story-copy > p:not(.story-label), #front .story-victor .story-action, #front .story-victor .story-voice { grid-column: 1/-1; margin: .3rem 0 0; }
  #front .story-victor .story-action { justify-self: start; }
  #front .story-victor .story-voice { width: 100%; }
  #front .story-print img { max-height: 230px; }
  #front .story-lifestyle .story-app-art { width: min(100%, 24rem); max-width: 100%; margin-inline: auto; }
  #front .story-reading-intro { display: block; margin-bottom: .9rem; }
  #front .story-reading-intro .story-text-link { margin-top: .5rem; }
  #front .story-shelf { grid-template-columns: minmax(0,1fr); gap: .75rem; }
  #front .story-shelf a { display: grid; grid-template-columns: minmax(70px,.55fr) 1.45fr; align-items: stretch; gap: 1rem; }
  #front .story-shelf img { height: 100%; max-height: 95px; aspect-ratio: 1.45; }
  #front .story-resource-lines > div { display: block; padding-top: 1rem; }
}
@media print {
  #front .practice-story { background: white; color: black; }
  #front .story-chapter { background: white; color: black; padding: 1.5rem 0; }
}
