/* Reicha design system v1: tokens */
:root {
  --fresh-tea: #B7CC32;
  --tea-leaf: #66752D;
  --deep-green: #29382B;
  --ceramic-cream: #F3F0E5;
  --pale-tea: #E3E7D5;
  --counter-stone: #B8B8AA;
  --warm-wood: #6F4330;
  --amber-tea: #C58B27;

  --display: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --jp-serif: "Zen Old Mincho", serif;
  --jp-sans: "Zen Kaku Gothic New", sans-serif;

  --space-8: 8px;
  --space-14: 14px;
  --space-28: 28px;
  --space-56: 56px;

  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ceramic-cream);
  color: var(--deep-green);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 23px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--deep-green); text-underline-offset: 3px; }
a:hover { color: var(--warm-wood); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--deep-green); outline-offset: 3px; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
strong { font-weight: 600; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--space-28); }
@media (min-width: 900px) { .container { padding: 0 var(--space-56); } }

/* Type styles */
.wordmark { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 600; color: var(--deep-green); text-decoration: none; }
.wordmark.lg { font-size: 60px; line-height: 60px; }
.wordmark.md { font-size: 30px; line-height: 30px; }
.headline { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 500; font-size: 28px; line-height: 32px; }
.h2 { font-family: var(--sans); font-size: 24px; line-height: 28px; font-weight: 600; }
.h3 { font-family: var(--sans); font-size: 15px; line-height: 23px; font-weight: 600; }
.small { font-size: 12px; line-height: 19px; }
.eyebrow { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.jp { font-family: var(--jp-serif); font-size: 22px; line-height: 32px; font-weight: 700; letter-spacing: 0.2em; color: var(--warm-wood); }
.jp.vertical { writing-mode: vertical-rl; }
.jp-text { font-family: var(--jp-sans); font-weight: 400; }
.rule { width: 32px; height: 4px; background: var(--fresh-tea); }

/* Layout */
.section { padding: var(--space-56) 0; }
@media (min-width: 900px) { .section { padding: calc(var(--space-56) * 2) 0; } }
.section.flush-top { padding-top: var(--space-28); }
.stack-8 { display: flex; flex-direction: column; gap: var(--space-8); }
.stack-14 { display: flex; flex-direction: column; gap: var(--space-14); }
.section-head { display: flex; flex-direction: column; gap: var(--space-8); margin-bottom: var(--space-28); }
.measure { max-width: 600px; }

/* Header */
.site-header { border-bottom: 1px solid var(--counter-stone); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-14); height: 72px; }
.brand { display: flex; align-items: baseline; gap: var(--space-8); text-decoration: none; }
.brand .by { font-size: 12px; line-height: 19px; color: var(--warm-wood); }
.nav { display: flex; gap: var(--space-28); font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
@media (max-width: 560px) { .nav { gap: var(--space-14); } .nav .hide-sm { display: none; } }

/* Buttons and tags */
.button {
  display: inline-flex; align-items: center; gap: var(--space-8);
  background: var(--deep-green); color: var(--ceramic-cream);
  padding: var(--space-14) var(--space-28); border-radius: var(--radius-md);
  font-size: 15px; line-height: 23px; font-weight: 600; text-decoration: none;
}
.button:hover { background: var(--warm-wood); color: var(--ceramic-cream); }
.button.ghost { background: transparent; color: var(--deep-green); border: 1px solid var(--deep-green); }
.button.ghost:hover { background: var(--deep-green); color: var(--ceramic-cream); }
.tag {
  align-self: flex-start; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px var(--space-8); border-radius: var(--radius-sm); border: 1px solid var(--counter-stone); color: var(--warm-wood);
}

/* Photos */
.photo { border-radius: var(--radius-sm); object-fit: cover; width: 100%; }

/* Dark band (deep-green ground) */
.band { background: var(--deep-green); color: var(--pale-tea); }
.band .h2, .band .h3, .band strong { color: var(--ceramic-cream); }
.band .eyebrow { color: var(--fresh-tea); }
.band a { color: var(--ceramic-cream); }
.band a:hover { color: var(--fresh-tea); }

/* Brown tea (hojicha) ground */
.brown { background: var(--warm-wood); color: var(--ceramic-cream); }
.brown .h2, .brown .h3, .brown .jp { color: var(--ceramic-cream); }
.brown .wordmark { color: var(--ceramic-cream); }
.brown .tag { color: var(--ceramic-cream); border-color: var(--amber-tea); }
.brown .rule { background: var(--amber-tea); }

/* Footer */
.site-footer { border-top: 1px solid var(--counter-stone); padding: var(--space-28) 0 var(--space-56); font-size: 12px; line-height: 19px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-14); }
