/* ==========================================================================
   Hand off the right work — Agent class
   1. Fonts   2. Tokens   3. Base   4. Primitives   5. Components
   6. Sections   7. Motion   8. Responsive   9. Reduced motion
   ========================================================================== */

/* 1. FONTS ---------------------------------------------------------------- */

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'InterVar';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* 2. TOKENS --------------------------------------------------------------- */

:root {
  /* Surfaces — warm stone, layered light to dark */
  --stone:    #f4f0e6;
  --stone-2:  #ece5d6;
  --stone-3:  #e2d9c6;
  --deep:     #15211e;
  --deep-2:   #1c2a26;

  /* Ink */
  --ink:      #16181a;
  --ink-2:    #3c4145;
  --ink-3:    #5c6165;
  --on-deep:      #ece5d6;
  --on-deep-2:    #a7b2ad;

  /* Accent — deep pine, with copper reserved for metadata only */
  --pine:     #1e4b41;
  --pine-2:   #2c6355;
  --copper:   #8f5327;
  --copper-2: #b5834f;

  /* Lines */
  --line:      #dad2be;
  --line-2:    #c6bba1;
  --line-deep: #32433d;

  /* Type */
  --display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --body: 'InterVar', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 64px);
  --shell: 1200px;
  --band-y: clamp(76px, 10vw, 152px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --reveal: 0.78s var(--ease);
}

/* 3. BASE ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--stone);
  background-image: url('/assets/grain-512.webp');
  background-size: 340px;
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.68;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}
/* h1/h2 set their own breaks with <br>; balancing on top of that strands words. */
h3 { text-wrap: balance; }

h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.95rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
h1 em, h2 em { font-style: normal; color: var(--pine); }

p { margin: 0; }
a { color: inherit; }

::selection { background: var(--pine); color: var(--stone); }

:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 200;
  background: var(--ink);
  color: var(--stone);
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { left: 12px; }

/* 4. PRIMITIVES ----------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  position: relative;
  padding-block: var(--band-y);
  border-top: 1px solid var(--line);
}
.band > .shell { position: relative; z-index: 1; }

.band-alt { background: var(--stone-2); }
.band-alt::before,
.band-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/grain-512.webp');
  background-size: 340px;
  pointer-events: none;
}
.band-alt::before { opacity: 0.5; mix-blend-mode: multiply; }

.band-dark {
  background: var(--deep);
  border-top: 0;
  color: var(--on-deep-2);
}
.band-dark::before { opacity: 0.08; mix-blend-mode: overlay; }
.band-dark h2, .band-dark h3 { color: var(--on-deep); }
.band-dark h2 em { color: var(--copper-2); }
.band-dark .eyebrow { color: var(--on-deep-2); }
.band-dark .eyebrow i { background: var(--copper-2); }
.band-dark .sec-lede { color: var(--on-deep-2); }

/* Eyebrow */
.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 26px;
}
.eyebrow i {
  flex: none;
  width: 26px;
  height: 1px;
  /* keeps the rule on the first line when the label wraps */
  margin-top: 0.85em;
  background: var(--copper);
}

/* Section head */
.sec-head { max-width: 46ch; }
h1 + .sec-lede,
h2 + .sec-lede { margin-top: 26px; }
.sec-lede {
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 54ch;
}

/* Numerals — the one place copper appears in type */
.num {
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
}

/* 5. COMPONENTS ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--stone);
  border: 1px solid var(--ink);
  padding: 15px 22px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.btn:hover { background: var(--pine); border-color: var(--pine); transform: translateY(-1px); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: wait; transform: none; }

.btn-sm { padding: 10px 16px; font-size: 0.8rem; gap: 10px; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-ghost:hover .arrow { transform: translateY(3px); }

.btn-invert {
  background: var(--stone);
  color: var(--deep);
  border-color: var(--stone);
}
.btn-invert:hover { background: var(--copper-2); border-color: var(--copper-2); color: var(--deep); }

.btn-block { width: 100%; justify-content: center; }

/* Wordmark */
.wordmark {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--copper); }

