:root{
  --bg: #0b0f14;

  --panel: rgba(255,255,255,.06);
  --panel-2: rgba(255,255,255,.08);

  --stroke: rgba(255,255,255,.10);
  --stroke-2: rgba(255,255,255,.14);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --dim: rgba(255,255,255,.55);

  --max: 1120px;
  --pad: 22px;

  --r-lg: 22px;
  --r-md: 16px;

  --shadow: 0 16px 40px rgba(0,0,0,.45);
}

/* -------------------------
   Minimal normalize
------------------------- */
*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
html, body{ height: 100%; }
body{ margin: 0; }

img, svg, video{ display: block; max-width: 100%; height: auto; }
button, input, textarea, select{ font: inherit; color: inherit; }
p, ul, ol{ margin: 0; }
ul, ol{ padding-left: 1.1em; }

/* -------------------------
   Base
------------------------- */
body{
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(64,84,120,.25), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(35,120,140,.20), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }
strong{ color: rgba(255,255,255,.95); }

/* -------------------------
   Layout helpers
------------------------- */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--pad) 60px;
}

.hr{
  height: 1px;
  background: var(--stroke);
  margin: 18px 0 22px;
}

/* -------------------------
   Topbar (Licensing-style)
------------------------- */
.topbar{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;

  padding: 14px 0 18px;
  border-bottom: 1px solid var(--stroke);
}

.brand{
  display: grid;
  gap: 6px;
  max-width: 44ch;
}
.brand .name{
  letter-spacing: .10em;      /* slightly calmer than .22em */
  font-weight: 650;
  font-size: 14px;
  text-transform: uppercase;
}
.brand .tagline{
  color: var(--muted);
  font-size: 14px;
}

/* Nav */
.nav{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Pills */
.pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 999px;

  background: var(--panel);
  border: 1px solid var(--stroke);
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;

  text-decoration: none;
}
.pill:hover{
  background: var(--panel-2);
  border-color: var(--stroke-2);
  text-decoration: none;
}
.pill-anchor{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.34);
  color: rgba(255,255,255,.98);
  font-weight: 650;
  letter-spacing: .01em;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}

/* Hover feels “solid”, not flashy */
.pill-anchor:hover,
.pill-anchor:focus-visible{
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.46);
  text-decoration: none;
}
/* Optional: tiny cue that it’s the main door */
.pill-anchor::after{
  content:"";
  display:inline-block;
  width:6px; height:6px;
  border-radius:999px;
  margin-left:10px;
  background: rgba(255,255,255,.55);
  transform: translateY(-1px);
}/* Active state options:
   - Use .is-active for “current page” in nav
   - Or keep it subtle (no bright white) */
.pill.is-active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

/* If you *want* the bright active like your old main page,
   swap the .pill.is-active block above for this:

.pill.is-active{
  background: rgba(255,255,255,.92);
  color: rgba(0,0,0,.88);
  border-color: rgba(255,255,255,.92);
}
/* Anchor pill: All Work */
.pill-anchor{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.96);
  font-weight: 600;
}

/* Subtle hover — calmer than active state */
.pill-anchor:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.32);
}

/* Ensure active pill still wins */
.pill.is-active{
  background: rgba(255,255,255,.92);
  color: rgba(0,0,0,.88);
  border-color: rgba(255,255,255,.92);
}
*/

/* -------------------------
   Type blocks
------------------------- */
.kicker{
  margin-top: 18px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--dim);
}

.h1{
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 8px 0 10px;
}

.lede{
  margin-top: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 78ch;
}

/* Headings used inside panels */
.h2{
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -.01em;
}

/* Lists */
.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{ margin: 8px 0; }

/* -------------------------
   Panels / cards
------------------------- */
.panel{
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}
.panel.pad{ padding: 18px; }

.grid-2{
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 16px;
}
/* Paths (bottom navigation, licensing-style) */
.paths-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 720px){
  .paths-grid{ grid-template-columns: 1fr; }
}

.path-card{
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  padding: 16px 16px;
  text-decoration: none;
  display: grid;
  gap: 6px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.path-card:hover,
.path-card:focus-visible{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  outline: none;
}

.path-title{
  font-size: 16px;
  font-weight: 650;
  color: var(--text);
}
.path-meta{
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
  font-size: 14px;
}
.path-desc{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
/* -------------------------
   Thumbnail gallery
------------------------- */
.thumb-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  align-items: start;
}

.thumb{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03);
}

.thumb img{
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.thumb .cap{
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 14px;
}

/* -------------------------
   Footer
------------------------- */
.footer{
  margin-top: 26px;
  color: var(--dim);
  font-size: 13px;
  padding-top: 18px;
  border-top: 1px solid var(--stroke);
}

/* -------------------------
   Focus / accessibility
------------------------- */
:focus-visible{
  outline: 2px solid rgba(255,255,255,.45);
  outline-offset: 3px;
  border-radius: 10px;
}

/* -------------------------
   Optional tiny helper
------------------------- */
.archive-link::after{
  content:" (All work)";
  color: var(--muted);
  font-weight: 400;
}

/* -------------------------
   Responsive
------------------------- */
@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
}

@media (max-width: 980px){
  .topbar{ flex-direction: column; align-items: flex-start; }
  .nav{ justify-content: flex-start; }
}