/* Practical examples — illustrated, readable before scripts and motion. */
.example-hero { background: var(--night); color: #f3fcf9; --focus: var(--mint); }
.example-hero .kicker { color: var(--mint); }
.example-hero-inner { padding-block: clamp(3rem, 6.6vw, 6.5rem); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(15rem, .7fr); align-items: end; gap: 3rem; }
.example-hero h1 { max-width: 13ch; font-size: clamp(3.1rem, 6.3vw, 6.8rem); }
.example-hero .intro { max-width: 38rem; }
.example-hero-note { border-top: 1px solid #527380; padding-top: 1.3rem; color: #c8dbd9; max-width: 23rem; }
.example-hero-note strong { display: block; color: #fff; font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.example-hero-note p + p { margin-top: .7rem; }
.example-hero-note a { color: var(--mint); }
.example-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin-top: 1.9rem; }
.example-nav a { color: #d4e9e4; padding-block: .35rem; font-size: .95rem; text-decoration-color: #71968a; }
.example-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.example-toolbar p { color: var(--subtle); font-size: .85rem; max-width: 42rem; }
.motion-control { flex-shrink: 0; padding: .5rem .8rem; font: inherit; font-size: .85rem; color: var(--ink); background: transparent; border: 1px solid #638e81; border-radius: 2rem; cursor: pointer; }
.motion-control:hover { background: #dcebe1; }
.motion-control[hidden] { display: none; }
.motion-control:focus-visible, .example-faq summary:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.example-grid { padding-block: clamp(2rem, 4.2vw, 4rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.example-card { border: 1px solid #becfc6; border-radius: .7rem; background: #fffef9; overflow: hidden; scroll-margin-top: 1.5rem; }
.example-card:is(:first-child, :last-child) { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.example-card:is(:first-child, :last-child) .example-figure { display: flex; flex-direction: column; justify-content: center; background: #e4f1e9; }
.example-card:is(:first-child, :last-child) .example-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 3.2vw, 3.5rem); }
.example-figure { margin: 0; background: #edf3ec; }
.example-art { width: 100%; overflow: hidden; }
.example-art svg { display: block; width: 100%; height: auto; }
.example-art img { width: 100%; }
.example-figure figcaption { padding: .2rem 1.5rem 1rem; color: #4b6c62; font-size: .75rem; }
.example-copy { padding: clamp(1.4rem, 2.4vw, 2.6rem); }
.example-index { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; color: var(--green); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.example-index::before { content: ''; width: 1.8rem; height: 1px; background: #7fa89a; }
.example-card h2 { font-size: clamp(1.9rem, 3vw, 3rem); max-width: 18ch; }
.example-copy > p { margin-top: 1rem; color: var(--subtle); }
.example-copy .example-fit { border-top: 1px solid #d8e2d8; padding-top: .9rem; margin-top: 1.1rem; font-size: .88rem; line-height: 1.55; }
.example-fit strong { color: var(--ink); font-weight: 650; }
.example-copy .entry-link { margin-top: 1.2rem; }
.example-sequence { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin-top: 1rem; gap: .4rem .55rem; font-size: .83rem; font-weight: 600; color: var(--green); }
.example-sequence li:not(:last-child)::after { content: '→'; padding-left: .55rem; color: #69857d; }
.example-aside { padding: clamp(1.7rem, 3vw, 3rem); background: #e3ede7; border-left: 3px solid var(--green); margin-bottom: 4rem; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 1.5rem 3rem; }
.example-aside h2 { font-size: clamp(1.65rem, 2.5vw, 2.4rem); }
.example-aside .kicker { margin-bottom: .6rem; }
.example-aside p { color: var(--subtle); }
.example-aside .entry-link { margin-top: .75rem; }
.example-reassurance { background: #e9eee8; }
.example-reassurance-inner { padding-block: clamp(3rem, 5.5vw, 5.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; }
.example-reassurance h2 { font-size: clamp(2.2rem, 3.6vw, 3.5rem); max-width: 15ch; }
.example-reassurance p { color: var(--subtle); font-size: 1.08rem; }
.example-reassurance p + p { margin-top: 1rem; }
.example-faq { padding-block: clamp(3rem, 5.5vw, 5.5rem); display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem 4rem; }
.example-faq h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); max-width: 12ch; }
.example-faq details { border-top: 1px solid var(--line); padding-block: 1rem; }
.example-faq details:last-child { border-bottom: 1px solid var(--line); }
.example-faq summary { font-size: 1.08rem; font-weight: 620; cursor: pointer; padding-right: 1rem; }
.example-faq details p { color: var(--subtle); margin-top: .8rem; max-width: 48rem; }
.example-faq details a { color: var(--green); }
.breadcrumbs { padding-top: 1.6rem; font-size: .84rem; color: #b8d4cf; }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: .5rem; color: #78998f; }
.breadcrumbs a { text-decoration-color: #638f81; }
.detail-hero-inner { padding-block: 2.5rem clamp(3rem, 5vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem 4rem; }
.detail-hero-inner h1 { font-size: clamp(3rem, 5.2vw, 5.7rem); max-width: 13ch; }
.detail-hero-inner .example-figure { border-radius: .7rem; overflow: hidden; }
.detail-hero-inner .example-figure figcaption { color: #355e50; }
.detail-hero-inner .motion-control { color: #d0e8e0; border-color: #729d90; margin-top: 1rem; }
.detail-hero-inner .motion-control:hover { background: #20483c; }
.detail-hero-inner .motion-control:focus-visible { outline-color: var(--mint); }
.detail-section { padding-block: clamp(3rem, 5.6vw, 5.5rem); }
.detail-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 5rem; }
.detail-section h2 { font-size: clamp(2.1rem, 3.7vw, 3.6rem); max-width: 17ch; }
.detail-copy p { color: var(--subtle); }
.detail-copy p + p { margin-top: 1rem; }
.detail-copy ul { padding-left: 1.1rem; margin-top: 1rem; color: var(--subtle); }
.detail-copy li + li { margin-top: .5rem; }
.detail-copy strong { color: var(--ink); }
.detail-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.detail-benefits article { border-top: 2px solid #7fb9a3; padding-top: 1.2rem; }
.detail-benefits h3 { font-size: 1.2rem; }
.detail-benefits p { color: var(--subtle); margin-top: .7rem; }
.detail-shade { background: #e9eee8; }
.detail-steps { list-style: none; padding: 0; counter-reset: flow; }
.detail-steps li { position: relative; border-top: 1px solid #bfcec4; padding: 1.4rem 0 1.4rem 3.4rem; counter-increment: flow; }
.detail-steps li::before { content: counter(flow, decimal-leading-zero); position: absolute; left: 0; top: 1.35rem; color: var(--green); font-size: .9rem; font-weight: 700; }
.detail-steps li:last-child { border-bottom: 1px solid #bfcec4; }
.detail-steps h3 { font-size: 1.2rem; }
.detail-steps p { color: var(--subtle); margin-top: .6rem; }
.detail-tools { display: flex; flex-wrap: wrap; list-style: none; gap: .6rem; padding: 0 !important; margin-top: 1.4rem; }
.detail-tools li { padding: .5rem .8rem; border: 1px solid #9fb9ab; border-radius: 3px; font-size: .9rem; margin: 0 !important; color: var(--ink); }
.detail-evidence { padding: 1.2rem 1.4rem; margin-top: 1.5rem; background: #f8faf5; border-left: 3px solid #76ad98; font-size: .94rem; }
.detail-evidence strong { display: block; margin-bottom: .35rem; color: var(--ink); }
.detail-related { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); padding-block: 2rem; }
.detail-related p { color: var(--subtle); }
.detail-related .entry-link { margin: 0; }
/* Each sequence supplements a complete, static illustration. */
.motion-ready .example-art .e-float { animation: example-float 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.motion-ready .example-art .e-trace { animation: example-trace 5s linear infinite; stroke-dasharray: 8 9; }
.motion-ready .example-art .e-reveal { animation: example-reveal 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.motion-ready .example-art .e-step-1 { animation-delay: .15s; }
.motion-ready .example-art .e-step-2 { animation-delay: 1s; }
.motion-ready .example-art .e-step-3 { animation-delay: 1.85s; }
.motion-ready .example-art .e-step-4 { animation-delay: 2.7s; }
.is-paused .example-art *, .motion-outside .example-art * { animation-play-state: paused !important; }
@keyframes example-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes example-trace { to { stroke-dashoffset: -68; } }
@keyframes example-reveal { 0%, 12%, 100% { opacity: .35; } 25%, 85% { opacity: 1; } }
@media (max-width: 950px) {
  .example-hero-inner { grid-template-columns: 1fr; align-items: start; gap: 2rem; }
  .example-hero h1 { max-width: 16ch; }
  .example-hero-note { max-width: 40rem; }
  .detail-hero-inner { gap: 2rem; }
  .detail-split { gap: 2rem 3rem; }
  .example-reassurance-inner, .example-faq { gap: 2rem 3rem; }
}
@media (max-width: 760px) {
  .example-card:is(:first-child, :last-child), .detail-hero-inner, .example-aside, .example-reassurance-inner, .example-faq, .detail-split { grid-template-columns: minmax(0, 1fr); }
  .example-card:is(:first-child, :last-child) .example-figure { order: 0; }
  .example-card:is(:first-child, :last-child) .example-copy { order: 1; }
  .example-hero h1, .detail-hero-inner h1 { max-width: 15ch; }
  .example-card h2 { font-size: 2rem; }
  .example-reassurance h2, .example-faq h2 { max-width: 22ch; }
  .detail-hero-inner .example-figure { max-width: 36rem; }
  .detail-benefits { gap: 1.4rem; }
}
@media (max-width: 570px) {
  .example-grid { grid-template-columns: minmax(0, 1fr); }
  .example-card:is(:first-child, :last-child) { grid-column: auto; }
  .example-toolbar { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .example-card h2 { font-size: 2.15rem; }
  .example-hero-inner { padding-block: 3rem; }
  .example-hero h1, .detail-hero-inner h1 { font-size: clamp(2.85rem, 10vw, 4rem); }
  .example-nav { gap: .3rem 1rem; }
  .example-copy { padding: 1.5rem; }
  .example-aside { margin-bottom: 2.5rem; }
  .detail-benefits { grid-template-columns: 1fr; }
  .detail-related { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .example-art * { animation: none !important; }
}

/* Section jumps have a native compact picker when JavaScript is available. */
@media (max-width: 900px) {
  .example-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .8rem; max-width: 36rem; }
  .example-nav a { min-height: 2.75rem; display: flex; align-items: center; padding: .6rem .75rem; border: 1px solid #66878a; border-radius: .35rem; line-height: 1.4; text-decoration: none; }
  .example-nav.is-select-enhanced { display: none; }
}
