/* Current projects: a short introduction, something to try, then the build notes. */
.hero-home { padding: 38px 0 34px; }
.hero-home .eyebrow { padding: 0; border: 0; box-shadow: none; background: none; margin-bottom: 16px; }
.hero-home h1 { max-width: 12ch; font-size: clamp(2.1rem, 4vw, 3.25rem); }
.hero-home .hero-copy { max-width: 39ch; margin-bottom: 22px; }
.hero-home .hero-grid { gap: 36px; }
.hero-home .viewer-caption { font-size: 0.65rem; }
.hero-home .viewer-controls { gap: 10px 16px; }
.project-date { display: block; margin: 12px 0 0; color: var(--muted); font-family: var(--mono); font-size: 0.72rem; }
.section-current { padding: 40px 0 56px; }
.section-current .section-intro { margin-bottom: 24px; }
.current-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.current-project { min-width: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.current-project-visual { display: block; height: 270px; overflow: hidden; background: #edf2ee; }
.current-project-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transition: transform 220ms ease; }
.current-project-visual:hover img { transform: scale(1.025); }
.current-project-copy { padding: 24px 26px 28px; }
.current-project-copy h3 { margin: 8px 0 12px; font-size: 1.5rem; letter-spacing: -0.035em; }
.current-project-copy p { color: var(--ink-soft); margin-bottom: 20px; }
.current-project-copy .feature-meta { margin: 0; font-size: 0.69rem; }
.life-preview { padding: 24px; background: #e9eee7; }
.life-preview-window { max-width: 400px; margin: 0 auto; padding: 18px 22px; border: 1px solid #d3dacd; border-radius: 12px; background: #fafbf7; box-shadow: 0 8px 25px #233b2410; }
.life-preview-label { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 0.64rem; color: #5a6955; text-transform: uppercase; }
.life-preview-title { margin: 15px 0 12px; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.035em; }
.life-preview-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #e0e6dc; font-size: 0.85rem; }
.life-preview-row i { flex: none; width: 14px; height: 14px; border: 1px solid #8f9e85; border-radius: 4px; }
.life-preview-row small { margin-left: auto; color: #66735f; white-space: nowrap; }
.life-preview-foot { margin-top: 10px; color: #3d6449; font-size: 0.72rem; }
.notebook-section { padding: 40px 0; border-top: 1px solid var(--line); }
.notebook-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.notebook-head h2 { font-size: 1.3rem; letter-spacing: -0.025em; }
.notebook-head p { color: var(--muted); font-size: 0.8rem; }
.notebook-list { list-style: none; padding: 0; margin: 0; }
.notebook-list li + li { border-top: 1px solid var(--line); }
.notebook-list a { display: grid; grid-template-columns: 110px 1fr 24px; align-items: start; gap: 24px; padding: 18px 0; }
.notebook-list a:hover strong { color: var(--accent-dark); }
.notebook-list time { color: var(--muted); font-family: var(--mono); font-size: 0.7rem; padding-top: 3px; }
.notebook-list strong { display: block; font-size: 1rem; }
.notebook-list p { max-width: 65ch; margin: 5px 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.notebook-arrow { color: var(--accent-dark); }
.home-about { padding-block: 56px; }
.home-about .section-copy { font-size: 1rem; }
.home-about .about-copy { max-width: 65ch; }
.case-hero-compact { padding: 35px 0 28px; }
.case-hero-compact .case-breadcrumb { margin-bottom: 20px; }
.case-hero-compact .case-label { margin-bottom: 12px; }
.case-hero-compact h1 { margin-bottom: 16px; }
.case-hero-compact .case-lead { font-size: 1.1rem; line-height: 1.6; max-width: 58ch; }
.project-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; }
.project-intro figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.project-intro figure img { height: 265px; width: 100%; object-fit: cover; }
.project-intro figcaption { padding: 9px 14px; font-size: 0.7rem; color: var(--muted); }
.case-demo { margin-block: 8px 42px; }
.demo-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 0 0 18px; }
.demo-heading h2 { font-size: 1.5rem; letter-spacing: -0.04em; }
.demo-heading p { max-width: 52ch; color: var(--ink-soft); font-size: 0.9rem; margin: 0; }
.demo-sample { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #5a6e60; border-radius: 100px; font: 600 0.65rem var(--mono); white-space: nowrap; }
.iot-walkthrough { padding: 24px; color: #eff9f2; background: #14251f; border: 1px solid #2f4e40; border-radius: var(--radius); }
.iot-walkthrough-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; font-size: 0.85rem; }
.demo-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0 0 20px; gap: 8px; }
.demo-steps li { padding: 10px 12px; color: #c0d4c7; border: 1px solid #405b4b; border-radius: 8px; font-size: 0.78rem; }
.demo-steps li[aria-current] { color: #143c2c; background: #b4edcf; border-color: #b4edcf; font-weight: 700; }
.iot-walkthrough-body { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 18px; }
.demo-node { display: flex; flex-direction: column; justify-content: center; padding: 22px; border: 1px solid #405b4b; border-radius: 12px; }
.demo-node small { color: #c0d4c7; font-size: 0.75rem; }
.demo-node strong { display: block; margin-top: 12px; color: #d0ffe0; font: 650 clamp(2.8rem, 5vw, 4rem) var(--mono); letter-spacing: -0.07em; }
.demo-node p { margin: 4px 0 20px; color: #c0d4c7; font-size: 0.8rem; }
.demo-node span { padding-top: 14px; border-top: 1px solid #405b4b; color: #d0e8d8; font-size: 0.7rem; }
.demo-room-view { min-width: 0; padding: 18px; background: #edf3ed; border-radius: 12px; color: #23382b; }
.demo-room-view > p { display: flex; justify-content: space-between; gap: 8px; font-size: 0.8rem; margin-bottom: 14px; }
.demo-room-view > p small { color: #566953; font-size: 0.68rem; }
.demo-floor { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 6px; }
.demo-room { padding: 15px; border: 2px solid #b7c5b3; border-radius: 3px; }
.demo-room-primary { grid-row: span 2; background: #fff; }
.demo-room > span { display: block; font-size: 0.78rem; }
.demo-room strong { display: block; margin: 10px 0; font: 650 2.1rem var(--mono); letter-spacing: -0.06em; }
.demo-room small { color: #576a56; font-size: 0.7rem; }
.demo-room-primary small { display: block; }
.demo-room-muted { border-style: dashed; background: #e5ebe1; }
.demo-trend { width: 100%; height: 54px; margin-top: 15px; }
.demo-trend path { fill: none; stroke: #829780; stroke-width: 2; stroke-dasharray: 4 4; }
.demo-trend circle { fill: #137c55; opacity: 0; }
[data-stage="2"] .demo-room-primary { border-color: #137c55; }
[data-stage="2"] .demo-trend path { stroke: #137c55; stroke-dasharray: none; }
[data-stage="2"] .demo-trend circle { opacity: 1; }
.demo-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.demo-actions p { max-width: 65ch; margin: 0; color: #d0e8d8; font-size: 0.82rem; }
.demo-actions .button { flex: none; border-color: #b4edcf; background: #b4edcf; color: #143c2c; }
.demo-footnote { margin-top: 10px; color: var(--muted); font-size: 0.75rem; }
.project-facts { margin-bottom: 32px; }
.project-facts .case-summary { box-shadow: none; margin-top: 16px; }
.project-facts summary { cursor: pointer; color: var(--ink-soft); font-size: 0.85rem; }
.enclosure-stage { margin-bottom: 28px; }
.enclosure-stage .section-intro { margin: 0 0 14px; align-items: center; }
.enclosure-stage .section-title { font-size: 1.3rem; }
.enclosure-stage .section-copy { font-size: 0.85rem; }
.enclosure-stage .viewer-controls { margin-top: 14px; }
.concept-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 32px; }
.concept-picks a { padding: 18px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); }
.concept-picks strong { display: block; font-size: 1rem; margin-bottom: 7px; }
.concept-picks p { margin: 0; color: var(--ink-soft); font-size: 0.83rem; }
.concept-picks a:hover { border-color: var(--accent-dark); }
.build-notes { margin-bottom: 56px; }
.build-notes > h2 { font-size: 1.5rem; margin-bottom: 8px; }
.build-notes > p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 22px; }
.build-detail { margin-bottom: 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); overflow: clip; }
.build-detail > summary { padding: 18px 20px; cursor: pointer; font-size: 0.95rem; font-weight: 650; }
.build-detail > summary::marker { color: var(--accent-dark); }
.build-detail > summary span { display: inline; margin-left: 12px; font-size: 0.78rem; font-weight: 400; color: var(--muted); }
.build-detail[open] > summary { border-bottom: 1px solid var(--line); }
.build-detail .case-section { padding: 26px 0; }
.build-detail .shell { width: calc(100% - 36px); }
.build-detail .case-prose-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.build-detail .case-section-title { font-size: 1.3rem; }
.build-detail .case-section-title > span { display: none; }
.build-detail .concept-body { margin-top: 20px; }
.build-detail .case-summary { box-shadow: none; }
.snapshot-note { margin: 0 auto 18px; color: var(--muted); font-size: 0.8rem; }
.garden-stat-strip .snapshot-note { padding-top: 18px; }
.lifeos-window { overflow: hidden; border: 1px solid #ccd5c6; border-radius: var(--radius); background: #f7f9f2; box-shadow: 0 8px 30px #233b240b; }
.lifeos-window-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid #dce3d5; }
.lifeos-window-head > strong { font-size: 1.1rem; letter-spacing: -0.04em; }
.lifeos-tabs { display: flex; gap: 8px; padding: 14px 24px 0; }
.lifeos-tabs button { min-height: 44px; padding: 9px 16px; color: #51654b; border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: 0.85rem; font-weight: 650; cursor: pointer; }
.lifeos-tabs button[aria-selected="true"] { background: #e2ebd9; border-color: #c1d0b2; color: #274d30; }
.lifeos-panel { padding: 22px 24px 26px; }
.lifeos-panel[hidden] { display: none; }
.lifeos-panel h3 { font-size: 1.65rem; letter-spacing: -0.04em; margin-bottom: 7px; }
.lifeos-panel-intro { margin-bottom: 22px; color: #52674d; font-size: 0.85rem; }
.lifeos-day { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.lifeos-task-list { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.lifeos-task-list legend { padding-bottom: 12px; color: #51654b; font-size: 0.8rem; }
.lifeos-task-list label { display: flex; align-items: center; gap: 12px; padding: 17px 14px; border: 1px solid #d4ddcb; border-radius: 10px; background: #fff; cursor: pointer; }
.lifeos-task-list label:has(input:checked) { border-color: #618659; background: #f0f5e9; }
.lifeos-task-list input { width: 18px; height: 18px; flex: none; accent-color: #386b45; }
.lifeos-task-list strong { display: block; font-size: 0.88rem; }
.lifeos-task-list small { display: block; color: #607457; font-size: 0.72rem; margin-top: 4px; }
.lifeos-task-list label > small { margin-left: auto; white-space: nowrap; }
.lifeos-task-list .is-done strong { color: #72816b; text-decoration: line-through; }
.lifeos-focus { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background: #e5eddc; border: 1px solid #c5d3b7; border-radius: 12px; }
.lifeos-focus small { color: #52674d; font-size: 0.75rem; }
.lifeos-focus strong { display: block; margin: 15px 0 20px; font-size: 1.3rem; letter-spacing: -0.035em; }
.lifeos-focus .button { font-size: 0.77rem; background: #315d3a; border-color: #315d3a; }
[data-focusing="true"] .lifeos-focus { border-color: #315d3a; }
.demo-reset { min-height: 44px; padding: 8px 0; color: #3d6449; background: none; border: 0; cursor: pointer; text-decoration: underline; font-size: 0.8rem; }
.lifeos-demo-footer { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 14px 24px; border-top: 1px solid #dce3d5; }
.lifeos-demo-footer p { margin: 0; max-width: 75ch; color: #52674d; font-size: 0.8rem; }
.lifeos-demo-footer button { flex: none; }
.lifeos-project-record { padding: 18px; border: 1px solid #d4ddcb; background: white; border-radius: 10px; }
.lifeos-project-record > p { color: #52674d; font-size: 0.85rem; }
.lifeos-project-record h4 { margin: 18px 0 10px; font-size: 0.85rem; }
.lifeos-history { padding-left: 18px; color: #52674d; font-size: 0.85rem; }
.lifeos-history li { padding: 5px 0; }
.lifeos-garden { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.lifeos-garden img { width: 100%; max-height: 310px; object-fit: cover; border-radius: 12px; }
.lifeos-garden p { color: #52674d; font-size: 0.88rem; }
.lifeos-garden .project-date { margin: 0 0 12px; }
.lifeos-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 38px 0; }
.lifeos-notes h3 { font-size: 1.1rem; margin-bottom: 10px; }
.lifeos-notes p { font-size: 0.92rem; color: var(--ink-soft); }
.case-cover video { display: block; width: 100%; max-height: 590px; background: #111; }
button:disabled { cursor: default; opacity: 0.65; }
@media (max-width: 900px) {
  .project-intro { grid-template-columns: 1fr; gap: 20px; }
  .project-intro figure img { height: 240px; }
  .demo-heading { display: block; }
  .demo-heading h2 { margin-bottom: 8px; }
  .lifeos-day { grid-template-columns: 1fr; gap: 16px; }
  .lifeos-focus { padding: 18px; }
  .lifeos-focus strong { margin: 8px 0 16px; }
  .lifeos-notes { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 740px) {
  .hero-home { padding: 24px 0 26px; }
  .hero-home .hero-grid { gap: 20px; }
  .hero-home h1 { max-width: none; font-size: 2rem; margin-bottom: 12px; }
  .hero-home .eyebrow { font-size: 0.64rem; margin-bottom: 12px; }
  .hero-home .hero-copy { font-size: 1rem; line-height: 1.55; margin-bottom: 16px; }
  .hero-home .hero-actions .button { width: auto; min-height: 40px; padding: 10px 16px; font-size: 0.76rem; }
  .hero-home .viewer-controls { margin-top: 10px; }
  .hero-home .viewer-caption { font-size: 0.62rem; gap: 6px; }
  .section-current { padding: 28px 0 32px; }
  .section-current .section-title { font-size: 1.6rem; }
  .current-grid { grid-template-columns: 1fr; gap: 18px; }
  .current-project-visual { height: 230px; }
  .current-project-copy { padding: 20px; }
  .life-preview { padding: 17px; }
  .life-preview-window { padding: 14px 18px; }
  .notebook-head { display: block; }
  .notebook-head p { margin: 6px 0 0; }
  .notebook-list a { grid-template-columns: 1fr 20px; gap: 7px; }
  .notebook-list time { grid-column: 1 / -1; }
  .notebook-section { padding: 28px 0; }
  .case-hero-compact { padding-top: 24px; }
  .case-hero-compact .case-breadcrumb { margin-bottom: 16px; font-size: 0.68rem; }
  .case-hero-compact h1 { font-size: 2rem; }
  .case-hero-compact .case-lead { font-size: 1rem; }
  .project-intro figure img { height: 215px; }
  .iot-walkthrough { padding: 16px; }
  .iot-walkthrough-body { grid-template-columns: 1fr; gap: 12px; }
  .demo-node { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px 16px; gap: 0 12px; }
  .demo-node strong { grid-column: 2; grid-row: 1 / 3; margin: 0; font-size: 2.5rem; }
  .demo-node p { margin: 4px 0 0; }
  .demo-node span { grid-column: 1 / -1; margin-top: 12px; padding-top: 10px; }
  .demo-steps li { padding: 9px 6px; font-size: 0.7rem; text-align: center; }
  .demo-room-view { padding: 14px; }
  .demo-room { padding: 12px; }
  .demo-room-view > p { font-size: 0.75rem; }
  .demo-room-view > p small { font-size: 0.62rem; }
  .demo-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .demo-actions p { min-height: 3.8em; }
  .concept-picks { grid-template-columns: 1fr; gap: 8px; }
  .concept-picks a { padding: 14px 16px; }
  .concept-picks strong { margin-bottom: 3px; }
  .build-detail > summary { padding: 16px; }
  .build-detail > summary span { display: block; margin: 5px 0 0 16px; }
  .enclosure-stage .section-intro { gap: 6px; }
  .enclosure-stage .section-copy { display: none; }
  .enclosure-stage .viewer-controls { gap: 10px; }
  .lifeos-window-head, .lifeos-panel, .lifeos-demo-footer { padding: 16px; }
  .lifeos-tabs { padding: 12px 16px 0; }
  .lifeos-tabs button { padding-inline: 12px; }
  .lifeos-panel h3 { font-size: 1.4rem; }
  .lifeos-garden { grid-template-columns: 1fr; gap: 18px; }
  .lifeos-garden img { max-height: 240px; }
  .lifeos-demo-footer { align-items: flex-start; gap: 10px; }
  .lifeos-task-list label { padding: 14px 10px; gap: 10px; }
  .lifeos-task-list strong { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .current-project-visual img { transition: none; }
}
