/* Snowfold design tokens: warm print paper and ink, cold snow and sky, and
   the three typefaces. Every page loads this file; other sheets only refer
   to these names. */
:root {
  /* Paper and ink, from the illustrated atlas. */
  --powder-paper:#f3e6c9;
  --powder-cream:#fff3d7;
  --powder-light:#fffaeb;
  --powder-ink:#15344a;
  --powder-muted:#4e5c5e;
  --powder-red:#a83c26;
  --powder-gold:#f0b844;
  --powder-tint:#f5dda6;
  --powder-rule:#96754d;
  --powder-line:#ccaf80;
  --powder-select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.2 1.4 6 6.3l4.8-4.9' fill='none' stroke='%2315344a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  /* Snow, ice and evergreen. */
  --powder-snow:#e4edf0;
  --snow-fresh:#fbfdfd;
  --snow-drift:#eef4f6;
  --snow-shade:#cbdbe3;
  --snow-blue:#a5c0cf;
  --ice:#78a4b8;
  --glacier:#3c6f86;
  --spruce:#1f4b45;
  --spruce-deep:#12322f;
  --night:#0b2233;

  /* Typefaces. Fraunces for names and headlines, National Park for signs,
     labels and reading text, DM Mono for measurements. */
  --font-display:"Fraunces","Iowan Old Style","Palatino Linotype",Georgia,serif;
  --font-sign:"National Park","Avenir Next","Helvetica Neue",Arial,sans-serif;
  --font-data:"DM Mono",ui-monospace,"SFMono-Regular",Consolas,monospace;
  --powder-serif:var(--font-display);
  --powder-display:var(--font-sign);
  --powder-sans:var(--font-sign);
  --powder-mono:var(--font-data);
  --serif:var(--font-display);
  --sans:var(--font-sign);

  /* Print details shared by cards, panels and buttons. */
  --powder-shadow:3px 3px 0 #15344a2b;
  --powder-stripe:linear-gradient(90deg,var(--powder-ink) 54%,var(--powder-red) 54% 80%,var(--powder-gold) 80%);
  --paper-grain:radial-gradient(#624a3323 .5px,transparent .72px) 0 0 / 7px 7px;
  /* Settled snow for the top edge of a sign: two ends and a tile that repeats
     between them, so the drifts keep their size on a sign of any width. */
  --snow-cap:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M0 12V4C14 5 22 1 40 1.5S70 6 90 5S120 0 142 2S170 7 186 5.5C192 4.9 196 3.7 200 4V12Z' fill='%23fbfdfd'/%3E%3Cpath d='M0 4C14 5 22 1 40 1.5S70 6 90 5S120 0 142 2S170 7 186 5.5C192 4.9 196 3.7 200 4' fill='none' stroke='%238fb0c2' stroke-width='1.3'/%3E%3C/svg%3E");
  --snow-cap-start:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12' preserveAspectRatio='none'%3E%3Cpath d='M0 12C2 7 12 3 26 4V12Z' fill='%23fbfdfd'/%3E%3Cpath d='M0 12C2 7 12 3 26 4' fill='none' stroke='%238fb0c2' stroke-width='1.3'/%3E%3C/svg%3E");
  --snow-cap-end:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12' preserveAspectRatio='none'%3E%3Cpath d='M0 12V4C14 5 22 7 26 12Z' fill='%23fbfdfd'/%3E%3Cpath d='M0 4C14 5 22 7 26 12' fill='none' stroke='%238fb0c2' stroke-width='1.3'/%3E%3C/svg%3E");
  /* A ridge line with pines, used as a rule between sections. */
  --ridge-rule:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 28'%3E%3Cpath d='M40 26 58 9l6 6 9-12 23 23zM232 26 262 5l8 8 6-4 17 17z' fill='%23fff3d7'/%3E%3Cpath d='M73 3 67.6 10.2 70 9.2l2.4 2.8 3-2.6 2.6 2.2 3-.6zM58 9l-5 4.7 2.6-.7 2 2.4 2.4-2.2 2-.2zM262 5l-10 7 3.4-1 2.6 3.4 3.4-3.4 3.2 2.6L268 11z' fill='%23fbfdfd' stroke='%238fb0c2' stroke-width='.8' stroke-linejoin='round'/%3E%3Cpath d='M0 26H40L58 9l6 6 9-12 23 23h42l5-10 5 10h8l4-8 4 8h68L262 5l8 8 6-4 17 17h37l4-8 4 8h8l6-12 6 12h8l3.5-7 3.5 7h47' fill='none' stroke='%2396754d' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
  --ease-settle:cubic-bezier(.2,.8,.2,1);
  --ease-paper:cubic-bezier(.3,1.35,.5,1);
}

.powder-brand-mark { display:block; flex:none; width:29px; height:29px; }
