.home-width { width: min(1280px, 90%); margin-inline: auto; }
.welcome { background: #f3e8d9; }
.welcome-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); }
.welcome-copy { align-self: center; padding: clamp(40px, 5vw, 78px) clamp(24px, 4.2vw, 80px) clamp(40px, 5vw, 78px) max(5vw, calc((100vw - 1280px) / 2)); }
.hero-portrait { display: block; position: relative; width: 100%; aspect-ratio: 1122 / 1402; }
.hero-portrait img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-portrait:focus-visible { outline-offset: -5px; }
.welcome h1 { margin: .25em 0 .27em; color: #352d28; font-size: clamp(3.4rem, 5.8vw, 5.35rem); line-height: .99; letter-spacing: -.062em; }
.welcome h1 em, .practice h2 em, .shelf-copy h2 em, .invitation h2 em { display: block; font-weight: 400; }
.welcome h1 em, .shelf-copy h2 em { color: var(--accent); }
.welcome-actions { display: flex; align-items: center; gap: 1rem 1.6rem; flex-wrap: wrap; margin-top: 1.55rem; }
.action-primary, .text-action { display: inline-flex; align-items: center; gap: .75em; font-size: .95rem; font-weight: 650; line-height: 1.45; }
.action-primary { padding: .82em 1.3em; color: #fffaf4; background: var(--accent); border-radius: 8px; }
.action-primary:hover { background: #713321; }
.text-action { width: fit-content; padding: .3em 0; border-bottom: 1px solid currentColor; color: var(--moss); }
.text-action:hover { color: var(--accent); }
.starting-points, .bookshelf { padding-block: clamp(42px, 5.2vw, 80px); }
#starting-points, #explore { scroll-margin-top: 12px; }
.starting-points h2, .practice h2, .shelf-copy h2, .invitation h2 { font-size: clamp(2.4rem, 4.3vw, 4.35rem); line-height: 1.02; letter-spacing: -.052em; }
.starting-points h2 { margin-bottom: clamp(14px, 1.4vw, 20px); }
.path-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px, 1.7vw, 24px); }
.path-card { --tint: #eee8d9; }
.path-card:nth-child(2) { --tint: #ede1d8; }
.path-card:nth-child(3) { --tint: #e2e7dc; }
.path-card:nth-child(4) { --tint: #f1dfd1; }
.path-card a { height: 100%; display: flex; flex-direction: column; background: var(--tint); border-radius: 13px; transition: transform .18s ease, box-shadow .18s ease; }
.path-card a:hover { transform: translateY(-4px); box-shadow: 0 9px 18px #56423018; }
.path-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.63; object-fit: cover; object-position: center 40%; border-radius: 13px 13px 0 0; }
.path-card:last-child img { object-position: 50% 26%; }
.path-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .58rem; padding: clamp(15px, 1.5vw, 22px); }
.path-copy h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); line-height: 1.09; letter-spacing: -.035em; text-wrap: pretty; }
.path-copy p { color: #54493e; font-size: .97rem; line-height: 1.45; }
.path-action { margin-top: auto; padding-top: .7rem; color: #713922; font-size: .85rem; font-weight: 700; }
.path-action b { margin-left: .25rem; }
.voices { border-top: 1px solid var(--line); background: #f6ede2; color: var(--ink); }
.voices-grid { display: grid; grid-template-columns: minmax(200px,.66fr) minmax(0,1.5fr); align-items: center; gap: clamp(26px,5.5vw,90px); padding-block: clamp(38px,5vw,76px); }
.voices-heading h2 { font-size: clamp(2rem,3vw,3.25rem); letter-spacing: -.045em; max-width: 14ch; }
.voice-controls { margin-top: 1.2rem; }
.voice-controls[hidden] { display: none; }
.voice-progress { color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.voice-buttons { display: flex; align-items: center; gap: .4rem; margin-top: .45rem; }
.voice-buttons button { min-height: 42px; min-width: 42px; border: 1px solid #af9b89; background: transparent; border-radius: 6px; color: var(--ink); font-size: .9rem; }
.voice-buttons #voice-play { min-width: 65px; }
.voice-buttons button:hover { background: #fffbf4; border-color: var(--accent); }
.voice-deck { border-left: 2px solid #aa715a; padding-left: clamp(20px,3.5vw,54px); min-width: 0; }
.voice-quote blockquote { font: italic clamp(1.55rem,2.55vw,2.62rem)/1.28 var(--serif); letter-spacing: -.025em; }
.voice-quote figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .8rem; margin-top: 1.05rem; line-height: 1.5; }
.voice-quote figcaption strong { font-size: .99rem; color: var(--accent); }
.voice-quote figcaption span { font-size: .89rem; color: var(--muted); }
.voice-quote + .voice-quote { margin-top: 1.8rem; }
.voices.is-rolling .voice-deck { display: grid; }
.voices.is-rolling .voice-quote { grid-area: 1/1; align-self: center; margin: 0; }
.voices.is-rolling .voice-quote[data-active="false"] { visibility: hidden; }
@media(max-width:700px) {
  .voices-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .voices-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .voices-heading h2 { font-size: clamp(1.65rem,6vw,2.35rem); }
  .voice-controls { margin: 0; flex: none; }
  .voice-buttons { gap: .2rem; }
  .voice-buttons button { min-width: 36px; }
  .voice-buttons #voice-play { min-width: 55px; }
  .voice-quote figcaption { display: grid; }
}
@media(max-width:360px) {
  .voices-heading { align-items: flex-start; flex-direction: column; }
}
.practice { padding: clamp(42px, 5.5vw, 88px) 0; background: #d9e1d2; color: #293b30; }
.practice-grid, .bookshelf, .invitation-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 7vw, 110px); }
.practice h2, .shelf-copy h2 { margin: .25em 0 .4em; }
.practice h2 em { color: #4c634f; }
.practice-choices { display: grid; gap: .45rem; max-width: 440px; border: 0; margin: 1.2rem 0 .9rem; padding: 0; }
.practice-choices legend { margin-bottom: .65rem; color: #455444; padding: 0; }
.practice-choices label { display: flex; align-items: center; gap: .7em; border: 1px solid #a0ae99; border-radius: 7px; padding: .55em .9em; cursor: pointer; }
.practice-choices input { accent-color: #425b48; width: 1rem; height: 1rem; margin: 0; flex: none; }
.practice-choices label:has(:checked) { background: #f7f6ed; border-color: var(--moss); font-weight: 700; }
.practice-choices label:hover { background: #eef0e5; }
.notepaper { color: var(--ink); position: relative; padding: clamp(24px, 3.3vw, 50px); background: #fffbf1; border: 1px solid #c9c6b5; border-radius: 4px 18px 4px 4px; box-shadow: 5px 6px #c0cbb8; }
.notepaper::before { content: ""; display: block; width: 45px; height: 3px; background: #a76443; margin-bottom: 1.2rem; }
.notepaper h3 { font-size: clamp(1.85rem, 2.8vw, 2.7rem); letter-spacing: -.035em; margin-bottom: .45rem; }
.notepaper h4 { color: #7e4831; font-size: .77rem; letter-spacing: .08em; margin: 1.1rem 0 .3rem; text-transform: uppercase; }
.notepaper p { line-height: 1.5; }
.notepaper .handwritten { font: italic clamp(1.35rem, 1.9vw, 1.7rem)/1.3 var(--serif); color: #7d4632; margin-bottom: 1.1rem; }
.notepaper .text-action { margin-top: .75rem; font-size: .9rem; }
.practice-grid:has(#choose-peace:checked) .notepaper article:not(#practice-peace),
.practice-grid:has(#choose-care:checked) .notepaper article:not(#practice-care),
.practice-grid:has(#choose-right:checked) .notepaper article:not(#practice-right) { display: none; }
.book-art { display: flex; align-items: center; justify-content: center; isolation: isolate; padding: clamp(32px, 4vw, 64px); background: #ecdfcf; border-radius: 6px 42px 6px 6px; }
.book-art img { display: block; width: 55%; height: auto; box-shadow: 3px 9px 16px #392b2152; transform: rotate(-7deg); }
.book-art img+img { width: 36%; margin-left: -8%; transform: translateY(10%) rotate(8deg); }
.shelf-copy p { max-width: 48ch; }
.shelf-copy .text-action { margin-top: 1rem; }
.invitation { background: #f1e2d7; padding: clamp(42px, 5vw, 72px) 0; }
.invitation h2 { margin-bottom: .7rem; }
.invitation h2 em { color: var(--accent); }

@media (max-width: 1000px) {
  .path-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .path-card img { aspect-ratio: 2.1; }
}
@media (max-width: 700px) {
  .practice-grid, .bookshelf, .invitation-grid { grid-template-columns: 1fr; gap: 28px; }
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-copy { padding: 32px 5% 28px; }
  .welcome h1 { font-size: clamp(3.25rem, 11.5vw, 4.4rem); }
  .welcome-actions { margin-top: 1.15rem; }
  .practice-choices { max-width: none; }
  .book-art { max-width: 480px; }
}
@media (max-width: 520px) {
  .path-grid { grid-template-columns: 1fr; gap: 12px; }
  .path-card a { display: grid; grid-template-columns: 31% 1fr; }
  .path-card img { width: 100%; height: 100%; min-height: 132px; aspect-ratio: auto; border-radius: 12px 0 0 12px; }
  .path-copy { padding: 13px 15px; gap: .35rem; }
  .path-copy h3 { font-size: 1.36rem; }
  .path-copy p { font-size: .92rem; }
  .path-action { padding-top: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .path-card a { transition: none; }
  .path-card a:hover { transform: none; }
}
.out-arrow { display: inline-block; position: relative; flex: none; width: .65em; height: .65em; }
.out-arrow::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 65%; height: 65%; border-top: 1.5px solid; border-right: 1.5px solid; }
.out-arrow::after { content: ""; position: absolute; right: 0; top: 0; width: 128%; border-top: 1.5px solid; transform-origin: right top; transform: rotate(-45deg); }

.welcome h1 { text-wrap: balance; }
.welcome-message { max-width: 44ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; }

.path-reason { margin:0; padding:clamp(18px,1.6vw,24px); color:#60584f; font-size:.94rem; line-height:1.5; text-wrap:pretty; }
.path-card img { border-radius:0; }
@media (max-width:520px) { .path-reason { grid-column:1 / -1; } .path-card img { border-bottom-left-radius:12px; } }

.path-reason strong { font-weight:600; }
@media (min-width:521px) {
  .path-grid { row-gap:0; }
  .path-card, .path-card a { display:grid; grid-template-rows:subgrid; grid-row:span 3; }
  .path-card { margin-bottom:1.25rem; }
  .path-copy { padding:clamp(18px,1.6vw,24px); gap:.75rem; }
}
