/* Light motion and report visuals. All movement uses transform/opacity. */
:root { --deep-blue: #103f67; --sky-blue: #208cae; --soft-blue: #eaf6fa; }
.hero { box-shadow: 0 24px 60px #174d7517; }
.hero::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; top: -300px; left: -120px; background: #ffffff50; pointer-events: none; }
.hero__copy { animation: hero-enter .6s ease-out both; }
.hero__actions .btn--primary { box-shadow: 0 10px 24px #12649330; }
.hero__scene { isolation: isolate; }
.scene__aquifer { position: absolute; inset: auto 0 0; height: 34%; z-index: 1; overflow: hidden; border-top: 3px solid #6cc8d8; background: linear-gradient(180deg, #84d4e1cf, #1687a6e8 70%, #145f80); }
.scene__aquifer::before { content: ""; position: absolute; inset: 23% 0 auto; border-top: 2px dashed #dcfbffb8; transform: rotate(-4deg); }
.scene__aquifer span { position: absolute; width: 125%; height: 45px; left: -10%; border: 2px solid #e9ffff65; border-color: #e9ffff8a transparent transparent; border-radius: 50%; }
.scene__aquifer span:nth-child(1) { top: 12%; }
.scene__aquifer span:nth-child(2) { top: 45%; left: -15%; }
.scene__aquifer span:nth-child(3) { top: 77%; left: -3%; }
.scene__well { z-index: 3; }
.scene__well-water { transform-origin: 50% 90%; }
.scene__ripple { position: absolute; z-index: 2; left: 41%; bottom: 17%; width: 105px; height: 34px; border: 2px solid #e6fcffaa; border-radius: 50%; transform: translateX(-50%); pointer-events: none; }
.scene__ripple--two { width: 160px; height: 52px; left: 42%; bottom: 15%; opacity: .6; }
.scene__card { z-index: 4; border: 1px solid #d5ebf1; }
.scene__tag { position: absolute; z-index: 4; padding: .25rem .72rem; border-radius: 100px; background: #ffffffdf; color: #145f7d; border: 1px solid #e0eef2; box-shadow: 0 6px 16px #103e5f20; font-size: .77rem; font-weight: 700; }
.scene__tag--water { bottom: 23%; right: 9%; }
.scene__tag--soil { bottom: 43%; left: 7%; }
.trust-strip > div, .step-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.trust-strip__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step-card { position: relative; overflow: hidden; }
.step-card::after { content: ""; position: absolute; width: 90px; height: 90px; border: 1px solid #b6e5ef; border-radius: 50%; inset: auto auto -54px -30px; opacity: .55; }
.step-card:hover, .trust-strip > div:hover { transform: translateY(-5px); border-color: #b7deeb; box-shadow: 0 18px 36px #164e7319; }
.home-banner { box-shadow: 0 20px 40px #13466d24; }
.wizard { position: relative; }
.wizard__heading { padding-bottom: .4rem; }
.wizard__progress { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.15rem; margin-bottom: 1rem; border: 1px solid #d8ebf2; border-radius: 14px; background: linear-gradient(115deg,#f4fbfd,#e9f6fa); }
.wizard__progress strong { color: var(--deep-blue); font-size: .86rem; white-space: nowrap; }
.wizard__progress-track { height: 9px; border-radius: 100px; background: #d1e8f0; overflow: hidden; flex: 1; }
.wizard__progress-track span { display: block; height: 100%; width: 11.1%; border-radius: inherit; background: linear-gradient(90deg,#36b4c6,#146c9c); transition: width .3s ease; }
.wizard__nav { scroll-snap-type: x proximity; }
.wizard__tab { scroll-snap-align: center; }
.wizard__tab.is-active { border: 1px solid #c5e4ed; }
.field-grid .form-row { padding: .15rem .1rem; border-radius: 10px; }
.field-grid .form-row:focus-within { background: #f2fafe; }
.field-grid .form-row.is-revealed:not([hidden]) { animation: field-appear .24s ease-out both; }
.wizard__actions { position: sticky; bottom: 0; z-index: 5; background: #fff; padding: 1rem 0 .4rem; }
.report { max-width: 1180px; margin-inline: auto; }
.report__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.4rem; }
.report__header h1 { font-size: clamp(1.7rem,3.2vw,2.5rem); margin: .3rem 0; }
.report__header p { color: var(--color-ink-muted); margin: 0; }
.report__summary { border-radius: 22px; padding: clamp(1.5rem,3vw,2.4rem); color: #fff; background: linear-gradient(115deg,#145a83,#178ba9); box-shadow: 0 18px 42px #145a8335; position: relative; overflow: hidden; margin-bottom: 1.2rem; }
.report__summary::after { content: ""; position: absolute; width: 310px; height: 310px; left: -90px; top: -170px; border: 2px solid #ffffff2c; border-radius: 50%; box-shadow: 0 0 0 36px #ffffff0b,0 0 0 75px #ffffff08; pointer-events: none; }
.report__summary h2 { color: #fff; font-size: clamp(1.35rem,2.4vw,1.8rem); margin: 1rem 0 .5rem; }
.report__summary > p { max-width: 780px; font-size: 1.04rem; line-height: 2; }
.report__badge { display: inline-block; font-size: .8rem; font-weight: 700; padding: .3rem .85rem; border: 1px solid #ffffff75; border-radius: 50px; background: #ffffff24; }
.report__facts { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.report__facts > div { min-width: 155px; padding: .65rem .9rem; background: #ffffff1f; border: 1px solid #ffffff45; border-radius: 12px; }
.report__facts span { display: block; font-size: .75rem; color: #d5f2f7; }
.report__facts strong { display: block; font-size: 1.02rem; color: #fff; }
.report-section { background: #fff; border: 1px solid #daeaf1; border-radius: 20px; padding: clamp(1.2rem,2.7vw,2rem); margin-bottom: 1.15rem; box-shadow: 0 10px 25px #164e730c; }
.report-section__heading { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1.45rem; }
.report-section__heading h2 { font-size: clamp(1.13rem,2vw,1.38rem); margin: 0; }
.report-section__heading p { color: var(--color-ink-muted); font-size: .85rem; margin: .2rem 0 0; }
.report-section__icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #1482a3; background: #e9f7fa; }
.report-section__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow-chart { display: grid; gap: 1.15rem; }
.flow-chart__row { display: grid; grid-template-columns: 160px minmax(0,1fr) minmax(105px,auto); align-items: center; gap: 1rem; }
.flow-chart__label strong, .flow-chart__label small { display: block; }
.flow-chart__label strong { font-size: .85rem; }
.flow-chart__label small { color: var(--color-ink-muted); font-size: .73rem; direction: ltr; text-align: right; }
.flow-chart__track { height: 24px; background: #e9f3f7; border-radius: 30px; overflow: hidden; }
.flow-chart__bar { display: block; height: 100%; border-radius: 30px; }
.flow-chart__bar--initial { background: #65a8bf; }
.flow-chart__bar--current { background: linear-gradient(90deg,#32adbd,#186e9d); }
.flow-chart__value { white-space: nowrap; color: #184b6c; font-size: 1rem; }
.flow-chart__value small { font-size: .72rem; font-weight: 500; color: var(--color-ink-muted); }
.flow-chart__caption { display: inline-flex; background: #e9f6fa; color: #155f80; border-radius: 12px; font-weight: 700; padding: .55rem 1rem; margin: 1.45rem 0 .55rem; }
.flow-chart__caption--down { background: #fff3e9; color: #8b5033; }
.flow-chart__caption--up { background: #e9f8f1; color: #1c7455; }
.report__note { color: #627b8c; font-size: .81rem; line-height: 1.9; margin: .7rem 0 0; }
.report__summary .report__note { color: #e2f6f8; }
.cause-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .9rem; }
.cause-card { --bar-color: #228aa6; padding: 1.1rem; border: 1px solid #dcebf1; border-radius: 16px; background: linear-gradient(180deg,#f8fcfd,#fff); }
.cause-card--location { --bar-color: #2a9cb7; }
.cause-card--pump { --bar-color: #4d85ab; }
.cause-card__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--bar-color); background: #e8f5f9; }
.cause-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cause-card h3 { font-size: 1rem; margin: .8rem 0 .3rem; }
.cause-card p { min-height: 3.6em; font-size: .78rem; color: var(--color-ink-muted); margin: 0 0 .7rem; }
.cause-card__score { display: flex; align-items: baseline; gap: .25rem; color: #183e5a; }
.cause-card__score strong { font-size: 1.5rem; line-height: 1.2; }
.cause-card__score span { font-size: .73rem; color: #698193; }
.cause-card__track { height: 9px; border-radius: 20px; background: #e5eff4; overflow: hidden; margin: .5rem 0; }
.cause-card__track > span { display: block; height: 100%; background: var(--bar-color); border-radius: inherit; }
.cause-card > small { font-size: .73rem; color: #5c7182; }
.report__columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.1rem; }
.report__columns .report-section { height: 100%; }
.report__subheading { font-size: .9rem; margin: 1rem 0 .45rem; }
.evidence-list, .next-steps { margin: 0; padding: 0 1.3rem 0 0; }
.evidence-list li, .next-steps li { padding: .2rem .25rem .5rem; color: #355366; font-size: .87rem; }
.evidence-list li::marker, .next-steps li::marker { color: #1689a8; font-weight: 700; }
.report-section--compact h2 { font-size: 1.1rem; }
.report__actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: .6rem 0 1rem; }
.panel--narrow .form-row { transition: transform .16s ease; }
.panel--narrow .form-row:focus-within { transform: translateY(-2px); }
.report__footer { color: #5d7584; font-size: .83rem; padding: .8rem 0 1rem; }
@media (max-width: 850px) { .cause-grid { grid-template-columns: 1fr; } .cause-card p { min-height: 0; } .report__columns { grid-template-columns: 1fr; } .report__columns .report-section { height: auto; } }
@media (max-width: 650px) { .flow-chart__row { grid-template-columns: minmax(0,1fr) auto; gap: .4rem .8rem; } .flow-chart__track { grid-row: 2; grid-column: 1 / -1; } .flow-chart__value { text-align: left; } .report__header { align-items: flex-start; flex-direction: column; } .wizard__progress { flex-wrap: wrap; } .wizard__progress-track { flex-basis: 100%; order: 2; } .scene__tag--soil { display: none; } }
@media (prefers-reduced-motion: no-preference) {
    .panel--narrow { animation: hero-enter .38s ease-out both; }
    .scene__aquifer span { animation: water-flow 7s ease-in-out infinite alternate; }
    .scene__aquifer span:nth-child(2) { animation-delay: -2s; }
    .scene__aquifer span:nth-child(3) { animation-delay: -4s; }
    .scene__well-water { animation: water-level 4s ease-in-out infinite alternate; }
    .scene__ripple--one { animation: ripple 3.5s ease-in-out infinite; }
    .scene__ripple--two { animation: ripple 3.5s ease-in-out -1.5s infinite; }
    .scene__tag { animation: float-label 4s ease-in-out infinite alternate; }
    .scene__tag--soil { animation-delay: -2s; }
    .reveal-ready [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(18px); }
    [data-reveal] { transition: opacity .5s ease, transform .5s ease; }
    .report-section.is-visible .flow-chart__bar, .report-section.is-visible .cause-card__track > span { transform-origin: right center; animation: chart-grow .7s ease-out both; }
    @keyframes hero-enter { from { opacity: .3; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes field-appear { from { opacity: .35; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes water-flow { to { transform: translateX(5%); } }
    @keyframes water-level { to { transform: scaleY(1.14); } }
    @keyframes ripple { 50% { opacity: .2; transform: translateX(-50%) scale(1.18); } }
    @keyframes float-label { to { transform: translateY(-5px); } }
    @keyframes chart-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .hero__copy, .hero__scene, .wizard__step:not([hidden]) { animation: none !important; } .wizard__progress-track span { transition: none; } }
@media print { .report__summary, .flow-chart__bar, .cause-card__track > span { print-color-adjust: exact; -webkit-print-color-adjust: exact; } .report-section, .cause-card { box-shadow: none; break-inside: avoid; } .report__summary { background: #e9f6fa; color: #123f5e; } .report__summary h2, .report__facts strong { color: #123f5e; } .report__facts > div { background: #fff; } .report__facts span { color: #345d72; } .wizard__actions { position: static; } }
