:root {
  --paper: #f5f0e8;
  --paper-2: #ece5d8;
  --ink: #1a1f1a;
  --ink-2: #3b463b;
  --moss: #4a5d3f;
  --lichen: #8aa777;
  --copper: #a85a2a;
  --saffron: #e8a317;
  --stone: #5b6e7b;
  --rule: rgba(74, 93, 63, 0.18);
  --shadow: 0 24px 48px -16px rgba(26, 31, 26, 0.22);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14181a;
    --paper-2: #1c2123;
    --ink: #f1ece1;
    --ink-2: #c3bcaf;
    --moss: #aabe9a;
    --lichen: #6c8460;
    --copper: #d68149;
    --rule: rgba(170, 190, 154, 0.22);
    --shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Spectral', Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-decoration: none; transition: color .18s; }
a:hover { color: var(--saffron); }
::selection { background: var(--saffron); color: var(--ink); }

/* ── topbar ──────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: blur(8px) saturate(120%);
  border-bottom: 1px solid var(--rule);
}
.crumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0;
}
.crumb a { color: inherit; }
.crumb a:hover { color: var(--copper); }
.crumb span { margin: 0 10px; opacity: 0.45; }
.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
.brandmark img { width: 28px; height: 28px; border-radius: 4px; }
.brandmark:hover { color: var(--copper); }

/* ── shared section frame ───────────────────────────── */
section { max-width: 1100px; margin: 0 auto; padding: 72px 32px; }
.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 18px;
}
.kicker.light { color: rgba(245, 240, 232, 0.72); }
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
}
h1 {
  font-variation-settings: 'opsz' 144, 'wght' 600, 'SOFT' 50;
  font-weight: 600;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.95;
  max-width: 16ch;
}
h1 em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100;
  color: var(--copper);
}
h2 {
  font-variation-settings: 'opsz' 96, 'wght' 600;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.05;
  max-width: 22ch;
  color: var(--ink);
}
h2 em {
  font-style: italic;
  font-variation-settings: 'opsz' 96, 'wght' 500;
  color: var(--copper);
}
h3 {
  font-variation-settings: 'opsz' 36, 'wght' 600;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  max-width: 60ch;
  opacity: 0.88;
  margin: 0 0 24px;
}
p { max-width: 64ch; margin: 0 0 14px; }
p.muted { opacity: 0.7; font-size: 13px; }
p.muted-italic { font-style: italic; color: var(--moss); margin-top: 16px; }
.lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
}

/* ── CTA ──────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 4px;
  text-decoration: none;
  transition: color .18s, border-color .18s, background .18s;
}
.cta-primary { color: var(--saffron); border-bottom: 1px solid var(--saffron); }
.cta-primary:hover { color: var(--copper); border-color: var(--copper); }
.cta-ghost { color: var(--moss); border-bottom: 1px solid var(--lichen); }
.cta-ghost:hover { color: var(--copper); border-color: var(--copper); }
.cta-row { display: inline-flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }

/* ── hero ───────────────────────────────────── */
.hero {
  position: relative;
  padding: 88px 32px 64px;
  max-width: none;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero .topo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: var(--moss);
  opacity: 0.18;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.hero h1 { animation: rise .8s ease-out both; }
.hero .lede { animation: rise .8s ease-out .12s both; }
.hero .cta-row { animation: rise .8s ease-out .24s both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── full-bleed image ──────────────────────────── */
.full-bleed, .closing-bleed {
  margin: 0;
  padding: 0;
  position: relative;
}
.full-bleed img, .closing-bleed img { width: 100%; height: auto; display: block; }
.full-bleed figcaption, .closing-bleed figcaption {
  font-family: 'Spectral', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--moss);
  padding: 14px 32px 8px;
  max-width: 1100px;
  margin: 0 auto;
}
.full-bleed figcaption .lbl { margin-right: 14px; vertical-align: middle; }

/* ── setting ─────────────────────────────────── */
.setting-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 24px;
}
.setting-grid img { box-shadow: var(--shadow); border-radius: 0; aspect-ratio: 16/10; object-fit: cover; }

/* ── gallery ─────────────────────────────────── */
.gallery { padding-top: 48px; }
.g-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
  margin-top: 24px;
}
.g-grid figure { margin: 0; position: relative; overflow: hidden; }
.g-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-grid figcaption {
  position: absolute; left: 12px; bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(26, 31, 26, 0.66);
  padding: 4px 10px;
}
.g-grid .g-tall { grid-row: span 2; }
.g-grid .g-wide { grid-column: span 2; }