/* Fields */
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 9px;
  padding: 0;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: #8e8b82; }
.field input:focus,
.field textarea:focus { background: #fff; border-color: var(--pine); outline: none; box-shadow: 0 0 0 3px rgba(30, 75, 65, 0.12); }

.hint {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--ink-3);
  margin-top: 8px;
}

/* 6. SECTIONS ------------------------------------------------------------- */

/* --- Scroll progress ---------------------------------------------------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--copper);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

/* --- Nav ---------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(244, 240, 230, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
  transition: padding 0.4s var(--ease);
}
.nav.is-scrolled .nav-inner { padding-block: 13px; }

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 30px;
}
.nav-links a {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding-block: 4px;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--pine);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--ink); }

/* --- Hero --------------------------------------------------------------- */
.hero { padding-block: clamp(48px, 7vw, 92px) clamp(56px, 7vw, 96px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero-copy { max-width: 40ch; }
.hero .lede {
  margin-top: 30px;
  font-size: clamp(1.06rem, 1.35vw, 1.26rem);
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 44ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.fine {
  margin-top: 22px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 42ch;
}

.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(22, 24, 26, 0.06),
              0 24px 60px -28px rgba(22, 24, 26, 0.42);
}
.hero-figure figcaption,
.venue-fine,
.run-figure figcaption {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 1px solid var(--copper);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 34ch;
}

/* Fact strip */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: clamp(52px, 7vw, 96px) 0 0;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.facts > div {
  background: var(--stone);
  padding: 24px 22px 26px;
}
.facts dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.facts dd {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.facts dd span {
  display: block;
  margin-top: 7px;
  font-family: var(--body);
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ink-3);
}

/* --- Why now / failures -------------------------------------------------- */
.failures {
  list-style: none;
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.failures li {
  display: grid;
  grid-template-columns: 64px minmax(0, 30ch) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 44px);
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.failures li:hover { background: rgba(226, 217, 198, 0.38); }
.failures .num { padding-top: 6px; }
.failures h3 {
  font-size: clamp(1.14rem, 1.7vw, 1.42rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.failures p { font-size: 0.95rem; color: var(--ink-3); }

.pullquote {
  margin-top: clamp(48px, 6vw, 82px);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.7vw, 2.05rem);
  line-height: 1.26;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 24ch;
}
.pullquote em { font-style: normal; color: var(--pine); }

/* --- Outcomes ------------------------------------------------------------ */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 6vw, 78px);
  background: var(--line);
  border: 1px solid var(--line);
}
.outcomes article {
  background: var(--stone-2);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.4s var(--ease);
}
.outcomes article:hover { background: var(--stone-3); }
.outcomes h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.18;
  letter-spacing: -0.022em;
}
.outcomes p { font-size: 0.94rem; color: var(--ink-3); }

.takeaway {
  margin-top: 34px;
  padding-left: 18px;
  border-left: 2px solid var(--copper);
  font-size: 0.95rem;
  color: var(--ink-3);
  max-width: 62ch;
}
.takeaway b { color: var(--ink); font-weight: 600; }

/* --- Session / agenda ---------------------------------------------------- */
.session { padding-bottom: 0; }
.session-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.session-sticky-in { position: sticky; top: 116px; }
.session .venue {
  margin: 34px 0 32px;
  display: grid;
  gap: 18px;
}
.session .venue dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-2);
  margin-bottom: 5px;
}
.session .venue dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--on-deep);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-deep);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: clamp(14px, 2vw, 26px);
  padding: 0 0 clamp(30px, 3.4vw, 44px) clamp(20px, 2.4vw, 32px);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -3.5px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--deep);
  border: 1px solid var(--line-deep);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease),
              transform 0.5s var(--ease);
}
.timeline li.is-current::before { background: var(--copper-2); border-color: var(--copper-2); }
.timeline li.is-key::before { transform: scale(1.5); }
.timeline .t {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--copper-2);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}
.timeline h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}
.timeline p { font-size: 0.92rem; line-height: 1.62; color: var(--on-deep-2); }
.timeline li.is-key h3 { color: var(--copper-2); }

