#chapter { --chapter-bg: #f2eee5; --chapter-ink: #252820; --chapter-accent: #776343; width: 100%; max-width: none; height: 100svh; max-height: 100svh; margin: 0; inset: 0; border-radius: 0; background: var(--chapter-bg); color: var(--chapter-ink); overflow: auto; scrollbar-color: var(--chapter-accent) var(--chapter-bg); }
#chapter[open] { display: block; }
#chapter ::selection { background: var(--chapter-ink); color: var(--chapter-bg); }
#chapter :focus-visible { outline-color: currentColor; outline-offset: 5px; }
#chapter button[aria-pressed="true"] { outline-color: var(--chapter-ink); }
#chapter h1, #chapter h2, #chapter h3, #chapter h4, #chapter p { margin: 0; }
#chapter h1 { font: 22px/1.2 Georgia, serif; letter-spacing: -.02em; }
#chapter h2 { font: clamp(42px, 6.6vw, 92px)/1.02 Georgia, serif; letter-spacing: -.035em; text-wrap: balance; }
#chapter h3 { font: clamp(30px, 3.3vw, 48px)/1.13 Georgia, serif; letter-spacing: -.025em; text-wrap: balance; }
#chapter h4 { font: 30px/1.2 Georgia, serif; }
#chapter p { font-size: 17px; line-height: 1.75; max-width: 65ch; }
#chapter p + p { margin-top: 18px; }
.chapter-nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 74px; padding: 15px 4vw; background: var(--chapter-bg); color: var(--chapter-ink); border-bottom: 1px solid color-mix(in srgb, var(--chapter-ink) 16%, transparent); }
.chapter-nav button, .chapter-footer button { color: inherit; padding: 12px 0; border: 0; background: none; font-size: 13px; }
.chapter-nav a { text-decoration: none; font-size: 13px; }
.chapter-nav > span { font: 20px Georgia, serif; }
.chapter-footer { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 35px 6vw; border-top: 1px solid color-mix(in srgb, var(--chapter-ink) 22%, transparent); }
.chapter-footer a { font-size: 14px; text-decoration: none; }
.story-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; padding: 15px 23px; min-height: 52px; border: 1px solid currentColor; border-radius: 4px; color: var(--chapter-ink); background: transparent; font: 14px/1.4 -apple-system, sans-serif; text-decoration: none; }
.story-action:hover { background: var(--chapter-ink); color: var(--chapter-bg); }
.brand-hero { min-height: calc(100svh - 74px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 65px 7vw 80px; gap: 2vw; overflow: hidden; }
.brand-hero > div { position: relative; z-index: 1; }
.brand-hero h1 { margin-bottom: 36px !important; }
.chapter-brand-logo { display: block; width: min(300px, 100%); height: auto; object-fit: contain; }
.jitsai-hero .chapter-brand-logo { width: min(280px, 100%); }
.rugby-hero .chapter-brand-logo { width: 160px; filter: brightness(0) invert(1); }
.brand-hero h2 { margin-bottom: 30px !important; }
.brand-hero p { max-width: 41ch !important; margin-bottom: 30px !important; }
.hero-character { width: 100%; max-height: 70svh; object-fit: contain; }
#chapter.chapter-turtle { --chapter-bg: #d9c6f1; --chapter-ink: #362348; --chapter-accent: #745393; }
.turtle-hero .hero-character { width: 120%; margin-left: -8%; transform: rotate(-4deg); }
.turtle-manifesto { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10vw; padding: 100px 8vw; background: #40254e; color: #f1dfff; }
.turtle-manifesto > p { font: clamp(36px, 4.5vw, 68px)/1.15 Georgia, serif !important; }
.turtle-manifesto h3 { margin-bottom: 25px !important; }
.product-story { padding: 100px 10vw; display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: center; }
.product-story > img { display: block; width: min(100%, 350px); max-height: 700px; object-fit: contain; justify-self: center; }
.product-story h3 { margin-bottom: 26px !important; }
.product-story dl { margin: 35px 0; }
.product-story dt { font-size: 19px; font-weight: 600; margin-top: 25px; }
.product-story dd { margin: 7px 0 0; font-size: 16px; line-height: 1.65; }
.source-note { font-size: 13px !important; line-height: 1.6 !important; margin: 20px 0 25px !important; }
#chapter.chapter-parrot { --chapter-bg: #d7ec95; --chapter-ink: #153e29; --chapter-accent: #417442; }
.parrot-hero .hero-character { height: 72svh; transform: rotate(5deg); }
.voice-story { background: #174a32; color: #e1f4b9; padding: 100px 8vw; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 8vw; }
.voice-story h3 { font-size: clamp(34px, 4.5vw, 68px) !important; }
.leanshield-story { padding: 100px 8vw; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.leanshield-word { font: clamp(38px, 5vw, 76px)/1.1 Georgia, serif; letter-spacing: -.035em; }
.leanshield-story h3 { margin-bottom: 25px !important; }
.leanshield-story .story-action { margin-top: 30px; }
#chapter.chapter-jitsai { --chapter-bg: #e7ecf0; --chapter-ink: #172e4b; --chapter-accent: #3562bd; }
.jitsai-hero { background: #e7ecf0; }
.jitsai-hero .hero-character { height: 77svh; max-height: 850px; transform: rotate(4deg); }
.training-strip { background: #2d56b7; color: #fff; display: flex; justify-content: space-between; padding: 32px 8vw; gap: 22px; font-size: 17px; }
.training-strip span + span::before { content: '→'; margin-right: 35px; opacity: .6; }
.chapter-jitsai .product-story { background: #152c45; color: #edf3f8; }
.chapter-jitsai .product-story .story-action { color: #fff; margin-top: 30px; }
.photo-hero { min-height: calc(100svh - 74px); position: relative; display: flex; align-items: end; padding: 100px 8vw 80px; isolation: isolate; color: white; }
.photo-hero > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#062f26ee 0%,#082b2080 55%,#082b2000 100%); }
.photo-hero > div { max-width: 800px; }
.photo-hero h1 { margin-bottom: 30px !important; }
.photo-hero h2 { margin-bottom: 30px !important; }
.photo-hero p { max-width: 43ch !important; }
.photo-hero .story-action { color: white; margin-top: 30px; }
.photo-hero .story-action:hover { color: #18382d; background: #fff; }
#chapter.chapter-workies { --chapter-bg: #e8eadc; --chapter-ink: #194638; --chapter-accent: #527d5f; }
.archive-story, .record-story { padding: 100px 8vw; display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.archive-story img { width: 100%; transform: rotate(-2deg); box-shadow: 0 20px 45px #203a2324; }
.archive-story h3, .record-story h3 { margin-bottom: 24px !important; }
.archive-story .story-action { margin-top: 25px; }
.record-story { background: #d7b756; color: #243923; }
.record-story img { width: min(100%, 400px); transform: rotate(-6deg); box-shadow: 0 25px 50px #3c300f40; }
.record-story .story-action { margin-top: 25px; margin-right: 10px; }
#chapter.chapter-rugby { --chapter-bg: #eeeae4; --chapter-ink: #262626; --chapter-accent: #a94930; }
.rugby-hero::before { background: linear-gradient(90deg,#111e,#1117 60%,#1110); }
.rugby-close { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; padding: 80px 8vw; background: #322b29; color: #eee7df; }
.rugby-close .story-action { color: inherit; margin-top: 25px; }
.story-passage { padding: 100px 10vw; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
#chapter.chapter-books { --chapter-bg: #eedcbd; --chapter-ink: #362c29; --chapter-accent: #946649; }
.library-intro, .writing-intro { padding: 80px 8vw 60px; }
.library-intro h2, .writing-intro h2 { margin: 30px 0 !important; }
.library-intro p { max-width: 55ch !important; }
.book-shelf { display: flex; gap: 3vw; padding: 25px 8vw 90px; align-items: end; overflow-x: auto; }
.book { display: flex; flex-direction: column; flex: 1 0 180px; max-width: 320px; min-height: 340px; padding: 28px 23px 25px 30px; color: #f6ecd3; background: #655582; text-decoration: none; border-radius: 2px 6px 6px 2px; box-shadow: inset 8px 0 #0002, 8px 13px 22px #482c2728; transform: rotate(-3deg); transition: transform .3s var(--ease); }
.book:hover { transform: translateY(-12px) rotate(0); }
.book h3 { font-size: 33px !important; margin: 38px 0 !important; }
.book span, .book small { font-size: 12px; }
.book small { margin-top: auto; }
.book-meaning { background: #973f30; min-height: 380px; transform: rotate(2deg); }
.book-agreements { background: #32665f; transform: rotate(-1deg); }
.book-hours { background: #d7a334; color: #312b20; min-height: 360px; transform: rotate(4deg); }
.chapter-books .story-passage { background: #dfc8a5; }
.chapter-final-link { padding: 0 8vw 70px; }
.chapter-books .chapter-final-link { background: #dfc8a5; }
#chapter.chapter-writing { --chapter-bg: #f0ede5; --chapter-ink: #353b2f; --chapter-accent: #6b7659; }
.article-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8vw 28px; }
.article-filters button, .consulting-picker button { padding: 10px 18px; min-height: 44px; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 25px; font-size: 13px; }
.article-filters button[aria-pressed=true], .consulting-picker button[aria-pressed=true] { color: var(--chapter-bg); background: var(--chapter-ink); }
.article-archive { margin: 0 8vw; border-top: 1px solid #9b9e8d; }
.article-archive a { display: grid; grid-template-columns: 100px 1fr 30px; gap: 30px; padding: 30px 0; align-items: start; border-bottom: 1px solid #babbae; text-decoration: none; }
.article-archive a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.article-archive span { font-size: 12px; padding-top: 10px; }
.article-archive h3 { font-size: clamp(27px,3vw,42px) !important; max-width: 31ch; }
.filter-status { padding: 25px 8vw 40px; font-size: 12px !important; }
#chapter.chapter-podcast { --chapter-bg: #ead7bd; --chapter-ink: #392621; --chapter-accent: #996642; }
.podcast-hero-page { min-height: calc(100svh - 74px); position: relative; isolation: isolate; display: flex; align-items: end; padding: 80px 8vw; color: #fff1dd; }
.studio-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.podcast-hero-page::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#241c16ee,#241c1670); z-index: -1; }
.podcast-hero-page h2 { margin: 30px 0 !important; }
.podcast-hero-page p { max-width: 50ch !important; }
.podcast-hero-page .story-action { margin-top: 30px; color: inherit; }
.listening-desk { display: grid; grid-template-columns: 220px 1fr; gap: 60px; padding: 80px 8vw; align-items: center; }
.listening-desk > img { width: 100%; border-radius: 6px; }
.listening-desk p { margin-top: 15px !important; }
.listening-desk audio { width: min(100%, 500px); margin-top: 25px; }
.episode-archive { padding: 20px 8vw 80px; }
.reading-list { margin-top: 25px; }
.reading-list a { position: relative; display: block; padding: 25px 45px 25px 0; border-top: 1px solid #9e8874; text-decoration: none; }
.reading-list span { font-size: 12px; }
.reading-list h3 { font-size: 30px !important; margin-top: 10px !important; }
.reading-list b { position: absolute; right: 0; top: 35px; font-weight: normal; }
#chapter.chapter-consulting { --chapter-bg: #cfdbda; --chapter-ink: #193d40; --chapter-accent: #618589; }
.consulting-hero { min-height: calc(100svh - 74px); padding: 90px 8vw; position: relative; background: linear-gradient(90deg,#cfdbdafc 20%,#cfdbdacc 60%,#cfdbda55),url('/room-home-20260919/assets/room.webp') 20% 85% / cover; }
.consulting-hero h2 { margin: 30px 0 !important; }
.consulting-hero .story-action { margin-top: 30px; }
.consulting-work { padding: 90px 8vw; display: grid; grid-template-columns: 1fr 1fr; column-gap: 10vw; row-gap: 35px; }
.consulting-picker { grid-column: 1 / -1; display: flex; gap: 12px; margin-top: 10px; }
.consulting-answer { grid-column: 1 / -1; padding: 45px 0; border-top: 1px solid #7c999b; }
.consulting-answer p { margin: 18px 0 28px !important; }
.chapter-consulting .story-passage { background: #173d40; color: #e8efdf; }
#chapter.chapter-about { --chapter-bg: #dae5de; --chapter-ink: #1a3e43; --chapter-accent: #5f8486; }
.about-hero { min-height: calc(100svh - 74px); position: relative; display: flex; align-items: end; isolation: isolate; padding: 80px 8vw; color: #eff5e9; }
.about-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.about-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#143a3ce0 0%,#143a3c30 70%); z-index: -1; }
.about-hero h2 { margin: 30px 0 !important; }
.about-letter { padding: 100px 8vw; display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.about-letter .story-action { margin-top: 30px; }
.about-paths { display: flex; flex-wrap: wrap; gap: 30px; padding: 0 8vw 90px; }
.about-paths a { font-size: 18px; text-underline-offset: 7px; }
@media (max-width: 760px) {
  .chapter-nav { min-height: 65px; padding: 10px 20px; gap: 15px; }
  .chapter-nav > span { display: none; }
  .chapter-footer { padding: 24px 20px; gap: 20px; align-items: start; }
  .chapter-footer a { max-width: 50%; text-align: right; font-size: 12px; }
  #chapter h2 { font-size: clamp(40px,10vw,64px); }
  #chapter h1 { font-size: 20px; }
  #chapter p { font-size: 16px; }
  .brand-hero { min-height: auto; display: flex; flex-direction: column; align-items: stretch; padding: 45px 25px 35px; gap: 30px; }
  .brand-hero h1 { margin-bottom: 24px !important; }
  .brand-hero h2 { margin-bottom: 22px !important; }
  .hero-character, .parrot-hero .hero-character, .jitsai-hero .hero-character { height: 330px; max-height: none; width: 100%; margin: 0; }
  .turtle-hero .hero-character { width: 110%; height: 290px; margin: 0 -5%; }
  .turtle-manifesto, .product-story, .voice-story, .leanshield-story, .archive-story, .record-story, .story-passage, .rugby-close, .about-letter, .consulting-work { grid-template-columns: 1fr; padding: 55px 25px; gap: 35px; }
  .turtle-manifesto > p { font-size: 38px !important; }
  .product-story > img { max-height: 540px; width: 80%; }
  .training-strip { flex-wrap: wrap; padding: 25px; gap: 16px; font-size: 13px; }
  .training-strip span { flex: 1 1 40%; }
  .training-strip span + span::before { display: none; }
  .photo-hero { min-height: calc(100svh - 65px); padding: 60px 25px 55px; }
  .photo-hero::before { background: linear-gradient(0deg,#092c26f2 5%,#092c2680 80%); }
  .rugby-hero::before { background: linear-gradient(0deg,#151514ed 5%,#15151430 95%); }
  .record-story img { width: 80%; justify-self: center; }
  .library-intro, .writing-intro { padding: 45px 25px 30px; }
  .book-shelf { padding: 20px 25px 55px; gap: 25px; scroll-snap-type: x mandatory; }
  .book { flex: 0 0 220px; min-height: 310px; scroll-snap-align: center; }
  .book-meaning { min-height: 340px; }
  .chapter-final-link { padding: 0 25px 55px; }
  .article-filters { padding: 0 25px 25px; }
  .article-archive { margin: 0 25px; }
  .article-archive a { grid-template-columns: 1fr 25px; gap: 10px; padding: 25px 0; }
  .article-archive span:first-child { grid-column: 1 / -1; }
  .article-archive h3 { font-size: 28px !important; }
  .filter-status { padding: 20px 25px 35px; }
  .podcast-hero-page, .consulting-hero, .about-hero { padding: 55px 25px; min-height: calc(100svh - 65px); }
  .about-hero img { object-position: 64% center; }
  .listening-desk { grid-template-columns: 1fr; gap: 30px; padding: 55px 25px; }
  .listening-desk > img { width: 150px; }
  .episode-archive { padding: 0 25px 55px; }
  .consulting-picker { gap: 7px; }
  .consulting-picker button { padding: 10px 14px; }
  .about-paths { padding: 0 25px 55px; gap: 20px; }
}
