/* ============================================================
   THEME — everything visual lives here. Edit this file only.
   ============================================================ */
:root{

  /* ---------- COLOURS ----------
     Light page with two dark inset sections (Marks + About).
     For a dark site again, swap --ink and --bone and flip --inv-*.  */
  --ink:        #F1F0EC;   /* page background */
  --ink-2:      #E3E1DA;   /* cards, wells */
  --bone:       #0C0D10;   /* main text */
  --muted:      #757A82;   /* secondary text */
  --line:       #D8D5CE;   /* hairlines, borders */
  --signal:     #4B54D6;   /* accent: links, hovers, highlights */
  --signal-ink: #4B54D6;   /* accent on light backgrounds */

  /* inverted sections (dark blocks inside the light page) */
  --inv-bg:     #0C0D10;
  --inv-bg-2:   #16181D;
  --inv-fg:     #EFEDE8;
  --inv-muted:  #868B93;
  --inv-line:   #24272E;
  --inv-signal: #A9B4FF;

  /* portrait panel gradient */
  --panel-1:#5B63C7;  --panel-2:#343A86;  --panel-3:#1A1D44;

  /* ---------- TYPEFACES ---------- */
  /* change the @import in index.html too if you swap families */
  --font-sans:  'Archivo', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono:  ui-monospace, 'SF Mono', Menlo, monospace;  /* system, no download */

  --w-normal:400;  --w-medium:500;  --w-bold:700;  --w-black:800;

  /* ---------- TYPE SCALE ---------- */
  --fs-hero:    clamp(58px, 17vw, 270px);
  --fs-quote:   clamp(23px, 3.2vw, 44px);
  --fs-h2:      clamp(24px, 4vw, 44px);
  --fs-h3:      clamp(16px, 1.7vw, 22px);
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-mono:    12px;

  --track-tight:-.055em;   /* big headlines */
  --track-mono: .01em;     /* small labels */

  /* ---------- SHAPE & SPACE ---------- */
  --gut:        clamp(20px, 5vw, 72px);   /* page side margin */
  --poster-w:   clamp(210px, 26vw, 340px); /* poster card width */
  --card-w:      clamp(108px, 11vw, 200px); /* hero card width  */
  --card-ratio:  1.25;                      /* height / width. 1.25 = 4:5, 1.7778 = 9:16 */
  --card-radius: 10px;                      /* hero card corners */
  --stroke:     clamp(2px, .3vw, 4.5px);   /* hero name outline weight */
  --radius:     8px;
  --radius-lg:  16px;
  --sec-pad:    clamp(90px, 14vh, 170px); /* space above/below sections */

  /* ---------- MOTION ---------- */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur:  .8s;
  --page-bg:    #F1F0EC;  /* must match --ink, used to haze distant cards */
  --grain:.05;        /* film grain strength. 0 turns it off */
}

/* ============================================================
   BUTTONS — three styles, used everywhere
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--font-sans); font-size:var(--fs-small); font-weight:var(--w-bold);
  padding:11px 20px; border-radius:99px; border:1px solid transparent;
  cursor:pointer; transition:all .35s var(--ease); text-decoration:none;
}
.btn--solid{ background:var(--signal); color:#FFFFFF; }
.btn--solid:hover{ background:var(--bone); color:var(--ink); }

.btn--ghost{ border-color:var(--line); color:var(--bone); }
.btn--ghost:hover{ border-color:var(--signal); color:var(--signal); }

.btn--text{ padding:0 0 3px; border-radius:0; border-bottom:1px solid currentColor; }
.btn--text:hover{ color:var(--signal); }

.btn i{ font-style:normal; font-size:11px; }

/* meta text — plain, no pills */
.tag{ font-size:13px; color:var(--muted); }
.tag + .tag::before{ content:'·'; margin:0 7px; opacity:.6; }

/* disabled / hidden buttons
   content.js: enabled:false hides it, disabled:true greys it out */
.btn[aria-disabled="true"]{
  opacity:.35; pointer-events:none; cursor:default;
}
