/* ============================================================
   The Long Level — shared stylesheet
   Classic literary journal: serif type, paper tones, whitespace.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --paper: #faf6ec;
  --paper-deep: #f2ecdd;
  --ink: #262119;
  --ink-soft: #524b3d;
  --line: #ddd3ba;
  --green: #3d4f34;
  --green-deep: #2c3b25;
  --gold: #a9803f;
  --rust: #9c4a2e;
  --max-width: 780px;
  --wide-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.2em; }

a {
  color: var(--green-deep);
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

a:hover { color: var(--rust); }

.italic { font-style: italic; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.container-wide {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 20;
}

.header-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: block;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav.main-nav a {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--green-deep);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 11px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

@media (max-width: 720px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6px 28px 18px;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: inline-block; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 84px 0 60px;
  text-align: center;
}

.hero .kicker {
  display: inline-block;
  font-family: 'EB Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}

.hero .lede {
  max-width: 56ch;
  margin: 22px auto 0;
  font-size: 1.25rem;
  color: var(--ink-soft);
  font-style: italic;
}

.hero-art {
  margin: 40px auto 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -20px rgba(38, 33, 25, 0.35);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.button-row {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding: 13px 30px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid var(--green-deep);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--paper) !important;
}

.btn-primary:hover {
  background: var(--green);
  color: var(--paper) !important;
}

.btn-secondary {
  background: transparent;
  color: var(--green-deep) !important;
}

.btn-secondary:hover {
  background: var(--green-deep);
  color: var(--paper) !important;
}

/* ---------- Key dates strip ---------- */

.dates-strip {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}

.dates-grid {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}

.date-card .label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.date-card .value {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--ink);
}

@media (max-width: 640px) {
  .dates-grid { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */

.section {
  padding: 64px 0;
}

.section-narrow {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 28px;
}

.section-title {
  text-align: center;
  margin-bottom: 14px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 46px;
  font-style: italic;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}

blockquote {
  border-left: 3px solid var(--gold);
  margin: 0 0 1.4em;
  padding: 2px 0 2px 22px;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Guideline cards ---------- */

.card {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 28px;
  margin-bottom: 22px;
}

.card h3 {
  margin-bottom: 10px;
}

.placeholder-note {
  background: #fbeee1;
  border: 1px dashed var(--rust);
  color: #6e3113;
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  padding: 14px 18px;
  border-radius: 6px;
  margin: 18px 0 30px;
}

/* ---------- Social row ---------- */

.social-row {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.social-row a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 1rem;
}

.social-row a:hover {
  border-color: var(--gold);
  color: var(--green-deep);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 50px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer .footer-links {
  margin-top: 10px;
}

.site-footer .footer-links a {
  color: var(--ink-soft);
  margin: 0 10px;
}

/* ---------- Utility ---------- */

.list-plain {
  padding-left: 1.1em;
  margin: 0 0 1.2em;
}

.list-plain li {
  margin-bottom: 0.5em;
}

.center { text-align: center; }
