/* Kashi-Bot exhibit — palette drawn from Kashi Kari glazes */
:root {
  --lapis: #10295c;
  --lapis-2: #183a7a;
  --cobalt: #2353b0;
  --turq: #2aa6b8;
  --turq-soft: #bfe6ea;
  --ochre: #d9a441;
  --gold: #f0bd4c;
  --terracotta: #b4532a;
  --leaf: #3d7a4a;
  --cream: #f7f0e3;
  --paper: #fffaf1;
  --ink: #1b2030;
  --muted: #5b6275;
  --line: #e4d9c4;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(16, 41, 92, .45);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23f0bd4c' stroke-opacity='.18' stroke-width='1.2'%3E%3Crect x='19' y='19' width='22' height='22'/%3E%3Crect x='19' y='19' width='22' height='22' transform='rotate(45 30 30)'/%3E%3Cpath d='M0 0 L8 8 M60 0 L52 8 M0 60 L8 52 M60 60 L52 52'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cobalt); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--lapis); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--terracotta); }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.muted-light { color: #b9c4df; }
.muted-light a { color: var(--gold); }
.fine { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 1rem; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 12px 24px; color: #fff; transition: background .3s, box-shadow .3s;
}
.topbar.solid { background: rgba(16, 41, 92, .94); backdrop-filter: blur(8px); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.brand-star { width: 22px; height: 22px; background: var(--gold); clip-path: polygon(50% 0,61% 26%,85% 15%,74% 39%,100% 50%,74% 61%,85% 85%,61% 74%,50% 100%,39% 74%,15% 85%,26% 61%,0 50%,26% 39%,15% 15%,39% 26%); }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: #e8edf8; text-decoration: none; font-size: .88rem; padding: 6px 12px; border-radius: 999px; white-space: nowrap; transition: background .2s; }
.nav a:hover, .nav a.active { background: rgba(240, 189, 76, .22); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(640px, 100vh, 1000px); display: grid; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,24,56,.94) 0%, rgba(10,24,56,.78) 42%, rgba(10,24,56,.15) 100%), var(--star); }
.hero-inner { position: relative; width: min(1180px, 100% - 40px); margin-inline: auto; padding: 120px 0 90px; max-width: 1180px; }
.hero-inner > * { max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.04; margin-bottom: .35em; }
.hero h1 em { color: var(--gold); font-weight: 500; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--turq-soft); margin-bottom: 1.2rem; }
.urdu { font-family: "Noto Nastaliq Urdu", "Geeza Pro", "Damascus", serif; font-size: 2.2rem; color: var(--gold); margin: 0 0 .6rem; line-height: 1.9; text-align: left; direction: rtl; width: max-content; }
.lede { font-size: 1.25rem; color: #e3e9f6; }
.lede strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }
.hero-credit { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); margin: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 1rem; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--lapis); box-shadow: 0 10px 24px -10px rgba(240,189,76,.8); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* decorative tile band */
.band {
  height: 26px;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 3px, transparent 4px) 0 0/26px 26px,
    conic-gradient(from 45deg, var(--cobalt) 25%, var(--turq) 0 50%, var(--cobalt) 0 75%, var(--turq) 0) 0 0/26px 26px;
}

