/*
 * Squall Line: tokens
 * Feel: an old harbor poster on a stormy night. Flat, layered drawings of sepia
 * storm clouds, a striped lighthouse and green rolling waves; tall condensed
 * capitals with a hard double drop shadow; mustard ribbon banners with notched
 * ends; square rust-red buttons; deep sea-green sections that meet on drawn
 * wave edges instead of straight lines.
 *
 * Fonts (free, Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=Barlow:ital,wght@0,400;0,500;0,600;1,400&family=Barlow+Condensed:wght@500;600;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: deep sea green, darkest at the bottom of the page */
  --sq-abyss: #0F1D19;
  --sq-deep: #152822;
  --sq-sea: #1F3A31;
  --sq-sea-2: #29493E;
  --sq-line: #3A5E51;
  --sq-line-bright: #5C8072;

  /* Text */
  --sq-foam: #EEE7D7;
  --sq-mist: #C4CEC5;
  --sq-kelp: #93AA9D;
  --sq-faint: #6A8578;
  --sq-ink: #0A1411;

  /* Accents: rust for action, mustard for ribbons and highlights */
  --sq-rust: #C4412F;
  --sq-rust-hi: #DA5641;
  --sq-rust-deep: #8E2B1F;
  --sq-mustard: #D8A73B;
  --sq-mustard-hi: #E9BE58;
  --sq-mustard-deep: #94701F;

  /* Scene colors: only inside drawn seascapes, tins and figures */
  --sq-sky-storm: linear-gradient(180deg, #2E211B 0%, #573A2C 38%, #8B5D41 72%, #B58358 100%);
  --sq-sky-dawn: linear-gradient(180deg, #3A3A33 0%, #6E6A55 40%, #B39A6C 78%, #D9B97F 100%);
  --sq-cloud-1: #3E2B22;
  --sq-cloud-2: #5E3F30;
  --sq-cloud-3: #7E553D;
  --sq-rock: #2B2D2A;
  --sq-rock-hi: #43463F;
  --sq-tower-red: #A8382A;
  --sq-tower-cream: #E4DCC8;
  --sq-wave: #2C5446;
  --sq-wave-hi: #3F6C5B;
  --sq-wave-foam: #A9BFB3;
  --sq-glow: radial-gradient(circle, rgba(246, 222, 150, .95) 0%, rgba(246, 222, 150, .35) 22%, rgba(246, 222, 150, 0) 66%);

  /* Fonts */
  --sq-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --sq-sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --sq-cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --sq-weight-regular: 400;
  --sq-weight-medium: 500;
  --sq-weight-semi: 600;
  --sq-weight-bold: 700;
  --sq-weight-heavy: 800;
  --sq-weight-black: 900;

  /* Type scale */
  --sq-text-hero: clamp(64px, 11vw, 168px);
  --sq-text-h1: clamp(46px, 6.4vw, 92px);
  --sq-text-h2: clamp(38px, 4.6vw, 66px);
  --sq-text-h3: 28px;
  --sq-text-lead: 19px;
  --sq-text-body: 17px;
  --sq-text-small: 14px;
  --sq-text-tiny: 13px;
  --sq-track-display: 0.02em;
  --sq-track-label: 0.12em;
  --sq-leading-display: .9;
  --sq-leading-body: 1.6;

  /* Hard drop shadows on display type: one ink step, plus a rust step on the hero */
  --sq-type-shadow: 3px 3px 0 var(--sq-ink);
  --sq-type-shadow-hero: 4px 4px 0 var(--sq-rust-deep), 8px 8px 0 var(--sq-ink);

  /* Shape: square corners, solid borders, hard shadows */
  --sq-radius: 2px;
  --sq-radius-tin: 18px;
  --sq-border: 1px solid var(--sq-line);
  --sq-border-bright: 2px solid var(--sq-foam);
  --sq-shadow-hard: 6px 6px 0 var(--sq-ink);
  --sq-shadow-hard-sm: 4px 4px 0 var(--sq-ink);
  --sq-ribbon-notch: 14px;
  --sq-ribbon-tilt: -2.5deg;

  /* Space */
  --sq-space-1: 4px;
  --sq-space-2: 8px;
  --sq-space-3: 12px;
  --sq-space-4: 16px;
  --sq-space-5: 24px;
  --sq-space-6: 32px;
  --sq-space-7: 48px;
  --sq-space-8: 72px;
  --sq-space-9: 112px;
  --sq-container: 1200px;
  --sq-narrow: 720px;
  --sq-gutter: clamp(18px, 4vw, 40px);
  --sq-wave-height: clamp(28px, 4vw, 56px);

  /* Motion */
  --sq-ease: cubic-bezier(.3, .7, .2, 1);
  --sq-fast: 160ms;
  --sq-slow: 600ms;
}
