{
  "$description": "rainyseason.cr design tokens: the named type scale, in the W3C Design Tokens Community Group format (DTCG 2025.10). This file is the source: node build-tokens.mjs writes the --type-* block in tokens.css and the .rs-* classes in parts/type-scale.css, and --check fails if either has drifted or if this file breaks the format. Every $value is plain DTCG: sizes are px dimensions, lineHeight is a multiplier, letterSpacing is the px it comes to at that size. What the format has no place for lives under $extensions.cr.rainyseason: the CSS class, the phone values (the site switches at 767px), tracking as a share of the size (a {track.*} token), lines the design fixes in whole pixels (fixedLine), the case and ink, and each style's nearest Material 3 role.",
  "font": {
    "code": {
      "$type": "fontFamily",
      "$value": [
        "Space Mono",
        "ui-monospace",
        "SF Mono",
        "Menlo",
        "monospace"
      ],
      "$extensions": {
        "cr.rainyseason": {
          "css": "--font-code"
        }
      }
    }
  },
  "weight": {
    "light": {
      "$type": "fontWeight",
      "$value": 300,
      "$extensions": {
        "cr.rainyseason": {
          "css": "--w-light"
        }
      }
    },
    "regular": {
      "$type": "fontWeight",
      "$value": 400
    },
    "medium": {
      "$type": "fontWeight",
      "$value": 500,
      "$description": "The house heavy. Never 600 or 700."
    }
  },
  "track": {
    "$description": "The tracking ladder, mirrored from tokens.css (--track-*). Each value is a share of the type size, in em: bigger type tracks tighter; caps and eyebrows open up.",
    "tight": {
      "$type": "number",
      "$value": -0.02
    },
    "snug": {
      "$type": "number",
      "$value": -0.01
    },
    "micro": {
      "$type": "number",
      "$value": 0.02
    },
    "head": {
      "$type": "number",
      "$value": 0.08
    },
    "label": {
      "$type": "number",
      "$value": 0.1
    },
    "eyebrow": {
      "$type": "number",
      "$value": 0.14
    }
  },
  "type": {
    "display": {
      "$type": "typography",
      "$description": "One word, page-scale, in 3D chrome (the 404). The text values are its plain stand-in until the chrome draws.",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 150,
          "unit": "px"
        },
        "fontWeight": "{weight.medium}",
        "letterSpacing": {
          "value": -3.0,
          "unit": "px"
        },
        "lineHeight": 1
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-display",
          "case": "none",
          "colour": "ink",
          "treatment": "chrome",
          "material": "display-large",
          "chrome": {
            "width": {
              "value": 440,
              "unit": "px"
            }
          },
          "phone": {
            "fontSize": {
              "value": 100,
              "unit": "px"
            },
            "chrome": {
              "width": {
                "value": 300,
                "unit": "px"
              }
            },
            "letterSpacing": {
              "value": -2.0,
              "unit": "px"
            }
          },
          "tracking": "{track.tight}"
        }
      }
    },
    "h1": {
      "$type": "typography",
      "$description": "The hero title, in 3D chrome (a retreat's /name). One per page.",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 28,
          "unit": "px"
        },
        "fontWeight": "{weight.medium}",
        "letterSpacing": {
          "value": -0.56,
          "unit": "px"
        },
        "lineHeight": 1.1
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-h1",
          "case": "none",
          "colour": "ink",
          "treatment": "chrome",
          "material": "display-medium",
          "chrome": {
            "height": {
              "value": 42.5,
              "unit": "px"
            }
          },
          "phone": {
            "fontSize": {
              "value": 20,
              "unit": "px"
            },
            "chrome": {
              "height": {
                "value": 31,
                "unit": "px"
              }
            },
            "letterSpacing": {
              "value": -0.4,
              "unit": "px"
            }
          },
          "tracking": "{track.tight}"
        }
      }
    },
    "h2": {
      "$type": "typography",
      "$description": "A section title, in 3D chrome, with an Eyebrow over it and the seconds clock beside it (\"> Your coach\").",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 32,
          "unit": "px"
        },
        "fontWeight": "{weight.medium}",
        "letterSpacing": {
          "value": -0.64,
          "unit": "px"
        },
        "lineHeight": 1.1
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-h2",
          "case": "none",
          "colour": "ink",
          "treatment": "chrome",
          "material": "display-small",
          "chrome": {
            "height": {
              "value": 42.5,
              "unit": "px"
            }
          },
          "phone": {
            "fontSize": {
              "value": 22,
              "unit": "px"
            },
            "chrome": {
              "height": {
                "value": 31,
                "unit": "px"
              }
            },
            "letterSpacing": {
              "value": -0.44,
              "unit": "px"
            }
          },
          "tracking": "{track.tight}"
        }
      }
    },
    "statement": {
      "$type": "typography",
      "$description": "The opening line of a section, drawn in the dot matrix (\"Your first triathlon starts in Costa Rica.\"). The text values are its plain stand-in; the dot is one matrix dot.",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 48,
          "unit": "px"
        },
        "fontWeight": "{weight.regular}",
        "letterSpacing": {
          "value": -0.96,
          "unit": "px"
        },
        "lineHeight": 1.15
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-statement",
          "case": "none",
          "colour": "ink",
          "treatment": "matrix",
          "material": "headline-large",
          "dot": {
            "value": 5,
            "unit": "px"
          },
          "phone": {
            "fontSize": {
              "value": 28,
              "unit": "px"
            },
            "lineHeight": 1.2,
            "dot": {
              "value": 3,
              "unit": "px"
            },
            "letterSpacing": {
              "value": -0.56,
              "unit": "px"
            }
          },
          "tracking": "{track.tight}"
        }
      }
    },
    "h3": {
      "$type": "typography",
      "$description": "A card title (the plan cards: everything included, the process).",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 24,
          "unit": "px"
        },
        "fontWeight": "{weight.regular}",
        "letterSpacing": {
          "value": -0.48,
          "unit": "px"
        },
        "lineHeight": 1.3333
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-h3",
          "case": "none",
          "colour": "ink",
          "material": "headline-small",
          "phone": {
            "fontSize": {
              "value": 22,
              "unit": "px"
            },
            "lineHeight": 1.2727,
            "letterSpacing": {
              "value": -0.44,
              "unit": "px"
            }
          },
          "tracking": "{track.tight}",
          "fixedLine": true
        }
      }
    },
    "h4": {
      "$type": "typography",
      "$description": "A small card title or a name (a venture, a card in a column).",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 20,
          "unit": "px"
        },
        "fontWeight": "{weight.regular}",
        "letterSpacing": {
          "value": -0.2,
          "unit": "px"
        },
        "lineHeight": 1.1
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-h4",
          "case": "none",
          "colour": "ink",
          "material": "title-large",
          "phone": {
            "lineHeight": 1.2,
            "tracking": "normal",
            "letterSpacing": {
              "value": 0,
              "unit": "px"
            }
          },
          "tracking": "{track.snug}",
          "fixedLine": true
        }
      }
    },
    "description": {
      "$type": "typography",
      "$description": "The one line under a hero title, saying what the thing is. Every hero stack has one.",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 20,
          "unit": "px"
        },
        "fontWeight": "{weight.regular}",
        "letterSpacing": {
          "value": 0,
          "unit": "px"
        },
        "lineHeight": 1.4
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-description",
          "case": "none",
          "colour": "ink",
          "material": "title-medium"
        }
      }
    },
    "lead": {
      "$type": "typography",
      "$description": "The one line under a section title.",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 16,
          "unit": "px"
        },
        "fontWeight": "{weight.regular}",
        "letterSpacing": {
          "value": 0,
          "unit": "px"
        },
        "lineHeight": 1.5
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-lead",
          "case": "none",
          "colour": "soft",
          "material": "body-large",
          "phone": {
            "fontSize": {
              "value": 14,
              "unit": "px"
            },
            "lineHeight": 1.6
          },
          "fixedLine": true
        }
      }
    },
    "body": {
      "$type": "typography",
      "$description": "Running copy: a bio, an invitation, the text on a card. Put the class on the block; its paragraphs take it.",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 14,
          "unit": "px"
        },
        "fontWeight": "{weight.regular}",
        "letterSpacing": {
          "value": 0,
          "unit": "px"
        },
        "lineHeight": 1.5714
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-body",
          "case": "none",
          "colour": "soft",
          "material": "body-medium",
          "phone": {
            "lineHeight": 1.6
          },
          "fixedLine": true
        }
      }
    },
    "eyebrow": {
      "$type": "typography",
      "$description": "The caps kicker over a title (THE INVITATION). Light, tracked open.",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 14,
          "unit": "px"
        },
        "fontWeight": "{weight.light}",
        "letterSpacing": {
          "value": 1.96,
          "unit": "px"
        },
        "lineHeight": 1.2308
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-eyebrow",
          "case": "uppercase",
          "colour": "soft",
          "material": "label-large",
          "phone": {
            "fontSize": {
              "value": 13,
              "unit": "px"
            },
            "letterSpacing": {
              "value": 1.82,
              "unit": "px"
            }
          },
          "tracking": "{track.eyebrow}",
          "cssLineHeight": "normal",
          "lineHeightNote": "Fira Code's own leading, (1800 + 600) / 1950; the CSS keeps the browser's normal"
        }
      }
    },
    "label": {
      "$type": "typography",
      "$description": "A caps facts row under the description (COSTA RICA | 6 DAYS, 5 NIGHTS).",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 12,
          "unit": "px"
        },
        "fontWeight": "{weight.light}",
        "letterSpacing": {
          "value": 1.68,
          "unit": "px"
        },
        "lineHeight": 1.3
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-label",
          "case": "uppercase",
          "colour": "soft",
          "material": "label-medium",
          "phone": {
            "fontSize": {
              "value": 11,
              "unit": "px"
            },
            "letterSpacing": {
              "value": 1.54,
              "unit": "px"
            }
          },
          "tracking": "{track.eyebrow}"
        }
      }
    },
    "caption": {
      "$type": "typography",
      "$description": "The caps line under a picture or the globe.",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 13,
          "unit": "px"
        },
        "fontWeight": "{weight.light}",
        "letterSpacing": {
          "value": 1.3,
          "unit": "px"
        },
        "lineHeight": 1.7
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-caption",
          "case": "uppercase",
          "colour": "soft",
          "material": "body-small",
          "phone": {
            "fontSize": {
              "value": 12,
              "unit": "px"
            },
            "lineHeight": 1.75,
            "tracking": "{track.head}",
            "letterSpacing": {
              "value": 0.96,
              "unit": "px"
            }
          },
          "tracking": "{track.label}"
        }
      }
    },
    "pill": {
      "$type": "typography",
      "$description": "The text in a pill: caps, plain, never a glow. The pill's ring is the component's (22px tall, 20px on a phone).",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 10.5,
          "unit": "px"
        },
        "fontWeight": "{weight.regular}",
        "letterSpacing": {
          "value": 1.47,
          "unit": "px"
        },
        "lineHeight": 1
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-pill-text",
          "case": "uppercase",
          "colour": "inherit",
          "material": "label-small",
          "phone": {
            "fontSize": {
              "value": 10,
              "unit": "px"
            },
            "letterSpacing": {
              "value": 1.4,
              "unit": "px"
            }
          },
          "tracking": "{track.eyebrow}"
        }
      }
    },
    "button": {
      "$type": "typography",
      "$description": "The words on a button (\"save your place\"), as typed, never capitalised by the style.",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 14,
          "unit": "px"
        },
        "fontWeight": "{weight.regular}",
        "letterSpacing": {
          "value": 0,
          "unit": "px"
        },
        "lineHeight": 1
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-button-text",
          "case": "none",
          "colour": "inherit",
          "material": "label-large"
        }
      }
    },
    "mono": {
      "$type": "typography",
      "$description": "A command in the curl bar ($ curl rainyseason.cr/llms.txt). No ligatures.",
      "$value": {
        "fontFamily": "{font.code}",
        "fontSize": {
          "value": 12,
          "unit": "px"
        },
        "fontWeight": "{weight.regular}",
        "letterSpacing": {
          "value": 0.24,
          "unit": "px"
        },
        "lineHeight": 1
      },
      "$extensions": {
        "cr.rainyseason": {
          "class": "rs-mono",
          "case": "none",
          "colour": "inherit",
          "material": "label-medium",
          "tracking": "{track.micro}"
        }
      }
    }
  }
}
