:root {
  --paper: #f5f2ec;
  --ink: #1b1e1c;
  --muted: #5f645f;
  --line: #ddd7cc;
  --accent: #2d5a4c;
  --accent-ink: #f5f2ec;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink);
  font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }
.mark { font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.mark:hover { color: var(--ink); }
header.top { margin-bottom: 72px; }

h1 { font: 400 clamp(38px, 7vw, 62px)/1.05 var(--serif); letter-spacing: -.015em; margin: 0 0 28px; }
h1 .num { color: var(--accent); }
h2 { font: 400 28px/1.2 var(--serif); margin: 0 0 8px; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0; }
.lede a { color: var(--ink); }

.authors { display: flex; gap: 44px; margin: 48px 0 0; }
.person { display: block; text-align: center; color: var(--ink); text-decoration: none; }
.person img { display: block; width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.45); transition: transform .2s ease; }
.person:hover img { transform: translateY(-2px); }
.person .name { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; }
.person .li { display: block; font-size: 13px; color: var(--accent); margin-top: 2px; }
.person:hover .li { text-decoration: underline; text-underline-offset: 3px; }

/* The big workshop card */
.session {
  display: block; margin-top: 72px; padding: 40px 40px 36px; border-radius: 20px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -22px rgba(29,58,49,.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.session:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 26px 50px -24px rgba(29,58,49,.6); }
.session .kicker { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.session .date { display: block; font: 400 clamp(30px, 5.4vw, 46px)/1.1 var(--serif); margin: 18px 0 6px; }
.session .time { display: block; font-size: 20px; opacity: .85; }
.session .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; font-size: 15px; }
.session .go span { transition: transform .2s ease; }
.session:hover .go span { transform: translateX(4px); }

/* Workshop page lists */
.section { margin-top: 56px; }
.section > .label { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.links li { border-bottom: 1px solid var(--line); }
.links a { display: flex; align-items: baseline; gap: 18px; padding: 18px 4px; color: var(--ink); text-decoration: none; }
.links a:hover { background: rgba(45,90,76,.05); }
.links .n { font: 400 15px var(--serif); color: var(--accent); min-width: 1.4em; }
.links .t { flex: 1; font-size: 18px; }
.links .meta { font-size: 13px; color: var(--muted); white-space: nowrap; }
.feature { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s; }
.feature:hover { border-color: var(--accent); }
.feature strong { display: block; font: 400 24px/1.2 var(--serif); }
.feature small { color: var(--muted); font-size: 14px; }
.feature .arrow { font-size: 22px; color: var(--accent); }
.feature.dark { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.feature.dark small { color: var(--accent-ink); opacity: .75; }
.feature.dark .arrow { color: var(--accent-ink); }

/* Forms */
form { margin-top: 40px; }
fieldset { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
legend, .q { display: block; font-size: 18px; line-height: 1.45; margin-bottom: 14px; padding: 0; }
.scale { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.scale label { position: relative; }
.scale input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.scale span { display: grid; place-items: center; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-variant-numeric: tabular-nums; transition: all .15s; }
.scale input:hover + span { border-color: var(--accent); }
.scale input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.scale input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
textarea, input[type=password] {
  width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px;
}
textarea { min-height: 110px; resize: vertical; }
textarea:focus, input[type=password]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45,90,76,.15); }
.optional { font-size: 13px; color: var(--muted); }
button {
  font: 600 16px var(--sans); color: var(--accent-ink); background: var(--accent); border: 0;
  border-radius: 999px; padding: 15px 30px; cursor: pointer; transition: opacity .15s;
}
button:hover { opacity: .9; }
button[disabled] { opacity: .5; cursor: default; }
.status { margin-top: 16px; font-size: 15px; color: var(--muted); min-height: 1.6em; }
.status.err { color: #a2361f; }
.thanks { margin-top: 40px; padding: 36px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.thanks h2 { margin-bottom: 6px; }
.thanks p { margin: 0; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

footer { margin-top: 96px; font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  .wrap { padding-top: 36px; }
  header.top { margin-bottom: 48px; }
  .session { padding: 30px 26px 28px; margin-top: 56px; }
  .scale { grid-template-columns: repeat(5, 1fr); }
  .links .meta { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.contact { margin-top: 64px; font-size: 20px; color: var(--ink); }
.contact a { color: var(--accent); font-weight: 600; }
