/* Light Science: hub page (/technology/) and the Light Science link cards on application pages.
   The hub is the intro, one module card per Light Science page (dark app windows with a live visual; six cards in
   two columns, an odd last card spans the row) and the climate note.
   The units tiles moved to the Light and plants page (spectrum-lab.css); measurement, uniformity, evidence
   labels and data and controls live on the Measurement page (measurement.css). */

/* ---------- Modules: dark app windows with a live visual ---------- */
.ls-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ls-mod { display: flex; flex-direction: column; text-decoration: none; color: #eef4f0; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.ls-mod:hover { color: #eef4f0; transform: translateY(-3px); border-color: rgba(66, 211, 156, 0.42); box-shadow: 0 0 0 1px rgba(66, 211, 156, 0.18), var(--shadow-lg); }
.ls-mod:focus-visible { outline: 2px solid var(--brand-mint); outline-offset: 4px; }
.ls-mod .aw-bar { flex: none; }
.ls-mod .aw-title { display: inline-flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-n { font-family: var(--mono); font-size: 0.74rem; color: var(--brand-mint); }
.ls-mod .aw-badge { display: inline-flex; align-items: center; gap: 6px; flex: 0 1 auto; min-width: 0; text-align: right; line-height: 1.25; }
/* a long evidence label moves to its own line rather than cutting the module name */
.ls-mod .aw-bar { height: auto; min-height: 44px; flex-wrap: wrap; row-gap: 2px; padding-top: 7px; padding-bottom: 7px; }
.ls-mod .aw-title { flex: 0 1 auto; }
.ls-mod .aw-badge::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(216, 243, 106, 0.18); }
.ls-mod-viz { position: relative; isolation: isolate; flex: none; display: flex; flex-direction: column; justify-content: center; min-height: 318px; padding: 24px 24px 20px; background: radial-gradient(70% 90% at 50% 0%, rgba(66, 211, 156, 0.1), rgba(66, 211, 156, 0) 70%), #0b1a15; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ls-mod-viz::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(66, 211, 156, 0.065) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(66, 211, 156, 0.065) 1px, transparent 1px) 0 0 / 28px 28px; -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 25%, transparent 90%); mask-image: radial-gradient(80% 80% at 50% 40%, #000 25%, transparent 90%); }
.ls-mod-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 22px; }
.ls-mod-q { margin: 0; color: #fff; font-size: clamp(1.22rem, 1.7vw, 1.5rem); font-weight: 700; letter-spacing: -0.016em; line-height: 1.24; }
.ls-mod-text { margin: 0; color: #b3c3bb; font-size: 0.96rem; }
.ls-mod-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.ls-mod-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.ls-mod-topics span { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(66, 211, 156, 0.32); color: #cfe3d9; font-size: 0.74rem; font-weight: 650; white-space: nowrap; }
.ls-mod-go { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.88rem; font-weight: 700; color: #eef4f0; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.ls-mod-go svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.ls-mod:hover .ls-mod-go { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ls-mod:hover .ls-mod-go svg { transform: translateX(3px); }
.ls-climate { margin: 32px 0 0; max-width: 82ch; }
/* the window bar, the visual and the text line up across both cards */
@supports (grid-template-rows: subgrid) {
  .ls-mods { row-gap: 0; }
  .ls-mod { display: grid; grid-row: span 3; grid-template-rows: subgrid; margin-bottom: 24px; }
  .ls-mod.is-wide { grid-row: auto; grid-template-rows: auto 1fr; }
}
@media (max-width: 900px) { .ls-mod.is-wide { grid-template-rows: auto auto 1fr; } }
/* an odd last card spans the row: visual on the left, question and text on the right */
.ls-mod.is-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto 1fr; }
.ls-mod.is-wide .aw-bar { grid-column: 1 / -1; }
.ls-mod.is-wide .ls-mod-viz { border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.ls-mod.is-wide .ls-mod-body { justify-content: center; padding: clamp(24px, 3vw, 40px); }
.ls-mod.is-wide .ls-mod-q { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.ls-mod.is-wide .ls-mod-text { font-size: 1rem; max-width: 46ch; }
.ls-mod.is-wide .ls-mod-foot { margin-top: 18px; }
@media (max-width: 900px) {
  .ls-mods { grid-template-columns: 1fr; }
  .ls-mod-viz { min-height: 0; }
  .ls-mod.is-wide { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; }
  .ls-mod.is-wide .ls-mod-viz { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .ls-mod.is-wide .ls-mod-body { padding: 22px 24px; }
}

/* visual: wavebands -> responses */
.lsv { position: relative; }
.lsv ul { list-style: none; margin: 0; padding: 0; }
.lsv-bands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.lsv-bands li { margin: 0 4px; }
.lsv-bands i { display: block; width: 72%; height: 6px; margin: 0 auto 10px; border-radius: 4px; background: var(--c); box-shadow: 0 0 14px var(--g), 0 0 2px var(--g); animation: lsv-led 2.8s var(--ease) infinite alternate; }
.lsv-bands li:nth-child(2) i { animation-delay: -0.7s; }
.lsv-bands li:nth-child(3) i { animation-delay: -1.4s; }
.lsv-bands li:nth-child(4) i { animation-delay: -2.1s; }
.lsv-bands b { display: block; font-size: 0.84rem; font-weight: 700; line-height: 1.2; color: #eef4f0; }
.lsv-bands span { display: block; margin-top: 2px; font-family: var(--mono); font-size: 0.68rem; color: var(--g); }
.lsv-flow { display: block; width: 100%; height: auto; margin: 8px 0 6px; overflow: visible; }
.lsv-path { fill: none; stroke: var(--c); stroke-opacity: 0.3; stroke-width: 1.4; transition: stroke-opacity 0.3s var(--ease); }
.lsv-path.faint { stroke-dasharray: 2 4; stroke-opacity: 0.22; }
.ls-mod:hover .lsv-path { stroke-opacity: 0.5; }
.lsv-ph { fill: none; stroke: var(--g); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 0.01 15; animation: lsv-flow 1.5s linear infinite; animation-delay: calc(var(--k) * -0.21s); filter: drop-shadow(0 0 3px var(--g)); }
.lsv-ph.faint { stroke-dasharray: 0.01 30; stroke-opacity: 0.55; animation-name: lsv-flow-faint; animation-duration: 3s; }
@keyframes lsv-flow { to { stroke-dashoffset: -15; } }
@keyframes lsv-flow-faint { to { stroke-dashoffset: -30; } }
@keyframes lsv-led { from { opacity: 0.72; } to { opacity: 1; } }
.lsv-resp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.lsv-resp li { margin: 0 4px; padding: 9px 8px 10px; border-radius: 10px; border: 1px solid rgba(66, 211, 156, 0.26); background: rgba(255, 255, 255, 0.03); }
.lsv-dots { display: flex; justify-content: center; gap: 4px; margin-bottom: 7px; }
.lsv-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--g); box-shadow: 0 0 6px var(--g); }
.lsv-dots i.faint { opacity: 0.4; }
.lsv-resp b { display: block; font-size: 0.82rem; font-weight: 700; line-height: 1.25; color: #fff; }
.lsv-resp small { display: block; margin-top: 3px; font-size: 0.66rem; line-height: 1.35; color: #8fa39a; }
.lsv-scale { display: grid; grid-template-columns: 3fr 1fr; gap: 8px; margin: 14px 4px 0; font-size: 0.66rem; color: #8fa39a; }
.lsv-scale span { padding-top: 6px; background: linear-gradient(90deg, #4f6df5, #4fbf73 50%, #e0453b) top / 100% 2px no-repeat; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsv-scale .fr { background-image: linear-gradient(90deg, #a8324a, #6c1427); }

/* visual: daylight and lamps by month */
.lsv-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; background: rgba(255, 255, 255, 0.025); }
.lsv-kpis div { display: flex; flex-direction: column; justify-content: space-between; padding: 9px 12px 10px; border-right: 1px solid rgba(255, 255, 255, 0.08); min-width: 0; }
.lsv-kpis div:last-child { border-right: 0; }
.lsv-kpis small { display: block; font-size: 0.66rem; line-height: 1.3; color: #8fa39a; }
.lsv-kpis strong { display: block; margin-top: 2px; font-size: 1.2rem; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.lsv-kpis em { margin-left: 4px; font-style: normal; font-size: 0.6rem; font-weight: 600; letter-spacing: 0; color: #8fa39a; }
.lsv-kpis div:last-child strong { color: #ff8db0; }
/* two columns on a narrow desktop: the unit goes under the value */
@media (min-width: 901px) and (max-width: 1100px) { .lsv-kpis em { display: block; margin: 1px 0 0; } }
.lsv-bars { display: block; width: 100%; height: auto; overflow: visible; }
.lsv-tgt { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 3; transition: opacity 0.6s var(--ease) 0.9s; }
.js .ls-mod:not(.is-in) .lsv-tgt { opacity: 0; }
.lsv-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.667%; margin-top: 5px; text-align: center; font-size: 0.62rem; color: #8fa39a; }
/* Sun and daylight: one line per sample city (greenhouse daylight by month), the darkest month marked */
.lsv-ln { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(0.3, 0.6, 0.2, 1) calc(0.15s + var(--i) * 0.16s); }
.lsv-pt { fill: #0b1a15; stroke: var(--c); stroke-width: 1.5; transition: opacity 0.5s var(--ease) calc(1.1s + var(--i) * 0.16s); }
.js .ls-mod:not(.is-in) .lsv-ln { stroke-dashoffset: 1; }
.js .ls-mod:not(.is-in) .lsv-pt { opacity: 0; }
.lsv-mhi { fill: rgba(216, 243, 106, 0.07); }
.lsv-base { stroke: rgba(207, 230, 218, 0.18); stroke-width: 1; }
.lsv-months .is-on { color: #e9f6a8; font-weight: 700; }
.lsv-sun3 .lsv-kpis div strong, .lsv-sun3 .lsv-kpis div:last-child strong { color: var(--c); }
.lsv-legend .ln::before { width: 14px; height: 0; border-radius: 0; background: none; border-top: 2px solid var(--c); }
.lsv-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-size: 0.7rem; color: #a9bbb3; }
.lsv-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lsv-legend span::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: #5f8a7a; }
.lsv-legend .tgt::before { width: 12px; height: 0; border-radius: 0; border-top: 1px dashed var(--accent); }
.lsv-cap { margin: 8px 0 0; font-size: 0.68rem; color: #6f8379; }

/* visual: engine against Radiance, mean PPFD difference per reference room */
.lsv-chk .lsv-kpis div:last-child strong { color: #fff; }
.lsv-chk .lsv-kpis div:nth-child(2) strong { color: var(--accent); }
.lsv-chk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 2px 0 8px; font-size: 0.72rem; font-weight: 650; color: #cfe3d9; }
.lsv-chk-key { display: inline-flex; align-items: center; gap: 6px; flex: none; font-family: var(--mono); font-size: 0.66rem; font-weight: 600; color: #9be8c8; }
.lsv-chk-key::before { content: ''; width: 14px; height: 9px; border-radius: 2px; background: rgba(66, 211, 156, 0.16); box-shadow: inset 0 0 0 1px rgba(66, 211, 156, 0.4); }
.lsv-chk-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.lsv-chk-rows li { display: grid; grid-template-columns: 7.6em minmax(0, 1fr) 4.4em; align-items: center; gap: 12px; height: 30px; }
.lsv-chk-rows li.is-first { margin-top: 6px; padding-top: 6px; height: 36px; border-top: 1px dashed rgba(255, 255, 255, 0.1); }
.lsv-chk-rows b { font-size: 0.76rem; font-weight: 650; color: #dbe7e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsv-chk-rows em { font-style: normal; font-family: var(--mono); font-size: 0.72rem; font-weight: 600; text-align: right; color: #eef4f0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lsv-chk-trk { position: relative; display: block; height: 100%; }
.lsv-chk-trk::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, 0.1); }
.lsv-chk-band { position: absolute; top: 0; bottom: 0; background: rgba(66, 211, 156, 0.1); border-left: 1px solid rgba(66, 211, 156, 0.28); border-right: 1px solid rgba(66, 211, 156, 0.28); }
.lsv-chk-rows li.is-first .lsv-chk-band { top: -6px; }
.lsv-chk-zero { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -0.5px; background: rgba(216, 243, 106, 0.55); }
.lsv-chk-bar { position: absolute; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: linear-gradient(90deg, rgba(66, 211, 156, 0.35), #42d39c); transform-origin: 0 50%; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.25s + var(--i) * 90ms); }
.lsv-chk-bar.is-neg { background: linear-gradient(90deg, #42d39c, rgba(66, 211, 156, 0.35)); transform-origin: 100% 50%; }
.lsv-chk-run { position: absolute; inset: 0; transform: translateX(var(--x)); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.25s + var(--i) * 90ms); }
.lsv-chk-dot { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #d8f36a; box-shadow: 0 0 0 3px rgba(216, 243, 106, 0.18), 0 0 12px rgba(216, 243, 106, 0.6); }
.lsv-chk-rows li.hps .lsv-chk-dot { background: #ffb36b; box-shadow: 0 0 0 3px rgba(255, 179, 107, 0.18), 0 0 12px rgba(255, 179, 107, 0.55); }
.lsv-chk-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid currentColor; color: rgba(216, 243, 106, 0.7); opacity: 0; animation: lsv-ping 2.4s var(--ease) infinite; animation-delay: calc(var(--i) * 0.4s); }
.lsv-chk-rows li.hps .lsv-chk-dot::after { color: rgba(255, 179, 107, 0.7); }
@keyframes lsv-ping { 0% { transform: scale(0.6); opacity: 0.9; } 70%, 100% { transform: scale(2.2); opacity: 0; } }
.js .ls-mod:not(.is-in) .lsv-chk-run { transform: translateX(0); }
.js .ls-mod:not(.is-in) .lsv-chk-bar { transform: scaleX(0); }
.lsv-chk-axis { display: grid; grid-template-columns: 7.6em minmax(0, 1fr) 4.4em; gap: 12px; margin-top: 4px; }
.lsv-chk-ticks { grid-column: 2; position: relative; height: 14px; }
.lsv-chk-ticks span { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--mono); font-size: 0.62rem; color: #8fa39a; white-space: nowrap; }
.lsv-chk-ticks span:first-child { transform: none; }
.lsv-chk-ticks span:last-child { transform: translateX(-100%); }
.lsv-chk-axis small { grid-column: 2; text-align: center; font-size: 0.66rem; color: #a9bbb3; }

/* visual: Climate and light, the climate calendar of five province centres (colours of the climate module's map) */
.lsv-cal .lsv-kpis div:nth-child(2) strong { color: #ffb37c; }
.lsv-cal .lsv-kpis div:last-child strong { color: #fff; }
.lsv-cal-head, .lsv-cal-rows li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) 2.4rem 2.4rem; align-items: center; column-gap: 10px; }
.lsv-cal-head { margin-bottom: 6px; font-size: 0.62rem; color: #8fa39a; }
.lsv-cal-mh, .lsv-cal-m { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; text-align: center; }
.lsv-cal-yh { grid-column: 3 / 5; text-align: center; font-size: 0.6rem; letter-spacing: 0.02em; white-space: nowrap; }
.lsv-cal-body { position: relative; }
.lsv-cal-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.lsv-cal-rows b { font-size: 0.76rem; font-weight: 650; color: #dbe7e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsv-cal-m i { display: block; height: 22px; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); transform-origin: 50% 100%; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.2s + var(--i, 0) * 70ms + var(--m) * 35ms), opacity 0.5s var(--ease) calc(0.2s + var(--m) * 35ms); }
.lsv-cal-rows li { --i: 0; }
.js .ls-mod:not(.is-in) .lsv-cal-m i { transform: scaleY(0.15); opacity: 0.2; }
.lsv-cal-rows em { font-style: normal; font-family: var(--mono); font-size: 0.72rem; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.lsv-cal-rows em.fr { color: #8cc4f2; }
.lsv-cal-rows em.ht { color: #ffb37c; }
/* month cursor: one column of the twelve, stepping through the year */
.lsv-cal-cur { position: absolute; top: -26px; bottom: -4px; left: calc(6.2rem + 10px); width: calc((100% - 6.2rem - 2 * 2.4rem - 30px - 33px) / 12); border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(216, 243, 106, 0.7); background: rgba(216, 243, 106, 0.06); animation: lsv-cal-sweep 14.4s steps(12, jump-none) infinite; pointer-events: none; }
@keyframes lsv-cal-sweep { from { transform: translateX(0); } to { transform: translateX(calc(1100% + 33px)); } }
.lsv-cal-legend span::before { border-radius: 2px; }
.lsv-cal-legend .fr::before { background: #4f97d0; }
.lsv-cal-legend .ht::before { background: #d86d32; }
.lsv-cal-legend .no::before { background: #4a4f4d; }
/* three sample cities: taller rows, the country under the name, the night minimum of the coldest month above */
.lsv-cal3 .lsv-kpis div:nth-child(n) strong { color: #fff; }
.lsv-cal3 .lsv-kpis div.is-neg:nth-child(n) strong { color: #8cc4f2; }
.lsv-cal3 .lsv-cal-rows { gap: 8px; }
.lsv-cal3 .lsv-cal-m i { height: 34px; }
.lsv-cal3 .lsv-cal-rows b small { display: block; margin-top: 1px; font-size: 0.62rem; font-weight: 500; color: #8fa39a; overflow: hidden; text-overflow: ellipsis; }

/* visual: The next 15 days, measured skill by lead day against the forecast page's confidence zones */
/* "up to day 11" is long in French and Turkish: the value wraps inside its cell rather than running into the next */
.lsv-fc .lsv-kpis strong { white-space: normal; line-height: 1.15; overflow-wrap: anywhere; }
.lsv-fc .lsv-kpis div:nth-child(1) strong { color: #bfe0ff; }
.lsv-fc .lsv-kpis div:nth-child(2) strong { color: #f0d660; }
.lsv-fc .lsv-kpis div:last-child strong { color: #fff; }
.fcv-plot { position: relative; }
.fcv-svg { display: block; width: 100%; height: auto; overflow: visible; }
.fcv-z[data-l='yuksek'] { fill: rgba(66, 211, 156, 0.2); }
.fcv-z[data-l='orta'] { fill: rgba(66, 211, 156, 0.12); }
.fcv-z[data-l='dusuk'] { fill: rgba(66, 211, 156, 0.06); }
.fcv-z[data-l='iklim'] { fill: rgba(255, 255, 255, 0.035); }
.fcv-zt { font-size: 6.6px; fill: #8fa39a; }
.fcv-t { font-size: 7px; fill: #8fa39a; font-family: var(--mono); }
.fcv-l { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 2px var(--c)); transition: stroke-dashoffset 1.4s cubic-bezier(0.3, 0.6, 0.2, 1) calc(0.2s + var(--i) * 0.18s); }
.js .ls-mod:not(.is-in) .fcv-l { stroke-dashoffset: 1; }
.fcv-m line { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 2.5; }
.fcv-m text { font-size: 7px; font-weight: 700; fill: #e9f6a8; }
.fcv-m { transition: opacity 0.6s var(--ease) calc(1.3s + var(--i) * 0.2s); }
.js .ls-mod:not(.is-in) .fcv-m { opacity: 0; }
/* day cursor: steps through the fifteen lead days */
.fcv-cur { position: absolute; top: 19%; bottom: 9.5%; left: var(--x0); width: 2px; margin-left: -1px; border-radius: 2px; background: rgba(238, 244, 240, 0.55); box-shadow: 0 0 8px rgba(238, 244, 240, 0.5); animation: fcv-step 12s steps(15, jump-none) infinite; pointer-events: none; }
@keyframes fcv-step { from { left: var(--x0); } to { left: calc(var(--x0) + 14 * var(--step)); } }
.fcv-legend span::before { width: 14px; height: 0; border-radius: 0; background: none; border-top: 2px solid var(--c); }

/* visual: Your greenhouse, world dot map with the three sample cities and the sample point on one of them */
.ygv-wrap { position: relative; }
.ygv-map { display: block; width: 100%; height: auto; overflow: visible; }
.ygv-dots { fill: none; stroke: rgba(66, 211, 156, 0.34); stroke-width: 5.6; stroke-linecap: round; transition: opacity 0.7s var(--ease) calc(0.15s + var(--r) * 0.13s); }
.ygv-dots.is-on { stroke: rgba(155, 232, 200, 0.78); }
.js .ls-mod:not(.is-in) .ygv-dots { opacity: 0.1; }
.ygv-cen { fill: none; stroke: #9be8c8; stroke-width: 17; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(155, 232, 200, 0.6)); }
.ygv-dot { fill: var(--accent); filter: drop-shadow(0 0 8px rgba(216, 243, 106, 0.8)); }
.ygv-pulse { fill: none; stroke: var(--accent); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: ygv-pulse 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) infinite; }
.ygv-pulse.is-2 { animation-delay: -1.3s; }
@keyframes ygv-pulse { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(3.6); opacity: 0; } }
/* city names as HTML over the map, so they keep their size at any width */
.ygv-lbl { position: absolute; transform: translate(9px, -50%); font-size: 0.7rem; font-weight: 700; line-height: 1.15; color: #eef4f0; white-space: nowrap; pointer-events: none; text-shadow: 0 0 3px #0b1a15, 0 0 6px #0b1a15, 0 0 10px #0b1a15; transition: opacity 0.6s var(--ease) 0.9s; }
.ygv-lbl.is-left { transform: translate(calc(-100% - 9px), -50%); text-align: right; }
.ygv-lbl.is-pin { color: var(--accent); transform: translate(12px, -50%); }
.ygv-lbl.is-pin.is-left { transform: translate(calc(-100% - 12px), -50%); }
.ygv-lbl small { display: block; font-size: 0.6rem; font-weight: 500; color: #a9bbb3; }
.js .ls-mod:not(.is-in) .ygv-lbl { opacity: 0; }
.ygv-legend { margin-top: 14px; }
.ygv-legend span::before { width: 8px; height: 8px; border-radius: 50%; }
.ygv-legend .cen::before { background: #9be8c8; }
.ygv-legend .pt::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(216, 243, 106, 0.22); }

/* animate only while the card is on screen (light-science.js sets .is-live) */
.js .ls-mod:not(.is-live) .lsv-ph, .js .ls-mod:not(.is-live) .lsv-bands i, .js .ls-mod:not(.is-live) .lsv-chk-dot::after, .js .ls-mod:not(.is-live) .ygv-pulse, .js .ls-mod:not(.is-live) .lsv-cal-cur, .js .ls-mod:not(.is-live) .fcv-cur { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .lsv-ph, .lsv-bands i, .lsv-chk-dot::after { animation: none; }
  .ygv-pulse, .lsv-cal-cur, .fcv-cur { animation: none; opacity: 0; }
  .lsv-ln, .lsv-pt, .lsv-tgt, .ls-mod, .lsv-chk-run, .lsv-chk-bar, .ygv-dots, .ygv-lbl, .lsv-cal-m i, .fcv-l, .fcv-m { transition: none; }
}
@media (max-width: 560px) {
  .ls-mod { margin-bottom: 18px; }
  .ls-mod .aw-dots { display: none; }
  .ls-mod-viz { padding: 20px 12px 16px; }
  .ls-mod-body { padding: 18px 18px 18px; }
  .ls-mod-foot { flex-wrap: wrap; }
  .lsv-bands li, .lsv-resp li { margin: 0 3px; }
  .lsv-bands b { font-size: 0.76rem; }
  .lsv-resp li { padding: 8px 4px 9px; }
  .lsv-resp b { font-size: 0.74rem; }
  .lsv-resp small { display: none; }
  .lsv-scale span { white-space: normal; line-height: 1.3; }
  .lsv-kpis div { padding: 8px 9px 9px; }
  .lsv-kpis small { font-size: 0.6rem; }
  .lsv-kpis strong { font-size: 1rem; }
  .lsv-kpis em { display: block; margin: 1px 0 0; }
  .lsv-fc .lsv-kpis strong { font-size: 0.92rem; }
  .lsv-chk-rows li, .lsv-chk-axis { grid-template-columns: 6.4em minmax(0, 1fr) 3.9em; gap: 8px; }
  .lsv-chk-rows b { font-size: 0.7rem; }
  .lsv-chk-rows em { font-size: 0.66rem; }
  .lsv-chk-head { flex-wrap: wrap; gap: 4px 12px; }
  .lsv-cal-head, .lsv-cal-rows li { grid-template-columns: 4.6rem minmax(0, 1fr) 1.9rem 1.9rem; column-gap: 6px; }
  .lsv-cal-mh, .lsv-cal-m { gap: 2px; }
  .lsv-cal-m i { height: 18px; border-radius: 3px; }
  .lsv-cal-rows b { font-size: 0.68rem; }
  .lsv-cal-rows em { font-size: 0.64rem; }
  .lsv-cal-cur { left: calc(4.6rem + 6px); width: calc((100% - 4.6rem - 2 * 1.9rem - 18px - 22px) / 12); }
  @keyframes lsv-cal-sweep { from { transform: translateX(0); } to { transform: translateX(calc(1100% + 22px)); } }
  .lsv-cal3 .lsv-cal-m i { height: 28px; }
  .ygv-lbl { font-size: 0.64rem; }
  .ygv-lbl small { font-size: 0.56rem; }
}

/* ---------- Light Science link cards (application pages) ---------- */
.sci-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 52px); }
.sci-link { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 18px; padding: 14px 64px 14px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: var(--fg); text-decoration: none; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.sci-link:hover { color: var(--fg); border-color: rgba(8, 128, 90, 0.45); box-shadow: var(--shadow); transform: translateY(-2px); }
.sci-thumb { position: relative; display: block; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: radial-gradient(80% 80% at 50% 20%, rgba(66, 211, 156, 0.16), rgba(66, 211, 156, 0) 70%), var(--ink-1); box-shadow: inset 0 0 0 1px rgba(66, 211, 156, 0.28); }
.sci-thumb svg { display: block; width: 100%; height: 100%; }
.sci-led { filter: drop-shadow(0 0 3px var(--g)); animation: sci-led 2.6s var(--ease) infinite alternate; animation-delay: calc(var(--i) * -0.65s); }
@keyframes sci-led { from { opacity: 0.6; } to { opacity: 1; } }
.sci-txt { display: grid; gap: 3px; min-width: 0; }
.sci-k { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow); }
.sci-link strong { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.sci-t { color: var(--fg-2); font-size: 0.9rem; line-height: 1.5; }
.sci-go { position: absolute; right: 16px; top: 50%; width: 34px; height: 34px; margin-top: -17px; display: grid; place-items: center; border-radius: 9px; background: var(--chip); color: var(--chip-fg); transition: background-color 0.25s, color 0.25s; }
.sci-go svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.sci-link:hover .sci-go { background: var(--brand); color: #fff; }
.sci-link:hover .sci-go svg { transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) { .sci-led { animation: none; } .sci-link { transition: none; } }
@media (max-width: 560px) {
  .sci-link { grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 14px; padding: 14px 52px 14px 12px; }
  .sci-thumb { width: 56px; height: 56px; }
  .sci-go { right: 12px; width: 30px; height: 30px; margin-top: -15px; }
}

/* Lighting requirements and PPFD and DLI calculator cards (SEO plan T7e, T7f) */
.lsv-req ul { list-style: none; margin: 0; padding: 18px 20px 6px; display: grid; gap: 11px; }
.lsv-req li { display: grid; grid-template-columns: 7.5em 1fr 3.8em; gap: 12px; align-items: center; font-size: 0.78rem; color: #cfe3d9; }
.lsv-req li b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsv-req li em { font-style: normal; text-align: right; color: #8fa69c; font-variant-numeric: tabular-nums; }
.lsv-req-trk { position: relative; height: 8px; border-radius: 4px; background: rgba(207, 230, 218, 0.08); }
.lsv-req-band { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, rgba(66, 211, 156, 0.55), #42d39c); }
.lsv-req-dot { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #d8f36a; box-shadow: 0 0 0 3px rgba(216, 243, 106, 0.18); }
.lsv-req-unit { margin: 4px 20px 16px; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa69c; }
.lsv-calc { padding: 26px 22px 18px; }
.lsv-calc-eq { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; margin: 0; color: #eef4f0; }
.lsv-calc-eq span { display: inline-flex; align-items: baseline; gap: 4px; }
.lsv-calc-eq b { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lsv-calc-eq small { font-size: 0.7rem; color: #8fa69c; }
.lsv-calc-eq i { font-style: normal; font-size: 1.1rem; color: #42d39c; }
.lsv-calc-eq .is-out b { color: #d8f36a; }
.lsv-calc-day { position: relative; height: 10px; margin-top: 22px; border-radius: 5px; background: rgba(207, 230, 218, 0.08); overflow: hidden; }
.lsv-calc-day i { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: linear-gradient(90deg, #42d39c, #d8f36a); }
.lsv-calc-k { display: flex; justify-content: space-between; margin: 6px 0 0; font-size: 0.68rem; color: #8fa69c; }
