/* Components shared by the start page and the project pages. Tokens: tokens.css. */

/* Icons: 24-unit line drawings, coloured by the text around them. */
.icon{width:var(--icon-size);height:var(--icon-size);display:block;fill:none;stroke:currentColor;stroke-width:var(--icon-stroke);stroke-linecap:round;stroke-linejoin:round;flex:none}

/* A 44px button that holds only an icon. */
.icon-button{display:grid;place-items:center;width:var(--control-size);height:var(--control-size);padding:0;border:0;background:none;color:var(--ink-secondary);cursor:pointer;transition:color var(--dur-fast)}
.icon-button:hover,.icon-button:focus-visible,.icon-button[aria-expanded="true"]{color:var(--ink)}
.icon-button:focus-visible{outline:var(--focus-ring);outline-offset:var(--space-1)}

/* "Back": the same place and look on every page, in the top-left corner of the page frame.
   The negative margin lines the arrow up with the frame while the padding keeps the 44px target. */
.back{display:inline-flex;align-items:center;gap:var(--space-2);min-height:var(--control-size);margin-left:calc(-1 * var(--space-2));padding:0 var(--space-2);border:0;background:none;font:400 var(--type-control)/var(--leading-ui) var(--font-ui);color:var(--ink-secondary);text-decoration:none;cursor:pointer;transition:color var(--dur-fast)}
.back:hover,.back:focus-visible{color:var(--ink)}
.back:focus-visible{outline:var(--focus-ring);outline-offset:var(--space-1)}

/* "Coming soon": the one mark for anything that is announced but not open yet (a project tile, an action). */
.soon{display:inline-block;padding:0 var(--space-1);background:var(--surface-glass);font:400 var(--type-micro)/var(--leading-ui) var(--font-mono);letter-spacing:var(--track-data);text-transform:lowercase;color:var(--ink-secondary);white-space:nowrap}
