/* deepearth.ai's home (templates/home_public.html). The film across the page's width at the top of the first screen,
   the words on white directly below it (Tristan, 2026-11-28); film and words together fit a laptop's first screen. */
.h-frame{position:relative;width:100%;height:clamp(300px,calc(100vh - 410px),62vw);overflow:hidden;background:#1a1e1a}
.h-frame video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.h-words-in{max-width:1168px;margin:0 auto;padding:clamp(1.5rem,3.5vh,2.4rem) 24px 0;
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1rem 3.5rem;align-items:start}
.h-words h1{font-size:clamp(2rem,3.2vw,3.1rem);font-weight:400;line-height:1.1;margin:0;text-wrap:balance}
.h-lede{font-size:clamp(1rem,1.2vw,1.08rem);line-height:1.65;color:#333;max-width:38rem;margin:.3rem 0 0}
.h-ctas{display:flex;flex-wrap:wrap;gap:10px;margin:1.3rem 0 0}
.pub .h-btn{display:inline-flex;align-items:center;justify-content:center;padding:.95rem 1.4rem;border-radius:999px;border:1px solid rgba(0,0,0,.28);
  font:400 .62rem/1 var(--sans);letter-spacing:.24em;text-indent:.24em;text-transform:uppercase;color:var(--ink);text-decoration:none;background:#fff;cursor:pointer}
.pub .h-btn:hover,.pub .h-btn:focus-visible{background:var(--ink);color:#fff;border-color:var(--ink);outline:none}
.pub .h-btn.solid{background:var(--ink);color:#fff;border-color:var(--ink)}
.pub .h-btn.solid:hover,.pub .h-btn.solid:focus-visible{background:#333;border-color:#333}
.pub .h-btn:disabled{opacity:.6;cursor:default}
.h-sub b{font-style:normal;font-weight:600;color:var(--ink)}
.h-play{position:absolute;right:18px;bottom:18px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(0,0,0,.35);
  display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;z-index:2}
.h-play svg{width:16px;height:16px;fill:#fff}
.h-play[data-state="paused"] .i-pause,.h-play[data-state="playing"] .i-play{display:none}
.h-play:hover,.h-play:focus-visible{background:#fff;outline:none}
.h-play:hover svg,.h-play:focus-visible svg{fill:#000}
/* narrower screens: the words in one column; a phone: the film whole at 16:9 */
@media(max-width:960px){.h-words-in{grid-template-columns:1fr}}
@media(max-width:760px){
  .h-frame{height:auto}
  .h-frame video{position:relative;aspect-ratio:16/9;height:auto}
  .h-words-in{padding:1.4rem 24px 2rem}
  .h-words h1{font-size:2.1rem}
}

.h-band{border-top:1px solid var(--rule);padding:clamp(3rem,8vh,5.5rem) 0}
.h-band h2{font-size:clamp(1.8rem,3vw,2.5rem);font-weight:400;margin-bottom:1.2rem;max-width:40rem}
.h-band p{color:#333;margin-bottom:1rem;max-width:44rem}
.h-sub{color:var(--body)}
.h-links{display:flex;flex-wrap:wrap;gap:.4rem 1.6rem;margin-top:1.4rem}
.h-links a{font-size:.95rem}

.h-steps{list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,3vw,44px);margin-top:1.4rem}
.h-steps li{counter-increment:s;color:#333;position:relative;padding-top:3.1rem}
.h-steps li::before{content:counter(s);position:absolute;top:0;left:0;width:2.2rem;height:2.2rem;border:1px solid var(--ink);border-radius:50%;
  display:flex;align-items:center;justify-content:center;font:600 1.05rem/1 var(--serif)}
.h-steps b{display:block;font:600 1.3rem/1.25 var(--serif);color:var(--ink);margin-bottom:.4rem}
.h-steps a{display:inline-block;margin-top:.4rem;font-size:.92rem}

.h-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(28px,5vw,80px);align-items:start}
.h-stats{display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:1px solid var(--ink)}
.h-stats div{padding:1.2rem 1rem 1.3rem 0;border-bottom:1px solid var(--rule)}
.h-stats dt{font:400 clamp(2rem,3.2vw,2.7rem)/1 var(--serif);font-feature-settings:"lnum" 1;margin-bottom:.45rem}
.h-stats dd{color:var(--body);font-size:.9rem;line-height:1.45;padding-right:.5rem}

.h-layers{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:1.6rem}
.pub .h-layers a,.pub .h-card{display:block;height:100%;border:1px solid var(--rule);padding:1.1rem 1.1rem 1.2rem;text-decoration:none;color:var(--ink)}
.pub .h-layers a:hover,.pub .h-card:hover{border-color:var(--ink)}
.h-layers b,.h-card b{display:block;font:600 1.3rem/1.2 var(--serif);margin:.2rem 0 .4rem}
.h-layers span,.h-card > span:last-child{color:var(--body);font-size:.92rem;line-height:1.5}
.h-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:1.4rem}
.h-card-img{display:block;width:calc(100% + 2.2rem);max-width:none;height:auto;aspect-ratio:16/10;object-fit:cover;margin:-1.1rem -1.1rem .9rem;background:var(--raised)}

.h-band details{border-bottom:1px solid var(--rule);padding:1rem 0;max-width:44rem}
.h-band summary{cursor:pointer;font:600 1.15rem/1.3 var(--serif);list-style:none;position:relative;padding-right:2rem}
.h-band summary::-webkit-details-marker{display:none}
.h-band summary::after{content:"+";position:absolute;right:0;top:0;font:300 1.3rem/1 var(--sans)}
.h-band details[open] summary::after{content:"\2212"}
.h-band details p{margin:.7rem 0 0}

.h-start{background:var(--wash)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#f{display:flex;flex-direction:column;gap:.7rem;max-width:26rem;margin-top:1.4rem}
.h-field{width:100%;padding:.85rem 1rem;border:1px solid rgba(0,0,0,.22);border-radius:2px;background:#fff;font:italic 300 1.15rem/1.3 var(--serif);color:var(--ink)}
.h-field:focus{outline:none;border-color:var(--ink)}
#f .h-btn{align-self:flex-start;margin-top:.4rem}
.h-fine{font-size:.8rem;color:var(--body)}
.h-err{color:#8a2a12;font-size:.9rem;min-height:1.2rem;margin-top:.4rem}
.h-said{font:600 1.5rem/1.2 var(--serif);color:var(--ink)}
.h-signin{margin-top:1.4rem;font-size:.92rem}
.dots i{display:inline-block;width:4px;height:4px;margin:0 2px;border-radius:50%;background:currentColor;animation:hd 1s infinite}
.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}
@keyframes hd{0%,100%{opacity:.25}50%{opacity:1}}
.credits{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:2.2rem}
.cr{display:block;height:17px;background:center/contain no-repeat;filter:grayscale(1);opacity:.55;transition:opacity .3s ease,filter .3s ease}
.cr:hover{filter:none;opacity:1}
.cr-qed{width:105px;background-image:url(/static/images/aff/qed-lab.svg)}
.cr-nsf{width:71px;background-image:url(/static/images/aff/nsf.png)}
.cr-doe{width:101px;background-image:url(/static/images/aff/doe-sc.png)}

@media(max-width:1000px){
  .h-split{grid-template-columns:1fr}
  .h-steps{grid-template-columns:1fr}
  .h-layers,.h-cards{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .h-layers,.h-cards{grid-template-columns:1fr}
  .h-ctas .h-btn{width:100%}
}
@media(prefers-reduced-motion:reduce){.dots i{animation:none}}

/* the Research price on the home (prices.py) */
.h-price{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1.2rem 3rem;margin:1.6rem 0 1.4rem;max-width:56rem}
.h-price-from{margin:0;color:var(--body)}
.h-price-from .pub-label{display:block;margin-bottom:.5rem}
.h-price-from b{font:400 2.6rem/1 var(--serif);color:var(--ink);margin-right:.4rem;font-feature-settings:"lnum" 1}
.h-price-t{border-collapse:collapse;font-size:.95rem}
.h-price-t th{text-align:right;font:400 .64rem/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--quiet);padding:.4rem 0 .5rem 1.4rem;border-bottom:1px solid var(--ink)}
.h-price-t th:first-child,.h-price-t td:first-child{text-align:left;padding-left:0}
.h-price-t td{padding:.55rem 0 .55rem 1.4rem;border-bottom:1px solid var(--rule);text-align:right;font-variant-numeric:tabular-nums}

/* No false floor (NN/g, "The Illusion of Completeness"): no full-width rule at the bottom of the first screen, and the
   next section's heading shows above the fold, so the page reads as continuing (Tristan, 2026-11-28). */
.h-hero + .h-band{border-top:0;padding-top:clamp(2rem,4.5vh,3rem)}

/* How a plant is ranked (2026-11-28): the real site page with numbered pins, then the site, the plant and the result. */
.h-fig{margin:1.6rem 0 2.4rem}
.h-shot{position:relative;border:1px solid var(--rule)}
.h-shot img{display:block;width:100%;height:auto}
.h-pin{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;background:#fff;color:var(--ink);
  border:2px solid var(--ink);display:flex;align-items:center;justify-content:center;font:600 .85rem/1 var(--sans);box-shadow:0 1px 6px rgba(0,0,0,.35)}
.h-keys{list-style:none;counter-reset:k;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem 2rem;margin-top:1.1rem;padding:0}
.h-keys li{counter-increment:k;position:relative;padding-left:2.4rem;color:#333;font-size:.95rem;line-height:1.55}
.h-keys li::before{content:counter(k);position:absolute;left:0;top:-.1rem;width:26px;height:26px;border-radius:50%;border:1.5px solid var(--ink);
  display:flex;align-items:center;justify-content:center;font:600 .78rem/1 var(--sans);color:var(--ink)}
.h-keys b{color:var(--ink)}
.h-why{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);gap:22px;margin:1.6rem 0 .6rem;align-items:start}
.h-why-c{margin:0}
.h-why-c > img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border:1px solid var(--rule)}
.h-why-c figcaption{color:#333;font-size:.9rem;line-height:1.55;margin-top:.7rem}
.h-why-c figcaption b{color:var(--ink)}
.h-why-c .pub-label{margin-bottom:.5rem}
.h-plant{position:relative;border:1px solid var(--rule);background:#fff;aspect-ratio:1}
.h-plant img{display:block;width:100%;height:100%;object-fit:contain}
.h-tags{margin:0}
.h-tags > div{position:absolute;width:38%;font-size:.78rem;line-height:1.35}
.h-tags .t-l{left:3%;text-align:right}
.h-tags .t-r{right:3%}
.h-tags dt{font:600 .62rem/1.2 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--ink)}
.h-tags dd{margin:.15rem 0 0;color:#333}
.h-tags > div::after{content:"";position:absolute;top:.45rem;width:9%;border-top:1px solid var(--ink)}
.h-tags .t-l::after{left:102%}
.h-tags .t-r::after{right:102%}
@media(max-width:960px){
  .h-keys{grid-template-columns:1fr}
  .h-why{grid-template-columns:1fr}
  .h-plant{aspect-ratio:auto;display:grid;grid-template-columns:42% 1fr;align-items:center}
  .h-plant img{height:auto;aspect-ratio:1}
  .h-tags > div{position:static;width:auto;text-align:left !important;padding:.35rem 1rem .35rem 0}
  .h-tags > div::after{display:none}
}
@media(max-width:760px){.h-pin{width:22px;height:22px;font-size:.7rem}}
/* the site and the result framed on the same ground: the lawns east of the Campanile, where the redwood's map lies */
.h-zoom{overflow:hidden;aspect-ratio:16/10;border:1px solid var(--rule)}
.h-zoom img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.75);transform-origin:66% 64%}
.h-band h2{text-wrap:balance}

/* Why the 3D models matter (2026-11-30): six plant model stills, then three features */
.h-strip{list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:1.8rem 0 2rem;padding:0}
.h-strip li{display:flex;flex-direction:column;gap:.4rem}
.h-strip img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid var(--rule)}
.h-strip span{font-size:.85rem;color:var(--body)}
.h-feats{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,3vw,44px);padding:0;margin:0}
.h-feats b{display:block;font:600 1.3rem/1.25 var(--serif);color:var(--ink);margin-bottom:.4rem}
.h-feats span{color:#333;line-height:1.6}
@media(max-width:1000px){.h-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.h-feats{grid-template-columns:1fr}}
.h-band .credits{margin:1.4rem 0 .4rem}
.h-pro{font:600 1.3rem/1.25 var(--serif);margin:2rem 0 .5rem}
