/* ============================================================
   ADHD TOOLKIT — /toolkit/   (draft)
   ============================================================

   The overview behind "ADHD Toolkit" in the menu: the page head and a card
   for each of the six tools. The frame rules (body, nav, page head, footer,
   breakpoints) are copied from pick.css like on every tool page — the page
   frame lives in each page file, not in base.css.
   ============================================================ */

body{
  margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-weight:300;
  font-size:clamp(1rem,.94rem + .28vw,1.0625rem);line-height:1.78;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
  display:flex;flex-direction:column;min-height:100vh;
}
[id]{scroll-margin-top:6.5rem}
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gutter);width:100%}
.eyebrow{
  font-family:var(--cond);font-weight:400;font-size:clamp(.8125rem,.765rem + .2vw,.875rem);
  letter-spacing:.18em;text-transform:uppercase;color:var(--ink-soft);line-height:1;
}
.btn:hover::before,.btn:focus-visible::before{transform:translateY(0)}
.btn:hover,.btn:focus-visible{color:var(--ink-deep);border-color:var(--apricot)}

/* ============================ NAV ============================ */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;padding:1.6rem 0;
  transition:background .5s var(--ease),box-shadow .5s var(--ease),padding .5s var(--ease);
}
.nav__sublink[aria-current="page"]{color:var(--terracotta)}

/* ========================= PAGE HEAD ========================= */
main{flex:1 0 auto}
/* bottom padding = .pbody's top padding below, so the air under the intro
   matches the air above the cards */
.phead{background:var(--dune);padding:clamp(8.5rem,15vh,11rem) 0 clamp(2.5rem,5vw,4rem)}
.phead__t{
  font-family:var(--serif);font-size:clamp(2.6rem,1.4rem + 5.4vw,6rem);
  line-height:.94;letter-spacing:-.04em;   /* no eyebrow above it on this page */
}
.phead__t em{font-style:italic;color:var(--terracotta)}
.phead__sub{
  margin-top:clamp(1.2rem,2.4vw,1.8rem);
  font-family:var(--serif);font-size:clamp(1.1rem,.98rem + .6vw,1.45rem);
  line-height:1.4;color:var(--ink-soft);
}

/* ========================= PAGE BODY ========================= */
.pbody{padding:clamp(2.5rem,5vw,4rem) 0 clamp(5rem,10vw,8rem)}


/* ============================================================
   THE SIX CARDS
   ============================================================
   Three across from 62rem, two from 40rem, one on a phone. The whole card
   is the link. On top a drawing of the tool on a dune band, edge to edge;
   on hover the card lifts a little and the drawing comes a touch closer. */
.kit{
  list-style:none;margin:0;padding:0;
  display:grid;gap:clamp(1rem,2vw,1.5rem);
  grid-template-columns:minmax(0,1fr);
}
@media (min-width:40rem){.kit{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:62rem){.kit{grid-template-columns:repeat(3,minmax(0,1fr))}}
.kit li{display:flex}
.kit__card{
  flex:1;display:flex;flex-direction:column;overflow:hidden;
  background:var(--paper);border:1px solid var(--hairline);border-radius:6px;
  color:inherit;text-decoration:none;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s var(--ease);
}
.kit__card:hover{
  transform:translateY(-3px);border-color:rgba(184,90,52,.35);
  box-shadow:0 24px 40px -30px rgba(38,34,31,.45);
}
.kit__card:focus-visible{outline:2px solid var(--ink-deep);outline-offset:3px}
.kit__art{display:block;aspect-ratio:2/1;background:var(--dune)}
.kit__art svg{width:100%;height:100%;display:block;transition:transform .5s var(--ease)}
.kit__card:hover .kit__art svg{transform:scale(1.04)}
.kit__body{
  flex:1;display:flex;flex-direction:column;align-items:flex-start;
  padding:clamp(1.4rem,2.6vw,2rem) clamp(1.5rem,3vw,2.2rem) clamp(1.5rem,3vw,2.2rem);
}
.kit__for{
  font-family:var(--cond);font-weight:500;font-size:.875rem;letter-spacing:.18em;
  text-transform:uppercase;color:var(--terracotta);line-height:1.3;
}
.kit__t{
  margin-top:.6rem;
  font-family:var(--serif);font-size:clamp(1.45rem,1.2rem + .8vw,1.85rem);letter-spacing:-.025em;
}
.kit__t em{font-style:italic;color:var(--terracotta)}
.kit__p{margin:.75rem 0 0;font-size:.9375rem;line-height:1.7;color:var(--ink-soft)}
.kit__more{
  margin-top:auto;padding-top:1.4rem;
  font-family:var(--cond);font-weight:500;font-size:.875rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--terracotta);
  text-decoration:underline;text-decoration-color:transparent;text-underline-offset:.35em;
  transition:text-decoration-color .35s var(--ease);
}
.kit__card:hover .kit__more{text-decoration-color:currentColor}


@media (prefers-reduced-motion:reduce){
  .kit__card,.kit__art svg{transition:none}
  .kit__card:hover,.kit__card:hover .kit__art svg{transform:none}
}

/* ============================================================
   FOOTER — same as every other page, it lives in base.css
   ============================================================ */
.foot{background:var(--ink-deep);color:#FFFFFF;padding:clamp(2.75rem,5.5vw,4.25rem) 0 1.75rem;flex-shrink:0}


/* ============================================================
   BREAKPOINTS THE WHOLE SITE SHARES
   ============================================================
   Copied verbatim from focus.css — see the note there on why these are not
   in base.css. */
@media (max-width:1080px){
  .nav__links{
    position:fixed;inset:0 0 auto;top:0;background:var(--cream);
    flex-direction:column;justify-content:center;gap:2rem;height:100dvh;
    clip-path:inset(0 0 100% 0);transition:clip-path .7s var(--ease);margin-bottom:0;
  }
  .nav.is-open .nav__links{clip-path:inset(0 0 0 0)}
  .nav__link{font-size:1.5rem;font-family:var(--serif);letter-spacing:.04em;text-transform:none}
  .burger{display:block;position:relative;z-index:2}
}
@media (max-width:860px){
  .foot__grid{grid-template-columns:1fr 1fr}
  .foot__brand{grid-column:1/-1}
}
@media (max-width:640px){
  .foot__grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}

/* ============================================================
   SECTION SPACING — since 22.10.2026
   Every section boundary has the same air on both sides: from the edge to
   the first or last thing you can see in the section (the tops of the letters,
   a box, a photo, a frame line), as much as the footer has from its top edge
   to the letters of "Navigate". That is 69px on a desktop and 47px on a phone,
   measured on the pixels, not on the text boxes: a large heading carries
   20-30px of empty font box above its letters, and that is what the eye
   does not count. --sec-pad in base.css is the footer's padding; the + or -
   on a value makes up for what sits between a section's padding and its
   first or last visible edge. Last in the file so it wins over the paddings
   above, media queries included. Not touched: the hero with the stats or
   fact band under it. Change a section's first or last element and its
   value here may need measuring again.
   ============================================================ */
main > .pbody{padding-top:var(--sec-pad);padding-bottom:var(--sec-pad)}
