/* ─────────────────────────────────────────────────────────────
   Stefanie Blanton portfolio: style guide

   Every color, font, weight, radius, shadow and layout width the
   site uses lives here. Change a value once and it updates
   everywhere. Components are in site.css and only read these.
   ───────────────────────────────────────────────────────────── */

:root {
  /* ── Color scales ─────────────────────────────────────────────
     Ten shades per color, numbered like Mantine: 0 is the lightest,
     9 is the darkest. The site's original colors are kept exactly
     where they fall in each scale (noted below); the rest were
     blended between them so every step is even. */

  /* Teal: the primary brand color */
  --teal-0: #EFF9FD;
  --teal-1: #C9E3EE;
  --teal-2: #A3CDDF;
  --teal-3: #7DB7D0;
  --teal-4: #54A2C0;
  --teal-5: #1B8CB1;  /* link hover, focus ring */
  --teal-6: #156F8C;
  --teal-7: #105369;
  --teal-8: #0B3948;  /* main teal: buttons, links */
  --teal-9: #051C23;  /* dark sections */

  /* Coral: the secondary brand color */
  --coral-0: #FFF4F1;
  --coral-1: #F4D9D0;
  --coral-2: #E8BEB0;  /* labels on dark */
  --coral-3: #E7A994;
  --coral-4: #E59377;
  --coral-5: #E27C5A;  /* main coral: highlights, icons */
  --coral-6: #CD6644;
  --coral-7: #B84F2E;
  --coral-8: #A33814;  /* coral text on light */
  --coral-9: #712004;

  /* Gray: text and backgrounds, with a slight teal cast */
  --gray-0: #F9FAFA;  /* page background */
  --gray-1: #E7EBEC;
  --gray-2: #D5DDDF;  /* muted text on the teal header */
  --gray-3: #B9C2C4;
  --gray-4: #9EA8AA;
  --gray-5: #848E91;
  --gray-6: #6B7578;  /* small labels */
  --gray-7: #596569;  /* body copy */
  --gray-8: #434C4F;
  --gray-9: #2F3537;  /* main text */

  --white: #FFFFFF;
  --black: #000000;

  /* ── Color roles ──────────────────────────────────────────────
     Components use these names, so a role can move to a different
     shade in one place. */
  --accent:          var(--teal-8);   /* buttons, links, heading accents */
  --accent-mid:      var(--teal-5);   /* link hover, focus ring */
  --accent-deep:     var(--teal-9);   /* dark section background */
  --secondary:       var(--coral-5);  /* highlights, footer icons, photo block */
  --secondary-light: var(--coral-2);  /* labels on dark backgrounds */
  --secondary-deep:  var(--coral-8);  /* coral text on light (passes contrast) */

  --page-bg:           var(--gray-0);
  --ink:               var(--gray-9);  /* main text */
  --ink-muted:         var(--gray-7);  /* body copy, descriptions (6:1 on white) */
  --ink-subtle:        var(--gray-6);  /* small labels like card roles (4.7:1 on white) */
  --ink-on-dark-muted: var(--gray-2);  /* secondary text on the teal header */

  /* ── Tints: see-through versions of a shade ───────────────────
     Used for borders, dividers and hover fills that sit on both white
     cards and the gray page, so they blend into whichever is behind. */
  --accent-a05:    color-mix(in srgb, var(--teal-8) 5%, transparent);
  --accent-a08:    color-mix(in srgb, var(--teal-8) 8%, transparent);
  --accent-a15:    color-mix(in srgb, var(--teal-8) 15%, transparent);
  --accent-a18:    color-mix(in srgb, var(--teal-8) 18%, transparent);
  --accent-a28:    color-mix(in srgb, var(--teal-8) 28%, transparent);  /* dashed placeholder borders */
  --mid-a08:       color-mix(in srgb, var(--teal-5) 8%, transparent);
  --mid-a30:       color-mix(in srgb, var(--teal-5) 30%, transparent);
  --secondary-a08: color-mix(in srgb, var(--coral-5) 8%, transparent);
  --secondary-a10: color-mix(in srgb, var(--coral-5) 10%, transparent);
  --secondary-a30: color-mix(in srgb, var(--coral-5) 30%, transparent);

  /* ── Type ─────────────────────────────────────────────────── */
  --font-sans:    "Inter", -apple-system, sans-serif;   /* everything */
  --font-display: "Fraunces", Georgia, serif;           /* big headings and stats */

  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Type scale in use (desktop, px):
     56 hero · 40 case study title, stats · 32 section title
     22 card title · 18 lede · 16 body · 15 card text
     14 small text, buttons · 13 labels · 12 fine print */

  /* ── Shape ────────────────────────────────────────────────── */
  --radius-sm:   4px;   /* inputs */
  --radius-md:   5px;   /* buttons, cards */
  --radius-lg:   10px;  /* larger panels */
  --radius-pill: 37px;  /* pills */

  --shadow-1: 0 2px 1px -1px rgba(0, 0, 0, 0.20),
              0 1px 1px 0 rgba(0, 0, 0, 0.14),
              0 1px 3px 0 rgba(0, 0, 0, 0.12);   /* resting cards */
  --shadow-2: 0 5px 5px -3px rgba(0, 0, 0, 0.20),
              0 8px 10px 1px rgba(0, 0, 0, 0.14),
              0 3px 14px 2px rgba(0, 0, 0, 0.12); /* hovered cards */
  --shadow-photo:       0 2px 4px color-mix(in srgb, var(--teal-9) 10%, transparent),
                        0 8px 18px color-mix(in srgb, var(--teal-9) 10%, transparent);  /* polaroids */
  --shadow-photo-hover: 0 6px 12px color-mix(in srgb, var(--teal-9) 14%, transparent),
                        0 18px 36px color-mix(in srgb, var(--teal-9) 16%, transparent);

  /* ── Layout ───────────────────────────────────────────────── */
  /* Breakpoints (CSS can't use variables inside @media, so these are
     typed directly in site.css): tablet at 900px and below, phone at
     620px and below. */
  --measure-wide:  1160px;  /* hero, stats, work, How I work */
  --measure:       900px;   /* About, case studies */
  --measure-tight: 640px;   /* contact */
  --gutter: 48px;           /* page side padding (32px tablet, 20px phone) */
}