/* ---------- sections ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section-dark { background: var(--lapis); color: #dfe6f5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: var(--gold); }
.section-cream { background: var(--cream); }
.pattern-bg { background-image: var(--star); background-color: var(--lapis); }
.pattern-edge { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; color: var(--terracotta); margin-bottom: .8rem; }
.intro { font-size: 1.2rem; max-width: 780px; margin-bottom: 2.6rem; }
.section-dark .intro { color: #cfd8ee; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split-wide { grid-template-columns: .9fr 1.1fr; }
figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--muted); margin-top: .7rem; }
.section-dark figcaption { color: #aebbd9; }

/* craft */
.photo-stack { position: relative; padding: 0 0 60px 40px; }
.ps-a { border-radius: var(--radius); box-shadow: var(--shadow); width: 78%; margin-left: auto; aspect-ratio: 3/4; object-fit: cover; }
.ps-b { position: absolute; left: 0; bottom: 40px; width: 46%; border-radius: var(--radius); border: 6px solid var(--paper); box-shadow: var(--shadow); transform: rotate(-4deg); }
.photo-stack figcaption { position: absolute; bottom: 0; right: 0; width: 70%; text-align: right; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 70px; }
.stat { padding: 24px 22px; border-top: 3px solid var(--turq); background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 8px 24px -16px rgba(16,41,92,.35); }
.stat .num, .metric .num { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--lapis); line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat .lbl, .metric .lbl { display: block; font-size: .92rem; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.stats-light .stat { background: rgba(255,255,255,.06); border-top-color: var(--gold); box-shadow: none; }
.stats-light .num { color: var(--gold); }
.stats-light .lbl { color: #c4cfe8; }

.damage-poster { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; margin-top: 90px; }
.damage-poster img { border-radius: var(--radius); box-shadow: var(--shadow); }
.quote { margin-top: 1.6rem; padding: 20px 24px; background: var(--cream); border-left: 4px solid var(--ochre); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--serif); font-size: 1.15rem; color: var(--lapis); }
.quote span { display: block; font-family: var(--sans); font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* ---------- journey ---------- */
.journey-steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; counter-reset: s; }
.journey-steps button {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.04); color: #dfe6f5;
  font: 600 .95rem var(--sans); cursor: pointer; transition: all .25s;
}
.journey-steps button:hover { background: rgba(255,255,255,.1); }
.journey-steps button[aria-selected="true"] { background: var(--gold); color: var(--lapis); border-color: var(--gold); transform: translateY(-3px); }
.jn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid currentColor; font-family: var(--serif); font-size: 1.05rem; }
.journey-panel { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; color: var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); min-height: 420px; }
.journey-panel img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; transition: opacity .35s; }
.journey-text { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.journey-text h3 { color: var(--lapis) !important; font-size: 1.9rem; }
.journey-text p { font-size: 1.08rem; color: #39405a; }
.journey-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(16,41,92,.08); }
.journey-progress span { display: block; height: 100%; width: 0; background: var(--turq); }
.fade { opacity: 0; }

/* ---------- scout ---------- */
.scout-fig img { border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.feature-list li { position: relative; padding: 0 0 14px 34px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; background: var(--turq); clip-path: polygon(50% 0,61% 26%,85% 15%,74% 39%,100% 50%,74% 61%,85% 85%,61% 74%,50% 100%,39% 74%,15% 85%,26% 61%,0 50%,26% 39%,15% 15%,39% 26%); }
.feature-list b { color: var(--lapis); }

.moves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0 90px; }
.move { background: var(--cream); border-radius: var(--radius); padding: 18px 18px 8px; text-align: center; border: 1px solid var(--line); }
.move svg { width: 100%; max-width: 170px; height: auto; margin: 0 auto 10px; display: block; background: repeating-linear-gradient(0deg, #c7633a 0 9px, #a94f2b 9px 10px); border-radius: 8px; }
.move h4 { margin-bottom: .2em; }
.move p { font-size: .9rem; color: var(--muted); }
.move .t { fill: var(--cobalt); stroke: #fff; stroke-width: 1.5; transition: fill .3s; }
.move .t.done { fill: var(--turq); }
.move .cam { fill: rgba(240,189,76,.2); stroke: var(--gold); stroke-width: 3; transition: x .55s cubic-bezier(.6,.0,.3,1), y .55s cubic-bezier(.6,.0,.3,1), width .3s, height .3s; }
.move .flash { fill: #fff; opacity: 0; }
.move .flash.on { animation: flash .35s ease-out; }
@keyframes flash { 0% { opacity: .8; } 100% { opacity: 0; } }
.move .lift { stroke: #fff; stroke-width: 2; stroke-dasharray: 4 3; opacity: .8; }

.evo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.evo figure { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px -20px rgba(16,41,92,.5); border: 1px solid var(--line); }
.evo img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.75); transition: filter .3s, transform .4s; }
.evo figure:hover img { filter: none; transform: scale(1.03); }
.evo figcaption { padding: 12px 16px 16px; margin: 0; font-size: .9rem; }
.evo figcaption b { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--lapis); }
.evo-now { outline: 3px solid var(--gold); }
.evo-now img { filter: none; }

/* ---------- explorer ---------- */
.explorer { display: grid; grid-template-columns: 150px 1fr; gap: 26px; }
.ex-tiles { display: flex; flex-direction: column; gap: 12px; }
.ex-tiles button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; border-radius: 12px; border: 2px solid transparent; background: #fff; cursor: pointer; font: 600 .85rem var(--sans); color: var(--lapis); box-shadow: 0 6px 16px -12px rgba(16,41,92,.5); transition: all .2s; }
.ex-tiles button img { border-radius: 8px; width: 100%; }
.ex-tiles button[aria-checked="true"] { border-color: var(--gold); transform: translateX(6px); }
.ex-stage { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 34px; align-items: start; }
.ex-frame { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #ddd; user-select: none; touch-action: pan-y; }
.ex-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-mask { opacity: 0; filter: drop-shadow(0 0 6px rgba(255,196,0,.9)); mix-blend-mode: normal; transition: opacity .5s; pointer-events: none; }
.ex-frame.show-mask .ex-mask { opacity: .78; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.ex-scanline { position: absolute; left: 0; right: 0; height: 18%; top: -20%; background: linear-gradient(180deg, transparent, rgba(42,166,184,.55) 85%, #bff6ff); pointer-events: none; opacity: 0; }
.ex-scanline.run { animation: scan 1.3s ease-in-out forwards; }
@keyframes scan { 0% { top: -20%; opacity: 1; } 100% { top: 102%; opacity: 1; } }
.ex-original { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.ex-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); opacity: 0; transition: opacity .4s; pointer-events: none; box-shadow: 0 0 10px rgba(0,0,0,.35); }
.ex-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--lapis); display: grid; place-items: center; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.ex-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; display: none; margin: 0; }
.ex-frame.compare .ex-original, .ex-frame.compare .ex-handle { opacity: 1; }
.ex-frame.compare .ex-range { display: block; }
.ex-lock { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; background: rgba(16,41,92,.82); color: #fff; opacity: 0; pointer-events: none; transition: opacity .4s; text-align: center; }
.ex-lock strong { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); display: block; margin-bottom: .5rem; }
.ex-lock strong::before { content: "🔒 "; }
.ex-lock p { font-size: 1rem; color: #e6ecf8; max-width: 380px; margin: 0 auto; }
.ex-frame.locked .ex-lock { opacity: 1; }
.ex-controls { display: flex; flex-direction: column; gap: 10px; }
.ex-step { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 600 1.02rem var(--sans); color: var(--lapis); cursor: pointer; text-align: left; transition: all .2s; }
.ex-step span { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cream); font-family: var(--serif); }
.ex-step:hover { border-color: var(--turq); }
.ex-step.is-on { background: var(--lapis); color: #fff; border-color: var(--lapis); }
.ex-step.is-on span { background: var(--gold); color: var(--lapis); }
.ex-caption { margin-top: 10px; font-size: 1.05rem; color: #39405a; min-height: 5.2em; }
.ex-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; padding: 16px 18px; background: #fff; border-radius: 12px; border: 1px solid var(--line); font-size: .95rem; }
.ex-facts dt { color: var(--muted); }
.ex-facts dd { margin: 0; font-weight: 600; color: var(--lapis); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.metric { text-align: center; padding: 10px; }
.metric .num { color: var(--terracotta); }

/* ---------- restore ---------- */
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.method { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 14px 30px -24px rgba(16,41,92,.6); transition: transform .3s; }
.method:hover { transform: translateY(-4px); }
.m-icon { width: 64px; height: 64px; color: var(--cobalt); margin-bottom: 14px; }
.m-icon svg { width: 100%; height: 100%; }
.m-best { font-size: .9rem; color: var(--leaf); font-weight: 600; margin: 0; }
.wide-fig { margin: 60px auto 0; max-width: 1000px; }
.wide-fig img { border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.principle { display: flex; gap: 26px; align-items: flex-start; margin: 70px auto 0; max-width: 900px; padding: 34px 38px; background: var(--lapis); color: #dfe6f5; border-radius: 18px; background-image: var(--star); }
.principle h3 { color: var(--gold); }
.principle p { margin: 0; }
.principle-mark { font-size: 2.6rem; line-height: 1; }

/* ---------- draw ---------- */
.draw-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.draw-flow figure { background: rgba(255,255,255,.05); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.draw-flow img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; background: #fff; }
.draw-flow figcaption { padding: 16px 20px 20px; margin: 0; font-size: .95rem; color: #c4cfe8; }
.draw-flow figcaption b { display: block; color: var(--gold); font-family: var(--serif); font-size: 1.25rem; margin-bottom: 4px; }

/* ---------- impact ---------- */
.cost { background: var(--cream); border-radius: 18px; padding: 30px 34px; margin-bottom: 50px; border: 1px solid var(--line); }
.cost-row { display: grid; grid-template-columns: 280px 1fr 120px; gap: 18px; align-items: center; padding: 10px 0; }
.cost-name { font-size: .95rem; color: #39405a; }
.cost-val { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--lapis); text-align: right; }
.cost-bar { height: 26px; background: rgba(16,41,92,.06); border-radius: 999px; overflow: hidden; }
.cost-bar span { display: block; height: 100%; width: 0; min-width: 0; border-radius: 999px; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.cost.in .cost-bar span { width: var(--w); min-width: 8px; }
.bar-grey { background: #8b93a7; }
.bar-gold { background: var(--ochre); }
.bar-turq { background: var(--turq); }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.impact-card { padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--cobalt); }
.impact-card:nth-child(2) { border-top-color: var(--turq); }
.impact-card:nth-child(3) { border-top-color: var(--ochre); }
.impact-card:nth-child(4) { border-top-color: var(--leaf); }
.impact-card h3 { font-size: 1.25rem; }
.impact-card p { font-size: .96rem; color: #444b60; margin: 0; }
.field { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; margin-top: 80px; padding: 34px; border-radius: 20px; background: var(--cream); }
.field img { border-radius: var(--radius); box-shadow: var(--shadow); max-height: 460px; object-fit: cover; width: 100%; }

/* ---------- film ---------- */
.video-wrap { border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); border: 4px solid rgba(240,189,76,.6); margin: 30px 0 24px; background: #000; }
.video-wrap video, .video-wrap iframe { width: 100%; display: block; aspect-ratio: 16/9; border: 0; }

/* ---------- exhibition ---------- */
.zones { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.zone { display: flex; gap: 18px; padding: 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.zone-n { flex: none; width: 54px; height: 54px; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: #fff; background: var(--cobalt); clip-path: polygon(50% 0,61% 26%,85% 15%,74% 39%,100% 50%,74% 61%,85% 85%,61% 74%,50% 100%,39% 74%,15% 85%,26% 61%,0 50%,26% 39%,15% 15%,39% 26%); }
.zone:nth-child(3n+2) .zone-n { background: var(--turq); }
.zone:nth-child(3n) .zone-n { background: var(--terracotta); }
.zone h3 { font-size: 1.25rem; margin-bottom: .3em; }
.zone p { font-size: .95rem; color: #444b60; margin: 0; }
.ex-photos { display: grid; grid-template-columns: 1.4fr 1.4fr .8fr; gap: 18px; margin-top: 50px; }
.ex-photos img { border-radius: var(--radius); height: 300px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }

/* ---------- team ---------- */
.team { margin: 0 0 1.4rem; }
.team div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.team dt { font-family: var(--serif); font-size: 1.3rem; color: var(--lapis); font-weight: 600; }
.team dd { margin: 2px 0 0; color: #444b60; }

/* ---------- footer ---------- */
.footer { background: var(--lapis); color: #c4cfe8; }
.foot-inner { padding: 34px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .9rem; }
.foot-inner p { margin: 0; }
.foot-inner strong { color: #fff; font-family: var(--serif); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
html.static .reveal { opacity: 1; transform: none; transition: none; }
html.static .cost-bar span { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .split, .split-wide, .damage-poster, .journey-panel, .ex-stage, .field { grid-template-columns: 1fr; }
  .moves, .evo, .metrics, .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .methods, .draw-flow, .zones { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
  .cost-row { grid-template-columns: 1fr auto; }
  .cost-bar { grid-column: 1 / -1; grid-row: 2; }
  .field img { max-height: 380px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .explorer { grid-template-columns: 1fr; }
  .ex-tiles { flex-direction: row; overflow-x: auto; }
  .ex-tiles button { min-width: 96px; }
  .ex-tiles button[aria-checked="true"] { transform: translateY(-4px); }
  .moves, .evo, .metrics, .impact-grid { grid-template-columns: 1fr; }
  .ex-photos { grid-template-columns: 1fr; }
  .photo-stack { padding: 0; }
  .photo-stack figcaption { position: static; width: auto; text-align: left; margin-top: 70px; }
  .ps-b { bottom: 50px; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,24,56,.6), rgba(10,24,56,.92)); }
}