/* ── day / bpmn ─────────────────────────────── */
.bpmnframe {
  position: relative;
  height: 540px;
  margin: 24px 0 8px;
  background: var(--paper-2);
  border-top: 1px solid var(--lichen);
  border-bottom: 1px solid var(--lichen);
}
#bpmn-canvas { position: absolute; inset: 16px; }
.day .caption { font-size: 12px; color: var(--moss); }
@media (prefers-color-scheme: dark) {
  .bpmnframe { background: #1c2123; }
}

/* ── activities ─────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.card { background: var(--paper-2); border: 1px solid var(--rule); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 24px; }
.card h3 { margin-top: 8px; }
.card p { font-size: 15px; line-height: 1.55; }

/* ── surprises (pull-quote band) ─────────────── */
.surprise {
  background: var(--stone);
  color: var(--paper);
  padding: 80px 32px;
  margin: 0;
  max-width: none;
}
.surprise-inner { max-width: 880px; margin: 0 auto; }
.surprise h2 { color: var(--paper); }
.surprise h2 em { color: var(--saffron); }
.surprise ol {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-variation-settings: 'opsz' 60, 'wght' 400;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.5;
  padding-left: 36px;
  max-width: 50ch;
  counter-reset: surp;
  list-style: none;
}
.surprise ol li {
  counter-increment: surp;
  position: relative;
  margin: 18px 0;
  padding-left: 8px;
}
.surprise ol li::before {
  content: counter(surp, decimal-leading-zero);
  position: absolute;
  left: -42px; top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--saffron);
  font-weight: 600;
}

/* ── takeaways ───────────────────────────────── */
.tg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 24px;
}
.tg .item h3 { font-size: 22px; }
.tg .item p { font-size: 15px; }

/* ── FAQ accordion ───────────────────────────── */
.faq details {
  border-top: 1px solid var(--rule);
  padding: 18px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'opsz' 36, 'wght' 500;
  font-size: 19px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  color: var(--copper);
  font-size: 24px;
  transition: transform .18s;
}
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 14px 0 0; font-size: 15px; line-height: 1.65; opacity: 0.85; max-width: 70ch; }

/* ── practical grid ─────────────────────────── */
.pg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 48px;
  margin-top: 24px;
}
.pg .item {
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.pg .item h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 8px;
  font-weight: 600;
}
.pg .item p { font-size: 15px; margin: 0; }

/* ── footer ─────────────────────────────────── */
.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 32px 64px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--moss);
  margin: 0 0 6px;
}
.brand-line img { width: 22px; height: 22px; border-radius: 4px; }
.footer .muted { font-size: 12px; margin: 0; }

/* ── responsive ─────────────────────────────── */
@media (max-width: 980px) {
  section { padding: 56px 24px; }
  .setting-grid { grid-template-columns: 1fr; gap: 28px; }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .g-grid .g-tall { grid-row: auto; }
  .g-grid .g-wide { grid-column: span 2; }
  .cards { grid-template-columns: 1fr 1fr; }
  .tg, .pg { grid-template-columns: 1fr 1fr; }
  .hero { padding: 64px 24px 48px; }
  .topbar { padding: 12px 20px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 48px 20px; }
  .topbar .crumb span:nth-of-type(1),
  .topbar .crumb span:nth-of-type(2) { margin: 0 6px; }
  .topbar .crumb { font-size: 10px; letter-spacing: 1.6px; }
  h1 { font-size: 44px; }
  h2 { font-size: 28px; }
  .lede { font-size: 17px; }
  .g-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-grid .g-tall, .g-grid .g-wide { grid-column: auto; grid-row: auto; }
  .cards { grid-template-columns: 1fr; }
  .tg, .pg { grid-template-columns: 1fr; gap: 22px; }
  .surprise { padding: 56px 24px; }
  .surprise ol { padding-left: 28px; }
  .surprise ol li::before { left: -32px; }
  .bpmnframe { height: 380px; }
  #bpmn-canvas { inset: 8px; }
  .full-bleed figcaption, .closing-bleed figcaption { padding: 12px 20px; }
  .cta-row { gap: 18px; }
}
