:root {
  color-scheme: light;
  --ink: #17221d;
  --muted: #5d6c62;
  --paper: #f5f3ec;
  --card: #fffdf8;
  --line: #d9ded8;
  --accent: #1f6951;
  --accent-dark: #154d3c;
  --soft: #e7f0e9;
  font-family: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); line-height: 1.5; }
a { color: var(--accent-dark); }
.site-header { max-width: 1100px; margin: 0 auto; padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.site-header nav { display: flex; gap: 1rem; font-family: system-ui, sans-serif; font-size: .9rem; }
.brand { color: var(--ink); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.container { width: min(100% - 2rem, 1100px); margin: 0 auto; padding: 2rem 0 4rem; }
.site-footer { max-width: 1100px; margin: 0 auto; padding: 1rem 1.25rem 2rem; color: var(--muted); font-family: system-ui, sans-serif; font-size: .8rem; }
h1, h2 { line-height: 1.1; margin-top: 0; }
h1 { font-size: clamp(2rem, 7vw, 4.5rem); max-width: 15ch; }
h2 { font-size: 1.35rem; }
.hero { padding: 3rem 0 2rem; max-width: 700px; }
.hero p:not(.eyebrow) { font-size: 1.2rem; max-width: 55ch; }
.eyebrow { color: var(--accent-dark); font: 700 .72rem/1.2 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem; margin: 1rem 0; box-shadow: 0 .25rem 1.5rem #24352a0b; }
.narrow { max-width: 520px; }
label { display: block; font: 600 .9rem system-ui, sans-serif; margin: .8rem 0 .3rem; }
input, select { width: 100%; padding: .7rem .75rem; border: 1px solid #b9c5bc; border-radius: .45rem; background: #fff; color: var(--ink); font: 1rem system-ui, sans-serif; }
button, .button { display: inline-block; width: auto; border: 0; border-radius: 999px; padding: .72rem 1.1rem; margin-top: 1rem; color: #fff; background: var(--accent); font: 700 .88rem system-ui, sans-serif; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: var(--accent-dark); }
button.secondary, .button.secondary { color: var(--accent-dark); background: var(--soft); }
.page-heading { margin: 1rem 0 2rem; }
.page-heading h1 { margin-bottom: .4rem; }
.order-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.order-card { display: flex; flex-direction: column; }
.order-card .button { align-self: flex-start; margin-top: auto; }
.stage-badge { display: inline-block; padding: .25rem .55rem; border-radius: 99px; color: var(--accent-dark); background: var(--soft); font: 700 .75rem system-ui, sans-serif; }
.progress { display: flex; gap: .35rem; margin: 1rem 0 1.25rem; }
.progress-step { flex: 1; height: .35rem; border-radius: 99px; background: var(--line); }
.progress-step.complete, .progress-step.current { background: var(--accent); }
.status-card { max-width: 700px; }
.stage-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.stage-list li { display: flex; align-items: center; gap: .65rem; color: var(--muted); }
.stage-list li.complete, .stage-list li.current { color: var(--ink); font-weight: 700; }
.stage-dot { width: .75rem; height: .75rem; border: 2px solid var(--line); border-radius: 50%; }
.stage-list li.complete .stage-dot, .stage-list li.current .stage-dot { border-color: var(--accent); background: var(--accent); }
.section-heading, .admin-heading { display: flex; gap: 1rem; justify-content: space-between; align-items: start; }
.drop-zone { display: grid; place-items: center; gap: .3rem; min-height: 150px; padding: 1rem; border: 2px dashed #9bb5a2; border-radius: .8rem; color: var(--accent-dark); text-align: center; cursor: pointer; }
.drop-zone small { color: var(--muted); font-weight: 400; }
.drop-zone input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.upload-progress, .file-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.upload-progress li, .file-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-family: system-ui, sans-serif; font-size: .9rem; }
.admin-table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; font-family: system-ui, sans-serif; font-size: .85rem; }
.admin-table th, .admin-table td { padding: .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.inline-form { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(7rem, 1fr) auto; gap: .35rem; }
.inline-form input, .inline-form select { padding: .4rem; font-size: .8rem; }
.inline-form button { margin-top: 0; padding: .45rem .7rem; font-size: .75rem; }
@media (max-width: 700px) {
  .section-heading, .admin-heading { display: block; }
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table tr { padding: .8rem; border-bottom: 1px solid var(--line); }
  .admin-table td { display: flex; justify-content: space-between; padding: .3rem 0; border: 0; }
  .admin-table td::before { content: attr(data-label); color: var(--muted); font-weight: 700; margin-right: 1rem; }
  .inline-form { grid-template-columns: 1fr; width: 60%; }
}