.room-figure {
  margin: clamp(60px, 7vw, 104px) 0 0;
  position: relative;
  z-index: 1;
}
.room-figure img {
  width: 100%;
  height: clamp(240px, 38vw, 460px);
  object-fit: cover;
  object-position: center 56%;
}

/* --- Audience fit -------------------------------------------------------- */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 60px);
  margin-top: clamp(44px, 5vw, 72px);
}
.fit-col { padding-top: 26px; border-top: 2px solid var(--line-2); }
.fit-yes { border-top-color: var(--pine); }
.fit-col h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.fit-col .mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 700;
  flex: none;
}
.fit-yes .mark { background: var(--pine); color: var(--stone); }
.fit-no .mark { background: var(--stone-3); color: var(--ink-3); }
.fit-col ul { margin: 0; padding: 0; list-style: none; }
.fit-col li {
  position: relative;
  padding: 13px 0 13px 22px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.fit-col li:first-child { border-top: 0; padding-top: 0; }
.fit-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.42em;
  width: 9px;
  height: 1px;
  background: var(--line-2);
}
.fit-col li:first-child::before { top: 0.75em; }
.fit-yes li::before { background: var(--pine); }
.fit-no { color: var(--ink-3); }
.fit-no li { color: var(--ink-3); }

/* --- Host ---------------------------------------------------------------- */
.host-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}
.host-body { display: grid; gap: 20px; max-width: 58ch; }
.host-body p { font-size: 0.98rem; color: var(--ink-3); }
.host-lead {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem) !important;
  line-height: 1.36;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
}
.host-honest {
  padding: 20px 22px;
  background: var(--stone-2);
  border-left: 2px solid var(--pine);
  border-radius: 2px;
}
.host-link a {
  color: var(--pine);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  font-weight: 500;
  transition: border-color 0.3s var(--ease);
}
.host-link a:hover { border-bottom-color: var(--pine); }
.host-link .arrow { display: inline-block; margin-left: 3px; transition: transform 0.3s var(--ease); }
.host-link a:hover .arrow { transform: translate(2px, -2px); }

/* --- Details + FAQ ------------------------------------------------------- */
.details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: clamp(44px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
  background: var(--line);
  border: 1px solid var(--line);
}
.details > div { background: var(--stone-2); padding: 20px 20px 22px; }
.details dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}
.details dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
}

.faq { max-width: 78ch; }
.faq-title {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.qa { border-bottom: 1px solid var(--line); }
.qa:first-of-type { border-top: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary span {
  font-family: var(--display);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease);
}
.qa summary:hover span { color: var(--pine); }
.qa summary i {
  position: relative;
  flex: none;
  width: 15px;
  height: 15px;
}
.qa summary i::before,
.qa summary i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--copper);
  transform: translate(-50%, -50%);
  transition: transform 0.42s var(--ease), opacity 0.42s var(--ease);
}
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.qa-body { overflow: hidden; }
.qa-body p {
  padding-bottom: 24px;
  font-size: 0.94rem;
  line-height: 1.66;
  color: var(--ink-3);
  max-width: 66ch;
}

/* --- Register ------------------------------------------------------------ */
.register-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(40px, 5vw, 84px);
  align-items: start;
}
.register-intro { position: sticky; top: 116px; }
.assurances {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.assurances li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line-deep);
  font-size: 0.88rem;
  color: var(--on-deep-2);
}
.assurances li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.28em;
  width: 11px;
  height: 1px;
  background: var(--copper-2);
}

