/* Tokens: every color, font and size the site uses, in one place (BRIEF.md decision 3).
   Light mode only for now; a dark version would redefine these. From the explorer prototype. */
/* The two fonts, from the site itself (Zach, Nov 11): Google's own variable files, Latin
   and the accented Latin beyond it, so text draws as it did from Google Fonts, but no
   visitor's IP address goes to Google. The licenses sit beside them in /fonts. */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(/fonts/jost-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(/fonts/jost-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Bodoni"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(/fonts/libre-bodoni-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Bodoni"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(/fonts/libre-bodoni-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* The page matches Claude's background (Zach, Oct 30); sheets and cards sit a shade lighter */
  --paper: #faf9f5;
  --paper-2: #ffffff;
  --ink: #1f2b28;
  --ink-2: #4b524d;
  --line: rgba(31, 43, 40, .16);
  --harvest: #a16a1c;
  --slate: #3a5565;
  --slate-line: rgba(58, 85, 101, .5);
  --harvest-soft: rgba(161, 106, 28, .10);
  --harvest-line: rgba(161, 106, 28, .45);
  /* The villages' own green, for the village list (BRIEF.md decision 45): the green
     between the houses, beside the tree's */
  --village: #4c6a43;
  --village-soft: rgba(76, 106, 67, .12);
  --village-line: rgba(76, 106, 67, .45);
  --village-paper: #eef2e8;
  --glass: rgba(255, 255, 255, .82);
  --glass-strong: rgba(255, 255, 255, .94);
  --frost: rgba(250, 249, 245, .62);
  /* Thin glass, as Apple's lighter materials (Zach, Oct 30): mostly clear, a soft blur
     with the colors behind lifted, and a bright edge so it still reads as a surface */
  --glass-thin: rgba(250, 249, 245, .34);
  --glass-edge: rgba(255, 255, 255, .6);
  --card: rgba(255, 255, 255, .5);
  --field: rgba(255, 255, 255, .35);
  --ink-faint: rgba(31, 43, 40, .2);
  --ink-wash: rgba(31, 43, 40, .06);
  --shadow: rgba(31, 43, 40, .12);
  --shadow-soft: rgba(31, 43, 40, .08);
  --shadow-deep: rgba(31, 43, 40, .22);
  --ink-veil: rgba(31, 43, 40, .55);
  /* The bright inner edge of glass, and lighter or stronger frost over the land */
  --shine-soft: rgba(255, 255, 255, .4);
  --shine: rgba(255, 255, 255, .55);
  --shine-strong: rgba(255, 255, 255, .7);
  --shine-bright: rgba(255, 255, 255, .9);
  --paper-clear: rgba(250, 249, 245, 0);
  --paper-wash: rgba(250, 249, 245, .12);
  --frost-thin: rgba(250, 249, 245, .4);
  --frost-panel: rgba(250, 249, 245, .72);
  --frost-strong: rgba(250, 249, 245, .84);
  --slate-soft: rgba(58, 85, 101, .12);
  /* A page's outline while it comes: grey, slate for earlier work, and the light that
     runs over it (Zach, Oct 31) */
  --outline: rgba(31, 43, 40, .08);
  --outline-slate: rgba(58, 85, 101, .14);
  --outline-light: rgba(255, 255, 255, .6);
  /* The header bar's height: its padding, the Menu (phone) or the logo (desk), and its line */
  --header-bar: 72px;
  /* Where a way back stays as the page scrolls: where it sits at the page's top, under the
     header, so it never moves (Zach, Nov 14) */
  --page-top: 28px;
  --back-top: calc(var(--header-bar) + var(--page-top) + env(safe-area-inset-top));
  --back-h: 44px;
  /* How far over the hero a page's way back sits above the page's top, across from Drag to
     turn on a phone (Zach, Oct 30) */
  --back-lift: -14px;
  /* The space left under a way back that stays */
  --back-gap: 8px;
  /* A photo open full screen sits on near-black */
  --night: rgba(20, 26, 24, .95);
  /* A project's photo open full screen: solid, so nothing of the page shows (decision 32) */
  --night-solid: #0f1413;
  /* Words on it: a photo's count, and its description under the caption */
  --paper-soft: rgba(250, 249, 245, .85);
  --paper-dim: rgba(250, 249, 245, .72);
  --night-veil: rgba(20, 26, 24, .55);
  /* A photo hero's darkened foot, and the words on it (Zach chose D2, BRIEF.md decision 31) */
  /* Its darkest, also under a tall photo's caption in the viewer (Zach chose, Nov 15) */
  --photo-shade: rgba(10, 14, 13, .72);
  --photo-foot: linear-gradient(rgba(10, 14, 13, 0) 52%, rgba(10, 14, 13, .3) 74%, var(--photo-shade) 100%);
  --on-photo: #fff;
  --kicker-on-photo: #f0c987;
  /* A card's darkened foot, the map's cards and the list's rows alike (Zach chose A, Nov 14),
     lightened the same day (Zach: "the cards feel a bit dark"); its words' light shadow
     keeps them clear over a light picture */
  --card-foot: linear-gradient(rgba(10, 14, 13, 0) 42%, rgba(10, 14, 13, .3) 66%, rgba(10, 14, 13, .66) 100%);
  --slate-on-photo: #c3d3dd;
  --sheet-shadow: 0 -10px 30px rgba(10, 14, 13, .28);
  --title-shadow: 0 1px 12px rgba(0, 0, 0, .25);
  /* The page behind an open sheet (Zach, Oct 30) */
  --dim: rgba(31, 43, 40, .28);
  /* A portrait's placeholder until the team's shoot (BRIEF.md decision 14) */
  --portrait: #d9d5cb;
  --portrait-2: #c9c4b8;

  /* The explorer's land, trees and card pictures (read by the explorer's script) */
  --tree: #56664f;
  --land-low: #bdb9ae;
  --land-high: #24332e;
  --icon-paper: #f1efe9;
  --icon-ground: #8d958a;
  /* A converted building as a white model (BRIEF.md decision 26; Zach chose A3, Nov 18):
     its walls, its glass a faint warm clear, and the soft shadow under it */
  --model: #f4efe6;
  --model-glass: #f6f1e8;
  --model-shadow: #2e2a24;
  /* Its soft light: the sky's above and the ground's below */
  --light-sky: #ffffff;
  --light-ground: #cfc6b8;

  /* Let's talk's budget, as a pile of Studio's gold coins (Zach, Oct 31) */
  --coin-face: #e2b04a;
  --coin-edge: #b5832b;
  --coin-ring: #f4d58a;
  --coin-ground: #e3d8c4;
  --coin-box: #f4f0ea;
  --coin-box-2: #efe9de;
  --coin-label: #8a6a3a;
  /* The thank-you's confetti, Studio's burst in the site's colors (Zach, Oct 31) */
  --confetti: #a16a1c #3a5565 #e2b04a #f4d58a #56664f #d9d5cb #c9a35c;
  /* Link preview cards (BRIEF.md decision 18), read by the build's painter: the
     prototype's paper, as Zach approved the cards, its glass and the land's stone */
  --card-paper: #ebe9e3;
  --card-glass: #f4f2ed;
  --card-stone: #8d897c;

  --sans: "Jost", ui-sans-serif, system-ui, sans-serif;
  --serif: "Libre Bodoni", Georgia, serif;

  --text: 17px;
  --small: 14px;
  --nav: 15px;
  --title: clamp(36px, 6vw, 54px);
  --heading: 26px;
  --logo-phone: 30px;
  --logo-desk: 44px;
  --gutter: 16px;
  --gutter-desk: 48px;
  --measure: 640px;

  /* Every book cover on a person's page and in the reader's Up next is one shape, so a row
     of them lines up (Zach, Nov 18); the first page fills it */
  --cover-ratio: 2 / 3;
  /* The search in a person's sheet of posts */
  --search-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Ccircle cx='8.5' cy='8.5' r='5.5'/%3E%3Cpath d='M13 13l4 4'/%3E%3C/svg%3E");
  /* A publication read as a book (BRIEF.md decision 54): its paper, the shadow it casts on
     the dark, the fold where its pages meet, a turning page's shade and the shadow it casts
     on the page under it, a cover's spine on the shelf, and the page strip's band */
  --book-paper: #fbfaf6;
  --book-shadow: rgba(0, 0, 0, .45);
  --book-shadow-near: rgba(0, 0, 0, .3);
  --book-fold: rgba(0, 0, 0, .22);
  --book-fold-soft: rgba(0, 0, 0, .08);
  --leaf-dark: rgba(0, 0, 0, .5);
  --leaf-edge: rgba(0, 0, 0, .35);
  --leaf-light: rgba(255, 255, 255, .12);
  --leaf-cast: rgba(0, 0, 0, .45);
  --leaf-cast-soft: rgba(0, 0, 0, .12);
  --spine-dark: rgba(0, 0, 0, .28);
  --spine-light: rgba(255, 255, 255, .18);
  --spine-soft: rgba(0, 0, 0, .06);
  --strip-night: rgba(24, 30, 28, .97);
  --strip-edge: rgba(255, 255, 255, .08);
  --strip-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Crect x='2.5' y='2.5' width='6' height='6'/%3E%3Crect x='11.5' y='2.5' width='6' height='6'/%3E%3Crect x='2.5' y='11.5' width='6' height='6'/%3E%3Crect x='11.5' y='11.5' width='6' height='6'/%3E%3C/svg%3E");
}
@media (min-width: 720px) { :root { --header-bar: 89px; --page-top: 56px; --back-lift: -32px; } }
