/* Maxime GRIS, Editorial
   Ported from Claude Design prototype to plain CSS.
   Single page, no framework, no build step. */

:root {
  --bg: oklch(0.97 0.012 85);
  --fg: oklch(0.22 0.02 50);
  --muted: oklch(0.5 0.02 50);
  --accent: oklch(0.55 0.18 28);
  --border: color-mix(in oklch, var(--fg) 12%, transparent);
  --border-strong: color-mix(in oklch, var(--fg) 23%, transparent);
  --pill-bg: oklch(0.99 0.005 80);
  --available: oklch(0.72 0.14 145);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

/* Top + bottom meta strips */
.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 64px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta .availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--available);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--available) 18%, transparent);
}

.rule {
  height: 1px;
  background: currentColor;
  opacity: 0.12;
  margin: 18px 64px 0;
}

.rule.bottom { margin: 0 64px 18px; }

/* Main grid */
main {
  flex: 1;
  padding: 0 64px;
  display: flex;
  align-items: center;
}

.grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 48px 0;
}

/* Left column: name + credibility strip */
.wordmark {
  font-family: var(--serif);
  font-size: 124px;
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 0;
}

.wordmark .last {
  font-style: italic;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.credibility {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

.credibility .sep { color: var(--border-strong); }

/* Right column: body */
.body {
  border-left: 1px solid color-mix(in oklch, var(--fg) 15%, transparent);
  padding-left: 36px;
}

.lede {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.4;
  margin: 0;
  font-style: italic;
  color: var(--fg);
  text-wrap: pretty;
}

.body p.dek {
  font-size: 15px;
  line-height: 1.6;
  margin: 14px 0 0;
  color: var(--muted);
  text-wrap: pretty;
  max-width: 380px;
}

.cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fg);
  color: var(--bg);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cta:hover { opacity: 0.9; transform: translateY(-1px); }
.cta .arr { display: inline-flex; opacity: 0.85; }

.elsewhere {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.elsewhere .label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 2px;
}

.link-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--pill-bg);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.link-pill:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.link-pill .icon { display: inline-flex; opacity: 0.9; }
.link-pill .label-text {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.link-pill .right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.link-pill .host {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.link-pill .arr {
  color: var(--muted);
  display: inline-flex;
  transition: transform 0.15s ease;
}

.link-pill:hover .arr { transform: translateX(2px); color: var(--fg); }

/* Footer */
footer.meta {
  padding: 0 64px 24px;
  text-transform: none;
  letter-spacing: 0.04em;
}

footer .lang { display: inline-flex; align-items: center; }
footer .lang .sep { margin: 0 8px; color: var(--border-strong); }
footer .lang a {
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 1px;
}
footer .lang a.active {
  color: var(--fg);
  border-bottom: 1px solid var(--fg);
}

/* ───── Mobile ───── */
@media (max-width: 768px) {
  .meta { padding: 20px 24px 0; font-size: 10.5px; }
  .rule { margin: 14px 24px 0; }
  .rule.bottom { margin: 0 24px 14px; }

  main { padding: 28px 24px; }

  .grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0;
  }

  .wordmark { font-size: 60px; }
  .credibility { margin-top: 20px; font-size: 10.5px; gap: 6px 12px; }

  .body {
    border-left: none;
    padding-left: 0;
  }

  .lede { font-size: 18px; }
  .body p.dek { font-size: 14.5px; }

  .cta { margin-top: 22px; padding: 12px 20px; font-size: 14px; }
  .elsewhere { margin-top: 22px; }

  .link-pill { gap: 12px; padding: 12px 16px; }
  .link-pill .label-text { font-size: 14px; }
  .link-pill .host { font-size: 11px; }

  footer.meta { padding: 0 24px 18px; font-size: 10.5px; }
}

/* Print + reduced-motion niceties */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
