:root {
  --bg: #0e0e0f;
  --bg-soft: #161617;
  --line: #2a2a2c;
  --text: #f2f0ec;
  --muted: #9a9791;
  --accent: #e8b64c;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a:hover { color: var(--text); }

/* Hero */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 15ch;
}

.lede {
  margin-top: 1.75rem;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.75rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-solid { background: var(--accent); color: #17140b; border-color: var(--accent); }
.btn-solid:hover { background: #f0c76a; border-color: #f0c76a; }
.btn-ghost:hover { border-color: var(--text); }

/* Blocks */
.block {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.block-head { margin-bottom: 2.75rem; }

.block-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.block-head p {
  margin-top: 0.75rem;
  color: var(--muted);
  max-width: 52ch;
}

/* Events */
.events { list-style: none; }

.event {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.events .event:first-child { border-top: none; }

.event-date {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.3;
}

.event-title { font-size: 1.15rem; }
.event-meta { color: var(--muted); font-size: 0.92rem; margin-top: 0.25rem; }
.event-place { color: var(--muted); font-size: 0.92rem; text-align: right; }

.event-desc {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.7rem;
  max-width: 62ch;
}

.event-link {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--accent);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}
.event-link:hover { border-color: var(--accent); }

/* Stories */
.stories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.story {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.75rem;
}

.story h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.story p {
  color: var(--muted);
  font-size: 0.98rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.story.open p {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.story-toggle {
  margin-top: 0.9rem;
  padding: 0;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.story-toggle:hover { border-color: var(--accent); }

.story-by {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

/* Proponer fiesta */
.propose {
  margin-top: 3.5rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.propose h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
}

.propose > p {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  color: var(--muted);
  max-width: 48ch;
}

/* Submit */
.submit-form { max-width: 560px; }

.field { margin-bottom: 1.4rem; }

.field label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  padding: 0.75rem 0.9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-note {
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .nav { gap: 1.25rem; }
  .event { grid-template-columns: 70px 1fr; }
  .event-place { grid-column: 2; text-align: left; }
  .field-row { grid-template-columns: 1fr; }
}
