:root {
  --accent: #6b2f3a;
  --bg: #f7f3ea;
  --ink: #2a221c;
  --muted: #6e5f52;
  --line: #e2d6c4;
  --paper: #fffdf8;
  --serif: "Book Antiqua", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Candara, "Segoe UI", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    linear-gradient(180deg, #efe6d6 0%, transparent 28%),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(107,47,58,0.03) 48px, rgba(107,47,58,0.03) 49px),
    var(--bg);
  line-height: 1.65;
}
a { color: var(--accent); }
a:hover { color: var(--ink); }
.wrap { width: min(1040px, 92vw); margin: 0 auto; }

.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif); font-size: 1.2rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.8rem 1.1rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.nav a:hover { color: var(--accent); }

.hero { padding: 4.2rem 0 3.2rem; animation: soft-in 1s ease both; }
.hero-brand {
  font-family: var(--serif); font-size: clamp(2.5rem, 6.5vw, 4rem);
  margin: 0 0 0.9rem; line-height: 1.05;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.3rem, 2.8vw, 1.75rem); margin: 0 0 0.8rem; max-width: 20ch;
}
.lead { max-width: 40ch; color: var(--muted); margin: 0 0 1.5rem; }
.cta-group { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn {
  display: inline-block; padding: 0.68rem 1.2rem; border: 1px solid var(--accent);
  background: var(--accent); color: #faf6f0; text-decoration: none;
  transition: letter-spacing 0.25s ease, background 0.25s ease;
}
.btn:hover { letter-spacing: 0.03em; background: #55252e; color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); letter-spacing: 0; }

.section { padding: 2.2rem 0; }
.section h2 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; }
.list { list-style: none; padding: 0; margin: 0; columns: 2; gap: 1.5rem; }
.list li {
  break-inside: avoid; padding: 0.55rem 0;
  border-bottom: 1px solid var(--line); animation: line-up 0.6s ease both;
}
.list li:nth-child(odd) { animation-delay: 0.04s; }
.links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.1rem; margin-top: 1.2rem; }
.about { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); }
.en-note { font-style: italic; margin-top: 0.5rem; }

.page { padding: 2.4rem 0 3.2rem; animation: soft-in 0.75s ease both; }
.page h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.3rem); }
.page p, .prose p, .prose ul { color: var(--muted); max-width: 62ch; }
.prose h2 { font-family: var(--serif); font-weight: 500; margin-top: 1.7rem; }

.form { display: grid; gap: 0.8rem; max-width: 28rem; margin-top: 1.2rem; }
.form label { display: grid; gap: 0.3rem; font-size: 0.9rem; }
.form input, .form textarea {
  font: inherit; padding: 0.6rem 0.7rem; border: 1px solid var(--line); background: var(--paper);
}
.form button {
  justify-self: start; font: inherit; cursor: pointer; padding: 0.65rem 1.15rem;
  border: 1px solid var(--accent); background: var(--accent); color: #faf6f0;
}

.site-footer { border-top: 1px solid var(--line); padding: 1.4rem 0 2.3rem; color: var(--muted); font-size: 0.88rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.7rem 1.1rem; margin-bottom: 0.6rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

@keyframes soft-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes line-up {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 720px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .list { columns: 1; }
}

.network { margin-top: 0.5rem; }
.network p { max-width: 62ch; color: var(--muted); }
.network-list { columns: 1; }
@media (min-width: 640px) {
  .network-list { columns: 2; }
}
.network-list a { text-decoration: none; }
.network-list a:hover { text-decoration: underline; }
