/* ==============================
   ROOT VARIABLES
============================== */
:root {
  --text-primary: #5A2D0C;
  --bg-page: #f7f7f7;
  --bg-white: #ffffff;
  --max-width: 1200px;
  --nav-height: 167px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==============================
   GLOBAL RESET
============================== */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.4;
}

/* ==============================
   LAYOUT
============================== */
.page-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

main { padding: 48px 0; }

/* Shared content column (forms, headings, etc.) */
.form-column {
  max-width: 900px;
  margin: 0 auto;
  transform: translateX(-120px);
}



/* ==============================
   NAV BAR
============================== */
.navbar {
  height: var(--nav-height);
  background: var(--bg-page);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-logo {
  height: calc(var(--nav-height) * 0.6);
  width: auto;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-brand-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: calc(var(--nav-height) * 0.46);
  line-height: 1;
}

.nav-brand-title span {
  font-size: 40%;
  font-weight: 400;
}

.nav-brand-tagline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 100%;
  margin-top: 8px;
}

.nav-right a {
  margin-left: 32px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
}

.nav-right a:hover { text-decoration: underline; }

/* ==============================
   TYPOGRAPHY
============================== */
h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  margin: 0 0 12px;
}

p { margin: 0 0 16px; }

.muted {
  font-size: 13px;
  opacity: 0.8;
}

/* ==============================
   FORMS
============================== */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

input,
select {
  padding: 10px;
  font-size: 14px;
  font-family: var(--font-sans);
}

button {
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
  width: fit-content;
}

.row {
  display: flex;
  gap: 16px;
}

.row > label { flex: 1; }

.hidden { display: none; }

.contribution-notes {
  font-size: 13px;
  opacity: 0.9;
}

.contribution-notes ul {
  padding-left: 18px;
  margin: 12px 0 20px;
}

.contribution-notes li {
  margin-bottom: 10px; /* increased spacing */
}

label.consent {
  display: flex;
  flex-direction: row;     /* override column */
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}

label.consent input {
  margin-top: 3px;
}

label.consent span {
  line-height: 1.4;
}



/* ==============================
   FOOTER
============================== */
.footer {
  background: var(--bg-page);
  padding: 32px 0;
  font-size: 13px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-links { margin-bottom: 8px; }

.footer-links a {
  margin: 0 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.footer-links a:hover { text-decoration: underline; }

.footer-legal { opacity: 0.85; }
