:root {
  color-scheme: light;
  --ink: #24221f;
  --paper: #f4efe5;
  --muted: #736e65;
  --line: #d4c9b8;
  --accent: #a45439;
  --motion: cubic-bezier(.22, 1, .36, 1);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; left: 12px; top: -70px; z-index: 100; background: #fff; padding: 12px; }
.skip-link:focus { top: 12px; }
/* The navigation floats over the world without reserving a white strip. */
.header { position: fixed; z-index: 20; inset: 14px clamp(16px, 3vw, 42px) auto auto; display: flex; justify-content: flex-end; pointer-events: none; }
.header a, .header details { pointer-events: auto; }
.desktop-nav { display: flex; align-items: center; gap: 3px; padding: 5px; border: 1px solid rgba(255,255,255,.58); border-radius: 16px; background: rgba(255,252,244,.73); box-shadow: 0 5px 20px rgba(59,49,36,.10); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; border-radius: 11px; font-size: 14px; font-weight: 750; color: #25231f; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current=true] { background: rgba(220,213,192,.72); }
.mobile-nav { display: none; }
.journey { position: relative; isolation: isolate; }
.stage { position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; z-index: 0; overflow: hidden; pointer-events: none; background: var(--paper); }
/* One continuous landscape. Typography sits outside its home composition. */
.world { position: absolute; inset: 80px 0 0; width: 100%; height: calc(100svh - 80px); touch-action: pan-y; cursor: grab; pointer-events: auto; }
body[data-chapter="home"] .world { top: 160px; height: calc(100svh - 160px); }
.world:active { cursor: grabbing; }
.world canvas { width: 100%; height: 100%; display: block; position: relative; z-index: 1; }
.world-status { position: absolute; bottom: 8%; right: 6%; font-size: 12px; color: var(--muted); }
.world-status[hidden] { display: none; }
.orbit { position: fixed; z-index: 3; right: 24px; bottom: 24px; display: flex; gap: 6px; opacity: 0; pointer-events: none; }
.orbit[hidden] { display: none; }
.orbit:focus-within, .orbit.is-rotated { opacity: 1; pointer-events: auto; }
.orbit button { width: 44px; height: 44px; border: 1px solid #d4c9b8; border-radius: 50%; background: #fbf8f0; color: var(--ink); cursor: pointer; }
.orbit.is-rotated [data-orbit] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.orbit.is-rotated:focus-within [data-orbit] { position: static; width: 44px; height: 44px; overflow: visible; clip-path: none; }
.chapter { position: relative; z-index: 1; min-height: 100svh; pointer-events: none; }
.chapter a, .chapter button, .chapter summary { pointer-events: auto; }
.home-copy { position: absolute; top: 91px; left: clamp(24px, 4vw, 64px); right: clamp(24px, 4vw, 64px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 24px; row-gap: 7px; }
.home-copy h1 { grid-column: 1; grid-row: 1; font-size: 36px; line-height: 40px; letter-spacing: -.05em; margin: 0; white-space: nowrap; }
.home-copy h1 span { color: var(--accent); }
.home-signature { grid-column: 2; grid-row: 1; font-size: 14px; line-height: 20px; margin: 0; }
.home-intro { grid-column: 1 / 3; grid-row: 2; font-size: 14px; line-height: 20px; color: #5f5a53; margin: 0; }
.home-actions { grid-column: 3; grid-row: 1 / 3; display: flex; align-items: center; gap: 24px; }
.hero-link, .home-secondary { position: static; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; color: var(--ink); background: transparent; border-radius: 0; box-shadow: none; font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #b8a896; text-underline-offset: 6px; }
.hero-link:hover, .home-secondary:hover { text-decoration-color: currentColor; }
.home-kicker, .eyebrow { margin: 0 0 16px; color: #8a7967; font-size: 11px; font-weight: 750; letter-spacing: .13em; }
.chapter-content { display: flex; align-items: center; padding: 100px clamp(24px, 4vw, 64px) 64px; }
.chapter-copy { width: min(32vw, 380px); pointer-events: auto; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.chapter-copy h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1.1; letter-spacing: -.05em; margin: 0 0 20px; text-wrap: balance; overflow-wrap: normal; }
.chapter-copy h2 span { color: var(--accent); }
.chapter-copy h2.product-title { font-size: clamp(36px, 4vw, 56px); }
#products-title { white-space: nowrap; }
.signature { font-size: 16px; line-height: 1.7; font-weight: 700; margin: 0 0 20px; }
.description { font-size: 15px; line-height: 1.8; color: #68635c; max-width: 340px; margin: 0 0 22px; text-wrap: pretty; }
.product-line { font-size: 18px; line-height: 1.5; font-weight: 700; margin: 0 0 8px; }
.text-link, .secondary-link { font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: #bca38f; }
.product-choices { display: grid; gap: 0; }
.product-choice { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 80px; padding: 12px 0; border: 0; border-bottom: 1px solid #d8cfbf; border-radius: 0; background: transparent; text-decoration: none; box-shadow: none; transition: transform 250ms var(--motion); }
.product-choice:hover { transform: translateX(4px); }
.product-choice img { width: 48px; height: 48px; object-fit: contain; border-radius: 11px; }
.product-choice b, .product-choice small { display: block; }
.product-choice b { font-size: 15px; }
.product-choice small { font-size: 12px; color: #777067; margin-top: 4px; }
.product-choice i { font-style: normal; color: #9c705d; }
.product-item { min-width: 0; }
.product-item summary { list-style: none; cursor: pointer; }
.product-item summary::-webkit-details-marker { display: none; }
.product-item[open] summary { border-bottom-color: transparent; }
.product-item[open] summary i { transform: rotate(45deg); }
.product-detail { padding: 0 0 16px 61px; border-bottom: 1px solid #d8cfbf; color: #504a42; }
.product-detail p { margin: 0 0 10px; font-size: 13px; line-height: 1.65; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.detail-actions a { font-size: 13px; font-weight: 700; text-underline-offset: 4px; text-decoration-color: #baa894; }
.primary-link { display: inline-flex; align-items: center; gap: 18px; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; padding: 12px 16px; font-size: 14px; font-weight: 700; transition: transform 250ms var(--motion); }
.primary-link:hover { transform: translateY(-2px); }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.return-link { display: inline-block; margin: 24px 20px 0 0; font-size: 13px; font-weight: 650; text-decoration: none; color: #746e65; }
.demo-link { font: inherit; font-size: 14px; font-weight: 700; border: 1px solid #a69b8b; background: transparent; color: var(--ink); border-radius: 8px; padding: 12px 16px; cursor: pointer; }
.demo-link:hover { background: #e8e0d2; }
.demo-link:active { transform: translateY(1px); }
.screen-preview { display: block; width: 100%; margin: 0 0 20px; text-decoration: none; overflow: hidden; }
.screen-preview img { display: block; width: 100%; height: 112px; object-fit: cover; object-position: top; border: 1px solid #ded6ca; border-radius: 8px; }
.screen-preview span { display: block; padding: 8px 0 0; font-size: 11px; font-weight: 650; color: #6b655c; }
.editorial-copy h2 { text-wrap: balance; }
.content-list { display: grid; gap: 0; }
.content-card { padding: 20px 0; border-top: 1px solid var(--line); background: transparent; }
.content-meta { display: flex; justify-content: space-between; gap: 10px; color: #6c665d; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.content-card h3, .case-card h3 { margin: 10px 0 6px; color: var(--ink); font-size: 18px; line-height: 1.35; letter-spacing: -.025em; text-wrap: balance; }
.content-card p, .case-card p { font-size: 13px; line-height: 1.6; color: #605b54; margin: 0; }
.content-availability { display: block; color: #776f66; font-size: 11px; margin-top: 10px; }
.case-card { padding: 0; background: transparent; border: 0; border-radius: 0; }
.case-image { width: 100%; height: 112px; object-fit: contain; object-position: center; display: block; margin-bottom: 16px; }
.case-kicker { font-weight: 700; letter-spacing: .06em; font-size: 11px !important; color: #8a7967 !important; }
.case-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 12px 0; }
.case-steps li { font-size: 11px; font-weight: 700; color: #514a42; }
.case-steps li + li::before { content: "·"; margin-right: 12px; }
.case-note { font-size: 11px !important; color: #81766a !important; margin-bottom: 12px !important; }
.element-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; margin: 0 0 24px; }
.element-strip a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 0; color: var(--ink); text-decoration: none; transition: transform 300ms var(--motion); }
.element-strip a:hover { transform: translateY(-3px); }
.element-strip a:focus-visible { outline-offset: 2px; }
.element-strip a img { display: block; width: 100%; height: 80px; object-fit: contain; }
.element-strip a span { font-size: 11px; font-weight: 650; line-height: 1.3; text-align: center; }
.small-note { font-size: 12px; color: #797169; margin-top: 12px; }
.footer { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 36px clamp(24px, 4vw, 64px); background: #25231f; color: #f4efe5; }
.footer strong { font-size: 24px; letter-spacing: -.05em; }
.footer span { font-size: 12px; line-height: 1.6; }
.mobile-nav summary { list-style: none; cursor: pointer; font-weight: 750; font-size: 14px; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 14px; background: rgba(255,252,244,.8); box-shadow: 0 4px 16px rgba(59,49,36,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: 48px; display: grid; min-width: 160px; padding: 8px; background: #fffcf7; border: 1px solid #ddd3c4; border-radius: 12px; box-shadow: 0 10px 24px #42342b20; }
.mobile-nav nav a { padding: 12px; min-height: 44px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 650; }
.mobile-nav nav a:hover { background: #f0eadf; }
.case-play { display: block; border: 0; padding: 10px 0; margin: 0 0 8px; background: none; color: #211f1b; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.case-play:focus-visible, .case-close:focus-visible { outline: 3px solid #b45e3c; outline-offset: 3px; }
.case-dialog { border: 0; border-radius: 18px; padding: 0; background: #fbf7ed; color: #211f1b; width: min(92vw, 520px); max-height: 92dvh; box-shadow: 0 20px 70px #241c1766; }
.case-dialog::backdrop { background: #211c19ad; }
.case-dialog-inner { padding: 20px; }
.case-dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.case-dialog-heading p { margin: 0 0 5px; color: #776a5b; font-size: 12px; }
.case-dialog-heading h2 { font-size: 20px; line-height: 1.3; margin: 0 0 14px; }
.case-close { width: 36px; height: 36px; border: 1px solid #d8cebe; border-radius: 50%; font-size: 24px; line-height: 1; background: #fffaf3; color: #28231f; cursor: pointer; }
.case-video { display: block; width: auto; max-width: 100%; height: min(68dvh, 610px); margin: auto; border-radius: 10px; background: #211f1b; }
.case-dialog-note { margin: 10px 0 0; font-size: 12px; color: #756d63; }
@media (min-width: 761px) and (max-width: 1050px) {
  .home-copy { top: 80px; column-gap: 18px; grid-template-columns: auto minmax(0, 1fr); }
  .home-actions { grid-column: 2; grid-row: 2; justify-self: end; min-height: 32px; }
  .home-actions a { min-height: 32px; padding: 4px 0; }
  .home-intro { grid-column: 1; }
  .home-signature { font-size: 13px; }
  .chapter-copy { width: 33vw; }
  .chapter-copy h2 { font-size: 36px; }
  .chapter-copy h2.product-title { font-size: 36px; }
  .description { font-size: 14px; }
}
@media (max-width: 760px) {
  .header { inset: 12px 16px auto auto; padding: 0; background: none; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; pointer-events: auto; }
  .home-copy { top: 78px; left: 22px; right: 22px; display: block; }
  .home-copy h1 { font-size: 30px; line-height: 32px; margin: 0 0 8px; }
  .home-signature { font-size: 12px; line-height: 18px; margin: 0; }
  .home-intro { font-size: 12px; line-height: 18px; margin: 4px 0 0; }
  .home-actions { position: static; display: flex; flex-wrap: wrap; gap: 0 24px; margin: 4px 0 0; }
  .hero-link, .home-secondary { min-height: 44px; padding: 8px 0; font-size: 13px; line-height: 20px; gap: 12px; }
  body[data-chapter="home"] .world { inset: 210px 0 0; width: 100%; height: calc(100svh - 210px); }
  body:not([data-chapter="home"]) .world { inset: 64px 0 auto; width: 100%; height: 40svh; }
  .world-status { font-size: 11px; bottom: 24px; }
  body:not([data-chapter="home"]) .world-status { top: 42svh; bottom: auto; }
  .orbit, .orbit.is-rotated { right: 16px; bottom: 16px; top: auto; }
  body:not([data-chapter="home"]) .orbit { top: calc(40svh + 12px); bottom: auto; }
  .chapter-content { display: block; padding: calc(48svh + 16px) 24px 48px; min-height: 100svh; }
  .chapter-copy { width: 100%; max-width: 480px; margin: 0 auto; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .chapter-copy h2, .chapter-copy h2.product-title { font-size: 32px; line-height: 1.15; margin-bottom: 12px; }
  .eyebrow { font-size: 10px; margin-bottom: 10px; }
  .description { font-size: 14px; line-height: 1.65; max-width: none; margin-bottom: 16px; }
  .product-line { font-size: 16px; }
  .product-choice { grid-template-columns: 40px minmax(0, 1fr) auto; min-height: 68px; gap: 12px; padding: 10px 0; }
  .product-choice img { width: 40px; height: 40px; }
  .product-choice b { font-size: 14px; }
  .product-choice small { font-size: 12px; margin-top: 3px; }
  .product-detail { padding-left: 52px; }
  .product-detail p { font-size: 13px; }
  .action-row { gap: 12px; }
  .primary-link, .demo-link { min-height: 44px; padding: 12px; font-size: 13px; }
  .secondary-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
  .return-link { margin-top: 16px; min-height: 44px; padding: 12px 0; }
  .screen-preview { margin-bottom: 16px; }
  .screen-preview img { height: 90px; }
  .content-card { padding: 16px 0; }
  .content-card h3, .case-card h3 { font-size: 17px; }
  .content-card p, .case-card p { font-size: 13px; }
  .case-image { height: 100px; margin-bottom: 12px; }
  .case-steps { gap: 8px; }
  .case-steps li + li::before { margin-right: 8px; }
  .element-strip { gap: 12px 8px; margin-bottom: 20px; }
  .element-strip a img { height: 70px; }
  .element-strip a span { font-size: 11px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 8px; padding: 32px 24px; }
  .footer span { font-size: 11px; }
}
@media (max-width: 360px) {
  .home-copy { left: 18px; right: 18px; }
  .home-signature { max-width: 282px; }
  body[data-chapter="home"] .world { top: 228px; height: calc(100svh - 228px); }
  .chapter-content { padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Compact translucent reading surfaces; the forest remains visible between them. */
.chapter-copy {
  width: min(31vw, 360px);
  padding: 22px 24px;
  color: #282620;
  background: rgba(250, 248, 239, .78);
  border: 1px solid rgba(255, 255, 248, .65);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(55, 61, 40, .09);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.chapter-copy h2, .chapter-copy h2.product-title {
  font-size: clamp(32px, 3.15vw, 48px);
  line-height: 1.14;
  letter-spacing: -.035em;
  font-weight: 800;
  margin-bottom: 12px;
}
.chapter-copy .eyebrow { margin-bottom: 9px; color: #655e52; font-weight: 800; letter-spacing: .09em; }
.chapter-copy .description { color: #514e46; font-weight: 600; line-height: 1.65; margin-bottom: 16px; }
.product-choices, .content-list { gap: 7px; }
.product-choice { min-height: 66px; padding: 9px 10px; border: 1px solid rgba(255,255,248,.65); border-radius: 12px; background: rgba(255,255,250,.48); }
.product-choice img { width: 42px; height: 42px; }
.product-choice small { color: #5b574f; font-weight: 600; }
.product-detail { padding: 8px 12px 12px; border: 0; }
.content-card { padding: 12px 13px; border: 1px solid rgba(255,255,248,.65); border-radius: 12px; background: rgba(255,255,250,.46); }
.content-card h3, .case-card h3 { font-weight: 800; }
.content-card p, .case-card p, .content-availability, .small-note { color: #56534a; font-weight: 600; }
.element-strip { gap: 8px; margin-bottom: 16px; }
.element-strip a { padding: 6px 3px; border: 1px solid rgba(255,255,248,.6); border-radius: 12px; background: rgba(255,255,250,.44); }
.element-strip a img { height: 62px; }
.element-strip a span { font-weight: 750; }
@media (max-width: 760px) {
  .chapter-copy { width: 100%; max-width: 480px; padding: 18px 20px; border-radius: 16px; }
  .chapter-copy h2, .chapter-copy h2.product-title { font-size: 32px; margin-bottom: 10px; }
  .product-choice { min-height: 60px; padding: 8px 10px; }
  .product-choice img { width: 40px; height: 40px; }
  .element-strip a img { height: 60px; }
}