.reg-form {
  background: var(--deep-2);
  border: 1px solid var(--line-deep);
  border-radius: 3px;
  padding: clamp(24px, 3vw, 40px);
}
.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.field-wide { grid-column: 1 / -1; }

.reg-form .field label { color: var(--on-deep-2); }
.reg-form .field input,
.reg-form .field textarea {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-deep);
  color: var(--on-deep);
}
.reg-form .field input::placeholder,
.reg-form .field textarea::placeholder { color: #6f7a76; }
.reg-form .field input:focus,
.reg-form .field textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--copper-2);
  box-shadow: 0 0 0 3px rgba(181, 131, 79, 0.16);
}
.reg-form .hint { color: var(--on-deep-2); }
.reg-form :focus-visible { outline-color: var(--copper-2); }

.more { margin-top: 22px; border-top: 1px solid var(--line-deep); }
.more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.85rem;
  color: var(--on-deep-2);
  transition: color 0.3s var(--ease);
}
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { color: var(--on-deep); }
.more summary i {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.more summary i::before,
.more summary i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--copper-2);
  transform: translate(-50%, -50%);
  transition: transform 0.42s var(--ease), opacity 0.42s var(--ease);
}
.more summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.more[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.more-body { overflow: hidden; }
.more-body > .reg-grid { padding-bottom: 4px; }
.more-body > .hint { padding-bottom: 20px; }

.checks { margin: 26px 0 28px; display: grid; gap: 14px; }
.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--on-deep-2);
  cursor: pointer;
}
.check input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--copper-2);
  cursor: pointer;
}
.check a { color: var(--on-deep); text-decoration: underline; text-underline-offset: 2px; }
.check em { font-style: normal; color: #7d8783; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.form-promise { margin: 12px 0 0; color: #aeb8b4; font-size: 0.78rem; line-height: 1.5; text-align: center; }

.reg-status {
  min-height: 1.5em;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--copper-2);
}
.reg-status.is-ok { color: #8fc0a9; }

/* --- Post-submit confirmation -------------------------------------------- */
.signup-dialog {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  margin: auto;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(10, 25, 21, 0.34);
}
.signup-dialog::backdrop { background: rgba(12, 27, 23, 0.72); backdrop-filter: blur(4px); }
.signup-dialog h2 { margin: 8px 0 14px; font-family: var(--display); font-size: clamp(2rem, 7vw, 3rem); line-height: 1.05; color: var(--green); }
.signup-dialog > p:not(.eyebrow) { color: var(--ink-2); line-height: 1.65; }
.signup-dialog code { overflow-wrap: anywhere; color: var(--green); font: 600 0.88em var(--body); }
.dialog-close { position: absolute; top: 12px; right: 14px; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--ink-2); font-size: 1.8rem; cursor: pointer; }
.delivery-note { margin-top: 24px; padding: 18px; border-left: 3px solid var(--copper); background: #ece7dc; }
.delivery-note > strong { color: var(--green); }
.delivery-note p { margin: 7px 0 0; line-height: 1.55; color: var(--ink-2); }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.signup-dialog .btn-ghost { color: var(--green); border-color: var(--green); }
.signup-dialog .btn-ghost:hover { color: var(--paper); background: var(--green); }
@media (max-width: 520px) { .dialog-actions .btn { width: 100%; justify-content: center; } }

/* --- Footer -------------------------------------------------------------- */
.foot {
  background: var(--deep);
  color: var(--on-deep-2);
  padding-block: clamp(44px, 5vw, 68px);
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: start;
}
.foot .wordmark { color: var(--on-deep); }
.foot .wordmark span { color: var(--copper-2); }
.foot-brand p {
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
}
.foot-nav { display: flex; gap: 22px; }
.foot-nav a {
  font-size: 0.82rem;
  color: var(--on-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.foot-nav a:hover { border-bottom-color: var(--copper-2); }
.foot .copy { font-size: 0.78rem; line-height: 1.55; text-align: right; }

/* Interior pages (privacy / terms / accessibility) reuse .band */
.page-simple { padding-block: clamp(70px, 9vw, 130px); }
.page-simple h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 30px; }
.page-simple p { margin-bottom: 18px; max-width: 64ch; color: var(--ink-3); }
.page-simple a { color: var(--pine); }

/* --- Hero image carousel ------------------------------------------------- */
.slides {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 24, 26, 0.06),
              0 24px 60px -28px rgba(22, 24, 26, 0.42);
}
/* The first slide holds the box open; the rest are stacked over it. */
.slides .slide { width: 100%; opacity: 0; transition: opacity 0.9s var(--ease); }
.slides .slide + .slide { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.slides .slide.is-on { opacity: 1; }

.slide-nav { display: flex; gap: 7px; margin-top: 16px; }
.slide-nav button {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--line-2);
  cursor: pointer;
  transition: background 0.4s var(--ease), width 0.4s var(--ease);
}
.slide-nav button:hover { background: var(--ink-3); }
.slide-nav button[aria-current="true"] { background: var(--copper); width: 40px; }

/* --- Worked example: one agent run --------------------------------------- */
.sec-head-wide { max-width: 62ch; }

.runner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 3.6vw, 58px);
  align-items: start;
  margin-top: clamp(42px, 5vw, 70px);
}

