/* THE GRAND 10: the look, in one place.
   Change a colour, a typeface or a spacing here and it changes everywhere. */

:root {
  /* the palette */
  --ink: #3a1012;
  --page: #F4EEE6;
  --panel: #dbd0c2;
  --gold: #B8873C;
  --tan: #9d7f61;
  --cream-hi: #FFF8EE;

  /* ink, turned down for quieter text and for rules */
  --quiet-lg: rgba(58, 16, 18, 0.55);
  --quiet-sm: rgba(58, 16, 18, 0.72);
  --rule: rgba(58, 16, 18, 0.2);

  /* three colours from outside the palette, each used for one thing only */
  --pin-red: #e53b2c;       /* THE GRAND 10's pin on the map */
  --pin-red-dot: #8a241c;   /* the dot in that pin */
  --pin-black: #17100f;     /* the other places' pins */
  --sold-green: #2f8f5b;    /* the dot beside "Sold" */

  /* the opening's sky, top to bottom, with its peach glow and its deeper blue */
  --sky-1: #B2CAE4;
  --sky-2: #C0D3E8;
  --sky-3: #D0E2F2;
  --sky-4: #E5E6EB;
  --sky-glow: rgb(240, 204, 168);
  --sky-deep: rgba(150, 177, 213, 0.6);

  /* the ground behind each layout's cut-away picture, matched to the picture */
  --face-2bhk: #f8ebe0;
  --face-3bhk: #f0e2d9;

  /* type */
  --head: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Geist', 'Helvetica Neue', Arial, sans-serif;

  /* space */
  --pad: 128px;      /* above a section */
  --gutter: 48px;    /* at the sides of the page */
  --max: 1280px;     /* the widest a column of content grows */

  /* corners */
  --round-screen: 28px;  /* the film, the layouts, the walk-through, the room pictures */
  --round-card: 24px;    /* tiles and the row of interior pictures */
  --round-pill: 999px;
}

/* A screen under 1024 px wide. */
@media (max-width: 1023px) {
  :root {
    --pad: 88px;
    --gutter: 24px;
  }
}

/* A phone in the hand. */
@media (max-width: 640px) {
  :root {
    --pad: 72px;
    --gutter: 20px;
  }
}
