/* Design tokens: tweak colors, fonts, spacing, glass and motion here. */
:root {
  /* Palette (no gradients) */
  --color-teal: #0f3b4c;          /* deep sea teal: hero, headings, dark accents */
  --color-teal-raised: #174b5e;   /* solid fallback for the glass menu */
  --color-teal-accent: #1f7a78;   /* link hover, icon, dashed minor bar */
  --color-sun: #f5c044;           /* buttons, active pill, hero eyebrow, contact block */
  --color-sun-hover: #f8cf66;
  --color-sun-soft: #fdf0c8;      /* icon tile, work bar, PTI cover */
  --color-sun-ink: #5a4100;       /* text on sun-soft */
  --color-glass: #d7ebe6;         /* about bubble, project cover */
  --color-glass-soft: #eaf5f2;    /* minor bar */
  --color-glass-line: #b5d3cc;    /* timeline gridlines */
  --color-page: #f2f5f4;
  --color-card: #ffffff;

  --color-text: #102a35;
  --color-text-strong: #24414b;
  --color-text-muted: #3f5b65;
  --color-text-secondary: #4b6069;
  --color-text-on-teal: #cfe2e2;
  --color-nav-text: #e6f1f1;
  --color-text-on-sun: #2e3a30;
  --color-label-on-sun: #4a3d12;

  --shadow-float: 0 14px 34px rgba(4, 24, 32, 0.28);
  --shadow-lift: 0 18px 40px rgba(15, 59, 76, 0.14);

  /* Liquid glass (menu bar, hamburger, menu panel) */
  --glass-blur: 20px;
  --glass-saturate: 180%;
  --glass-on-dark: rgba(255, 255, 255, 0.10);
  --glass-on-dark-edge: rgba(255, 255, 255, 0.24);
  --glass-light: rgba(255, 255, 255, 0.60);
  --glass-light-panel: rgba(255, 255, 255, 0.72);
  --glass-light-edge: rgba(255, 255, 255, 0.75);
  --glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 1px rgba(255, 255, 255, 0.10);
  --glass-rim-light: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(15, 59, 76, 0.06);
  --glass-shadow: 0 10px 32px rgba(4, 24, 32, 0.20), 0 1px 3px rgba(4, 24, 32, 0.10);

  /* Fonts */
  --font-heading: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --tracking-tight: -0.02em;
  --tracking-display: -0.025em;

  --text-h1: 64px;
  --text-h2: 40px;
  --text-contact: 60px;
  --text-h3: 19px;
  --text-lead: 18px;
  --text-body: 16px;
  --text-small: 14px;
  --text-tiny: 13px;

  /* Radii */
  --radius-panel: 20px;     /* hero, about, contact */
  --radius-cover: 12px;     /* project covers */
  --radius-card: 12px;      /* floating hero cards, menu panel */
  --radius-bar: 8px;        /* timeline bars, icon tiles */
  --radius-pill: 999px;

  /* Layout: every block shares one container, so all edges line up */
  --page-gutter: 20px;      /* space between blocks and the window edge */
  --content-max: 1400px;
  --container: min(calc(100% - 2 * var(--page-gutter)), var(--content-max));
  --block-inset: 72px;      /* text inset inside hero, about, contact, strip, footer */
  --section-gap: 96px;      /* vertical space between blocks */

  /* Menu */
  --menu-h: 60px;           /* height of the bar, and the size of the hamburger */
  --menu-offset: 20px;      /* gap between the top of the hero and the bar */
  --menu-panel-w: 260px;
  --nav-item-width: 96px;
  --nav-item-height: 48px;
  --button-height: 52px;

  --focus-ring: 3px solid var(--color-teal);
  --focus-ring-on-dark: 3px solid var(--color-sun);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --ease-pill: cubic-bezier(.2, .8, .2, 1);
  --duration-pill: 320ms;
  --duration-morph: 620ms;
  --duration-reveal: 500ms;
  --stagger: 45ms;
}

@media (max-width: 900px) {
  :root {
    --block-inset: 32px;
    --section-gap: 64px;
    --text-h1: 48px;
    --text-h2: 34px;
    --text-contact: 44px;
  }
}

@media (max-width: 480px) {
  :root {
    --page-gutter: 12px;
    --block-inset: 20px;
    --menu-offset: 12px;
    --text-h1: 40px;
    --text-h2: 30px;
    --text-contact: 36px;
    --nav-item-width: 68px;
  }
}
