/* Ovie Tag's Folder — design tokens.
   One scale for everything: 2, 4, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96.
   Inner radius = outer radius − the physical inset between them. */

:root{
  /* Type — Inter. Body is Light 300 at 0.1px; headings tighten as they grow. */
  --font:Inter,system-ui,-apple-system,sans-serif;
  --font-light:'Inter Light',Inter,system-ui,sans-serif;
  --font-hand:'Bradley Hand','Segoe Print',cursive;
  --tracking:.1px;

  --text-caption:12px;  --leading-caption:16px;
  --text-label:14px;    --leading-label:20px;   /* control labels only */
  --text-note:14px;     --leading-note:20px;    /* descriptions on a phone */
  --text-body:16px;     --leading-body:24px;
  --text-title:24px;    --leading-title:32px;   --tracking-title:-.2px;
  --text-large:36px;    --leading-large:44px;   --tracking-large:-.6px;
  --text-display:44px;  --leading-display:52px; --tracking-display:-.8px;

  /* Space */
  --space-2:2px;--space-4:4px;--space-8:8px;--space-12:12px;--space-16:16px;
  --space-24:24px;--space-32:32px;--space-40:40px;--space-48:48px;--space-64:64px;

  /* Radius */
  --radius-xs:2px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-pill:999px;

  /* Controls — regular 40, compact 32; touch targets grow to 44 invisibly. */
  --control-height:40px;--control-compact:32px;--touch-target:44px;
  --control-radius:var(--radius-lg);--control-compact-radius:var(--radius-md);
  --control-padding:16px;--control-compact-padding:12px;

  /* Colour */
  --ink:#141d34;            /* titles */
  --copy:#536380;           /* notes and body */
  --muted:#687182;          /* captions, metadata */
  --hairline:#5363801f;
  --surface-strong:#1c1e21; /* primary action */
  --surface-strong-hover:#2c2f33;
  --tint-neutral:#efeeed;   /* tracks, quiet fills */
  --focus:#324f87;
  --paper:#ebeced;
  --accent:#9ebef0;
  --accent-ink:#24406b;

  /* Tactility — a soft top highlight and contact shadow, like pressed card stock. */
  --lift-soft:inset 0 1px 0 #ffffff99,0 1px 2px #141d340f;
  --lift-strong:inset 0 1px 0 #ffffff1f,0 1px 2px #00000033,0 4px 12px -4px #0000004d;
  --lift-raised:inset 0 1px 0 #ffffffcc,0 1px 2px #141d3414,0 2px 8px #141d340f;
  --lift-float:0 1px 2px #141d3414,0 12px 32px -8px #141d3433;
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Motion — soft landings, no overshoot. */
  --ease-soft:cubic-bezier(.32,.72,0,1);   /* things arriving and settling */
  --ease-glide:cubic-bezier(.45,0,.2,1);   /* things travelling from A to B */
  --dur-press:160ms;
  --dur-quick:320ms;
  --dur-base:480ms;
  --dur-calm:720ms;
  --dur-page:1100ms;
  --dur-story:1600ms;

  /* Layout */
  --content-gutter:48px;
  --reading-measure:576px;
}

/* Each file carries its own accent; controls inside it take soft tints from it. */
.scene[data-section=about]{--accent:#9ebef0;--accent-ink:#24406b}
.scene[data-section=work]{--accent:#f29cb6;--accent-ink:#5c2337;--paper:#fafafa}
.scene[data-section=articles]{--accent:#c7f69c;--accent-ink:#2f4d16;--paper:#f8faf5}
.scene[data-section=gallery]{--accent:#dda4e5;--accent-ink:#4f2556;--paper:#faf9f6}
.scene{
  --tint-soft:color-mix(in srgb,var(--accent) 14%,#f4f4f4);
  --tint-mid:color-mix(in srgb,var(--accent) 26%,#f4f4f4);
  --tint-strong:color-mix(in srgb,var(--accent) 38%,#f4f4f4);
}

@media(max-width:700px){
  :root{--content-gutter:16px}
}
