/* ============================================================
   Fraua — base stylesheet for the landing directions
   Tinta sobre papel · una sola terracotta · 60 / 30 / 10
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Palette */
  --fr-charcoal:       #1B1B19;
  --fr-charcoal-soft:  #2A2A26;
  --fr-pampas:         #F9F7F2;
  --fr-sage:           #D1D9D0;
  --fr-sage-pale:      #E1E5E0;
  --fr-gray:           #6F6F69;
  --fr-terracotta:     #D97757;
  --fr-terracotta-deep:#B85C3E;
  --fr-green:          #8AA08D;

  --fr-rule:           rgba(27,27,25,.12);
  --fr-rule-strong:    rgba(27,27,25,.28);
  --fr-rule-on-dark:   rgba(249,247,242,.16);
  --fr-rule-on-dark-strong: rgba(249,247,242,.30);

  /* Type */
  --fr-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --fr-serif:   "Instrument Serif", Georgia, serif;
  --fr-sans:    "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --fr-mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Radii */
  --fr-r-sm: 6px;
  --fr-r-md: 12px;
  --fr-r-lg: 18px;
  --fr-r-pill: 999px;

  /* Motion */
  --fr-ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --fr-duration: 180ms;
  --fr-duration-lg: 280ms;

  /* Shadows (used sparingly) */
  --fr-shadow-sm: 0 1px 2px rgba(27,27,25,.06);
  --fr-shadow-md: 0 8px 24px rgba(27,27,25,.08);
  --fr-shadow-lg: 0 20px 60px rgba(27,27,25,.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fr-pampas);
  color: var(--fr-charcoal);
  font-family: var(--fr-sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--fr-terracotta); color: var(--fr-pampas); }
a { color: inherit; }
img { display: block; }

/* ---- Helpers ------------------------------------------------ */
.fr-wrap { max-width: 1160px; margin: 0 auto; padding-inline: 40px; }
.fr-wrap--narrow { max-width: 860px; }

.fr-eyebrow {
  font-family: var(--fr-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fr-gray);
  margin: 0;
}
.fr-eyebrow--accent { color: var(--fr-terracotta); }
.fr-eyebrow--ondark { color: rgba(249,247,242,.62); }
.fr-eyebrow .dot { color: var(--fr-terracotta); }

.fr-serif { font-family: var(--fr-serif); font-style: italic; font-weight: 400; }

h1, h2, h3 {
  font-family: var(--fr-display);
  font-weight: 600;
  font-variation-settings: 'opsz' 96;
  margin: 0;
  text-wrap: balance;
}

/* ---- Lockup ------------------------------------------------- */
.fr-lockup { display: inline-flex; align-items: flex-end; gap: 3px; text-decoration: none; }
.fr-lockup img { height: 26px; width: auto; margin-bottom: 1px; }
.fr-lockup span {
  font-family: var(--fr-display); font-weight: 600; font-size: 27px;
  letter-spacing: -0.045em; line-height: 0.82; font-variation-settings: 'opsz' 96;
  color: var(--fr-charcoal);
}
.fr-lockup span .dot { color: var(--fr-terracotta); }
.fr-lockup--ondark span { color: var(--fr-pampas); }

/* ---- Buttons ------------------------------------------------ */
.fr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--fr-mono); text-transform: uppercase; letter-spacing: 0.07em;
  font-weight: 500; font-size: 14px; line-height: 1;
  padding: 17px 28px; border-radius: var(--fr-r-pill);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .18s cubic-bezier(.2,.6,.2,1), transform .18s cubic-bezier(.2,.6,.2,1), color .18s, border-color .18s;
  white-space: nowrap;
}
.fr-btn:active { transform: translateY(1px); }

.fr-btn--accent { background: var(--fr-terracotta); color: var(--fr-pampas); }
.fr-btn--accent:hover { background: var(--fr-terracotta-deep); }

.fr-btn--ink { background: var(--fr-charcoal); color: var(--fr-pampas); }
.fr-btn--ink:hover { background: #000; }

.fr-btn--ghost { background: transparent; color: var(--fr-charcoal); border-color: var(--fr-rule-strong); }
.fr-btn--ghost:hover { border-color: var(--fr-charcoal); }

.fr-btn--paper { background: var(--fr-pampas); color: var(--fr-charcoal); }
.fr-btn--paper:hover { background: #fff; }

.fr-btn--sm { padding: 12px 20px; font-size: 13px; }
.fr-btn--lg { padding: 20px 34px; font-size: 15px; }

/* ---- Chips -------------------------------------------------- */
.fr-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--fr-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fr-charcoal); background: transparent;
  border: 1px solid var(--fr-rule-strong); border-radius: var(--fr-r-pill);
  padding: 8px 15px;
}
.fr-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fr-terracotta); }

/* ---- Reveal (kept inert: content is always visible for capture/print/reduced-motion safety) -- */
.reveal, .reveal.in { opacity: 1; transform: none; }
