/* elou site — tokens from the Organic design system (.claude/project/_ds/, styles.css).
   Fonts are self-hosted so pages make no third-party requests. */

@font-face {
  font-family: "Caprasimo";
  src: url("fonts/Caprasimo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);
  --color-neutral-700: #645c50;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;

  --mood-good: #56633f;
  --mood-okay: #e8c49f;
  --mood-bad: #b2622d;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 { font-size: clamp(38px, 9vw, 52px); }
h2 { font-size: 26px; margin-top: 48px; margin-bottom: 12px; }
h3 { font-size: 20px; margin-bottom: 6px; }

p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { font-weight: 700; }

a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-800); }
:focus-visible { outline: 2px solid var(--color-accent-700); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, #c67139 30%, transparent); }

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* — header — */
.site-header { padding: 28px 0 0; }
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
}
.lockup:hover { color: var(--color-text); }
.lockup span:last-child { font-family: var(--font-heading); font-size: 26px; line-height: 1; }

.mark { display: inline-flex; gap: 3px; }
.mark i { width: 11px; height: 11px; border-radius: 4px; }
.mark i:nth-child(1) { background: var(--mood-good); }
.mark i:nth-child(2) { background: var(--mood-okay); }
.mark i:nth-child(3) { background: var(--mood-bad); }

/* — page intro — */
.intro { padding: 56px 0 8px; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-neutral-700);
  margin-bottom: 12px;
}
.lede { font-size: 19px; color: var(--color-neutral-700); margin-top: 16px; text-wrap: pretty; }
.muted { color: var(--color-neutral-700); }

/* — cards — */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin: 28px 0 0;
}
.card > :last-child { margin-bottom: 0; }

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.contact h2 { margin: 0 0 4px; }
.contact p { margin: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #c67139;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.btn:hover { background: #b2622d; color: #fff; }

/* — FAQ — */
.faq { border-top: 1px solid var(--color-divider); }
.faq details { border-bottom: 1px solid var(--color-divider); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1;
  color: var(--color-neutral-700);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 18px; }
.faq .answer > :last-child { margin-bottom: 0; }

/* — mood key — */
.key { display: grid; gap: 10px; margin: 4px 0 14px; padding: 0; list-style: none; }
.key li { display: flex; align-items: center; gap: 12px; margin: 0; }
.swatch { width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; }
.swatch.good { background: var(--mood-good); }
.swatch.okay { background: var(--mood-okay); }
.swatch.bad { background: var(--mood-bad); }
.swatch.today { background: transparent; border: 1px solid color-mix(in srgb, #201e1d 18%, transparent); box-shadow: 0 0 0 2px var(--color-text); }
.swatch.future { background: transparent; border: 1px dashed color-mix(in srgb, #201e1d 22%, transparent); opacity: 0.7; }

/* — home — */
.hero { padding: 72px 0 24px; }
.hero h1 { font-size: clamp(88px, 26vw, 150px); line-height: 0.85; letter-spacing: -0.02em; }
.ribbon {
  display: grid;
  grid-template-rows: repeat(7, 13px);
  grid-auto-flow: column;
  grid-auto-columns: 13px;
  gap: 4px;
  margin: 40px 0 8px;
  overflow: hidden;
}
.ribbon i { border-radius: 4px; }
.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-divider);
}
.btn-secondary:hover { background: color-mix(in srgb, #201e1d 7%, transparent); color: var(--color-text); }

/* — footer — */
.site-footer {
  margin-top: 72px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--color-divider);
  font-size: 14px;
  color: var(--color-neutral-700);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--color-neutral-700); }
.site-footer a:hover { color: var(--color-text); }
