*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#fff;--bg-warm:#f3f6f8;--ink:#102532;--ink-soft:#4a5f6d;
  --ink-muted:#7a8f9c;--accent:#1a6b4a;--accent-hover:#218a5f;
  --warm:#6ee7b8;--data:#3d8f72;--line:rgba(16,37,50,.1);
  --serif:'Roboto',system-ui,-apple-system,sans-serif;
  --sans:'Roboto',system-ui,-apple-system,sans-serif;
  --hdr-h:64px;--hdr-h-compact:54px;
}
html{font-size:17px;scroll-behavior:smooth}
body{font-family:var(--sans);background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;overflow-x:hidden}
.wrap{max-width:1140px;margin:0 auto;padding-left:clamp(1.5rem,4vw,3rem);padding-right:clamp(1.5rem,4vw,3rem)}
.wrap-narrow{max-width:780px;margin:0 auto;padding-left:clamp(1.5rem,4vw,3rem);padding-right:clamp(1.5rem,4vw,3rem)}
.sg-label{font-size:.7rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-muted);font-family:var(--sans);margin-bottom:1.2rem}

/* --- NAV --- */
#hdr{position:fixed;top:0;left:0;right:0;z-index:100;background:#141e24;border-bottom:1px solid rgba(255,255,255,.06);transition:all .35s}
#hdr .wrap{display:flex;justify-content:space-between;align-items:center;height:var(--hdr-h);transition:height .35s}
#hdr.compact .wrap{height:var(--hdr-h-compact)}
.wordmark{display:flex;align-items:center;gap:.55rem;text-decoration:none;color:inherit}
.logo-icon{width:34px;height:auto;display:block;flex-shrink:0}
.logo-type{font-family:var(--sans);font-size:1.28rem;font-weight:800;letter-spacing:-.04em;line-height:1;white-space:nowrap}
.wm-agri{color:#fff}
.wm-it{font-weight:600;color:#5cb87a}
nav{display:flex;align-items:center}
nav a{font-size:.88rem;font-weight:650;color:rgba(255,255,255,.72);text-decoration:none;margin-left:1.35rem;transition:color .25s;letter-spacing:.01em}
@media(min-width:901px){
  nav a{margin-left:1.65rem}
}
nav a:hover{color:#fff}
nav .talk{color:#5cb87a;border:1.7px solid #5cb87a;padding:.42rem 1.2rem;border-radius:5px;margin-left:2rem;transition:all .25s}
nav .talk:hover{background:#5cb87a;color:var(--ink)}
.burger{display:none;background:0;border:0;cursor:pointer;padding:6px}
.burger svg{display:block}

/* --- HERO --- */
.hero{
  min-height:100vh;display:flex;align-items:center;justify-content:center;
  text-align:center;position:relative;overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;z-index:0;
  background:url('/assets/images/bg-a112c87166b8f7a6.png') center/cover no-repeat;
}
.hero-bg::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(20,30,36,.5) 0%,rgba(20,30,36,.65) 50%,rgba(20,30,36,.82) 100%);
}
.hero-bg::after{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 50% 60%,rgba(212,164,21,.06) 0%,transparent 65%);
}
.hero-content{position:relative;z-index:1;max-width:900px;padding:clamp(3.2rem,8vh,5.2rem) 2rem 2rem}
.hero:not(.hero--inner) .hero-content{
  padding:
    clamp(6.2rem,16vh,9.6rem)
    clamp(1.35rem,4vw,2.35rem)
    clamp(3rem,7vh,4.2rem);
}
.hero-content .sg-label{color:#5cb87a;margin-bottom:1.8rem}
.hero h1{font-family:var(--serif);font-weight:400;font-size:clamp(2.05rem,4.2vw,3.35rem);line-height:1.16;letter-spacing:-.015em;color:#fff;margin-bottom:.95rem}
.hero h1 strong{font-weight:700}
.hero h1 .hw{display:inline-block;opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s ease}
.hero h1 .hw.shown{opacity:1;transform:none}
.hero-sub{font-size:1.06rem;line-height:1.68;color:rgba(255,255,255,.68);max-width:min(42rem,92vw);margin:0 auto 2rem}
.hero-sub-intro{margin-bottom:.75rem}
.hero-cta{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.9rem;font-weight:600;color:#fff;
  background:var(--accent);padding:.8rem 2rem;border-radius:4px;
  text-decoration:none;transition:all .3s;border:0;cursor:pointer;font-family:var(--sans);
}
.hero-cta:hover{background:#247a3f;transform:translateY(-1px);box-shadow:0 6px 20px rgba(29,90,50,.4)}
.hero-cta svg{width:15px;height:15px}
nav a[aria-current="page"]{color:#fff}

/* --- STANDARD SUB-PAGE LAYOUT --- */
.subpage-standard{background:var(--bg)}
.subpage-standard .page-block{
  background:transparent;
  border-bottom:1px solid var(--line);
  padding:clamp(2rem,5.5vw,3.7rem) 0;
}
.subpage-standard .page-block.wrap{
  background:transparent;
  border:0;
  border-radius:0;
  padding:0 clamp(1.5rem,4vw,2.4rem);
  box-shadow:none;
}

.page-block{padding:5.5rem 0;border-bottom:1px solid var(--line)}
.page-block:last-of-type{border-bottom:0}
.page-lead{max-width:min(52rem,100%);font-size:.95rem;line-height:1.8;color:var(--ink-soft)}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.2rem;margin-top:1.75rem}
.project-card{
  background:var(--bg);border:1px solid var(--line);border-radius:8px;
  padding:1.4rem 1.5rem;min-height:112px;
}
.project-card h2{font-family:var(--serif);font-size:1.05rem;font-weight:400;margin-bottom:.5rem;color:var(--ink)}
.project-card h2 a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(29,90,50,.2);transition:color .2s,border-color .2s}
.project-card h2 a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.project-card p{font-size:.88rem;line-height:1.65;color:var(--ink-soft);margin:0}
.project-card--case{max-width:min(44rem,100%)}
.project-card--case p+p{margin-top:.85rem}
.project-card h3{
  font-family:var(--serif);
  font-size:1rem;
  font-weight:400;
  color:var(--ink);
  margin:0 0 .7rem;
}
.project-card ul{padding-left:1.1rem;color:var(--ink-soft)}
.project-card li{font-size:.9rem;line-height:1.62;margin:.26rem 0}
.product-badge{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  font-family:var(--sans);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#fff;
  background:linear-gradient(135deg,#1d5a32,#247a3f);
  border-radius:999px;
  padding:.33rem .72rem;
  margin-bottom:.75rem;
}
.project-links{
  margin-top:1rem;
  font-size:.84rem;
  line-height:1.55;
}
.project-links a{
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
  border-bottom:1px solid rgba(29,90,50,.23);
}
.project-links a:hover{border-bottom-color:var(--accent)}
.product-logo{
  display:block;
  width:min(290px,100%);
  height:auto;
  margin:0 0 .95rem;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}
.product-logo-link{
  display:inline-block;
  text-decoration:none;
}
.product-logo--hero{
  width:min(360px,100%);
  margin:0 0 1.15rem;
}
.case-studies-heading{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(1.15rem,2vw,1.35rem);
  color:var(--ink);
  margin:.35rem 0 1rem;
}

/* --- PROJECTS PAGE (spacing & readability) --- */
.projects-page section.wrap{
  padding-left:clamp(1.25rem,3.8vw,2.35rem);
  padding-right:clamp(1.25rem,3.8vw,2.35rem);
}
.projects-page .page-block{
  padding-top:clamp(2.15rem,4.6vw,3.1rem);
  padding-bottom:clamp(2.15rem,4.6vw,3.1rem);
}
.projects-page #case-studies.page-block{padding-top:clamp(2.4rem,5vw,3.4rem)}
.projects-page [aria-label="Representative project summaries"].page-block{
  padding-top:clamp(2.9rem,6vw,4rem);
}
.projects-page .page-lead{
  font-size:1.02rem;
  line-height:1.82;
  margin-top:.25rem;
  margin-bottom:1.3rem;
}
.projects-page .page-block > .sg-label{margin-bottom:1.1rem}
.projects-page .case-studies-heading{
  margin:.15rem 0 1.2rem;
  line-height:1.38;
}
.projects-page .project-card{
  padding:1.55rem 1.75rem 1.75rem;
  border-radius:10px;
}
.projects-page .project-card--case{max-width:min(46rem,100%)}
.projects-page .project-card h2{
  font-size:1.12rem;
  line-height:1.38;
  margin-bottom:.72rem;
}
.projects-page .project-card p{
  font-size:.93rem;
  line-height:1.74;
}
.projects-page .projects-grid{
  gap:1.45rem;
  margin-top:1.35rem;
}
.projects-page .projects-cta{
  margin-top:1.85rem;
  text-align:center;
}
.case-study-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.35rem;
  margin-top:1.45rem;
}

.footer-nav{margin-bottom:.35rem}
.footer-nav a{margin-left:0;margin-right:1rem;color:var(--ink-muted)}
.footer-nav a:hover{color:var(--ink)}

/* --- ABOUT STORY --- */
.about-story{padding:0;border-bottom:1px solid var(--line)}
.about-story-hero{
  position:relative;overflow:hidden;background:var(--ink);
}
.about-story-hero__media{position:absolute;inset:0}
.about-story-hero__media video{width:100%;height:100%;object-fit:cover;display:block}
.about-story-hero__overlay{
  position:relative;z-index:1;width:100%;
  padding:clamp(3rem,8vw,5rem) 0;
  background:linear-gradient(
    to top,
    rgba(16,37,50,.96) 0%,
    rgba(16,37,50,.82) 38%,
    rgba(16,37,50,.45) 72%,
    rgba(16,37,50,.2) 100%
  );
}
.about-story-hero__content{display:flex;flex-direction:column;gap:0}
.about-story-hero__panel{
  max-width:min(40rem,100%);
  padding:clamp(1.35rem,2.5vw,1.85rem) clamp(1.35rem,2.5vw,1.75rem);
  background:rgba(16,37,50,.52);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius-lg);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 12px 40px rgba(0,0,0,.22);
}
.about-story-hero__panel h2{
  font-family:var(--serif);font-weight:400;
  font-size:clamp(1.5rem,2.8vw,2rem);line-height:1.22;
  color:#fff;margin:0 0 1rem;
}
.about-story-hero__panel p{
  font-size:clamp(.9rem,1.5vw,.98rem);line-height:1.75;
  color:rgba(255,255,255,.84);margin:0 0 .85rem;
}
.about-story-hero__panel p:last-child{margin-bottom:0}
.about-story-hero .about-pillars{
  margin-top:clamp(1.5rem,3vw,2rem);
}
.about-story-hero .about-pillar{
  background:rgba(16,37,50,.45);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 8px 28px rgba(0,0,0,.16);
}
.about-story-hero .about-pillar h3{color:#fff}
.about-story-hero .about-pillar p{color:rgba(255,255,255,.78)}
.about-story-hero .about-story__link{margin:clamp(1.5rem,3vw,2rem) 0 0}
.about-story-hero .about-story__link .section-link{
  color:#6ee7b8;border-bottom-color:rgba(110,231,184,.45);
}
.about-story-hero .about-story__link .section-link:hover{
  color:#58ddb0;border-bottom-color:#58ddb0;
}
.about-pillars{
  display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2vw,1.5rem);
  margin-top:clamp(2rem,4vw,2.75rem);
}
.about-pillar{
  padding:1.35rem 1.25rem;background:var(--bg-warm);
  border:1px solid var(--line);border-radius:var(--radius-lg);
}
.about-pillar h3{
  font-size:1rem;font-weight:500;line-height:1.35;color:var(--ink);margin:0 0 .55rem;
}
.about-pillar p{font-size:.88rem;line-height:1.65;color:var(--ink-soft);margin:0}
.about-story__link{margin:clamp(1.75rem,3vw,2.25rem) 0 0}

.logical-model{
  background:transparent;
  overflow:hidden;
  padding:.6rem 0;
  justify-self:end;
  width:100%;
  max-width:100%;
}
.logical-model-svg{
  display:block;
  width:100%;
  max-width:min(100%,620px);
  margin:0 auto;
  font-family:var(--sans);
}
.logical-model-svg .lm-box{
  fill:rgba(255,255,255,.65);
  stroke:rgba(20,30,36,.2);
  stroke-width:1;
}
.logical-model-svg .lm-box-accent{
  fill:rgba(29,90,50,.07);
  stroke:var(--accent);
  stroke-width:1.25;
}
.logical-model-svg .lm-entity{
  fill:var(--ink);
  font-size:11.5px;font-weight:700;letter-spacing:.08em;
}
.logical-model-svg .lm-attr{
  fill:var(--ink-soft);
  font-size:9.6px;
  letter-spacing:.01em;
}
.logical-model-svg .lm-token-id{fill:#1b4fc7;font-weight:700}
.logical-model-svg .lm-token-time{fill:#6d28d9;font-weight:700}
.logical-model-svg .lm-token-geo{fill:#b45309;font-weight:700}
.logical-model-svg .lm-token-status{fill:var(--accent);font-weight:700}
.logical-model-svg .lm-pk{
  fill:#1b4fc7;
  font-size:9px;
  font-weight:700;
}
.logical-model-svg .lm-fk{
  fill:#9a4d32;
  font-size:9px;
  font-weight:700;
}
.logical-model-svg .lm-card{
  fill:var(--ink-soft);
  font-size:10px;font-weight:600;
}
.logical-model-svg .lm-faint{
  fill:var(--ink-muted);
  font-size:10px;font-weight:600;
}

/* Flow colouring for connectors */
.logical-model-svg .lm-link{stroke-width:1.25;fill:none;marker-end:url(#lm-arrow)}
.logical-model-svg .lm-link-flush{marker-end:url(#lm-arrow-behind)}
.logical-model-svg .lm-link-core{stroke:#1d5a32;stroke-opacity:.42}
.logical-model-svg .lm-link-move{stroke:#0f766e;stroke-opacity:.38}
.logical-model-svg .lm-link-compliance{stroke:#b45309;stroke-opacity:.35;stroke-dasharray:3 4}
.logical-model-svg .lm-link-telemetry{stroke:#2563eb;stroke-opacity:.32;stroke-dasharray:2 4}

/* --- CTA --- */
.cta{padding:5.5rem 0;text-align:center}
.cta h2{font-family:var(--serif);font-weight:400;font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.25;color:var(--ink);margin-bottom:1rem;max-width:min(52rem,100%);margin-left:auto;margin-right:auto}
.cta>div>p{font-size:.95rem;line-height:1.75;color:var(--ink-soft);max-width:min(44rem,100%);margin:0 auto 2rem}
.cta-form{display:flex;flex-direction:column;gap:.6rem;max-width:460px;margin:0 auto 1rem;text-align:left}
.cta-form input,.cta-form textarea{width:100%;padding:.75rem .9rem;background:var(--bg);border:1.5px solid var(--line);border-radius:4px;font-family:var(--sans);font-size:.9rem;color:var(--ink);outline:0;transition:border-color .3s,box-shadow .3s}
.cta-form input:focus,.cta-form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(29,90,50,.12)}
.cta-form input::placeholder,.cta-form textarea::placeholder{color:var(--ink-muted)}
.cta-form textarea{resize:vertical;min-height:100px;line-height:1.6}
.cta-btn{width:100%;padding:.8rem 1.5rem;background:var(--accent);color:#fff;border:0;border-radius:4px;font-family:var(--sans);font-size:.92rem;font-weight:600;cursor:pointer;transition:background .3s,transform .2s,box-shadow .3s}
.cta-btn:hover{background:var(--accent-hover);transform:translateY(-1px);box-shadow:0 4px 12px rgba(29,90,50,.25)}
.cta-btn:active{transform:translateY(0);box-shadow:none}
.cta-small{font-size:.76rem;color:var(--ink-muted);margin-bottom:1.5rem}
.cta-direct{font-size:.88rem;color:var(--ink-soft);line-height:1.9}
.cta-direct a{color:var(--ink);text-decoration:none;font-weight:600;border-bottom:1px solid var(--line);transition:border-color .3s,color .3s}
.cta-direct a:hover{border-color:var(--accent);color:var(--accent)}
.cta-phone-note{color:var(--ink-muted);font-weight:400}

#problems,#proof{scroll-margin-top:5.25rem}

/* --- FOOTER --- */
footer{padding:1.8rem 0;border-top:1px solid var(--line);font-size:.78rem;color:var(--ink-muted)}
footer .wrap{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:.8rem}
footer .footer-nav{width:100%;flex-basis:100%;margin-bottom:.25rem}
footer a{color:var(--ink-muted);text-decoration:none;margin-left:1.4rem;transition:color .25s}
footer a:hover{color:var(--ink)}
.ack{width:100%;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line);font-size:.73rem;color:var(--ink-muted);line-height:1.6;max-width:640px}

/* --- RESPONSIVE --- */
@media(max-width:900px){
  .subpage-standard .page-block.wrap{border-radius:12px}
  .hero-content{max-width:760px;padding:2.2rem 1.85rem 1.85rem}
  .hero:not(.hero--inner) .hero-content{
    padding:
      clamp(5.5rem,14vh,8rem)
      clamp(1.2rem,4vw,1.85rem)
      clamp(2.5rem,6vh,3.4rem);
  }
  .hero h1{margin-bottom:1.05rem}
  .hero-sub{margin-bottom:1.85rem}
  .about-pillars{grid-template-columns:1fr}
}
@media(max-width:600px){
  html{font-size:16px}
  .hero:not(.hero--inner){min-height:90vh}
  .hero-content{padding:1.4rem}
  .hero.hero--inner .hero-content{
    padding:
      clamp(4.5rem,12vh,6rem)
      clamp(1.35rem,7vw,2rem)
      clamp(2rem,5vh,2.5rem);
  }
  .hero:not(.hero--inner) .hero-content{
    padding:
      clamp(5rem,12vh,6.6rem)
      clamp(1rem,4.5vw,1.4rem)
      clamp(2.15rem,5vh,2.8rem);
  }
  .hero h1{font-size:clamp(1.95rem,10vw,2.55rem);line-height:1.22;margin-bottom:.9rem}
  .hero-sub{font-size:.98rem;line-height:1.68;margin-bottom:1.5rem;max-width:min(40rem,92vw)}
  .hero-cta{padding:.75rem 1.55rem}
  nav a:not(.talk){display:none}
  .burger{display:block}
  .nav-open nav{position:absolute;top:var(--hdr-h);left:0;right:0;background:rgba(20,30,36,.97);padding:1rem clamp(1.5rem,4vw,3rem);border-bottom:1px solid rgba(255,255,255,.06);display:flex;flex-direction:column;gap:0;max-height:calc(100vh - var(--hdr-h));overflow-y:auto;-webkit-overflow-scrolling:touch}
  .nav-open nav a{display:flex;align-items:center;margin:0;padding:.75rem 0;min-height:44px}
  .nav-open nav .talk{margin:.75rem 0 0;align-self:flex-start}
  footer .wrap{flex-direction:column}
  footer a{margin-left:0;margin-right:1.4rem}
}
@media (prefers-reduced-motion: reduce){
  .about-story-hero__media video{display:none}
}

/* --- REVEAL --- */
[data-r]{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
[data-r].shown{opacity:1;transform:none}
[data-r="1"]{transition-delay:.07s}
[data-r="2"]{transition-delay:.14s}
[data-r="3"]{transition-delay:.21s}
[data-r="4"]{transition-delay:.28s}
[data-r="5"]{transition-delay:.35s}

/* --- PROBLEM DETAIL PAGES --- */
.problem-page{
  padding:2.25rem 0 5rem;
  background:linear-gradient(180deg,var(--bg-warm) 0%,var(--bg) 42%);
  border-bottom:1px solid var(--line);
}
.problem-wrap{
  max-width:42rem;
  margin:0 auto;
}
.problem-breadcrumb{
  font-size:.82rem;
  text-align:center;
  color:var(--ink-muted);
  margin-bottom:1.35rem;
  line-height:1.5;
}
.problem-breadcrumb a{
  color:var(--ink-soft);
  text-decoration:none;
  font-weight:600;
}
.problem-breadcrumb a:hover{color:var(--accent)}
.problem-bc-sep{opacity:.45;font-weight:400}

.problem-sheet{
  background:rgba(255,255,255,.94);
  border:1px solid var(--line);
  border-radius:14px;
  padding:clamp(1.65rem,4.5vw,2.35rem) clamp(1.35rem,4vw,2rem);
  box-shadow:0 10px 44px rgba(20,30,36,.07);
  border-top:3px solid var(--accent);
}
.problem-kicker{
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent);
  text-align:center;
  margin-bottom:.65rem;
}
.problem-sheet h1{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(1.38rem,2.8vw,1.82rem);
  line-height:1.28;
  color:var(--ink);
  text-align:center;
  margin-bottom:1rem;
}
.problem-sheet .problem-lead{
  font-size:1.02rem;
  line-height:1.68;
  color:var(--ink-soft);
  text-align:center;
  margin:0 0 1.5rem;
  padding-bottom:1.45rem;
  border-bottom:1px solid var(--line);
}
.problem-sheet .problem-body p{
  font-size:.96rem;
  line-height:1.78;
  color:var(--ink-soft);
  margin:0 0 1rem;
  text-align:left;
}
.problem-sheet .problem-body p:last-child{margin-bottom:0}
.problem-sheet .problem-body a{
  color:var(--accent);
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid rgba(29,90,50,.22);
  transition:border-color .2s,color .2s;
}
.problem-sheet .problem-body a:hover{color:var(--accent-hover);border-bottom-color:var(--accent)}

.problem-related{
  margin-top:1.6rem;
  padding-top:1.45rem;
  border-top:1px solid var(--line);
  text-align:center;
}
.problem-related-label{
  display:block;
  font-size:.66rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ink-muted);
  margin-bottom:.45rem;
}
.problem-related-links{
  font-size:.92rem;
  line-height:1.55;
  color:var(--ink-soft);
  margin:0;
}
.problem-related-links a{
  color:var(--accent);
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid rgba(29,90,50,.22);
  transition:border-color .2s,color .2s;
}
.problem-related-links a:hover{border-bottom-color:var(--accent);color:var(--accent-hover)}

.problem-sheet .problem-cta{margin-top:1.85rem;text-align:center}
.problem-sheet .problem-cta .hero-cta{display:inline-flex;background:var(--accent)}

/* --- REDESIGN: hero CTA group --- */
.hero-ctas{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;align-items:center;margin-top:.25rem}
.hero-cta--ghost{
  background:transparent;border:1.5px solid rgba(255,255,255,.45);color:#fff;
}
.hero-cta--ghost:hover{background:rgba(255,255,255,.1);border-color:#fff;box-shadow:none;transform:translateY(-1px)}
.hero-sub + .hero-sub{margin-top:0}
.hero-support{max-width:min(40rem,92vw);margin:0 auto 1.75rem}

/* --- SECTION SHELL --- */
.section{padding:clamp(3.5rem,7vw,5.5rem) 0;border-bottom:1px solid var(--line)}
.section--warm{background:var(--bg-warm)}
.section--ink{background:var(--ink);color:var(--bg);border-bottom:0}
.section--ink .sg-label{color:rgba(230,238,242,.4)}
.section--ink h2{color:#fff}
.section--ink p{color:rgba(230,238,242,.62)}
.section-head{text-align:center;max-width:min(40rem,100%);margin:0 auto 2.25rem}
.section-head h2{
  font-family:var(--serif);font-weight:400;font-size:clamp(1.55rem,2.8vw,2.1rem);
  line-height:1.25;color:var(--ink);margin-bottom:.75rem;
}
.section-head p{font-size:.98rem;line-height:1.72;color:var(--ink-soft);margin:0}
.section-link{
  display:inline-flex;align-items:center;gap:.4rem;margin-top:1.75rem;
  font-weight:600;font-size:.9rem;color:var(--accent);text-decoration:none;
  border-bottom:1px solid rgba(29,90,50,.25);
}
.section-link:hover{border-bottom-color:var(--accent);color:var(--accent-hover)}
.section-head + .section-link,.section .section-link-wrap{text-align:center}

/* --- FEATURED BUILDS (Appello-style showcase) --- */
.builds-showcase .builds-showcase__head{
  text-align:left;
  margin-bottom:clamp(3rem,6vw,5rem);
}
.builds-showcase .section-head h2{
  font-size:clamp(2rem,3.4vw,2.4rem);
  font-weight:500;
  letter-spacing:-.03em;
  margin-bottom:.85rem;
}
.builds-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(3.75rem,6vw,6.25rem) clamp(2rem,5vw,5.75rem);
}
.builds-grid__item{
  min-width:0;
}
.build-card{
  display:block;
  text-decoration:none;
  color:inherit;
  border-radius:var(--radius-lg);
  will-change:transform;
  transition:box-shadow .45s cubic-bezier(.4,0,.2,1),background-color .45s cubic-bezier(.4,0,.2,1);
}
.build-card__tilt{
  display:flex;
  flex-direction:column;
  transform:perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition:transform .35s ease-out;
  transform-style:preserve-3d;
}
.build-card-media{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-lg);
  border:.625rem solid #fff;
  background:linear-gradient(315deg,rgba(16,37,50,.03) 5.94%,rgba(26,107,74,.04) 97.05%),#e8edf0;
  box-shadow:var(--shadow-soft);
  transition:box-shadow .55s cubic-bezier(.4,0,.2,1);
}
.build-card-media::before{
  content:'';
  display:block;
  padding-top:100%;
}
.build-card-media::after{
  content:'';
  position:absolute;
  inset:0;
  z-index:2;
  background:transparent;
  transition:background-color .55s cubic-bezier(.4,0,.2,1);
  pointer-events:none;
}
.build-card-media__wrap{
  position:absolute;
  inset:-.625rem;
  width:calc(100% + 1.25rem);
  height:calc(100% + 1.25rem);
}
.build-card-media--device .build-card-media__wrap img,
.build-card-media:not(.build-card-media--device) img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .55s cubic-bezier(.4,0,.2,1);
}
.build-card-body{
  margin-top:1.875rem;
  padding:0 1.25rem .5rem;
  transition:transform .55s cubic-bezier(.4,0,.2,1);
}
.build-card__headline{
  font-size:1.2rem;
  font-weight:400;
  line-height:1.55;
  color:var(--ink);
  margin:0 0 1.25rem;
}
.build-card__name{font-weight:500}
.build-tech{display:flex;flex-wrap:wrap;gap:.5rem}
.build-tech span{
  font-size:.82rem;
  font-weight:400;
  letter-spacing:0;
  text-transform:none;
  color:var(--ink);
  background:transparent;
  border:1px solid rgba(16,37,50,.12);
  border-radius:1rem;
  padding:.28rem .65rem;
}
.build-card:hover{
  background:#fff;
  box-shadow:var(--shadow-card);
}
.build-card:hover .build-card-media{box-shadow:none}
.build-card:hover .build-card-media::after{background:rgba(16,37,50,.08)}
.build-card:hover .build-card-media img,
.build-card:hover .device-frame__screen img,
.build-card:hover .device-stack .device-frame__screen img{transform:scale(1.05)}
.build-card:hover .build-card-body{transform:translateY(-5px)}
.build-card:active .build-card-media::after{background:rgba(16,37,50,.14)}

/* Device frames — Mac desktop & iPhone */
.build-card-media--device{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.build-card-media--device > .device-frame{
  position:absolute;
  z-index:1;
}
.build-card-media--device > .device-stack{
  position:absolute;
  z-index:1;
  width:88%;
  left:50%;
  top:50%;
  transform:translate(-50%,-52%);
}
.device-stack{position:relative}
.device-stack .device-frame{position:relative;width:100%}
.device-stack__mac .device-frame--mac{width:100%}
.device-stack__phone{
  position:absolute;
  right:-1%;
  bottom:0;
  width:30%;
  z-index:2;
  filter:drop-shadow(0 14px 28px rgba(16,37,50,.22));
}
.device-stack__phone .device-frame__screen img{
  object-fit:cover;
  object-position:top center;
}
.device-stack__phone .device-frame--iphone{width:100%;min-width:0}
.device-stack--hero{width:min(100%,42rem);position:relative;transform:none;left:auto;top:auto}
.device-stack--hero .device-stack__phone{width:26%;right:2%;bottom:0}
.device-frame img{
  display:block;
  transition:transform .55s cubic-bezier(.4,0,.2,1);
}
.device-frame__screen{
  position:relative;
  overflow:hidden;
  background:#dfe6ea;
}
.device-frame__screen img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
}

/* iMac-style Mac desktop */
.device-frame--mac{width:86%}
.device-frame--mac .device-frame__display{
  background:linear-gradient(180deg,#3a3a3c 0%,#1d1d1f 100%);
  border-radius:14px;
  overflow:hidden;
  padding:4px 4px 0;
  border:1px solid rgba(0,0,0,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.device-frame--mac .device-frame__screen{
  aspect-ratio:16/9;
  border-radius:5px;
}
.device-frame--mac .device-frame__chin{
  height:14px;
  margin:0 -4px;
  width:calc(100% + 8px);
  background:linear-gradient(180deg,#ececef,#d8d8dc);
  border-radius:0;
  border:0;
  position:relative;
}
.device-frame--mac .device-frame__chin::after{
  content:'';
  position:absolute;
  left:50%;
  top:50%;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#b8b8bc;
  transform:translate(-50%,-50%);
}
.device-frame--mac .device-frame__stand{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.device-frame--mac .device-frame__neck{
  width:18%;
  height:28px;
  background:linear-gradient(90deg,#c8c8cc,#e2e2e6 45%,#c8c8cc);
  clip-path:polygon(18% 0,82% 0,100% 100%,0 100%);
}
.device-frame--mac .device-frame__base{
  width:34%;
  height:8px;
  border-radius:999px;
  background:linear-gradient(180deg,#d0d0d4,#b0b0b6);
  box-shadow:0 4px 12px rgba(16,37,50,.12);
}

/* iPhone */
.device-frame--iphone{width:40%;min-width:108px}
.device-frame--iphone .device-frame__shell{
  background:linear-gradient(160deg,#3a3a3c,#1d1d1f);
  border-radius:22px;
  padding:3px;
  border:1px solid #48484a;
  box-shadow:0 16px 36px rgba(16,37,50,.16),inset 0 1px 0 rgba(255,255,255,.06);
}
.device-frame--iphone .device-frame__screen{
  position:relative;
  aspect-ratio:9/19.5;
  border-radius:18px;
}
.device-frame--iphone .device-frame__island{
  position:absolute;
  top:7px;
  left:50%;
  z-index:2;
  width:30%;
  height:11px;
  border-radius:999px;
  background:#000;
  transform:translateX(-50%);
  box-shadow:0 0 0 1px rgba(255,255,255,.04);
}

.build-hero-media--device{
  border:0;
  box-shadow:none;
  background:transparent;
  display:flex;
  justify-content:center;
  padding:clamp(1rem,3vw,2rem) 0;
  max-width:min(52rem,100%);
}
.build-hero-media--device img{aspect-ratio:auto}
.build-hero-media--device .device-frame--mac{width:min(100%,40rem)}
.build-hero-media--device > .device-stack{width:min(100%,42rem)}
.build-hero-media--device > .device-frame--iphone{width:min(14.5rem,46%)}
.device-frame--hero.device-frame--mac .device-frame__neck{height:36px}
.device-frame--hero.device-frame--mac .device-frame__base{height:10px}

/* --- LAB FOLLOW --- */
.lab-follow{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}
.lab-follow a{
  display:inline-flex;align-items:center;gap:.4rem;
  font-size:.9rem;font-weight:600;text-decoration:none;padding:.7rem 1.35rem;border-radius:4px;
}
.lab-follow .lab-follow-primary{background:var(--accent);color:#fff}
.lab-follow .lab-follow-primary:hover{background:var(--accent-hover)}
.lab-follow .lab-follow-secondary{
  color:var(--ink);border:1.5px solid var(--line);background:transparent;
}
.lab-follow .lab-follow-secondary:hover{border-color:var(--accent);color:var(--accent)}

/* --- PILLARS (Connect / Transform / Build) --- */
.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:.5rem}
.pillar{padding:0;border:0;background:transparent}
.pillar-n{
  font-family:var(--serif);font-size:.85rem;color:var(--warm);letter-spacing:.06em;
  text-transform:uppercase;margin-bottom:.65rem;
}
.section--ink .pillar-n{color:var(--warm)}
.pillar h3{
  font-family:var(--serif);font-weight:400;font-size:1.35rem;color:var(--ink);margin:0 0 .55rem;
}
.section--ink .pillar h3{color:#fff}
.pillar > p{font-size:.92rem;line-height:1.65;color:var(--ink-soft);margin:0 0 1rem}
.section--ink .pillar > p{color:rgba(230,238,242,.58)}
.pillar ul{list-style:none;padding:0;margin:0}
.pillar li{
  font-size:.84rem;color:var(--ink-soft);padding:.35rem 0 .35rem 1rem;position:relative;
  border-top:1px solid var(--line);
}
.pillar li::before{
  content:'';position:absolute;left:0;top:50%;width:5px;height:5px;border-radius:50%;
  background:var(--accent);transform:translateY(-50%);
}
.section--ink .pillar li{color:rgba(230,238,242,.55);border-top-color:rgba(230,238,242,.1)}
.section--ink .pillar li::before{background:var(--warm)}

/* --- CTA PROMPTS --- */
.cta-prompts{list-style:none;padding:0;margin:0 auto 1.75rem;max-width:28rem;text-align:left}
.cta-prompts li{
  font-size:.92rem;color:var(--ink-soft);padding:.45rem 0 .45rem 1.15rem;position:relative;
  border-bottom:1px solid var(--line);
}
.cta-prompts li::before{content:'–';position:absolute;left:0;color:var(--accent);font-weight:700}
.cta-prompts li:last-child{border-bottom:0}

/* --- LAB INDEX --- */
.lab-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.2rem}
.lab-grid + .lab-follow{margin-top:clamp(2.25rem,4vw,3rem)}
.lab-card{
  display:block;text-decoration:none;color:inherit;
  background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:1.4rem 1.5rem;
  transition:border-color .25s,transform .25s,box-shadow .25s;
}
.lab-card:hover{
  border-color:rgba(74,124,140,.45);transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(20,30,36,.07);
}
.lab-card-meta{
  display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-bottom:.7rem;
}
.lab-status{
  font-size:.65rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--accent);background:rgba(29,90,50,.08);padding:.25rem .5rem;border-radius:3px;
}
.lab-card h3{
  font-family:var(--serif);font-weight:400;font-size:1.15rem;margin:0 0 .5rem;color:var(--ink);
}
.lab-card p{font-size:.9rem;line-height:1.65;color:var(--ink-soft);margin:0}

/* --- BUILD DETAIL --- */
.build-hero-media{
  max-width:min(52rem,100%);margin:1.5rem auto 0;border-radius:10px;overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
}
.build-hero-media img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}
.build-pao{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:1.5rem}
.build-pao article{
  background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:1.35rem 1.4rem;
}
.build-pao h3{
  font-family:var(--serif);font-weight:400;font-size:1.05rem;margin:0 0 .65rem;color:var(--ink);
}
.build-pao p,.build-pao ul{font-size:.9rem;line-height:1.65;color:var(--ink-soft);margin:0}
.build-pao ul{padding-left:1.1rem}
.build-pao li{margin:.3rem 0}

@media(max-width:900px){
  .builds-grid{grid-template-columns:1fr;gap:3.75rem}
  .pillars{grid-template-columns:1fr;gap:2rem}
  .build-pao{grid-template-columns:1fr}
  .lab-grid{grid-template-columns:1fr}
}

/* Motion: build cards */
.builds-grid__item{
  opacity:0;transform:translateY(50px);
  transition:opacity .55s ease,transform .55s ease;
}
.builds-grid__item.build-card-shown{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  .builds-grid__item,.lab-showcase-grid .lab-card{opacity:1;transform:none;transition:none}
  .build-card__tilt{transform:none!important}
}

/* --- LIVING WORKSHOP DIRECTION --- */
.status{
  display:inline-flex;align-items:center;gap:.42rem;width:max-content;
  font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  border:1px solid var(--line);border-radius:999px;padding:.32rem .62rem;background:rgba(255,255,255,.72);
}
.status::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--ink-muted)}
.status--built{color:#1d5a32}.status--built::before{background:#35a65a}
.status--testing{color:#8a6416}.status--testing::before{background:#d6a72d}
.status--exploring{color:#3d6f80}.status--exploring::before{background:#4a8ca3}
.status--building{color:#795b1d}.status--building::before{background:#c98c2b}

/* --- HOMEPAGE LAB SHOWCASE --- */
.lab-showcase .section-head{
  text-align:center;
  max-width:min(44rem,100%);
  margin:0 auto clamp(2.75rem,5vw,3.75rem);
  padding:0;
}
.lab-showcase .section-head h2{
  text-align:center;
  margin:0 auto 1.15rem;
  max-width:100%;
}
.lab-showcase .section-head p{
  max-width:min(40rem,100%);
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.lab-showcase__why{
  margin-top:1.35rem;
  max-width:min(38rem,100%);
  margin-left:auto;
  margin-right:auto;
  font-size:.98rem;
  line-height:1.78;
  color:rgba(255,255,255,.68);
  text-align:center;
}
.lab-showcase .section-link-wrap{
  text-align:center;
  margin-top:clamp(2rem,4vw,2.75rem);
}
.lab-showcase-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1rem;
}
.lab-card--ink{
  background:rgba(255,255,255,.94);
  border-color:rgba(255,255,255,.22);
  box-shadow:0 4px 20px rgba(0,0,0,.12);
  min-height:11rem;
}
.lab-card--ink:hover{
  border-color:rgba(110,231,184,.55);
  background:#fff;
  box-shadow:0 14px 36px rgba(0,0,0,.2);
  transform:translateY(-2px);
}
.lab-card--ink h3{color:var(--ink)}
.lab-card--ink p{color:var(--ink-soft)}
.lab-showcase-grid .lab-card{
  opacity:0;
  transform:translateY(12px);
  transition:opacity .5s ease,transform .5s ease,border-color .25s,background .25s;
}
.lab-showcase-grid .lab-card.lab-card-shown{
  opacity:1;
  transform:none;
}
.lab-showcase-grid .lab-card.lab-card-shown:hover{
  transform:translateY(-2px);
}

.participation{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(2rem,6vw,5rem);align-items:center;
}
.participation-copy h2{
  font-family:var(--serif);font-weight:400;font-size:clamp(1.55rem,3vw,2.15rem);
  line-height:1.3;margin:0 0 1rem;color:var(--ink);
}
.participation-copy p{font-size:.98rem;line-height:1.75;color:var(--ink-soft);margin:0 0 1rem}
.participation-copy .hero-cta{
  white-space:nowrap;
  width:fit-content;
  max-width:100%;
}
.participation-list{list-style:none;padding:0;margin:0}
.participation-list li{
  padding:.75rem 0;border-bottom:1px solid var(--line);
  display:flex;align-items:center;gap:.8rem;color:var(--ink-soft);font-size:.92rem;
}
.participation-list li::before{
  content:'';width:8px;height:8px;flex:0 0 auto;border:1.5px solid var(--accent);transform:rotate(45deg);
}

/* Challenge board — sector cards */
.section-head--compact{margin-bottom:clamp(1.5rem,3vw,2rem)}
.section-head--board{max-width:none}
.inner-page .section-head.section-head--board{max-width:none}
.section-head--board .section-head__row{
  display:flex;align-items:center;justify-content:space-between;gap:1rem 1.5rem;
  flex-wrap:wrap;margin-bottom:.75rem;
}
.section-head--board h2{margin-bottom:0}
#board{scroll-margin-top:5.5rem}
.board-filter-wrap{
  display:flex;align-items:center;gap:.65rem;flex-shrink:0;
}
.board-filter-label{
  font-size:.82rem;font-weight:600;color:var(--ink-muted);white-space:nowrap;
}
.board-filter-select{
  font:inherit;font-size:.88rem;font-weight:500;color:var(--ink);
  padding:.55rem 2rem .55rem .85rem;border:1.5px solid var(--line);border-radius:6px;
  background:var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a6a72' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .75rem center;
  background-color:var(--bg);appearance:none;cursor:pointer;min-width:11rem;
  transition:border-color .2s;
}
.board-filter-select:hover{border-color:rgba(74,124,140,.4)}
.board-filter-select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(29,90,50,.1)}
.challenge-board--leaderboard{
  display:flex;flex-direction:column;gap:.55rem;
  list-style:none;margin:0;padding:0;
}
.board-card{
  display:grid;grid-template-columns:2.25rem 1fr auto;align-items:center;
  gap:0 1.15rem;padding:1.1rem 1rem 1.1rem 1.35rem;
  background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-lg);
  transition:border-color .25s,box-shadow .25s,transform .25s;
}
.board-rank{
  align-self:center;text-align:center;
  font-family:var(--serif);font-size:1.25rem;font-weight:500;line-height:1;
  color:var(--ink-muted);
}
.board-card--rank-1 .board-rank{font-size:1.5rem;color:var(--accent)}
.board-card--rank-2 .board-rank{font-size:1.35rem;color:var(--data)}
.board-card--rank-3 .board-rank{color:var(--ink-soft)}
.board-card--rank-1{
  border-color:rgba(29,90,50,.28);
  background:linear-gradient(90deg,rgba(29,90,50,.04) 0%,var(--bg) 22%);
}
.board-card--rank-2{border-color:rgba(74,124,140,.22)}
.board-card--rank-3{border-color:rgba(74,124,140,.12)}
.board-card:hover{border-color:rgba(74,124,140,.35);box-shadow:0 8px 24px rgba(20,30,36,.06)}
.board-card.is-voted-up{border-color:rgba(29,90,50,.32);box-shadow:0 0 0 1px rgba(29,90,50,.1)}
.board-card.is-voted-down{border-color:rgba(180,70,55,.28);box-shadow:0 0 0 1px rgba(180,70,55,.08)}
.board-card--lab{border-color:rgba(74,124,140,.22)}
.board-card--solved{
  border-color:rgba(29,90,50,.32);
  background:linear-gradient(90deg,rgba(29,90,50,.07) 0%,var(--bg) 30%);
  box-shadow:0 0 0 1px rgba(29,90,50,.1);
}
.board-card--solved:hover{
  border-color:rgba(29,90,50,.4);
  box-shadow:0 8px 24px rgba(29,90,50,.08);
}
.board-card--solved .board-card__meter-fill{
  background:linear-gradient(90deg,var(--accent) 0%,var(--accent-bright) 100%);
}
.board-card__solved{
  display:flex;align-items:center;gap:.65rem 1rem;flex-wrap:wrap;
  margin:0 0 .85rem;
}
.board-card__solved-badge{
  flex:0 0 auto;
  font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:#fff;background:var(--accent);
  padding:.4rem .7rem;border-radius:5px;line-height:1;
}
.board-card__solved-text{
  margin:0;font-size:.92rem;line-height:1.45;color:var(--ink);
}
.board-card__solved-text a{
  color:var(--accent);font-weight:600;text-decoration:none;
  border-bottom:1px solid rgba(29,90,50,.28);
}
.board-card__solved-text a:hover{border-bottom-color:var(--accent)}
.board-card__solved-text strong{font-weight:700}
.board-card__vote-col{display:flex;align-items:center;padding-left:.25rem}
.board-card__content{display:flex;flex-direction:column;justify-content:center;min-width:0}
.board-votes{
  display:flex;flex-direction:column;gap:.35rem;min-width:3.1rem;
}
.board-vote{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:3.1rem;padding:.45rem .35rem;border-radius:10px;
  border:1.5px solid var(--line);background:var(--bg-warm);
  color:var(--ink-soft);cursor:pointer;
  transition:border-color .2s,background .2s,color .2s,transform .15s,box-shadow .2s;
}
.board-vote--up:hover{
  border-color:var(--accent);background:rgba(29,90,50,.06);color:var(--accent);
  transform:translateY(-1px);box-shadow:0 3px 10px rgba(29,90,50,.1);
}
.board-vote--down:hover{
  border-color:rgba(180,70,55,.45);background:rgba(180,70,55,.06);color:#a34a3a;
  transform:translateY(1px);box-shadow:0 3px 10px rgba(180,70,55,.08);
}
.board-vote--up.is-active{
  border-color:rgba(29,90,50,.4);background:rgba(29,90,50,.12);color:var(--accent);
}
.board-vote--down.is-active{
  border-color:rgba(180,70,55,.45);background:rgba(180,70,55,.1);color:#a34a3a;
}
.board-vote__arrow{
  font-size:1.05rem;font-weight:700;line-height:1;margin-bottom:.15rem;
  transition:transform .2s;
}
.board-vote--up:hover .board-vote__arrow{transform:translateY(-2px)}
.board-vote--down:hover .board-vote__arrow{transform:translateY(2px)}
.board-vote__count{
  font-family:var(--serif);font-size:1.05rem;font-weight:500;line-height:1;color:inherit;
  transition:transform .25s;
}
.board-vote__count.is-bump{animation:vote-bump .4s ease}
.board-upvote{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:3.25rem;padding:.55rem .4rem;border-radius:10px;
  border:1.5px solid var(--line);background:var(--bg-warm);
  color:var(--ink-soft);cursor:pointer;
  transition:border-color .2s,background .2s,color .2s,transform .15s,box-shadow .2s;
}
.board-upvote:hover{
  border-color:var(--accent);background:rgba(29,90,50,.06);color:var(--accent);
  transform:translateY(-2px);box-shadow:0 4px 12px rgba(29,90,50,.12);
}
.board-upvote__arrow{
  font-size:1.15rem;font-weight:700;line-height:1;margin-bottom:.2rem;
  transition:transform .2s;
}
.board-upvote__count{
  font-family:var(--serif);font-size:1.2rem;font-weight:500;line-height:1;color:inherit;
  transition:transform .25s;
}
.board-upvote__count.is-bump{animation:vote-bump .4s ease}
@keyframes vote-bump{
  0%{transform:scale(1)}
  45%{transform:scale(1.2)}
  100%{transform:scale(1)}
}
.board-card__head{
  display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;
  gap:.45rem .65rem;margin-bottom:.55rem;
}
.board-card__sectors{
  flex:0 1 auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.3rem;
  max-width:100%;
}
.board-card__sector{
  display:inline-flex;align-items:center;gap:.28rem;
  padding:.22rem .55rem;border-radius:999px;line-height:1.2;
  font-size:.7rem;font-weight:600;letter-spacing:.02em;color:var(--ink-muted);
  background:rgba(74,124,140,.09);border:1px solid rgba(74,124,140,.12);
  white-space:nowrap;
}
.board-card__sector-emoji{font-size:.82rem;line-height:1}
.board-card__sector-label{line-height:1.2}
.board-card__title{
  flex:1 1 12rem;min-width:0;
  font-size:1.05rem;font-weight:500;line-height:1.35;color:var(--ink);margin:0;
}
.board-card__desc{
  font-size:.88rem;line-height:1.65;color:var(--ink-soft);margin:0 0 .85rem;flex:1;
}
.board-card__meter{
  height:4px;background:var(--line);border-radius:2px;overflow:hidden;margin-top:auto;
}
.board-card__meter-fill{
  display:block;height:100%;width:var(--pct,0%);border-radius:2px;
  background:linear-gradient(90deg,var(--accent) 0%,var(--accent-bright) 100%);
  transition:width .5s cubic-bezier(.22,1,.36,1);
}
.board-card--lab .board-card__meter-fill{
  background:linear-gradient(90deg,var(--data) 0%,rgba(74,124,140,.5) 100%);
}
.board-card__note{
  font-size:.82rem;margin:-.35rem 0 1rem;
}
.board-card__note a{
  color:var(--data);font-weight:600;text-decoration:none;
  border-bottom:1px solid rgba(74,124,140,.3);
}
.board-card__note a:hover{border-bottom-color:var(--data)}
.challenge-board-foot{
  margin-top:clamp(2rem,4vw,2.75rem);
  font-size:.92rem;line-height:1.72;color:var(--ink-soft);max-width:38rem;
}
.challenge-board-foot a{
  color:var(--accent);text-decoration:none;border-bottom:1px solid rgba(26,107,74,.25);
}
.challenge-board-foot a:hover{color:var(--accent-hover);border-bottom-color:var(--accent-hover)}
.vote-btn{display:inline-flex;align-items:center;gap:.5rem}
.vote-count{
  min-width:1.65rem;padding:.15rem .4rem;border-radius:4px;
  background:rgba(29,90,50,.1);font-weight:700;font-size:.78rem;text-align:center;line-height:1.3;
}
.vote-btn.is-sent .vote-count{background:rgba(29,90,50,.18)}
.vote-btn.is-sent .vote-label{opacity:.85}
.challenge-form__anon{
  font-size:.82rem;color:rgba(255,255,255,.65);display:flex;align-items:flex-start;gap:.35rem;
}
.challenge-form-shell{
  background:var(--ink);color:#fff;border-radius:12px;padding:clamp(1.5rem,4vw,2.5rem);
}
.challenge-form-shell h2{
  font-family:var(--serif);font-weight:400;font-size:clamp(1.4rem,2.5vw,1.9rem);
  margin:0 0 .65rem;
}
.challenge-form-shell > p{color:rgba(255,255,255,.65);line-height:1.7;margin:0 0 1.5rem}
.challenge-form{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.challenge-form .full{grid-column:1 / -1}
.challenge-form input,.challenge-form textarea,.challenge-form select{
  width:100%;padding:.78rem .9rem;border:1px solid rgba(255,255,255,.18);
  border-radius:4px;background:rgba(255,255,255,.07);color:#fff;font:inherit;
}
.challenge-form select option{color:var(--ink)}
.challenge-form textarea{min-height:120px;resize:vertical}
.challenge-form input::placeholder,.challenge-form textarea::placeholder{color:rgba(255,255,255,.45)}
.challenge-form button{grid-column:1/-1;width:max-content}
.form-note{font-size:.75rem!important;color:rgba(255,255,255,.42)!important;margin:.7rem 0 0!important}

.build-log{max-width:52rem;margin:2rem auto 0;position:relative}
.build-log::before{
  content:'';position:absolute;left:15px;top:1rem;bottom:1rem;width:1px;background:var(--line);
}
.log-entry{position:relative;padding:0 0 1.6rem 3rem}
.log-entry:last-child{padding-bottom:0}
.log-entry::before{
  content:'';position:absolute;left:8px;top:.25rem;width:15px;height:15px;border-radius:50%;
  background:var(--bg);border:2px solid var(--accent);
}
.log-entry h3{font-size:.73rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin:0 0 .35rem}
.log-entry p{font-size:.92rem;line-height:1.68;color:var(--ink-soft);margin:0}

.learning-note{
  max-width:52rem;margin:1.5rem auto 0;padding:1.2rem 1.3rem;
  background:rgba(74,124,140,.08);border-left:3px solid var(--data);
}
.learning-note strong{display:block;color:var(--ink);margin-bottom:.35rem}
.learning-note p{font-size:.9rem;line-height:1.65;color:var(--ink-soft);margin:0}

.feedback-strip{text-align:center;background:var(--bg-warm);padding:2.25rem 1.5rem;border-top:1px solid var(--line)}
.feedback-strip h2{font-family:var(--serif);font-weight:400;font-size:1.35rem;margin:0 0 .55rem}
.feedback-strip p{color:var(--ink-soft);font-size:.9rem;line-height:1.6;margin:0 0 1rem}

.founder-note{
  max-width:52rem;margin:0 auto;display:grid;grid-template-columns:10rem 1fr;gap:2rem;align-items:start;
}
.founder-mark{
  aspect-ratio:1;background:var(--ink);border-radius:8px;display:grid;place-items:center;
  color:var(--warm);font-family:var(--sans);font-weight:800;font-size:2rem;
}
.founder-copy h2{font-family:var(--serif);font-weight:400;font-size:1.5rem;margin:0 0 .75rem}
.founder-copy p{font-size:.94rem;line-height:1.75;color:var(--ink-soft);margin:0 0 .8rem}

@media(max-width:900px){
  .participation{grid-template-columns:1fr}
  .challenge-board{grid-template-columns:1fr}
  .challenge-board--cards{grid-template-columns:1fr}
  .challenge-board--leaderboard{gap:.45rem}
  .board-card{
    grid-template-columns:1.75rem 1fr auto;
    gap:0 .85rem;padding:1rem .75rem 1rem .9rem;
  }
  .board-rank{font-size:1.1rem}
  .board-card--rank-1 .board-rank{font-size:1.25rem}
  .board-vote{width:2.85rem}
  .lab-showcase-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .board-card{
    grid-template-columns:1.5rem minmax(0,1fr) auto;
    gap:.35rem .55rem;
    align-items:start;
    padding:.75rem .8rem;
  }
  .board-rank{
    grid-column:1;
    grid-row:1;
    align-self:start;
    padding-top:.1rem;
  }
  .board-card__vote-col{
    grid-column:3;
    grid-row:1;
    padding:0;
    margin:0;
    border:0;
    align-self:start;
  }
  .board-card__content{display:contents}
  .board-card__head{
    grid-column:2;
    grid-row:1;
    margin:0;
    flex-direction:row;
    align-items:flex-start;
  }
  .board-card__title{flex:none;font-size:1rem;line-height:1.3}
  .board-card__desc{
    grid-column:1 / -1;
    margin:0 0 .4rem;
    flex:none;
    font-size:.86rem;
    line-height:1.55;
  }
  .board-card__note{
    grid-column:1 / -1;
    margin:-.1rem 0 .4rem;
    font-size:.8rem;
  }
  .board-card__solved{
    grid-column:1 / -1;
    margin:0 0 .4rem;
    gap:.5rem;
  }
  .board-card__meter{
    grid-column:1 / -1;
    margin-top:0;
  }
  .board-votes{
    flex-direction:column;
    gap:.2rem;
    min-width:0;
    width:2.45rem;
  }
  .board-vote{
    width:2.45rem;
    min-height:36px;
    flex:none;
    flex-direction:column;
    gap:.05rem;
    padding:.3rem .2rem;
  }
  .board-vote__arrow{margin:0;font-size:.9rem}
  .board-vote__count{font-size:.95rem}
  .board-card__sectors{justify-content:flex-start;width:100%}
  .board-card__sector{white-space:normal}
  .board-filter-wrap{width:100%}
  .board-filter-select{flex:1;min-width:0;width:100%}
  .section-head--board .section-head__row{
    flex-direction:column;
    align-items:stretch;
  }
}
@media(max-width:600px){
  .challenge-form{grid-template-columns:1fr}
  .challenge-form .full,.challenge-form button{grid-column:1}
  .challenge-form button{width:100%;max-width:100%}
  .founder-note{grid-template-columns:1fr}
  .founder-mark{width:7rem}
}

/* ============================================================
   STUDIO THEME — inspired by modern product studio layouts
   Dark hero, clean type, generous spacing, soft cards.
   ============================================================ */
:root{
  --bg:#fff;
  --bg-warm:#f3f6f8;
  --paper:#fff;
  --ink:#102532;
  --ink-soft:#4a5f6d;
  --ink-muted:#7a8f9c;
  --accent:#1a6b4a;
  --accent-hover:#218a5f;
  --accent-bright:#6ee7b8;
  --accent-bright-hover:#58ddb0;
  --warm:#6ee7b8;
  --data:#3d8f72;
  --line:rgba(16,37,50,.1);
  --line-strong:rgba(16,37,50,.16);
  --grid-line:rgba(110,231,184,.14);
  --serif:'Roboto',system-ui,-apple-system,sans-serif;
  --sans:'Roboto',system-ui,-apple-system,sans-serif;
  --radius-sm:6px;
  --radius-md:12px;
  --radius-lg:16px;
  --radius-pill:999px;
  --shadow-card:0 18px 48px rgba(16,37,50,.08);
  --shadow-soft:0 8px 24px rgba(16,37,50,.06);
  --hdr-h:72px;
  --hdr-h-compact:62px;
}

html{font-size:16px}
body{
  background:var(--bg);
  color:var(--ink);
  font-weight:400;
  line-height:1.6;
}
body::before{display:none}

h1,h2,h3,.case-studies-heading,.project-card h2,.project-card h3,
.section-head h2,.cta h2,.feedback-strip h2,
.challenge-form-shell h2,.founder-copy h2{
  font-family:var(--serif);
  font-weight:500;
  letter-spacing:-.02em;
}
p{letter-spacing:0}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:2px solid var(--accent-bright);
  outline-offset:3px;
}

.wrap{max-width:1200px}

/* Navigation */
#hdr{
  background:#141e24;
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:none;
}
#hdr .wrap{height:var(--hdr-h)}
#hdr.compact .wrap{height:var(--hdr-h-compact)}
.logo-type{
  font-family:var(--sans);
  font-size:1.2rem;
  font-weight:700;
  letter-spacing:-.03em;
}
.logo-icon{width:32px}
.logo-icon path{fill:#fff!important}
.wm-agri,.wm-it{color:#fff}
nav a{
  font-size:.9rem;
  font-weight:500;
  letter-spacing:0;
  color:rgba(255,255,255,.78);
}
nav a:hover,nav a[aria-current="page"]{
  color:#fff;
  text-decoration:none;
}
nav .talk{
  color:var(--ink);
  background:var(--accent-bright);
  border:0;
  border-radius:var(--radius-pill);
  padding:.55rem 1.15rem;
  font-weight:500;
}
nav .talk:hover{
  background:var(--accent-bright-hover);
  color:var(--ink);
}
.burger svg{stroke:#fff}

/* Homepage hero */
.hero--notebook{
  min-height:clamp(720px,92vh,900px);
  justify-content:stretch;
  text-align:left;
  background:var(--ink);
  border-bottom:0;
}
.hero--notebook .hero-bg{
  background:url('/assets/images/hero-canola-field.png') center center / cover no-repeat;
}
.hero--notebook .hero-bg::before{
  display:block;
  content:'';
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(16,37,50,.88) 0%,rgba(16,37,50,.62) 38%,rgba(16,37,50,.28) 68%,rgba(16,37,50,.12) 100%),
    linear-gradient(180deg,rgba(16,37,50,.4) 0%,rgba(16,37,50,.08) 45%,rgba(16,37,50,.5) 100%);
}
.hero--notebook .hero-bg::after{display:none}
.hero-layout{
  position:relative;
  z-index:1;
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(22rem,.95fr);
  gap:clamp(2.5rem,6vw,5.5rem);
  align-items:center;
  padding-top:9rem;
  padding-bottom:5rem;
}
.hero--notebook .hero-content{
  max-width:44rem;
  padding:0;
  text-align:left;
}
.hero--notebook h1{
  color:#fff;
  font-size:clamp(2.6rem,5.2vw,4.35rem);
  font-weight:500;
  line-height:1.08;
  letter-spacing:-.03em;
  max-width:12ch;
  margin-bottom:1.5rem;
}
.hero--notebook .hero-support{max-width:38rem;margin:0 0 2rem}
.hero--notebook .hero-sub{
  color:rgba(255,255,255,.72);
  font-size:clamp(1rem,1.6vw,1.125rem);
  line-height:1.7;
  margin:0 0 .65rem;
  max-width:none;
}
.hero--notebook .hero-sub-intro{
  color:#fff;
  font-weight:500;
}
.hero--notebook .hero-ctas{justify-content:flex-start}

.logical-model--hero{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-lg);
  padding:clamp(.35rem,.7vw,.5rem);
  backdrop-filter:blur(8px);
  box-shadow:var(--shadow-soft);
  width:100%;
  max-width:100%;
  height:fit-content;
  justify-self:end;
  align-self:center;
}
.logical-model--hero .logical-model-svg{
  width:100%;
  max-width:none;
  height:auto;
  margin:0;
  display:block;
}
.logical-model--hero .lm-box{
  fill:rgba(255,255,255,.14);
  stroke:rgba(255,255,255,.28);
  stroke-width:1.25;
}
.logical-model--hero .lm-box-accent{
  fill:rgba(110,231,184,.14);
  stroke:var(--accent-bright);
  stroke-width:1.75;
}
.logical-model--hero .lm-entity{
  fill:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.1em;
}
.logical-model--hero .lm-attr{
  fill:rgba(255,255,255,.78);
  font-size:10.5px;
  font-weight:500;
  letter-spacing:.01em;
}
.logical-model--hero .lm-token-id{fill:#93c5fd;font-weight:700}
.logical-model--hero .lm-token-time{fill:#c4b5fd;font-weight:700}
.logical-model--hero .lm-token-status{fill:var(--accent-bright);font-weight:700}
.logical-model--hero .lm-pk{fill:#93c5fd;font-size:9.5px;font-weight:800}
.logical-model--hero .lm-fk{fill:#fdba74;font-size:9.5px;font-weight:800}
.logical-model--hero .lm-card,
.logical-model--hero .lm-faint{
  fill:rgba(255,255,255,.55);
  font-size:10.5px;
  font-weight:700;
}
.logical-model--hero .lm-link{
  stroke-width:1.75;
  marker-end:url(#hero-lm-arrow);
}
.logical-model--hero .lm-link-flush{marker-end:url(#hero-lm-arrow-behind)}
.logical-model--hero .lm-link-core{stroke:rgba(110,231,184,.7)}
.logical-model--hero .lm-link-move{stroke:rgba(45,212,191,.65)}
.logical-model--hero .lm-link-compliance{stroke:rgba(251,191,36,.6);stroke-dasharray:4 4}

.field-diagram{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
  padding:1.25rem;
  backdrop-filter:blur(8px);
}
.diagram-header,.diagram-footer{
  color:rgba(255,255,255,.55);
  font-weight:500;
  letter-spacing:.08em;
}
.diagram-header{border-bottom-color:rgba(255,255,255,.1)}
.diagram-footer{border-top-color:rgba(255,255,255,.1)}
.diagram-stage{
  padding:1rem;
  margin:.5rem 0;
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius-md);
  background:rgba(255,255,255,.04);
}
.diagram-stage--active{
  border-left:3px solid var(--accent-bright);
  background:rgba(110,231,184,.08);
}
.diagram-index{color:var(--accent-bright);font-weight:500;letter-spacing:.08em}
.diagram-stage strong{color:#fff;font-weight:500}
.diagram-stage small{color:rgba(255,255,255,.55)}
.diagram-link::before{border-left-color:rgba(255,255,255,.22)}
.diagram-link::after{border-color:rgba(255,255,255,.35)}
.diagram-link span{
  background:transparent;
  color:rgba(255,255,255,.45);
  font-weight:500;
  letter-spacing:.08em;
}

/* Buttons & links */
.hero-cta,.cta-btn{
  border-radius:var(--radius-pill);
  background:var(--accent-bright);
  color:var(--ink);
  font-size:.92rem;
  font-weight:500;
  letter-spacing:0;
  padding:.85rem 1.5rem;
  box-shadow:none;
}
.hero-cta:hover,.cta-btn:hover{
  background:var(--accent-bright-hover);
  color:var(--ink);
  transform:translateY(-1px);
  box-shadow:0 10px 28px rgba(110,231,184,.22);
}
.hero-cta--ghost{
  color:#fff;
  border:1.5px solid rgba(255,255,255,.28);
  background:transparent;
}
.hero-cta--ghost:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.45);
}
.section-link{
  color:var(--accent);
  border-bottom:1px solid rgba(26,107,74,.28);
  font-size:.92rem;
  font-weight:500;
  letter-spacing:0;
}
.section-link:hover{color:var(--accent-hover);border-bottom-color:var(--accent-hover)}

/* Sections */
.section{
  padding:clamp(5rem,9vw,7.5rem) 0;
  border-bottom:1px solid var(--line);
}
.section--warm{background:var(--bg-warm)}
.section--ink{
  background:linear-gradient(180deg,#122a38 0%,#102532 100%);
  color:#fff;
  border-color:rgba(255,255,255,.08);
}
.section--ink .section-link{color:var(--accent-bright)!important;border-color:rgba(110,231,184,.45)!important}
.section--ink .section-cta-wrap{
  margin-top:clamp(2.25rem,4vw,3rem);
  text-align:center;
}
.section--ink .section-cta-wrap .hero-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:1rem;
  font-weight:600;
  padding:1rem 2.25rem;
}
.section-head{
  text-align:left;
  max-width:44rem;
  margin:0 0 2.75rem;
}
.section-head h2{
  font-weight:500;
  font-size:clamp(2rem,3.4vw,2.75rem);
  line-height:1.12;
  letter-spacing:-.03em;
  margin-bottom:.85rem;
}
.section-head p{
  max-width:38rem;
  font-size:1.02rem;
  line-height:1.75;
  color:var(--ink-soft);
}
.section .section-link-wrap{text-align:left}
.sg-label{
  color:var(--data);
  font:500 .72rem/1.3 var(--sans);
  letter-spacing:.1em;
  margin-bottom:.75rem;
}
.section--ink .sg-label{color:var(--accent-bright)}

/* Cards */
.build-card,.lab-card,.project-card,.build-pao article{
  border-radius:var(--radius-lg);
  border-color:var(--line);
  background:var(--paper);
  box-shadow:none;
}
.build-card{
  overflow:visible;
  border:0;
  background:transparent;
  box-shadow:none;
}
.build-card:hover{
  transform:none;
  border-color:transparent;
}
.lab-card:hover{
  transform:translateY(-4px);
  border-color:rgba(26,107,74,.22);
  box-shadow:var(--shadow-card);
}
.build-card-media{background:linear-gradient(315deg,rgba(16,37,50,.03) 5.94%,rgba(26,107,74,.04) 97.05%),#e8edf0;border-bottom:0}
.build-card-body{padding:0 1.25rem .5rem}
.build-tech span{
  color:var(--ink);
  background:transparent;
  border-color:rgba(16,37,50,.12);
  border-radius:1rem;
  font-size:.82rem;
  font-weight:400;
  letter-spacing:0;
  text-transform:none;
}
.lab-card{padding:1.55rem;min-height:12rem}

.status{
  border-radius:var(--radius-pill);
  background:rgba(26,107,74,.08);
  border:1px solid rgba(26,107,74,.18);
  padding:.32rem .7rem;
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.04em;
}
.status::before{display:none}
.status--built,.status--testing,.status--building,.status--exploring{color:var(--accent)}

.participation-list li::before{border-color:var(--accent-bright);border-radius:2px}
.pillar h3{font-weight:500}
.pillar-n{font-weight:500;color:var(--accent-bright)}

/* CTA & forms */
.cta{padding:clamp(5rem,9vw,7rem) 0;text-align:left}
.cta .wrap-narrow{max-width:44rem;margin:0}
.cta h2{
  font-size:clamp(2rem,3.4vw,2.75rem);
  font-weight:500;
  text-align:left;
  margin:0 0 .85rem;
}
.cta>div>p{
  text-align:left;
  margin:0 0 1.75rem;
  font-size:1.02rem;
}
.cta-form{max-width:100%;margin:0}
.cta-form input,.cta-form textarea,.challenge-form input,.challenge-form textarea,.challenge-form select{
  border-radius:var(--radius-md);
  border:1px solid var(--line-strong);
  background:#fff;
  font-size:.95rem;
}
.cta-btn{width:auto;min-width:12rem}

/* Appello-style "Start a project" CTA */
.cta.cta--project{
  background:#fff;
  padding:clamp(6.25rem,9vw,9.375rem) 0;
  text-align:center;
  border-top:1px solid var(--line);
}
.cta--project .cta-project__intro{
  max-width:34.375rem;
  margin:0 auto clamp(3rem,6vw,6rem);
}
.cta--project h2{
  text-align:center;
  font-size:clamp(2rem,3.4vw,2.375rem);
  font-weight:500;
  line-height:1.15;
  letter-spacing:-.02em;
  margin:0 0 1.875rem;
  max-width:none;
}
.cta--project .cta-project__lead{
  margin:0;
  text-align:center;
  font-size:1rem;
  line-height:1.5;
  color:var(--ink-soft);
}
.cta--project .cta-project__form-wrap{
  max-width:34.375rem;
  margin:0 auto;
}
.cta-form--project{
  max-width:100%;
  margin:0;
  gap:.625rem;
}
.cta-form__honeypot{display:none}
.cta-form--project input,
.cta-form--project textarea{
  min-height:3rem;
  padding:.813rem .938rem;
  border:2px solid transparent;
  border-radius:4px;
  background:#f0f2f4;
  font-size:.875rem;
  line-height:1.375rem;
  transition:border-color .2s ease,background-color .2s ease;
}
.cta-form--project textarea{
  min-height:7.5rem;
  line-height:1.5;
  resize:vertical;
}
.cta-form--project input:hover,
.cta-form--project textarea:hover{
  border-color:rgba(16,37,50,.1);
}
.cta-form--project input:focus,
.cta-form--project textarea:focus{
  border-color:var(--accent-bright);
  background:#fff;
  box-shadow:none;
}
.cta-btn--project{
  width:100%;
  min-height:3rem;
  margin-top:.35rem;
  border-radius:6px;
  font-size:.875rem;
  font-weight:500;
  padding:.85rem 1.25rem;
}
.cta--project .cta-project__note,
.cta--project .cta-project__alt{
  margin:1.5rem auto 0;
  max-width:34.375rem;
  text-align:center;
  font-size:.82rem;
  color:var(--ink-muted);
}
.cta--project .cta-project__alt a{
  color:var(--accent);
  font-weight:500;
  text-decoration:none;
  border-bottom:1px solid rgba(26,107,74,.22);
}
.cta--project .cta-project__alt a:hover{
  color:var(--accent-hover);
  border-bottom-color:var(--accent);
}
.cta-direct--center{
  text-align:center;
  margin-top:1rem;
  max-width:34.375rem;
  margin-left:auto;
  margin-right:auto;
}

/* Subpages — unified page header */
.page-hero{
  padding-top:var(--hdr-h);
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.page-hero__inner{
  padding-block:clamp(2.5rem,5vw,3.5rem) clamp(2rem,4vw,2.75rem);
}
.page-hero__crumb{
  font-size:.82rem;
  color:var(--ink-muted);
  margin:0 0 1rem;
  line-height:1.5;
}
.page-hero__crumb a{
  color:var(--ink-soft);
  text-decoration:none;
  font-weight:500;
}
.page-hero__crumb a:hover{color:var(--accent)}
.page-hero__sep{opacity:.45}
.page-hero__eyebrow{
  display:block;
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--data);
  margin:0 0 .75rem;
}
.page-hero__eyebrow .status{margin:0}
.page-hero h1{
  color:var(--ink);
  font-size:clamp(2rem,3.8vw,2.85rem);
  font-weight:500;
  line-height:1.12;
  letter-spacing:-.03em;
  max-width:20ch;
  margin:0 0 1rem;
}
.page-hero__lead,
.page-hero .hero-sub{
  color:var(--ink-soft);
  font-size:1.05rem;
  line-height:1.75;
  max-width:42rem;
  margin:0;
}
.page-hero--case h1{max-width:16ch}
.problem-page .page-hero h1{max-width:24ch}
.problem-page{padding:0;background:var(--bg);border-bottom:0}
.problem-wrap{max-width:46rem;padding:clamp(1.75rem,3.5vw,2.5rem) 0 clamp(3rem,6vw,4.5rem)}
.problem-breadcrumb{display:none}
.problem-sheet{
  border-radius:var(--radius-lg);
  background:var(--paper);
  border:1px solid var(--line);
  border-top:3px solid var(--accent);
  box-shadow:var(--shadow-soft);
  padding:clamp(1.5rem,4vw,2rem);
}
.problem-sheet h1{display:none}
.problem-sheet .problem-lead{display:none}
.problem-related{text-align:left}
.problem-sheet .problem-cta{text-align:left}
.build-hero-media{
  border:0;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  overflow:hidden;
}
.build-hero-media.build-hero-media--device{
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
  background:transparent;
}
.build-pao{border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.build-pao article{border-right:1px solid var(--line);padding:1.6rem}
.build-pao h3{
  color:var(--data);
  font:500 .72rem/1.3 var(--sans);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.page-block{padding:clamp(4rem,8vw,6rem) 0}
.case-studies-heading{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:500}
.project-card{border-radius:var(--radius-lg)}
.learning-note{
  background:rgba(26,107,74,.06);
  border-left-color:var(--accent);
  border-radius:0 var(--radius-md) var(--radius-md) 0;
}
.problem-sheet{
  border-radius:var(--radius-lg);
  background:var(--paper);
  border:1px solid var(--line);
  border-top:3px solid var(--accent);
  box-shadow:var(--shadow-soft);
}
.challenge-form-shell{
  border-radius:var(--radius-lg);
  background:linear-gradient(180deg,#122a38 0%,#102532 100%);
  box-shadow:var(--shadow-card);
}
.challenge-form-shell .sg-label{color:var(--accent-bright)}
.challenge-form input,.challenge-form textarea,.challenge-form select{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.14);
  color:#fff;
}
.feedback-strip{background:var(--bg-warm);border-top-color:var(--line)}

.participation{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.9fr);
  gap:clamp(2rem,5vw,4rem);
  align-items:start;
}
.participation-copy h2{
  font-size:clamp(1.8rem,3vw,2.4rem);
  font-weight:500;
  line-height:1.15;
  margin:0 0 1rem;
}

/* Footer */
footer{
  background:var(--ink);
  color:rgba(255,255,255,.62);
  padding:3rem 0;
}
footer a,.footer-nav a{color:rgba(255,255,255,.72)}
footer a:hover,.footer-nav a:hover{color:#fff}
.ack{border-top-color:rgba(255,255,255,.12);color:rgba(255,255,255,.45)}

/* Motion */
[data-r]{
  opacity:1;
  transform:none;
  transition:border-color .2s,box-shadow .2s,background-color .2s,color .2s,transform .2s;
}
.hero h1 .hw{opacity:1;transform:none;transition:none}

.section--ink .section-head h2,
.section--ink .pillar h3{color:#fff}
.section--ink .section-head p,
.section--ink .pillar > p{color:rgba(255,255,255,.72)}
.section--ink .pillar li{color:rgba(255,255,255,.68);border-top-color:rgba(255,255,255,.12)}

.problem-page{padding-top:0}

@media(max-width:900px){
  .hero-layout{
    grid-template-columns:1fr;
    gap:2.5rem;
    padding-top:8.5rem;
    padding-bottom:4rem;
  }
  .hero--notebook{min-height:auto}
  .hero--notebook h1{max-width:12ch}
  .logical-model--hero{max-width:100%;justify-self:stretch}
  .build-pao{display:grid;border:0;gap:.85rem}
  .build-pao article{border:1px solid var(--line);border-radius:var(--radius-lg)}
}

@media(max-width:600px){
  :root{--hdr-h:64px;--hdr-h-compact:64px}
  #hdr .wrap,#hdr.compact .wrap{height:var(--hdr-h)}
  .hero-layout{padding-top:7.5rem;padding-bottom:3.5rem}
  .hero--notebook h1{font-size:clamp(2.35rem,11vw,3.2rem)}
  .hero--notebook .hero-ctas{align-items:stretch}
  .hero--notebook .hero-cta{justify-content:center}
  .section{padding:4rem 0}
  .section-head{margin-bottom:2rem}
  .page-hero__inner{padding-block:2.25rem 2rem}
  .page-hero .wrap.page-hero__inner{
    padding-inline:clamp(1.5rem,7.5vw,2.5rem);
  }
  .page-hero h1{font-size:clamp(1.85rem,8.5vw,2.5rem)}
  .nav-open nav{
    top:var(--hdr-h);
    max-height:calc(100vh - var(--hdr-h));
    background:var(--ink);
    border-bottom-color:rgba(255,255,255,.08);
  }
  .nav-open nav a{color:rgba(255,255,255,.85)}
  .nav-open nav .talk{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    align-self:stretch;
    justify-content:center;
  }
  .lab-card{min-height:auto}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  [data-r],.builds-grid__item{transition:none!important;transform:none!important;opacity:1!important}
}

/* ============================================================
   INNER PAGES — Appello-inspired studio layout
   Large centred hero, intro band, offer panels, process row.
   ============================================================ */
.inner-page .page-hero{
  text-align:center;
  border-bottom:0;
  background:var(--bg);
}
.inner-page .page-hero__inner{
  padding-block:clamp(3.5rem,7vw,6rem) clamp(2.5rem,5vw,3.5rem);
}
.inner-page .page-hero__eyebrow{
  display:inline-block;
  margin-bottom:1rem;
}
.inner-page .page-hero h1{
  max-width:min(18ch,100%);
  margin-left:auto;
  margin-right:auto;
  font-size:clamp(2.25rem,4.8vw,3.35rem);
  line-height:1.08;
  letter-spacing:-.03em;
  margin-bottom:1.25rem;
}
.inner-page .page-hero__lead,
.inner-page .page-hero .hero-sub{
  max-width:min(40rem,100%);
  margin:0 auto;
  font-size:clamp(1rem,1.7vw,1.12rem);
  line-height:1.75;
}
.inner-page .page-hero__actions{
  display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:1.75rem;
}
.inner-page .page-hero__actions .hero-cta--ghost{
  color:var(--ink);border:1.5px solid var(--line);background:transparent;
}
.inner-page .page-hero__actions .hero-cta--ghost:hover{
  color:var(--accent);border-color:var(--accent);background:rgba(26,107,74,.06);
  box-shadow:none;
}
.inner-page .page-hero__crumb{
  text-align:left;
  max-width:min(52rem,100%);
  margin-left:auto;
  margin-right:auto;
}
.inner-page.page-hero--wide .page-hero h1,
.inner-page .page-hero--wide h1{max-width:min(22ch,100%)}

.page-intro{
  padding:0 0 clamp(3rem,6vw,4.25rem);
  text-align:center;
  border-bottom:1px solid var(--line);
}
.page-intro .wrap{
  max-width:min(44rem,100%);
}
.page-intro h2{
  font-size:clamp(1.45rem,2.6vw,1.9rem);
  font-weight:500;
  line-height:1.25;
  letter-spacing:-.02em;
  color:var(--ink);
  margin:0 0 1rem;
}
.page-intro p{
  font-size:1.02rem;
  line-height:1.78;
  color:var(--ink-soft);
  margin:0;
}
.page-intro p + p{margin-top:1rem}
.page-intro a{
  color:var(--accent);
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid rgba(26,107,74,.25);
}
.page-intro a:hover{
  color:var(--accent-hover);
  border-bottom-color:var(--accent);
}

.inner-page .section{
  padding:clamp(3.5rem,7vw,5rem) 0;
  border-bottom:1px solid var(--line);
}
.inner-page .section:last-of-type{border-bottom:0}
.inner-page .section-head{
  text-align:left;
  max-width:min(36rem,100%);
  margin:0 0 clamp(2rem,4vw,2.75rem);
}
.inner-page .section-head h2{
  font-size:clamp(1.65rem,2.8vw,2.1rem);
  margin-bottom:.75rem;
}
.inner-page .section .section-link-wrap{text-align:left}

.offer-stack{border-bottom:1px solid var(--line)}
.offer-panel{
  padding:clamp(3rem,6vw,4.25rem) 0;
  border-bottom:1px solid var(--line);
}
.offer-panel:last-child{border-bottom:0}
.offer-panel__inner{max-width:min(52rem,100%)}
.offer-panel h3{
  font-size:clamp(1.35rem,2.5vw,1.85rem);
  font-weight:500;
  line-height:1.2;
  letter-spacing:-.02em;
  color:var(--ink);
  margin:0 0 1rem;
}
.offer-panel__desc{
  font-size:1rem;
  line-height:1.78;
  color:var(--ink-soft);
  margin:0 0 1.5rem;
  max-width:min(40rem,100%);
}
.offer-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin:0 0 1.35rem;
  padding:0;
  list-style:none;
}
.offer-tag{
  font-size:.78rem;
  font-weight:500;
  color:var(--ink-soft);
  border:1px solid var(--line);
  border-radius:999px;
  padding:.38rem .8rem;
  background:var(--bg);
}
.offer-panel__link{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  font-size:.88rem;
  font-weight:600;
  color:var(--accent);
  text-decoration:none;
  border-bottom:1px solid rgba(26,107,74,.28);
  transition:border-color .2s,color .2s;
}
.offer-panel__link:hover{
  color:var(--accent-hover);
  border-bottom-color:var(--accent);
}

.process-band{
  padding:clamp(3.5rem,7vw,5rem) 0;
  background:var(--bg-warm);
  border-bottom:1px solid var(--line);
  overflow-x:clip;
}
.process-band .wrap{
  width:100%;
  max-width:100%;
}
.process-band .section-head{
  text-align:center;
  max-width:min(40rem,100%);
  margin:0 auto clamp(2.25rem,4vw,3rem);
}
.process-row{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:1rem;
  width:100%;
  max-width:100%;
}
.process-step{
  min-width:0;
  padding:1.25rem 1.1rem;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
}
.process-step__num{
  display:block;
  font-family:var(--serif);
  font-size:1.65rem;
  font-weight:500;
  line-height:1;
  color:var(--accent);
  margin-bottom:.7rem;
}
.process-step h3{
  font-size:1.05rem;
  font-weight:500;
  color:var(--ink);
  margin:0 0 .65rem;
  overflow-wrap:break-word;
}
.process-step p{
  font-size:.9rem;
  line-height:1.72;
  color:var(--ink-soft);
  margin:0;
  overflow-wrap:break-word;
}
.process-step__links{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid var(--line);
}
.process-step__links a{
  font-size:.76rem;
  font-weight:600;
  letter-spacing:.02em;
  color:var(--accent);
  text-decoration:none;
  border:1px solid rgba(26,107,74,.2);
  border-radius:999px;
  padding:.32rem .65rem;
  transition:border-color .2s,background .2s;
}
.process-step__links a:hover{
  border-color:var(--accent);
  background:rgba(26,107,74,.06);
}

.page-end-cta{
  padding:clamp(4rem,8vw,6rem) 0;
  text-align:center;
  border-top:1px solid var(--line);
}
.page-end-cta .wrap{max-width:min(36rem,100%)}
.page-end-cta h2{
  font-size:clamp(1.65rem,2.8vw,2.1rem);
  font-weight:500;
  line-height:1.2;
  letter-spacing:-.02em;
  margin:0 0 .85rem;
}
.page-end-cta p{
  font-size:1rem;
  line-height:1.75;
  color:var(--ink-soft);
  margin:0 0 1.5rem;
}

.inner-page .cta.cta--project{
  padding-top:clamp(2rem,4vw,3rem);
  border-top:1px solid var(--line);
}
.inner-page .builds-showcase .section-head{
  text-align:left;
  max-width:min(36rem,100%);
}

@media(min-width:901px){
  .process-row{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:clamp(1.5rem,3vw,2.5rem);
  }
  .process-step{padding:1.5rem 1.35rem}
}

@media(max-width:900px){
  .hero.hero--inner .hero-content{
    padding-inline:clamp(1.35rem,6vw,2.25rem);
  }
  .inner-page .page-hero h1{max-width:100%}
  .page-hero .wrap.page-hero__inner{
    padding-inline:clamp(1.5rem,6vw,2.5rem);
  }
}
@media(max-width:600px){
  body.nav-open{overflow:hidden}
  .burger{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    min-height:44px;
    margin-right:-8px;
  }
  .logo-type{font-size:1.05rem}
  .cta-form input,.cta-form textarea,
  .challenge-form input,.challenge-form textarea,.challenge-form select{
    font-size:16px;
  }
  .cta.cta--project{padding:clamp(3.5rem,8vw,5rem) 0}
  .inner-page .cta.cta--project{padding-top:clamp(2rem,5vw,2.5rem)}
  .inner-page .page-hero__inner{
    padding-block:clamp(2.75rem,12vw,3.5rem) clamp(2rem,8vw,2.75rem);
  }
  .page-hero h1,
  .inner-page .page-hero h1{
    max-width:100%;
    overflow-wrap:break-word;
  }
  .page-hero__lead,
  .page-hero .hero-sub,
  .inner-page .page-hero__lead,
  .inner-page .page-hero .hero-sub{
    max-width:100%;
  }
  .inner-page .page-hero__actions{
    flex-direction:column;
    align-items:stretch;
  }
  .inner-page .page-hero__actions .hero-cta{
    width:100%;
    justify-content:center;
  }
  .about-story-hero__overlay{
    background:linear-gradient(
      to top,
      rgba(16,37,50,.97) 0%,
      rgba(16,37,50,.92) 50%,
      rgba(16,37,50,.82) 100%
    );
  }
  .about-story-hero__panel,
  .about-story-hero .about-pillar{
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    background:rgba(16,37,50,.9);
  }
  .build-card-media{border-width:.45rem}
  .build-hero-media--device > .device-frame--iphone{width:min(12rem,42%)}
  .process-band{padding:clamp(2.5rem,6vw,3.25rem) 0}
  .process-band .section-head{margin-bottom:1.5rem}
  .process-row{gap:.85rem}
  .process-step{padding:1.1rem 1rem}
}
