/* Six entry points share the same reading: brass frames, jade fields and
   generous type keep each path easy to scan on a narrow screen. */
.life-paths {
  grid-column: 1 / -1; width: 100%; margin-top: 26px; padding-top: 43px;
  border-top: 1px solid #d3bf8645; position: relative;
}
.life-paths::before { content: ''; position: absolute; top: -2px; left: 0; width: 70px; height: 3px; background: linear-gradient(90deg, #e8cc87, #e8cc8700); }
.life-paths-heading { max-width: 720px; margin-bottom: 27px; }
.life-paths-heading .eyebrow { font-size: 11px; letter-spacing: .17em; }
.life-paths-heading h2 { font-family: var(--serif); font-size: clamp(30px, 3.1vw, 41px); line-height: 1.24; margin: 13px 0 12px; letter-spacing: -.015em; }
.life-paths-heading > p:last-child { color: #c7d2c8; font-size: 15px; line-height: 1.7; max-width: 615px; }
.life-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.life-path-card {
  --path-accent: #dfc28a; display: flex; align-items: center; gap: 17px;
  min-height: 146px; padding: 24px 21px; position: relative; isolation: isolate;
  border: 1px solid #bfa77588; border-right-color: #66754e; border-bottom: 3px solid #6a6542; border-radius: 5px;
  background: linear-gradient(125deg, #294337f5, #0b242df7 72%);
  box-shadow: inset 0 1px 0 #f4dfaa37, inset 0 -5px 8px #00101866, 0 3px 0 #172c27, 0 6px 0 #8b774944, 4px 14px 24px #0006;
  color: #f2e7ce; text-align: left; transform: none;
  transition: border-color .25s, background .25s;
}
.life-path-card::before { content: ''; position: absolute; inset: 6px; border: 1px solid #d6c39413; border-radius: 2px; pointer-events: none; }
.life-path-card:hover { transform: none; border-color: #ead096; background: linear-gradient(125deg, #34513ff7, #14313af7 72%); }
.life-path-card:focus-visible { outline: 2px solid #ffe8ad; outline-offset: 5px; }
.life-path-card[data-focus="family"] { --path-accent: #b9d2ad; }
.life-path-card[data-focus="learning"] { --path-accent: #b6d2d6; }
.life-path-card[data-focus="creativity"] { --path-accent: #e7bfa5; }
.life-path-card[data-focus="annual"] { --path-accent: #e5cf91; }
.life-path-icon { display: grid; place-items: center; width: 53px; height: 57px; flex: none; border: 1px solid #ceb88385; border-radius: 18px 18px 5px 5px; color: var(--path-accent); background: radial-gradient(circle at 32% 22%, #46553d, #1c372d 66%, #0b242b); box-shadow: inset 0 1px 0 #ffe4ab55, 0 2px 0 #897647, 0 4px 0 #152e26, 2px 7px 10px #0006; }
.life-path-icon svg { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.life-path-copy { display: block; min-width: 0; }
.life-path-copy strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.3; letter-spacing: -.01em; }
.life-path-copy small { display: block; color: #c4d0c5; font-family: var(--sans); font-size: 14px; line-height: 1.55; margin-top: 7px; }
.life-path-arrow { flex: none; align-self: flex-start; margin-left: auto; color: var(--path-accent); font-size: 19px; line-height: 1; }
.home-screen > .home-footer { position: relative; inset: auto; grid-column: 1 / -1; width: 100%; margin-top: 27px; }
.home-screen { padding-bottom: 35px; }
.journey-intention { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 18px; width: fit-content; max-width: 100%; margin: -8px auto 32px; padding: 13px 20px; border: 1px solid #a997645e; border-radius: 3px; background: linear-gradient(110deg, #314033a8, #102a2ac4); box-shadow: inset 0 1px 0 #e8d5a11c, 0 3px 9px #0003; text-align: center; }
.journey-intention .intention-label { color: #c9b783; font-size: 11px; font-weight: 600; letter-spacing: .13em; }
.journey-intention strong { font-family: var(--serif); font-size: 18px; font-weight: 400; color: #f3e4c4; }

/* Nine destinations stay visible rather than disappearing in a thin scroller. */
.theme-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; overflow: visible; margin-top: 38px; padding: 5px 0 17px; }
.theme-tabs button { flex: 0 1 auto; min-height: 44px; padding: 10px 17px; font-family: var(--sans); font-size: 14px; line-height: 1.3; white-space: normal; border-radius: 4px; transform: none; transition: color .2s, border-color .2s, background .2s; }
.theme-tabs button[aria-selected="true"] { transform: none; color: #ffe6a7; background: linear-gradient(120deg, #4b5135, #213d2d); border-color: #dcc58b; }
.theme-tabs button:hover { border-color: #d2bd87; color: #f4e6c8; }
.theme-content { padding: 31px 32px; min-height: 0; }
.theme-heading h2 { margin-bottom: 15px; font-size: clamp(29px, 3vw, 37px); }
.theme-heading > p { max-width: 880px; }
.theme-content .theme-heading p { font-size: 16px; line-height: 1.85; color: #d3ddd2; }
.theme-practice, .theme-question { margin-top: 25px; padding: 19px 22px; border-radius: 3px; position: relative; }
.theme-practice { border: 1px solid #c3ad743d; background: linear-gradient(110deg, #31433386, #132d2c55); box-shadow: inset 0 1px 0 #e6d49a13; }
.theme-question { border-left: 2px solid #c7aa69; background: linear-gradient(90deg, #d4be7e0d, transparent); padding-top: 10px; padding-bottom: 10px; }
.theme-practice small, .theme-question small { display: block; color: #e2cb91; font-size: 11px; font-weight: 600; letter-spacing: .13em; margin-bottom: 8px; }
.theme-content .theme-practice p { font-size: 15px; line-height: 1.75; color: #d4ddd0; }
.theme-content .theme-question p { color: #f0e3c8; font-family: var(--serif); font-size: 21px; line-height: 1.55; }

/* A small sculptural year seal anchors the annual reflection. */
.theme-content.is-annual { padding: 27px 31px 30px; }
.annual-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 23px; border-bottom: 1px solid #bda56b43; }
.annual-toolbar .panel-kicker { font-size: 11px; line-height: 1.5; }
.annual-year-control { display: flex; align-items: center; gap: 11px; }
.annual-year-control > div { display: flex; flex-direction: column; min-width: 170px; }
.annual-year-control label { color: #c5d0c4; font-size: 14px; margin-bottom: 5px; }
.annual-year-control select { width: 100%; min-height: 44px; padding: 9px 31px 9px 12px; color: #f5e6c5; font: 500 16px var(--sans); background: #0b232a; border: 1px solid #ae9a67; border-top-color: #5b674d; border-radius: 3px; box-shadow: inset 1px 2px 5px #0009, 0 1px 0 #dac58a3b; cursor: pointer; }
.annual-year-control select option { color: #f5e6c5; background: #102a2b; }
.annual-year-control select:focus-visible { outline: 2px solid #f5dca0; outline-offset: 4px; }
.annual-year-step { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 25px; padding: 0; border: 1px solid #bfa7729c; border-bottom: 2px solid #65623e; border-radius: 50%; font-size: 21px; color: #e8cf97; background: radial-gradient(circle at 30% 22%, #40523b, #162f2b); box-shadow: inset 0 1px 0 #f9e4ae44, 0 3px 0 #10221e, 1px 5px 8px #0005; }
.annual-year-step:hover:not(:disabled) { color: #fff0b8; border-color: #e3c987; background: #344a35; }
.annual-year-step:disabled { opacity: .35; }
.annual-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: center; gap: 36px; margin: 34px 0 25px; }
.annual-orbit { position: relative; width: 220px; height: 236px; margin: 0 auto; perspective: 650px; isolation: isolate; }
.annual-orbit::before { content: ''; position: absolute; inset: 25px 11px 13px; border-radius: 50%; background: radial-gradient(circle at 28% 22%, #405239,#17322d 55%,#081e25); border: 2px ridge #cbb17a; box-shadow: inset 0 2px 3px #f5dfa344, inset 0 -8px 16px #00111ab3, 0 4px 0 #7a683f, 0 7px 0 #18342a, 0 10px 0 #a08953, 0 13px 0 #10221e, 5px 22px 23px #0008; transform: rotateX(17deg) rotateZ(-5deg); }
.annual-orbit::after { content: ''; position: absolute; inset: 42px 28px 29px; border: 1px solid #ddc68a64; border-radius: 50%; transform: rotateX(17deg) rotateZ(-5deg); pointer-events: none; }
.annual-ring { position: absolute; inset: 16px 2px 5px; border: 1px dashed #d5bd7d9c; border-radius: 50%; transform: rotateX(17deg); animation: annual-orbit-turn 51s linear infinite; animation-play-state: paused; }
.annual-ring::after { content: ''; position: absolute; top: -3px; left: calc(50% - 3px); width: 6px; height: 6px; border-radius: 1px; background: #ebd597; box-shadow: 0 1px 4px #000a; transform: rotate(45deg); }
.annual-ring-inner { inset: 56px 42px 43px; border-style: solid; border-color: #c9b77a70; transform: rotateX(61deg) rotateZ(-28deg); animation-name: annual-inner-turn; animation-duration: 37s; animation-direction: reverse; }
.annual-seal { position: absolute; inset: 54px 45px 43px; display: flex; justify-content: center; align-items: center; gap: 4px; color: var(--annual-element, #e8cd91); border: 2px ridge #c8af73; border-radius: 45%; background: radial-gradient(circle at 30% 20%,#4a593a,#243e2b 60%,#102b29); box-shadow: inset 0 1px 2px #ffe5a954, 0 3px 0 #7e6e42, 0 6px 0 #142f25, 2px 12px 14px #000a; font-family: var(--chinese); font-size: 48px; line-height: 1; text-shadow: 0 2px 0 #243c27, 1px 4px 4px #0009; transform: rotateX(8deg) translateZ(20px); }
.annual-orbit-year { position: absolute; left: 0; right: 0; bottom: 23px; text-align: center; color: #e3ca93; font-family: var(--serif); font-size: 18px; letter-spacing: .18em; padding-left: .18em; text-shadow: 0 2px 4px #0009; }
.annual-copy .panel-kicker { font-size: 12px; color: #d4c18e; letter-spacing: .08em; }
.annual-copy h2 { margin: 12px 0 15px; font-size: clamp(28px,3vw,36px); line-height: 1.3; }
.annual-copy > p:not(.panel-kicker) { color: #d4ded2; font-size: 16px; line-height: 1.8; }
.annual-relationship { margin-top: 23px; padding: 17px 20px; border-left: 2px solid #c1a96f; background: linear-gradient(90deg,#d5bc7b0d,transparent); }
.annual-relationship > span { display: block; color: #bfcfc0; font-size: 14px; }
.annual-relationship > span:first-child { color: #d5bc83; font-size: 11px; letter-spacing: .1em; font-weight: 600; }
.annual-relationship strong { display: block; color: #f4e4be; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.35; margin: 8px 0 4px; }
.annual-relationship p { margin-top: 9px; font-size: 14px; line-height: 1.75; color: #cbd8c8; }
.theme-content .annual-period { padding: 14px 18px; margin: 0; border: 1px solid #a9966445; border-radius: 3px; color: #cecfb5; background: #071e238f; font-size: 14px; line-height: 1.7; text-align: center; }
.annual-notes { margin-top: 25px; padding-top: 17px; border-top: 1px solid #bba56d33; color: #bfcdbf; font-size: 14px; }
.annual-notes summary { cursor: pointer; color: #dfc893; font-size: 14px; padding: 5px 0; }
.annual-notes summary:focus-visible { outline: 2px solid #efda9e; outline-offset: 4px; }
.theme-content .annual-notes p { color: #bfcdbf; font-size: 14px; line-height: 1.75; margin-top: 12px; }
body.scene-running .result-screen:not([hidden]) .annual-ring { animation-play-state: running; }
@keyframes annual-orbit-turn { from { transform: rotateX(17deg) rotateZ(0); } to { transform: rotateX(17deg) rotateZ(360deg); } }
@keyframes annual-inner-turn { from { transform: rotateX(61deg) rotateZ(-28deg); } to { transform: rotateX(61deg) rotateZ(332deg); } }

@media (max-width: 1050px) {
  .life-path-grid { gap: 15px; }
  .life-path-card { flex-wrap: wrap; align-content: start; gap: 15px; padding: 22px 18px; }
  .life-path-copy { flex: 1 0 calc(100% - 28px); order: 2; }
  .life-path-arrow { order: 1; }
  .life-path-copy strong { font-size: 20px; }
  .annual-layout { grid-template-columns: 200px minmax(0,1fr); gap: 23px; }
  .annual-orbit { width: 200px; height: 216px; }
  .annual-seal { font-size: 43px; inset: 51px 41px 40px; }
}
@media (max-width: 760px) {
  .life-paths { order: 6; margin-top: 53px; padding-top: 31px; }
  .life-paths-heading { text-align: center; margin-bottom: 24px; }
  .life-paths-heading .eyebrow { justify-content: center; font-size: 10px; }
  .life-paths-heading h2 { font-size: 31px; line-height: 1.3; }
  .life-paths-heading > p:last-child { font-size: 14px; line-height: 1.7; }
  .life-path-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 12px; }
  .life-path-card { min-height: 214px; padding: 19px 15px 20px; gap: 15px; }
  .life-path-icon { width: 44px; height: 48px; border-radius: 15px 15px 4px 4px; }
  .life-path-icon svg { width: 29px; height: 29px; }
  .life-path-copy { flex-basis: 100%; }
  .life-path-copy strong { font-size: 18px; line-height: 1.4; }
  .life-path-copy small { font-size: 14px; line-height: 1.55; margin-top: 8px; }
  .life-path-arrow { font-size: 17px; }
  .home-screen > .home-footer { order: 7; margin-top: 40px; }
  .home-screen { padding-bottom: 30px; }
  .journey-intention { margin: -6px auto 29px; padding: 12px 16px; gap: 6px 15px; }
  .journey-intention .intention-label { font-size: 10px; }.journey-intention strong { font-size: 17px; }
  .theme-tabs { justify-content: flex-start; gap: 9px; margin-top: 28px; }
  .theme-tabs button { font-size: 14px; min-height: 44px; padding: 11px 13px; flex: 1 0 auto; }
  .theme-content, .theme-content.is-annual { margin-inline: 0; padding: 25px 19px; }
  .theme-heading h2 { font-size: 29px; }.theme-content .theme-heading p { font-size: 15px; }
  .theme-practice, .theme-question { padding: 17px 16px; margin-top: 22px; }
  .theme-content .theme-practice p { font-size: 14px; }.theme-content .theme-question p { font-size: 20px; }
  .annual-toolbar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .annual-year-control { width: 100%; justify-content: center; gap: 10px; }
  .annual-year-control > div { flex: 1; min-width: 0; }
  .annual-year-step { flex: none; }
  .annual-layout { grid-template-columns: minmax(0,1fr); gap: 25px; margin-top: 22px; }
  .annual-orbit { width: 216px; height: 230px; }.annual-seal { inset: 54px 45px 43px; font-size: 47px; }
  .annual-copy h2 { font-size: 29px; }.annual-copy > p:not(.panel-kicker) { font-size: 15px; }
  .annual-relationship { padding-inline: 15px; }.annual-relationship strong { font-size: 21px; }
  .annual-relationship > span:first-child { font-size: 10px; line-height: 1.6; }
  .theme-content .annual-period { padding: 12px 10px; font-size: 14px; }
}
@media (max-width: 359px) {
  .life-path-grid { grid-template-columns: minmax(0,1fr); }
  .life-path-card { min-height: 132px; flex-wrap: nowrap; align-items: center; }
  .life-path-copy { flex: 1 1 auto; order: 0; }.life-path-arrow { order: 0; }
  .annual-year-control { gap: 7px; }.annual-year-step { width: 39px; height: 44px; }
}
body.motion-paused .annual-ring { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .annual-ring { animation: none !important; } .life-path-card, .theme-tabs button { transition: none !important; } }
