:root {
  color-scheme: light;
  --ink: #24231f;
  --muted: #625f57;
  --paper: #f4f1e9;
  --panel: #ebe5da;
  --line: #c9c0b1;
  --accent: #6d5742;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button, input { font: inherit; }
button { min-height: 44px; cursor: pointer; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

.masthead, main, footer { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.brand { font-family: Georgia, serif; font-size: 1.25rem; text-decoration: none; }
.stage {
  min-height: 72vh;
  display: grid;
  align-content: center;
  gap: 1.5rem;
  padding: clamp(3rem, 9vw, 8rem) 0;
}
.eyebrow { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; }
h1, h2 { max-width: 16ch; margin: 0; font-family: Georgia, serif; font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(2.8rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.5rem); }
.lead { max-width: 62ch; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.principles article { padding: 1.5rem; background: var(--panel); }
.principles h3 { font-family: Georgia, serif; font-weight: 400; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.primary, .secondary {
  border: 1px solid var(--ink);
  padding: .85rem 1.2rem;
  text-decoration: none;
}
.primary { color: white; background: var(--ink); }
.secondary { color: var(--ink); background: transparent; }
.project-card, .photo-panel {
  max-width: 760px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.35);
}
.project-id { overflow-wrap: anywhere; font-family: ui-monospace, monospace; font-size: .85rem; }
.photo-preview { width: 100%; max-height: 420px; object-fit: cover; margin: 1rem 0; }
.status { min-height: 1.5rem; padding: 1rem 0; color: var(--muted); }
.status[data-tone="error"] { color: #8a2f27; }
.status[data-tone="success"] { color: #315f48; }
.notice { max-width: 62ch; border-left: 3px solid var(--accent); padding-left: 1rem; }
footer { padding: 2rem 0; border-top: 1px solid var(--line); color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #8b653e; outline-offset: 3px; }

@media (max-width: 720px) {
  .principles { grid-template-columns: 1fr; }
  .masthead { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