.run-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.run-steps li { border-bottom: 1px solid var(--line); }
.run-steps button {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  width: 100%;
  padding: 15px 14px 15px 0;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease);
}
.run-steps button::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--pine);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.45s var(--ease);
}
.run-steps button:hover { color: var(--ink); }
.run-steps .run-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--line-2);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}
.run-steps .run-label { font-size: 0.92rem; line-height: 1.4; }
.run-steps li.is-on button { color: var(--ink); padding-left: 16px; }
.run-steps li.is-on button::before { transform: scaleY(1); }
.run-steps li.is-on .run-num { color: var(--copper); }
.run-steps li.is-done .run-num { color: var(--ink-3); }

.run-controls { display: flex; gap: 8px; margin-top: 20px; }
.run-btn {
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 8px 14px;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.run-btn:hover { color: var(--pine); border-color: var(--pine); }

.run-stage {
  background: var(--stone-2);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 24, 26, 0.04),
              0 30px 70px -45px rgba(22, 24, 26, 0.55);
}
.run-top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--stone);
}
.run-clock {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
}
.run-top b {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.run-rows { list-style: none; margin: 0; padding: 6px 0; }
.run-rows li {
  display: grid;
  grid-template-columns: 14px 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 20px;
  font-size: 0.86rem;
  transition: opacity 0.5s var(--ease), background 0.5s var(--ease);
}
.run-rows i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background 0.5s var(--ease), transform 0.5s var(--ease);
}
.run-id {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.run-desc { color: var(--ink-2); }
.run-state {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-align: right;
  transition: color 0.5s var(--ease);
}

.run-rows li[data-s="read"] i { background: var(--ink-3); }
.run-rows li[data-s="skipped"] { opacity: 0.42; }
.run-rows li[data-s="skipped"] .run-desc { text-decoration: line-through; text-decoration-thickness: 1px; }
.run-rows li[data-s="drafted"] i { background: var(--pine); transform: scale(1.25); }
.run-rows li[data-s="drafted"] .run-state { color: var(--pine); }
.run-rows li[data-s="flagged"] { background: rgba(143, 83, 39, 0.07); }
.run-rows li[data-s="flagged"] i { background: var(--copper); transform: scale(1.35); }
.run-rows li[data-s="flagged"] .run-state { color: var(--copper); }
.run-rows li[data-s="sent"] i { background: var(--pine); }
.run-rows li[data-s="sent"] .run-state { color: var(--pine); }

.run-draft {
  border-top: 1px solid var(--line);
  background: var(--stone);
  animation: draftIn 0.55s var(--ease) both;
}
.run-draft[hidden] { display: none; }
@keyframes draftIn {
  from { opacity: 0; clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
.run-draft-head {
  padding: 12px 20px 0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.run-draft-body {
  margin: 10px 0 0;
  padding: 0 20px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.72;
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-word;
}
.run-draft-note { padding: 0 20px 16px; font-size: 0.76rem; color: var(--ink-3); }

.run-foot {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: var(--stone-3);
  transition: background 0.5s var(--ease);
}
.run-foot-mark {
  width: 8px;
  height: 8px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--ink-3);
  transition: background 0.5s var(--ease);
}
.run-foot p { font-size: 0.86rem; line-height: 1.6; color: var(--ink-2); }
.run-foot[data-tone="warn"] { background: rgba(143, 83, 39, 0.1); }
.run-foot[data-tone="warn"] .run-foot-mark { background: var(--copper); }
.run-foot[data-tone="stop"] { background: var(--deep); }
.run-foot[data-tone="stop"] p { color: var(--on-deep); }
.run-foot[data-tone="stop"] .run-foot-mark { background: var(--copper-2); }
.run-foot[data-tone="ok"] { background: rgba(30, 75, 65, 0.1); }
.run-foot[data-tone="ok"] .run-foot-mark { background: var(--pine); }

.run-close {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(52px, 6vw, 88px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.run-figure { margin: 0; }
.run-figure img {
  border-radius: 2px;
  box-shadow: 0 20px 50px -32px rgba(22, 24, 26, 0.5);
}
.run-close-copy h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.run-close-copy p { font-size: 0.96rem; color: var(--ink-3); margin-bottom: 14px; max-width: 56ch; }
.run-close-copy .btn { margin-top: 10px; }

/* --- When & where -------------------------------------------------------- */
.when-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  margin-top: clamp(44px, 5vw, 72px);
}

.dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dates li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 26px);
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.dates li:hover { background: rgba(226, 217, 198, 0.4); }
.dates time { display: block; text-align: center; }
.dates .d-mon {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}
.dates .d-day {
  display: block;
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.dates h3 { font-size: 1.12rem; letter-spacing: -0.02em; }
.dates .d-body p { font-size: 0.85rem; color: var(--ink-3); margin-top: 3px; }
.dates .d-tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 5px 9px;
  white-space: nowrap;
}
.dates .d-open { color: var(--stone); background: var(--pine); border-color: var(--pine); }
.dates li.is-next { background: rgba(30, 75, 65, 0.05); }
.dates li.is-next .d-day { color: var(--pine); }

.venue-card {
  background: var(--stone-2);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 24, 26, 0.04),
              0 26px 60px -42px rgba(22, 24, 26, 0.5);
}
.map { border-bottom: 1px solid var(--line-2); }
.map svg { display: block; width: 100%; height: auto; }
.map-bg { fill: var(--stone-3); }
.map-road { stroke: var(--line-2); stroke-width: 7; fill: none; stroke-linecap: square; }
.map-block { fill: rgba(30, 75, 65, 0.14); stroke: var(--line-2); stroke-width: 1; }
.map-halo { fill: rgba(143, 83, 39, 0.18); }
.map-dot { fill: var(--copper); stroke: var(--stone); stroke-width: 2; }
.map-type text {
  font-family: var(--body);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  fill: var(--ink-3);
}
.map-type .map-place { fill: var(--pine); font-size: 9px; letter-spacing: 0.12em; }
.map-type .map-here { fill: var(--copper); font-size: 8.5px; font-weight: 700; }
.map-type .map-hint { fill: var(--ink-3); font-size: 8px; }
.map-compass path { stroke: var(--ink-3); stroke-width: 1.2; fill: none; }
.map-compass text { font-family: var(--body); font-size: 8px; font-weight: 600; fill: var(--ink-3); }

.venue-body { padding: clamp(22px, 2.4vw, 30px); }
.venue-body .eyebrow { margin-bottom: 16px; }
.venue-body h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.venue-body address {
  margin-top: 10px;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}
.venue-note { margin-top: 16px; font-size: 0.88rem; color: var(--ink-3); }
.venue-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.venue-tel {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--pine);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.3s var(--ease);
}
.venue-tel:hover { border-bottom-color: var(--pine); }
.venue-fine { margin-top: 18px; padding-left: 0; border-left: 0; }

/* Footer credit */
.foot-credit {
  color: var(--on-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--copper-2);
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.foot-credit:hover { color: var(--copper-2); }
.foot-credit .arrow { display: inline-block; margin-left: 2px; transition: transform 0.3s var(--ease); }
.foot-credit:hover .arrow { transform: translate(2px, -2px); }

/* 7. MOTION --------------------------------------------------------------- */

/* Elements only start hidden where a script can actually reveal them, so a
   no-JS visitor (or an older engine) simply gets the finished page. */
@media (scripting: enabled) {
  [data-reveal],
  [data-reveal-group] > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity var(--reveal), transform var(--reveal);
  }

  [data-reveal].is-in,
  [data-reveal-group].is-in > * { opacity: 1; transform: none; }

  [data-reveal-delay="1"] { transition-delay: 0.09s; }
  [data-reveal-delay="2"] { transition-delay: 0.18s; }
  [data-reveal-delay="3"] { transition-delay: 0.27s; }
  [data-reveal-delay="4"] { transition-delay: 0.36s; }

  [data-reveal-group] > *:nth-child(1) { transition-delay: 0.04s; }
  [data-reveal-group] > *:nth-child(2) { transition-delay: 0.12s; }
  [data-reveal-group] > *:nth-child(3) { transition-delay: 0.2s; }
  [data-reveal-group] > *:nth-child(4) { transition-delay: 0.28s; }
  [data-reveal-group] > *:nth-child(5) { transition-delay: 0.36s; }
  [data-reveal-group] > *:nth-child(6) { transition-delay: 0.44s; }
  [data-reveal-group] > *:nth-child(7) { transition-delay: 0.52s; }
  [data-reveal-group] > *:nth-child(8) { transition-delay: 0.6s; }
}

/* Result card entrance */
.result.is-in { animation: cardIn 0.5s var(--ease) both; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}

/* 8. RESPONSIVE ----------------------------------------------------------- */

@media (max-width: 1080px) {
  .failures li { grid-template-columns: 52px minmax(0, 26ch) minmax(0, 1fr); }
  .details { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 34ch; }
  .hero-figure { max-width: 460px; }
  .runner,
  .run-close,
  .when-grid,
  .session-grid,
  .host-grid,
  .register-grid { grid-template-columns: 1fr; }
  .session-sticky-in,
  .register-intro { position: static; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .outcomes { grid-template-columns: 1fr; }
  .run-figure { max-width: 560px; }

  /* Stacked, the stage must lead — otherwise it auto-advances off-screen
     while the visitor is still looking at the step list. */
  .run-stage { order: -1; }
  .runner { gap: 26px; }
  .run-steps { border-top: 0; }
  .run-steps .run-label { font-size: 0.86rem; }
  .run-steps button { padding-block: 12px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .nav-links { display: none; }
  .nav-inner { gap: 16px; justify-content: space-between; }
  .nav .btn-sm { margin-left: auto; }

  h1 { font-size: clamp(2.35rem, 10.5vw, 3.4rem); }
  h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }

  .hero-actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .facts { grid-template-columns: 1fr; }
  .failures li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }
  .failures .num { padding-top: 0; }
  .failures h3 { margin-bottom: 2px; }
  .fit-grid { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .timeline .t { padding-top: 0; }
  .foot-inner { flex-direction: column; }
  .foot .copy { text-align: left; }
  .session-sticky-in .btn { width: 100%; justify-content: space-between; }
}

/* 9. REDUCED MOTION ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  [data-reveal],
  [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  .progress { display: none; }
}
