:root {
  --bg: #f6f1e7;
  --ink: #231f1a;
  --muted: #655c50;
  --line: #d8cfbf;
  --card: #fffdf8;
  --accent: #a63d22;
  --accent-ink: #ffffff;
  --error: #a3211a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1916;
    --ink: #f3ecdf;
    --muted: #b5aa99;
    --line: #3d362e;
    --card: #26221d;
    --accent: #e0805f;
    --accent-ink: #1c1916;
    --error: #f0928a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.6;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: 1.5rem 0 1.25rem; }
header a { text-decoration: none; }
header a:hover { text-decoration: underline; }
.name { font-weight: 700; }
.hero-photo {
  display: block;
  width: 100%;
  max-width: 64rem;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  object-fit: cover;
  object-position: 22% 50%;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  margin-top: 1.5rem;
}
.gallery img { display: block; width: 100%; height: auto; border-radius: .25rem; }
.portrait { display: block; width: 100%; max-width: 22rem; height: auto; margin: 0 0 1.5rem; border-radius: .25rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.book-help { margin: 1rem 0 0; font-family: system-ui, sans-serif; font-size: 1rem; }
.link-button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; text-decoration: underline; }
.hero { padding: 3.5rem 0 3rem; }
.eyebrow {
  margin: 0 0 .5rem;
  color: var(--accent);
  font-family: system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 600;
}
h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.75rem, 11vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
h1.page-title { margin-top: 2rem; font-size: clamp(2.25rem, 8vw, 3.25rem); }
h2 { margin: 0 0 1rem; font-size: 1.75rem; line-height: 1.2; }
h3 { margin: 0; font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.3rem; line-height: 1.45; }
section { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.button {
  display: inline-block;
  padding: .7rem 1.2rem;
  border: 0;
  border-radius: .4rem;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { filter: brightness(1.1); }
.button:disabled { cursor: wait; opacity: .6; }
.button.quiet { background: transparent; border: 1px solid var(--line); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.events { display: grid; gap: 1rem; margin-bottom: 2rem; }
.event {
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .5rem;
}
.when { margin: .25rem 0 .75rem; color: var(--accent); font-family: system-ui, sans-serif; font-weight: 600; }
address { margin-bottom: 1rem; font-style: normal; }
.seats { margin: 0; color: var(--muted); font-family: system-ui, sans-serif; font-size: .95rem; }
form { display: grid; gap: 1rem; max-width: 26rem; }
label { display: grid; gap: .25rem; font-family: system-ui, sans-serif; font-size: 1rem; font-weight: 600; }
input, select, textarea {
  width: 100%;
  padding: .6rem .7rem;
  background: var(--card);
  border: 1px solid var(--muted);
  border-radius: .4rem;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
textarea { resize: vertical; }
#feedback-form { max-width: 34rem; }
.trap { position: absolute; left: -9999px; }
.hint { color: var(--muted); font-family: system-ui, sans-serif; font-size: .95rem; font-weight: 400; }
.error { min-height: 1.5rem; margin: 0; color: var(--error); font-family: system-ui, sans-serif; font-size: 1rem; }
.done {
  max-width: 30rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .5rem;
}
.done p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; font-family: system-ui, sans-serif; font-size: .95rem; }
th, td { padding: .4rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
footer { padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
a { color: inherit; }
[hidden] { display: none !important; }
@media (min-width: 40rem) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .hero-photo { aspect-ratio: 20 / 9; }
  .events { grid-template-columns: 1fr 1fr; }
}

blockquote { margin: .5rem 0 1rem; padding: .75rem 1rem; background: var(--card); border-left: 3px solid var(--accent); font-family: system-ui, sans-serif; }
.answer { margin: 1rem 0; padding: .75rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: .5rem; }
.answer p { margin: .25rem 0; }
.answer .took-home { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inline-form { display: flex; gap: .5rem; max-width: none; }
.inline-form input { flex: 1; min-width: 0; }
.fixes { list-style: none; margin: 0 0 1rem; padding: 0; font-family: system-ui, sans-serif; }
.fixes li { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.fixes label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.fixes input[type="checkbox"] { width: auto; margin-top: .3rem; }
.fixes .is-done span { color: var(--muted); text-decoration: line-through; }
#evaluation { max-width: 40rem; }
.recording { display: grid; gap: .4rem; }
.recording > label { font-weight: 600; }
.recording video, .recording audio { width: 100%; border-radius: 6px; }
.recording video { max-height: 24rem; background: #000; }
.recording progress { width: 100%; }
.recording input[type="file"] { padding: .5rem; }
details summary { cursor: pointer; font-family: system-ui, sans-serif; font-weight: 600; margin-bottom: .5rem; }
.agreement { display: grid; grid-template-columns: 1fr; gap: 0 1.5rem; margin: 0; font-family: system-ui, sans-serif; font-size: 1rem; }
.agreement dt { font-weight: 600; padding-top: .6rem; }
.agreement dd { margin: 0; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.terms { padding-left: 1.25rem; }
.terms li { margin-bottom: .75rem; }
label.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
label.check input { width: auto; margin-top: .35rem; }
.material { margin-bottom: 1.5rem; }
.gallery a img { aspect-ratio: 1; object-fit: cover; }
.booking-form .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
@media (min-width: 40rem) {
  .agreement { grid-template-columns: 10rem 1fr; }
  .agreement dt, .agreement dd { padding: .6rem 0; border-bottom: 1px solid var(--line); }
}

.admin-nav { display: flex; gap: 1rem; align-items: baseline; }
.title-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; }
.title-row .page-title { margin-bottom: .5rem; }
.group-title { margin: 2rem 0 .75rem; color: var(--muted); font-family: system-ui, sans-serif; font-size: .9rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.talk { margin: 0 0 1rem; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: .5rem; font-family: system-ui, sans-serif; font-size: 1rem; }
.talk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.talk-head h3 { font-family: system-ui, sans-serif; font-size: 1.1rem; }
.badge { flex: none; padding: .1rem .55rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--muted); font-size: .8rem; white-space: nowrap; }
.talk-status { margin: .35rem 0 .5rem; font-weight: 600; }
.talk p.hint, .talk .talk-info { margin: .2rem 0; }
.talk .actions { margin: .75rem 0 0; }
.talk .button { padding: .5rem .9rem; font-size: .95rem; }
.talk-panel { margin-top: 1rem; }
.talk.is-cancelled { opacity: .6; }
.sub-title { margin: 1.5rem 0 .75rem; font-family: system-ui, sans-serif; font-size: 1.1rem; }
.material-card { display: grid; gap: .6rem; max-width: none; margin: 0 0 1rem; padding: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: .5rem; font-family: system-ui, sans-serif; }
.material-card .actions { margin: 0; }
.material-card .button { padding: .45rem .8rem; font-size: .95rem; }
.material-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .25rem; }
.material-grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .material-grid { grid-template-columns: 1fr 1fr; } .material-grid .material-card { margin: 0; } }
.history { list-style: none; margin: 0; padding: 0; font-family: system-ui, sans-serif; font-size: 1rem; }
.history li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
