
/* Dig Earth Studio Lab landing page styles. */
:root{--lp-ink:#173b39;--lp-deep:#0e393b;--lp-gold:#b88b46;--lp-muted:#63746d;--lp-paper:#f4f0e7;--lp-cream:#fffaf0;--lp-line:#ddd5c5;--lp-teal:#267d7b;--lp-shadow:0 14px 35px rgba(26,51,47,.06);}
*{box-sizing:border-box;}
body{margin:0;background:radial-gradient(circle at 18% 4%,rgba(217,176,109,.13),transparent 24%),radial-gradient(circle at 89% 34%,rgba(72,142,125,.08),transparent 30%),var(--lp-paper);color:var(--lp-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
button,input{font:inherit;}
button{cursor:pointer;}
.lp-shell{width:min(1320px,calc(100% - 52px));margin:0 auto;padding:29px 0 90px;}
.lp-hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.9fr);gap:28px;align-items:end;padding-bottom:34px;border-bottom:1px solid #d4ccbc;}
.lp-eyebrow{display:inline-flex;align-items:center;gap:11px;font-size:.72rem;letter-spacing:.17em;font-weight:950;color:var(--lp-gold);text-transform:uppercase;}
.lp-eyebrow:before{content:"";display:block;width:23px;height:2px;background:currentColor;}
.lp-title{font-family:Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.065em;font-size:clamp(3.8rem,7.3vw,7.9rem);line-height:.91;font-weight:900;margin:20px 0 0;color:#122f32;}
.lp-title em{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.06em;color:var(--lp-teal);}
.lp-hero-copy{max-width:445px;padding:0 2px 3px;}
.lp-hero-copy .lp-compass{display:flex;align-items:center;gap:10px;font-size:.73rem;letter-spacing:.13em;color:#78847b;font-weight:850;margin-bottom:15px;}
.lp-hero-copy .lp-compass:before{content:"✳";font-size:2.4rem;line-height:1;color:#b79b65;font-weight:400;}
.lp-hero-copy p{font-family:Georgia,serif;font-size:clamp(1.16rem,1.7vw,1.6rem);line-height:1.43;letter-spacing:-.025em;color:#49635b;margin:0;}
.lp-overview{display:flex;align-items:center;gap:30px;flex-wrap:wrap;padding:19px 0 30px;}
.lp-overview-item{display:flex;align-items:baseline;gap:9px;}
.lp-overview-item strong{font-size:1.5rem;color:#1e6665;font-weight:850;letter-spacing:-.04em;}
.lp-overview-item span{font-size:.74rem;font-weight:800;color:#64756e;}
.lp-overview-tip{font-size:.78rem;color:#697b75;margin-left:auto;}
.lp-toolbar{position:relative;z-index:2;background:var(--lp-cream);border:1px solid var(--lp-line);border-radius:19px;box-shadow:var(--lp-shadow);padding:22px 24px;margin:0 0 27px;}
.lp-toolbar-row{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;}
.lp-toolbar-heading{font-size:.72rem;letter-spacing:.13em;text-transform:uppercase;font-weight:900;color:#2b6562;}
.lp-search{display:flex;align-items:center;gap:10px;min-width:260px;width:min(470px,100%);padding:11px 14px;background:#fff;border:1px solid #d9dfd6;border-radius:12px;transition:border-color .15s,box-shadow .15s;}
.lp-search:focus-within{border-color:#358985;box-shadow:0 0 0 3px #8bc9b547;}
.lp-search svg{width:17px;height:17px;stroke:#66837b;flex:0 0 auto;}
.lp-search input{background:transparent;border:0;outline:0;width:100%;min-width:0;font-size:.88rem;color:#183b3c;}
.lp-search input::placeholder{color:#899b94;}
.lp-search-clear{display:none;border:0;background:#edf3ed;color:#335d56;padding:3px 8px;border-radius:6px;font-weight:900;line-height:1.4;}
.lp-search-clear.is-visible{display:block;}
.lp-filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;align-items:center;}
.lp-filter-label{font-size:.69rem;font-weight:850;text-transform:uppercase;letter-spacing:.1em;color:#809089;margin-right:5px;}
.lp-chip{border:1px solid #dddcd1;background:#faf8f1;color:#4c6b63;padding:9px 14px;border-radius:999px;font-size:.72rem;line-height:1.2;font-weight:850;transition:background .15s,border-color .15s,color .15s;}
.lp-chip:hover{border-color:#83aaa2;color:#1b625f;}
.lp-chip[aria-pressed="true"]{background:#19585a;border-color:#19585a;color:#fff;}
.lp-pack-filter{display:inline-flex;align-items:center;gap:8px;margin-left:auto;white-space:nowrap;font-size:.74rem;color:#4d655d;font-weight:800;cursor:pointer;}
.lp-pack-filter input{accent-color:#267b75;width:16px;height:16px;cursor:pointer;}
.lp-section-head{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:16px;}
.lp-section-head h2{font-size:clamp(1.55rem,2.65vw,2.35rem);font-weight:850;line-height:1;letter-spacing:-.05em;margin:5px 0 0;color:#113738;}
.lp-count{background:#e8ecdf;border-radius:50px;padding:7px 12px;font-size:.7rem;font-weight:900;color:#537169;white-space:nowrap;}
.lp-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:17px;}
.lp-card{grid-column:span 2;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dbd4c7;border-radius:18px;text-decoration:none;background:#fffaf0;box-shadow:0 10px 26px rgba(25,51,45,.045);transition:transform .18s,box-shadow .18s,border-color .18s;color:inherit;}
.lp-card:hover{transform:translateY(-4px);box-shadow:0 21px 46px rgba(19,66,60,.13);border-color:#a5c5b9;}
.lp-card:focus-visible,.lp-chip:focus-visible,.lp-search-clear:focus-visible,.lp-pack-filter:focus-within{outline:3px solid #b98a3e;outline-offset:3px;}
.lp-card[hidden]{display:none!important;}
.lp-card.is-featured{grid-column:span 3;}
.lp-card-art{height:166px;position:relative;overflow:hidden;isolation:isolate;background:#e4eadd;flex:0 0 auto;padding:12px;}
.lp-card.is-featured .lp-card-art{height:225px;}
/* Keep all inline illustrations inside their own image viewport. */
.lp-card-art svg{display:block;width:100%;height:100%;overflow:hidden;clip-path:inset(0 round 10px);border-radius:10px;box-shadow:0 1px 0 #ffffffdd,0 0 0 1px #234d4125;}
.lp-featured-flag{position:absolute;top:13px;right:13px;background:#0d3e42e8;border:1px solid #ffffff88;color:#fef8ed;border-radius:99px;padding:7px 10px;font-size:.61rem;letter-spacing:.09em;font-weight:900;text-transform:uppercase;}
.lp-card:not(.is-featured) .lp-featured-flag,.lp-grid.is-filtered .lp-featured-flag{display:none;}
.lp-grid.is-filtered .lp-card.is-featured{grid-column:span 2;}
.lp-grid.is-filtered .lp-card.is-featured .lp-card-art{height:166px;}
.lp-card-content{padding:20px 22px 19px;flex:1;display:flex;flex-direction:column;}
.lp-card-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;margin:0 0 9px;font-size:.66rem;letter-spacing:.095em;text-transform:uppercase;font-weight:950;color:#a77d3e;}
.lp-card-content h3{margin:0 0 9px;color:#153b3b;font-size:clamp(1.16rem,1.75vw,1.63rem);letter-spacing:-.045em;line-height:1.12;font-weight:850;}
.lp-card-content p{margin:0;color:#61776e;font-size:.8rem;line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.lp-card.is-featured .lp-card-content p{-webkit-line-clamp:2;}
.lp-grid.is-filtered .lp-card.is-featured .lp-card-content p{-webkit-line-clamp:3;}
.lp-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px;padding-top:18px;margin-top:auto;}
.lp-action{font-size:.76rem;font-weight:900;color:#206b69;letter-spacing:-.01em;}
.lp-arrow{width:31px;height:31px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#19595a;color:#fff;font-size:1.1rem;transition:transform .18s;}
.lp-card:hover .lp-arrow{transform:translateX(3px);}
.lp-pack{display:inline-flex;align-items:center;gap:6px;font-size:.67rem;font-weight:850;color:#42655d;margin-top:12px;line-height:1.25;}
.lp-pack:before{content:"";width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#ba8d49;}
.lp-empty{padding:42px 28px;margin-top:10px;text-align:center;border:1px dashed #b5c7b5;border-radius:18px;background:#f9f7ef;}
.lp-empty[hidden]{display:none;}
.lp-empty h3{color:#144345;font-size:1.35rem;margin:0 0 8px;}
.lp-empty p{color:#6c7b72;margin:0 0 20px;}
.lp-empty button{border:0;background:#1b5d5b;color:#fff;padding:12px 18px;border-radius:9px;font-weight:850;}
@media(max-width:1030px){.lp-card,.lp-grid.is-filtered .lp-card.is-featured{grid-column:span 3;}.lp-hero{grid-template-columns:1.4fr 1fr}.lp-pack-filter{margin-left:0}.lp-grid.is-filtered .lp-card.is-featured .lp-card-art{height:166px;}}
@media(max-width:730px){.lp-shell{width:min(100% - 32px,620px);padding-top:17px;}.lp-hero{grid-template-columns:1fr;gap:15px}.lp-title{font-size:clamp(3.7rem,12vw,6rem)}.lp-hero-copy{max-width:510px}.lp-overview{gap:16px;padding:18px 0 26px}.lp-overview-tip{width:100%;margin:0}.lp-toolbar{padding:17px}.lp-toolbar-row{align-items:stretch}.lp-search{width:100%;min-width:0;}.lp-grid{gap:13px}.lp-card,.lp-card.is-featured,.lp-grid.is-filtered .lp-card.is-featured{grid-column:span 6;}.lp-card-art,.lp-card.is-featured .lp-card-art,.lp-grid.is-filtered .lp-card.is-featured .lp-card-art{height:195px;}.lp-card-content{padding:17px 19px}.lp-card-content p{font-size:.82rem}.lp-filter-label{width:100%;}.lp-pack-filter{margin:8px 0 0;width:100%;}}
@media(max-width:380px){.lp-card-art,.lp-card.is-featured .lp-card-art{height:160px}.lp-chip{font-size:.68rem;padding:8px 10px;}.lp-title{font-size:3.55rem;}}
@media(prefers-reduced-motion:reduce){.lp-card,.lp-arrow,.lp-chip,.lp-search{transition:none;}}

/* V2 polish: official Lab identity + clear classroom-activity availability. */
.lp-title-row{
 display:flex;align-items:center;gap:clamp(12px,1.8vw,22px);
 min-width:0;max-width:100%;margin:19px 0 0;
}
.lp-title-row .lp-title{
 margin:0;min-width:0;font-size:clamp(2.85rem,5.9vw,6.2rem);
 line-height:.93;letter-spacing:-.065em;
}
.lp-lab-logo{
 display:grid;place-items:center;
 flex:0 0 auto;width:clamp(90px,9.5vw,124px);height:clamp(90px,9.5vw,124px);
 border:1px solid #c9c8b9;border-radius:17px;
 padding:5px;background:#fffaf1;
 text-decoration:none;
 transition:border-color .16s,background-color .16s;
}
.lp-lab-logo img{display:block;width:100%;height:100%;object-fit:contain;}
.lp-lab-logo:hover{border-color:#91b0a4;background:#f0ebdd;}
.lp-lab-logo:focus-visible,.lp-card-link:focus-visible,.lp-resource-link:focus-visible{
 outline:3px solid #b98a3e;outline-offset:3px;
}
.lp-card-link{
 display:flex;flex-direction:column;flex:1;min-width:0;
 color:inherit;text-decoration:none;
}
.lp-card-link .lp-card-content{flex:1;}
.lp-card-link:hover .lp-arrow{transform:translateX(3px);}
.lp-card-link:focus-visible{outline-offset:-4px;z-index:2;}
.lp-card-art .lp-featured-flag{left:12px;right:auto;top:12px;}
.lp-activity-badge{
 position:absolute;top:12px;right:12px;z-index:3;
 display:inline-flex;align-items:center;gap:8px;
 max-width:calc(100% - 25px);
 border:1px solid #d1b989;
 border-radius:9px;padding:8px 10px;
 color:#194e4d;background:#fff9ec;
 box-shadow:0 4px 14px #123b3e29;
 font-size:.66rem;font-weight:950;line-height:1.25;
 letter-spacing:.01em;text-align:left;
}
.lp-card.is-featured .lp-activity-badge{max-width:calc(100% - 108px);}
.lp-badge-icon,.lp-resource-icon,.lp-explain-icon{
 display:inline-grid;place-items:center;flex:0 0 auto;
 width:20px;height:20px;border-radius:5px;background:#e8d8b6;
 color:#326c64;font-size:1rem;line-height:1;font-weight:900;
}
.lp-activity-explain{
 display:flex;align-items:center;gap:9px;flex-wrap:wrap;
 margin:-3px 0 17px;color:#61736b;font-size:.78rem;line-height:1.45;
}
.lp-activity-explain strong{color:#245e59;}
.lp-resource-link{
 display:flex;align-items:center;gap:9px;
 margin-top:auto;padding:15px 20px;
 border-top:2px solid #c79b52;
 background:#f5ddb1;color:#493719;
 font-size:.83rem;font-weight:950;line-height:1.35;
 text-decoration:none;
 box-shadow:inset 0 1px 0 #fff5de;
 transition:background .16s,color .16s,box-shadow .16s;
}
.lp-resource-link .lp-resource-icon{
 width:26px;height:26px;border-radius:7px;
 background:#194e4c;color:#fff9eb;font-size:1.15rem;
}
.lp-resource-link .lp-resource-arrow{margin-left:auto;font-size:1.1rem;line-height:1;color:inherit;}
.lp-resource-link:hover{background:#ecc57f;color:#332712;box-shadow:inset 0 1px 0 #fff1c9;text-decoration:underline;text-underline-offset:3px;}
.lp-resource-link:focus-visible{outline-offset:-3px;background:#ecc57f;}
.lp-grid.is-filtered .lp-card.is-featured .lp-activity-badge{max-width:calc(100% - 24px);}
.lp-grid.is-filtered .lp-featured-flag{display:none;}
@media(max-width:1030px){
 .lp-title-row .lp-title{font-size:clamp(2.8rem,5.6vw,5.2rem);}
}
@media(max-width:730px){
 .lp-title-row{gap:14px;margin-top:14px;}
 .lp-title-row .lp-title{font-size:clamp(2.65rem,8.3vw,4.8rem);}
 .lp-lab-logo{width:clamp(74px,14vw,96px);height:clamp(74px,14vw,96px);padding:3px;border-radius:13px;}
 .lp-activity-explain{font-size:.75rem;}
 .lp-resource-link{padding:12px 18px;}
}
@media(max-width:380px){
 .lp-title-row .lp-title{font-size:clamp(2.48rem,9.8vw,3.15rem);}
 .lp-lab-logo{width:70px;height:70px;}
 .lp-activity-badge{font-size:.61rem;}
}

/* V5: consistent inset illustration frame, eliminating awkward edge-to-edge river cropping. */
.lp-card-art .lp-featured-flag{top:19px;left:19px;}
.lp-activity-badge{top:19px;right:19px;}
@media(max-width:730px){
 .lp-card-art{padding:10px;}
 .lp-card-art .lp-featured-flag{top:16px;left:16px;}
 .lp-activity-badge{top:16px;right:16px;}
}

/* Lab landing page Instagram and manifesto sections. */
.lp-coming-next{
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  margin-top:18px;padding:20px 24px;border:1px dashed #cdbd9f;
  border-radius:18px;background:rgba(255,250,241,.72);
  color:var(--lp-muted);font-size:.9rem;line-height:1.5;
}
.lp-coming-next-copy{min-width:0;}
.lp-coming-next-copy strong{display:block;margin-bottom:4px;color:#102f31;font-size:1rem;font-weight:850;}
.lp-coming-next-copy b{color:#102f31;}
.lp-instagram-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  flex:0 0 auto;min-height:46px;padding:11px 18px;border-radius:999px;
  background:#0b2d2f;color:#fff;text-decoration:none;font-size:.84rem;
  font-weight:850;white-space:nowrap;
  transition:transform .18s ease,opacity .18s ease;
}
.lp-instagram-cta:hover{transform:translateY(-2px);opacity:.9;}
.lp-instagram-cta:focus-visible{outline:3px solid #ddb97a;outline-offset:3px;}
.lp-manifesto{
  display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:42px;align-items:start;margin-top:54px;padding:38px;
  border-radius:24px;background:#0b2d2f;color:#fff;
}
.lp-manifesto-eyebrow{
  color:#e7c783;font-size:.8rem;font-weight:900;letter-spacing:.16em;
  text-transform:uppercase;margin-bottom:12px;
}
.lp-manifesto h2{
  margin:0;color:#fff;font-size:clamp(2.1rem,4.3vw,3.75rem);
  font-weight:900;line-height:.99;letter-spacing:-.055em;
}
.lp-manifesto-copy{color:#dce4de;font-size:1rem;line-height:1.65;}
.lp-manifesto-copy p{margin:0 0 14px;}
.lp-manifesto-copy p:last-child{margin-bottom:0;}
@media(max-width:900px){
  .lp-manifesto{grid-template-columns:1fr;gap:22px;}
}
@media(max-width:650px){
  .lp-coming-next{align-items:stretch;flex-direction:column;padding:20px;gap:16px;}
  .lp-instagram-cta{width:100%;white-space:normal;text-align:center;}
  .lp-manifesto{margin-top:30px;padding:26px 23px;border-radius:19px;gap:19px;}
  .lp-manifesto h2{font-size:clamp(2.5rem,9.5vw,3.6rem);}
  .lp-manifesto-copy{font-size:.95rem;}
}
@media(prefers-reduced-motion:reduce){.lp-instagram-cta{transition:none;}}

/* Playful hero pitch, with a clear headline/subline hierarchy. */
.lp-hero-copy .lp-hero-pitch{margin:0;line-height:1.4;}
.lp-hero-pitch strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.6rem,2.15vw,2.2rem);font-weight:700;line-height:1.18;letter-spacing:-.04em;color:#173f40;}
.lp-hero-pitch span{display:block;margin-top:11px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:clamp(.93rem,1.12vw,1.05rem);line-height:1.55;letter-spacing:0;color:#61736b;}
