/* Sidebar, stronger outcomes and movable typographic stickers. */
:root{
  --sidebar-width: 224px;
  --sticker-ink: #283229;
  --sticker-yellow: #f0ce59;
  --sticker-blue: #b5c9e9;
  --sticker-green: #b7cd9f;
}
.page-content { position: relative; margin-left: var(--sidebar-width); }
.wrap { width: calc(100% - 112px); max-width: 1040px; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width);
  padding: 64px 32px 32px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; background: var(--paper); z-index: 30; overflow-y: auto;
}
.sidebar .identity { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; font-size: 16px; line-height: 1.45; width: auto; }
.sidebar nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 64px; width: auto; font-size: 14px; }
.sidebar nav a { position: relative; padding: 4px 0; color: var(--muted); }
.sidebar nav a:hover, .sidebar nav a[aria-current] { color: var(--ink); }
.sidebar nav a[aria-current]::before { content: ''; position: absolute; width: 4px; height: 4px; left: -12px; top: 14px; border-radius: 50%; background: var(--accent); }
.sidebar nav .nav-contact { margin: 24px 0 0; color: var(--ink); }
.sidebar-note { margin-top: auto; padding-top: 48px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.sidebar-note .sticker-hint { margin-top: 24px; font-size: 11px; }
.reset-stickers { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); background: none; font: inherit; font-size: 11px; cursor: pointer; }
.reset-stickers:hover { color: var(--accent); }
.menu-toggle, .menu-scrim { display: none; }
.hero { padding-top: 72px; }
.hero-aside { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 32px; }
.hero-main { grid-column: 1 / 12; padding-top: 0; }
.hero-bottom { padding-block: 48px 32px; }
.hero-bottom > span:last-child { display: none; }
.hero .intro { max-width: 540px; }
.rail { grid-column: 1 / 3; }
.section-body { grid-column: 3 / -1; }
.about-columns { gap: 40px; }
.project p.outcome { display: flex; align-items: center; gap: 20px; min-height: 76px; padding-top: 20px; font-size: 12px; line-height: 1.5; }
.outcome strong { flex-shrink: 0; color: var(--accent); font-size: 34px; font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.outcome > span { color: var(--muted); }
.sticker-anchor { position: relative; }
.sticker-layer { position: absolute; inset: 0; pointer-events: none; z-index: 8; overflow: clip; }
.sticker {
  --angle: 0deg; position: absolute; width: var(--sticker-width); height: var(--sticker-height);
  border: 0; padding: 0; background: transparent; color: var(--sticker-ink);
  font-family: var(--sans); cursor: grab; user-select: none; -webkit-user-select: none;
  touch-action: none; pointer-events: auto; opacity: 0; visibility: hidden;
  transform: rotate(var(--angle)); filter: drop-shadow(0 3px 2px #3333231c);
}
.sticker.is-ready { opacity: 1; visibility: visible; }
.sticker-art { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; transition: transform .18s ease, filter .18s ease; }
.sticker:hover .sticker-art { transform: translateY(-2px); }
.sticker.is-dragging { cursor: grabbing; z-index: 2; filter: drop-shadow(0 8px 5px #33332325); }
.sticker.is-dragging .sticker-art { transform: scale(1.04); }
.sticker-text { position: relative; font-size: 17px; font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
.sticker-question { --sticker-width: 144px; --sticker-height: 100px; --angle: -12deg; --home-x: .40; --home-y: 80px; }
.sticker-question .sticker-art { background: var(--sticker-yellow); border-radius: 50%; gap: 8px; }
.sticker-question svg { width: 26px; height: 24px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; align-self: flex-end; margin-bottom: 28px; }
.sticker-connections { --sticker-width: 160px; --sticker-height: 64px; --angle: 8deg; --home-x: .45; --home-y: 20px; }
.sticker-connections .sticker-art { background: var(--sticker-blue); border-radius:var(--radius-m); gap: 8px; padding: 12px; }
.sticker-connections svg { width: 40px; height: 28px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.6; }
.sticker-connections .sticker-text { font-size: 14px; white-space: nowrap; }
.sticker-growth { --sticker-width: 116px; --sticker-height: 116px; --angle: 11deg; --home-x: .35; --home-y: -48px; }
.sticker-growth .seal { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sticker-growth .seal path { fill: var(--sticker-green); stroke: var(--sticker-green); stroke-width: 4px; stroke-linejoin: round; }
.sticker-growth .seal circle { stroke: var(--sticker-ink); stroke-width: 1px; fill: none; }
.sticker-growth .sticker-text { font-size: 15px; line-height: 1.15; }
.sticker-growth .sticker-text > span { display: block; margin-top: 4px; font-size: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.sticker:focus-visible { outline: 2px dashed var(--ink); outline-offset: 8px; border-radius: 12px; }
@media (max-width: 1280px) {
  :root{ --sidebar-width: 200px; }
  .sidebar { padding-inline: 24px; }
  .wrap { width: calc(100% - 80px); }
  .cover-label > span { display: none; }
  .project-cover { height: 264px; }
  .project-title h3 { font-size: 19px; }
  .about-columns { gap: 32px; }
  .sticker-connections { --home-x: .48; }
  .sticker-growth { --home-x: .38; }
}
@media (max-width: 980px) {
  :root{ --sidebar-width: 176px; --title: 40px; }
  .sidebar { padding-inline: 20px; }
  .sidebar .identity { font-size: 15px; }
  .wrap { width: calc(100% - 56px); }
  .hero-aside { display: block; }
  .hero-aside .location { margin-top: 4px; }
  .hero-main { grid-column: 1 / -1; }
  .hero h1 { font-size: var(--title); }
  .hero .intro { font-size: 16px; }
  .project-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-cover { height: auto; aspect-ratio: 1.65; }
  .cover-label > span { display: block; }
  .rail { grid-column: 1 / -1; margin-bottom: 24px; }
  .section-body { grid-column: 1 / -1; }
  .section-head { display: block; }
  .section-head > span { display: block; margin-top: 4px; }
  .resource-grid { gap: 24px; }
  .resource-type { font-size: 10px; }
  .sticker-question { --home-x: .62; --home-y: 68px; --sticker-width: 128px; --sticker-height: 88px; }
  .sticker-connections { --home-x: .68; --home-y: 28px; --sticker-width: 136px; }
  .sticker-connections svg { width: 28px; }
  .sticker-connections .sticker-text { font-size: 12px; }
  .sticker-growth { --home-x: .64; }
  .footer-bottom > span:nth-child(2) { display: none; }
}
@media (max-width: 760px) {
  :root{ --title: 36px; }
  .page-content { margin-left: 0; }
  .wrap { width: calc(100% - 40px); }
  .sidebar { width: 248px; padding: 80px 28px 32px; transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
  .menu-is-open .sidebar { transform: translateX(0); visibility: visible; }
  .sidebar .identity { font-size: 16px; }
  .sidebar nav { gap: 12px; margin-top: 40px; font-size: 15px; }
  .menu-toggle { position: fixed; z-index: 40; top: 16px; left: 20px; min-height: 40px; display: flex; gap: 20px; align-items: center; border: 1px solid var(--line); border-radius:var(--radius-s); background: var(--paper); color: var(--ink); padding: 8px 12px; font: 12px var(--sans); cursor: pointer; }
  .menu-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 20; background: #24292330; border: 0; }
  body.menu-is-open { overflow: hidden; }
  .hero { padding-top: 96px; }
  .hero-aside { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
  .hero-aside .location { margin-top: 0; }
  .hero-main { padding-top: 0; }
  .hero-bottom { padding-block: 32px 24px; }
  .hero .intro { margin-top: 44px; }
  .project-cover { aspect-ratio: 1.45; }
  .project p.outcome { gap: 20px; }
  .outcome strong { font-size: 32px; }
  .sticker-question { --home-x: .60; --home-y: 76px; --sticker-width: 112px; --sticker-height: 76px; --angle: -10deg; }
  .sticker-question .sticker-art { gap: 4px; }
  .sticker-question .sticker-text { font-size: 14px; }
  .sticker-question svg { width: 18px; margin-bottom: 20px; }
  .sticker-connections { --home-x: .62; --home-y: -44px; --sticker-width: 124px; --sticker-height: 48px; }
  .sticker-connections .sticker-art { padding: 8px; gap: 4px; }
  .sticker-connections svg { width: 28px; }
  .sticker-connections .sticker-text { font-size: 11px; }
  .sticker-growth { --home-x: .70; --home-y: -40px; --sticker-width: 92px; --sticker-height: 92px; }
  .sticker-growth .sticker-text { font-size: 12px; }
  .sticker-growth .sticker-text > span { font-size: 18px; }
  .mentoring-intro > p { margin-top: 28px; }
  .mentoring-intro h3 { max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar, .sticker-art { transition: none; }
}
