/* ============ Heron pages ============
   The whole site wears the Heron brand now (assets/style.css holds the
   palette and Manrope). This file keeps only what the three Heron pages -
   /heron-ai/, /heron-tools/, /heron-autocad/ - have that no other page has:
   the heron mark beside the title, and the folded full-details panel. */

/* ---- the mark ----
   The app icon sits over the title on a phone. On a wide screen the 3D heron
   stands beside the title instead, so the mark is shown once, not twice. */
.hicon{display:block;width:72px;height:72px;border-radius:18px;margin-bottom:26px}
.pagehead .wrap{position:relative}
.heron3d{display:none}
@media (min-width:1000px){
  .heron .hicon{display:none}
  .heron3d{
    display:block;position:absolute;right:var(--gut);top:50%;
    width:clamp(260px,30vw,420px);height:auto;transform:translateY(-42%);
    pointer-events:none;
  }
  .heron .pagehead .lede,
  .heron .pagehead .display{max-width:calc(100% - clamp(260px,30vw,420px))}
}

@media print{
  .heron3d{display:none !important}
}

/* ---- the full details, folded ----
   The long lists - every skill, tool and fragment - are kept for whoever
   wants them, behind one line, so the page itself stays short. <details>
   rather than a script: it opens with JavaScript off and from the keyboard. */
details.more{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
details.more > summary{list-style:none;cursor:pointer;display:block;padding:clamp(28px,3.4vw,44px) 0;-webkit-tap-highlight-color:transparent}
details.more > summary::-webkit-details-marker{display:none}
details.more > summary .wrap{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 18px}
.more-t{
  font-family:"Manrope",var(--display);font-weight:800;color:var(--ink);
  font-size:clamp(1.25rem,2.4vw,1.8rem);letter-spacing:-.02em;
  display:inline-flex;align-items:center;gap:14px;
}
.more-t::after{
  content:"";width:10px;height:10px;margin-top:-4px;
  border-right:2.5px solid var(--accent);border-bottom:2.5px solid var(--accent);
  transform:rotate(45deg);transition:transform .25s var(--ease-out);
}
details.more[open] .more-t::after{transform:rotate(-135deg);margin-top:6px}
.more-s{font-size:.9rem;color:var(--faint)}
details.more > summary:hover .more-t{color:var(--accent)}
details.more > summary:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}
details.more[open]{padding-bottom:clamp(48px,6vw,90px)}
