:root {
  --max: 980px;
  --narrow: 720px;
  --tint: #efd6d1;
  --accent: #c98f86;
  --border: #ededed;
  --muted: #666;
  --soft: #fafafa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, Arial, sans-serif;
  color: #222;
  background: #fff;
}

/* Layout */
.container, .narrow { margin: 0 auto; }
.container { width: min(var(--max), calc(100% - 48px)); }
.narrow { width: min(var(--narrow), calc(100% - 48px)); }
.center { text-align: center; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.brand-title { font-weight: 650; }
.brand-tagline { font-size: 12px; color: var(--muted); }

.top-btn {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 3px;
  font-size: 12px;
}

/* Hero */
.hero-image {
  width: 100%;
  height: clamp(180px, 40vh, 420px);
  background: #f2f2f2 url("assets/phot.jpg") center/cover no-repeat;
}

/* Sections */
.section { padding: 26px 0; }
.section-tint { background: var(--tint); }

.section-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

.muted { margin: 0 0 10px; color: var(--muted); }

.para {
  margin: 10px 0;
  line-height: 1.55;
  color: #333;
}

/* Registration grid */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  margin: 14px 0;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
}

/* Form card */
.reg-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.reg-title {
  text-align: center;
  margin: 2px 0 14px;
  font: 650 16px/1.2 system-ui, Arial;
}

.reg-input {
  width: 100%;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--soft);
  outline: 0;
}

.reg-input:focus {
  background: #fff;
  border-color: #d7d7d7;
}

.reg-choices {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.reg-legend {
  margin: 0 0 8px;
  font-size: 12px;
  color: #777;
}

.reg-radio {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 8px 0;
  font-size: 12px;
  color: #666;
}

.reg-btn {
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

/* Sarah section */
.sarah-wrap {
  display: flow-root;
}

.sarah-photo{
  float: left;
  width: 200px;
  height: 190px;
  object-fit: cover;
  border-radius: 6px;
  margin: 6px 20px 10px 0;
}

.sarah-clear {
  clear: left;
}

/* About the Fundraiser */
.about-fundraiser .fundraiser-text{
  padding-left: 220px;   /* 200px image + 20px gap */
  padding-right: 220px;
}

.about-fundraiser p.para{
  text-align: left;
  color: #444;
  line-height: 1.7;
  margin: 14px 0;
}

/* Admin dashboard */
.admin-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.admin-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.admin-pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:#f3f3f3;
  color:#444;
  font-size:12px;
}

.table-wrap{
  overflow-x:auto;
}

.admin-table{
  width:100%;
  border-collapse:collapse;
  min-width: 900px;
}

.admin-table th,
.admin-table td{
  padding:10px;
  border-bottom:1px solid #f0f0f0;
  text-align:left;
  vertical-align:top;
  font-size:13px;
}

.admin-table th{
  background:#fff;
  position:sticky;
  top:0;
}

.btn-link{
  display:inline-block;
  padding:6px 10px;
  border-radius:4px;
  text-decoration:none;
  font-size:12px;
  border:1px solid #e6e6e6;
  color:#333;
  background:#fff;
}

.btn-danger{
  border-color:#f0c3c3;
  color:#8b2e2e;
  background:#fff5f5;
}

/* Mobile */
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .section { padding: 22px 0; }

  .header-inner { justify-content: space-between; }

  .brand {
    position: static;
    transform: none;
    margin: 0 auto;
    text-align: center;
  }

  .top-btn { margin-left: auto; }

  .sarah-photo {
    float: none;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto 14px;
    display: block;
  }

  .sarah-clear { clear: none; }

/* About the Fundraiser */
.about-fundraiser .fundraiser-text{
  /* Align paragraph start with the text next to Sarah’s floated image:
     200px image width + 20px right margin = 220px */
  padding-left: 20px;
  padding-right: 20px;
}
}

.about-fundraiser p.para{
  text-align: left;
  color: #444;
  line-height: 1.7;
  margin: 14px 0;
}


