:root {
  /* Colours sampled from the printed manual. */
  --cover: #cbebef;     /* cover and closing page */
  --paper: #ffffff;
  --cream: #e8f6f7;     /* section dividers, callouts, quote boxes */
  --reflect: #98d5de;   /* reflection boxes, dress code tags */
  --ink: #161a20;       /* body text */
  --body: #4d5366;     /* running text: grey as in the print */
  --soft: #4d5366;      /* secondary text in cards and contacts */
  --muted: #8b8d90;
  --rule: #d8d0c2;
  --burgundy: #6a1a23;
  --red: #eb2800;
  --red-dark: #c42200;
  --navy: #1700ac;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 22px;
  --maxw: 560px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #e9e6e3;
  color: var(--body);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

#app {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
}

.view { animation: fade 0.35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Typography helpers ---------- */
.kicker {
  margin: 0;
  font: 600 11px/1.4 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.kicker--blue { color: var(--navy); font-weight: 500; }
.kicker--muted { color: var(--muted); }
.kicker--red { color: var(--red); }
.serif { font-family: var(--serif); }
.rule-red { width: 72px; height: 2px; background: var(--red); border: 0; margin: 18px 0 0; }

/* ---------- Logo strip ---------- */
.nocaps { text-transform: none; }

/* The client's logo strip (KLU · tagline · Learn Logistics) as one image, so
   the tile proportions and gaps stay exactly as supplied. */
.logos { display: block; width: 100%; max-width: 420px; height: auto; }

/* ---------- Cover ---------- */
.cover {
  background: var(--cover);
  min-height: 100vh; min-height: 100dvh;
  padding: calc(22px + env(safe-area-inset-top, 0px)) var(--gutter) calc(28px + var(--safe-b));
  display: flex; flex-direction: column;
}
.cover__main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 36px 0 28px; }
.btn-primary.cover__cta { align-self: flex-start; width: auto; min-width: 240px; margin-top: 34px; padding-left: 30px; padding-right: 30px; }
.cover__title {
  margin: 18px 0 0;
  font: 400 clamp(54px, 16vw, 76px)/0.95 var(--serif);
  color: #111; letter-spacing: -0.01em;
}
.cover__sub { margin: 14px 0 0; font: italic 400 19px/1.3 var(--serif); color: #111; max-width: 26ch; }
.cover__tag { margin-top: 22px; line-height: 1.9; font-weight: 400; }
.cover__place { text-align: right; margin: 26px 0 12px; font: 500 10px/1.8 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: #222; }
.cover__line { height: 2px; background: var(--navy); border: 0; margin: 0 0 9px; }
/* Footer: host, partner, then the date one line below, sitting at the very
   bottom of the cover (the SOS button floats to its right). */
.cover { padding-bottom: calc(18px + var(--safe-b)); }
.cover__foot { display: flex; flex-direction: column; font-size: 10.5px; line-height: 1.45; color: #444; }
.cover__foot strong { font-size: 11.5px; }
.cover__foot strong { color: #111; }
.cover__date { margin-top: 0.8em; font: italic 400 13.5px/1.2 var(--serif); color: #111; white-space: nowrap; }

.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; margin-top: 26px; padding: 17px 20px;
  border: 0; border-radius: 2px; cursor: pointer;
  background: var(--burgundy); color: #fff;
  font: 600 12px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase;
  box-shadow: 0 10px 24px -12px rgba(106, 26, 35, 0.7);
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn-primary:active { transform: scale(0.985); }
.btn-primary:hover { background: #561419; }
.btn-primary .arrow { font-size: 16px; letter-spacing: 0; transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.topbar__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 8px 6px; cursor: pointer;
  font: 500 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.topbar__btn .chev { font-size: 18px; line-height: 0.6; color: var(--red); }
.topbar__btn { flex: none; }
.topbar__label { min-width: 0; margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 500 10px/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-align: right; }

/* ---------- Contents ---------- */
.page { padding: 26px var(--gutter) calc(110px + var(--safe-b)); }
.page__title { margin: 12px 0 0; font: 400 46px/1.05 var(--serif); color: #000; }
.page__lead { margin: 18px 0 0; font: italic 400 18px/1.45 var(--serif); color: var(--muted); }

.toc { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.toc a {
  display: grid; grid-template-columns: 40px 1fr 20px; align-items: center; gap: 4px;
  padding: 16px 2px; text-decoration: none; border-bottom: 1px solid var(--rule);
  transition: background 0.15s;
}
.toc a:active, .toc a:hover { background: var(--cream); }
.toc__num { font: italic 500 17px/1 var(--serif); color: var(--red); }
.toc__title { display: block; font: 500 15px/1.3 var(--sans); color: var(--ink); }
.toc__hint { display: block; margin-top: 3px; font: italic 400 15px/1.3 var(--serif); color: var(--muted); }
.toc__chev { color: var(--red); font-size: 20px; text-align: right; }

.imprint { margin-top: 36px; padding: 20px; background: var(--cream); }
.imprint summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.imprint summary::-webkit-details-marker { display: none; }
.imprint summary::after { content: "+"; color: var(--red); font-size: 20px; line-height: 1; }
.imprint[open] summary::after { content: "–"; }
.imprint .h { margin-top: 18px; }

/* ---------- Section hero ---------- */
.hero { background: var(--cream); padding: 40px var(--gutter) 34px; }
.hero__num { margin: 14px 0 0; font: 400 76px/1 var(--serif); color: #000; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.hero__title { margin: 6px 0 0; font: 400 38px/1.08 var(--serif); color: #000; }
.hero__intro { margin: 18px 0 0; font: italic 400 18px/1.45 var(--serif); color: #5e6364; }

.content { padding: 30px var(--gutter) 10px; }
.content > * + * { margin-top: 18px; }
.content p { margin-bottom: 0; }
.b-kicker { margin-top: 38px !important; }
.b-kicker:first-child { margin-top: 0 !important; }
.b-kicker--rule { margin-top: 30px !important; padding-top: 22px; border-top: 1.5px solid var(--burgundy); }
.b-title { margin: 8px 0 0 !important; font: 400 30px/1.12 var(--serif); color: var(--burgundy); }
.b-title::after { content: ""; display: block; width: 64px; height: 2px; background: var(--red); margin-top: 14px; }
.b-lead { font: italic 400 17.5px/1.5 var(--serif); color: var(--body); }
.b-lead--sm { font-size: 15.5px; }
.b-p { text-align: left; hyphens: manual; color: var(--body); }
.h { margin: 26px 0 0 !important; font: 700 10.5px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--burgundy); }
.b-note { font-size: 12px; color: var(--muted); font-style: italic; }

.rows { border-top: 1px solid var(--rule); }
.row { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.row__k { margin: 0 0 5px; font: 700 14px/1.35 var(--sans); color: var(--burgundy); }
.row__v { margin: 0; font-size: 14.5px; color: var(--body); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: #fff; padding: 14px 12px; border: 1px solid var(--rule); }
.stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.stat__n { font: 400 30px/1 var(--serif); color: var(--burgundy); }
.stat__l { margin-top: 8px; font: 500 10px/1.4 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.stat__d { margin-top: 5px; font-size: 12px; line-height: 1.4; font-style: italic; color: var(--muted); }

.cards { display: grid; gap: 24px; }
.card { border-top: 1px solid var(--rule); padding: 12px 0 4px; background: #fff; }
.card .kicker { color: var(--red); letter-spacing: 0.18em; }
.card__title { margin: 4px 0 0; font: 400 21px/1.2 var(--serif); color: var(--burgundy); }
.card__body { margin: 8px 0 0 !important; font-size: 14.5px; color: var(--soft); }
.card ul { margin: 10px 0 0; }

ul.bul { list-style: none; padding: 0; margin: 0; }
ul.bul li { position: relative; padding-left: 18px; margin-top: 8px; font-size: 14.5px; color: var(--body); }
ul.bul li::before { content: ""; position: absolute; left: 3px; top: 0.6em; width: 5px; height: 5px; background: var(--red); transform: rotate(45deg); }

.callout { background: var(--cream); border-left: 3px solid var(--red); padding: 16px 16px 16px 18px; }
.callout p:last-child { margin-top: 8px; font: 400 14.5px/1.6 var(--sans); color: var(--ink); }

.quote { background: var(--cream); border-left: 3px solid var(--red); padding: 22px 20px; margin-top: 28px !important; }
.quote__text { margin-top: 10px !important; font: italic 400 19px/1.4 var(--serif); color: var(--burgundy); }
.quote__by { margin-top: 18px !important; font-size: 13.5px; }
.quote__by strong { color: var(--ink); }
.quote__by span { display: block; margin-top: 2px; color: var(--soft); }

/* Research posters: full width, beige rule between them. */
.posters { margin-top: 14px !important; }
.poster { display: block; padding: 18px 0; }
.poster:first-child { padding-top: 0; }
.poster + .poster { border-top: 1px solid var(--rule); }
.poster img { display: block; width: 100%; height: auto; background: #f3f1ec; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px dashed #c9b8a6; background: #fffaf5; font-size: 13.5px; }
.notice::before { content: "i"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--burgundy); color: #fff; font: italic 600 13px/20px var(--serif); text-align: center; }

.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th, td { padding: 9px 8px; text-align: left; border-bottom: 1px solid var(--rule); white-space: nowrap; }
th { font: 700 10px/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--burgundy); background: #fff; border-bottom: 1px solid var(--burgundy); }
td:first-child { color: var(--burgundy); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* accordion (sessions, days) */
.acc { border-top: 1.5px solid var(--burgundy); }
/* Section V: burgundy rule between major sessions, bright red rule between
   the parts inside a session (Session focus, Suggested reading, ...). */
.acc--sessions .acc__body > .h:not(:first-child) { padding-top: 22px; border-top: 1.5px solid var(--red); }
.acc--sessions .acc__body > .acc__intro + .h { margin-top: 26px !important; padding-top: 0; border-top: 0; }
.acc--sessions .matrix__head span { color: #000; }
/* Rules: burgundy between the big sections (each drop-down item), beige
   between the smaller parts inside one. */
.acc > details { border-bottom: 1.5px solid var(--burgundy); }
.acc summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  display: grid; grid-template-columns: 1fr 24px; align-items: start; gap: 8px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ttl { display: block; margin-top: 4px; font: 400 23px/1.15 var(--serif); color: var(--burgundy); }
.acc summary .pm { margin-top: 18px; justify-self: end; width: 24px; height: 24px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; color: var(--red); font-size: 15px; line-height: 1; transition: transform 0.2s; }
.acc details[open] > summary .pm { transform: rotate(45deg); }
.acc .acc__body { padding: 0 0 22px; }
.acc .acc__body > * + * { margin-top: 14px; }

.slots { border-top: 1px solid var(--rule); }
.slot { display: grid; grid-template-columns: 84px 1fr; column-gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.slot > :not(.slot__time) { grid-column: 2; }
.slot__time { grid-row: 1 / span 3; font: 700 12.5px/1.45 var(--sans); color: var(--ink); }
.slot__what { font-size: 14px; line-height: 1.45; color: var(--ink); }
.slot__where { margin-top: 2px; font-size: 12px; font-style: italic; color: var(--muted); }
.tbc { font: italic 400 16px/1.4 var(--serif); color: var(--muted); }

/* journal */
.j-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.j-tabs::-webkit-scrollbar { display: none; }
.j-tab {
  flex: none; padding: 9px 13px; border: 1px solid var(--rule); background: #fff; border-radius: 2px; cursor: pointer;
  font: 600 11px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.j-tab[aria-selected="true"] { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.j-tab.has { position: relative; }
.j-tab.has::after { content: ""; position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.j-q { margin-top: 20px !important; }
.j-q label { display: block; font: 500 17px/1.35 var(--serif); color: var(--burgundy); }
.j-q label b { font: 600 11px/1 var(--sans); color: var(--red); letter-spacing: 0.1em; margin-right: 6px; }
.j-q textarea {
  width: 100%; margin-top: 8px; min-height: 92px; resize: vertical;
  padding: 12px; border: 1px solid var(--rule); border-radius: 2px; background: #fdfcfb;
  font: 400 15px/1.5 var(--sans); color: var(--ink);
}
.j-q textarea:focus { outline: none; border-color: var(--burgundy); background: #fff; box-shadow: 0 0 0 3px rgba(107, 29, 36, 0.08); }
.j-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px !important; font-size: 12px; color: var(--muted); }
.btn-ghost { background: none; border: 1px solid var(--burgundy); color: var(--burgundy); padding: 10px 14px; border-radius: 2px; cursor: pointer; font: 600 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }

/* contacts */
.contacts { border-top: 1px solid var(--rule); }
/* A group right after another already sits under that group's red rule. */
.contacts + .h + .contacts { border-top: 0; }
.contact { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
/* Bright red rule closes each contact group (programme, hotel, emergency). */
.contact:last-child { border-bottom: 1.5px solid var(--red); }
.contact__label { font: 700 13px/1.3 var(--sans); color: var(--burgundy); }
.contact__name { margin-top: 4px; font: 600 15px/1.3 var(--sans); color: var(--ink); }
.contact__detail { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--body); }
.contact__detail a { color: var(--burgundy); }
.call {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 64px; padding: 10px 12px; border-radius: 2px; text-decoration: none;
  background: var(--burgundy); color: #fff; font: 600 11px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
}

.sosbanner { display: flex; gap: 14px; align-items: center; padding: 16px; background: #fff1ed; border: 1px solid #f6c3b4; cursor: pointer; width: 100%; text-align: left; }
.sosbanner .sosbanner__dot { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--sans); letter-spacing: 0.06em; }
.sosbanner strong { display: block; color: var(--ink); font-size: 14.5px; }
.sosbanner span { font-size: 13px; color: var(--body); }

.closing { margin-top: 42px !important; padding: 34px 22px; background: var(--cover); color: #000; text-align: left; }
.closing p:first-child { font: 400 28px/1.2 var(--serif); }
.closing p:first-child::after { content: ""; display: block; width: 64px; height: 2px; background: var(--red); margin-top: 18px; }
.closing p:last-child { margin-top: 16px; font: 400 14px/1.6 var(--sans); }

/* prev / next */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 36px var(--gutter) 0; background: var(--rule); border: 1px solid var(--rule); }
.pager > a { display: block; padding: 14px; background: #fff; text-decoration: none; min-height: 72px; }
.pager .lab { display: block; font: 600 9.5px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pager .ttl { display: block; margin-top: 5px; font: 500 16px/1.2 var(--serif); color: var(--burgundy); }
.pager .next { text-align: right; }

/* Brand line with the page number underneath; the bottom padding lets the
   last lines sit beside the floating SOS button instead of above a gap. */
.footer { padding: 28px var(--gutter) calc(32px + var(--safe-b)); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font: 500 9.5px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- SOS floating button ---------- */
.sos-fab {
  position: fixed; z-index: 40;
  right: max(16px, calc((100vw - var(--maxw)) / 2 + 16px));
  bottom: calc(18px + var(--safe-b));
  width: 62px; height: 62px; border-radius: 50%; border: 3px solid #fff; cursor: pointer;
  background: var(--red); color: #fff;
  font: 800 15px/1 var(--sans); letter-spacing: 0.06em;
  box-shadow: 0 10px 24px -6px rgba(232, 52, 15, 0.6), 0 2px 6px rgba(0, 0, 0, 0.15);
}
.sos-fab:active { transform: scale(0.95); }
.sos-fab__ring { position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--red); animation: pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(1.55); opacity: 0; } }

.cover__top { display: flex; align-items: center; }

/* ---------- Bottom sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(20, 16, 18, 0.5); animation: fadein 0.2s ease both; }
@keyframes fadein { from { opacity: 0; } }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: var(--maxw); margin: 0 auto; max-height: 92vh; max-height: 92dvh; overflow-y: auto;
  background: #fff; border-radius: 16px 16px 0 0;
  padding: 8px var(--gutter) calc(26px + var(--safe-b));
  animation: up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes up { from { transform: translateY(100%); } }
.sheet__grip { width: 40px; height: 4px; border-radius: 2px; background: #ddd; margin: 4px auto 14px; }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-start; }
.sheet__title { margin: 6px 0 0; font: 400 34px/1.05 var(--serif); color: var(--burgundy); }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; cursor: pointer; color: var(--ink); }
.sheet__body > * + * { margin-top: 18px; }
.sheet__body { margin-top: 18px; }

.sos-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sos-num { display: flex; flex-direction: column; align-items: center; padding: 14px 6px 12px; border-radius: 4px; background: var(--red); color: #fff; text-decoration: none; }
.sos-num b { font: 700 26px/1 var(--sans); }
.sos-num span { margin-top: 6px; font: 600 9.5px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.sos-num--alt { background: var(--burgundy); }

.sos-block { border: 1px solid var(--rule); padding: 16px; }
.sos-block h3 { margin: 6px 0 0; font: 500 21px/1.2 var(--serif); color: var(--ink); }
.sos-block p { margin: 6px 0 0; font-size: 13.5px; }
.sos-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.sos-actions .full { grid-column: 1 / -1; }
.act {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px;
  border-radius: 2px; border: 1px solid var(--burgundy); background: #fff; color: var(--burgundy);
  text-decoration: none; cursor: pointer; font: 600 11px/1.1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; text-align: center;
}
.act--solid { background: var(--burgundy); color: #fff; }
.act--red { background: var(--red); border-color: var(--red); color: #fff; }
.act[disabled] { opacity: 0.5; cursor: progress; }
.sound-btn { flex: none; width: 34px; height: 34px; border: 1px solid var(--rule); border-radius: 50%; background: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.sos-copy { margin: 0; font-size: 14px; }
.sos-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.sos-name { display: block; }
.sos-name span { display: block; font: 600 10px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.sos-name input { width: 100%; margin-top: 6px; padding: 12px; border: 1px solid var(--rule); border-radius: 2px; font: 400 16px/1.3 var(--sans); color: var(--ink); }
.sos-name input:focus { outline: none; border-color: var(--burgundy); }
.act.step { width: 100%; min-height: 52px; font-size: 12px; }
.act.step b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); font-size: 11px; letter-spacing: 0; }
.act--wa { background: #25d366; border-color: #25d366; color: #052e16; }
.act--wa.step b { background: rgba(0, 0, 0, 0.12); }
.sos-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.sos-note a { color: var(--burgundy); font-weight: 500; }
.sos-ok { margin: 10px 0 0; font-size: 13.5px; color: #11663a; font-weight: 500; }
.sos-err { margin: 10px 0 0; font-size: 13.5px; color: var(--red-dark); }
.sos-msg { width: 100%; margin-top: 6px; min-height: 84px; padding: 10px; border: 1px solid var(--rule); font: 400 14px/1.4 var(--sans); }

.driver-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.driver-pick button { padding: 8px 11px; border: 1px solid var(--rule); background: #fff; border-radius: 2px; cursor: pointer; font: 600 10.5px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.driver-pick button[aria-pressed="true"] { border-color: var(--burgundy); color: var(--burgundy); }

/* Full-screen driver card */
.driver {
  position: fixed; inset: 0; z-index: 80; background: #fff; display: flex; flex-direction: column;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 24px calc(24px + var(--safe-b));
}
.driver__close { align-self: flex-end; }
.driver__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.driver__ask { font: 500 22px/1.35 var(--sans); color: var(--muted); }
.driver__name { margin-top: 22px; font: 700 30px/1.2 var(--sans); color: var(--ink); }
.driver__addr { margin-top: 12px; font: 600 34px/1.22 var(--sans); color: var(--burgundy); }
.driver__en { margin-top: 26px; font-size: 13px; color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translateX(-50%); z-index: 90;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; font-size: 13px; max-width: 90vw;
  animation: fadein 0.2s both;
}

@media (min-width: 600px) {
  body { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Daily program details */
.card__sub { margin: 4px 0 0 !important; font-size: 13px; font-style: italic; color: var(--muted); }
.card__fact { margin: 10px 0 0 !important; font-size: 14px; }
.card__fact b { color: var(--ink); }
.dress { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.dress__tag { display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: 6px; background: var(--reflect); color: #000; font: 400 12.5px/1.4 var(--sans); }
/* Subtitle at the top of an opened drop-down (session brief, day theme). */
.acc__intro { margin: 0 !important; font: italic 400 16px/1.45 var(--serif); color: #5e6364; }
.day__meta .dress__tag { margin-top: 10px; }
.day__meta .dress__note { margin-top: 6px !important; }
.dress__note { margin: 0; font-size: 12.5px; font-style: italic; color: var(--muted); }
.slot__who { font-style: italic; color: var(--body); }
.slot__note { margin-top: 2px; font-size: 13px; font-style: italic; color: var(--body); }
.slot__note--strong { font-style: normal; font-weight: 600; color: var(--ink); }
.slot--strong .slot__what { font-weight: 600; }
.slot--minor .slot__what { color: var(--muted); }
.slot__opt { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 700; color: var(--ink); }
.callout--soft { background: var(--cream); }
.callout--soft .kicker { color: #000; }
.callout--soft ul.bul li { font-size: 14px; }
.callout p.callout__title { margin-top: 6px; font: 400 19px/1.3 var(--serif); color: #000; font-style: normal; }
.callout p.callout__text { margin-top: 8px; font: 400 14px/1.6 var(--sans); color: #000; font-style: normal; }
.callout--reflect { background: var(--reflect); }
.callout--reflect .kicker { color: #000; }
.callout.callout--reflect p:last-child { font: italic 400 16.5px/1.45 var(--serif); color: #000; }
.sos-call { margin-top: 10px; }

/* Reading links, wide tables as cards, method steps, observation sheet */
.card__link { display: inline-block; margin-top: 8px; font: 600 11px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); text-decoration: none; }
.matrix { display: grid; gap: 10px; }
.matrix__row { border-top: 1px solid var(--rule); padding: 10px 0 2px; }
.matrix__head { margin: 0; font: 700 14.5px/1.35 var(--sans); color: var(--burgundy); }
.matrix__head span, .matrix__cell span { display: block; font: 600 9.5px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.matrix__head span { margin-bottom: 2px; }
.matrix__cell { margin: 8px 0 0 !important; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
/* Site guides (Section VI): red rule after the intro, beige between lenses. */
.matrix--guide .matrix__row:first-child { border-top: 1.5px solid var(--red); }
.matrix--guide .matrix__head span { color: #000; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.steps__n { width: 26px; height: 26px; border-radius: 50%; background: var(--burgundy); color: #fff; display: grid; place-items: center; font: 600 12px/1 var(--sans); }
.steps p { margin: 0; font-size: 14px; line-height: 1.55; }
.steps b { color: var(--burgundy); }
.sheet-form > * + * { margin-top: 12px; }
.sheet-lens { border-top: 1px solid var(--rule); }
.sheet-lens summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.sheet-lens summary::-webkit-details-marker { display: none; }
.sheet-lens summary .pm { color: var(--red); font-size: 18px; transition: transform 0.2s; }
.sheet-lens[open] summary .pm { transform: rotate(45deg); }
/* The lens rows sit inside an .acc: keep their icon centred on the row. */
.acc .sheet-lens summary .pm { margin-top: 0; }
.sheet-lens .j-q { margin-top: 10px !important; }
.sheet-lens .j-q label { font-size: 15.5px; }
.sheet-lens textarea { min-height: 58px; }

/* Session headers inside the accordion: red kicker, burgundy serif title, full red rule, italic lead. */

.reading { margin-top: 8px !important; }
.reading__row { padding: 14px 0; }
.reading__row + .reading__row { border-top: 1px solid var(--rule); }
.reading__row:first-child { padding-top: 0; }
.reading__src { margin: 0 !important; font-size: 13px; color: #000; }
.reading__title { margin: 4px 0 0 !important; font: 400 17px/1.3 var(--serif); color: var(--burgundy); }
.reading__body { margin: 4px 0 0 !important; font-size: 13.5px; line-height: 1.45; color: var(--soft); }
.reading__link { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 8px; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 2px; font: 600 10.5px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); text-decoration: none; }
.reading__link:hover, .reading__link:focus-visible { border-color: var(--burgundy); }
.reading__host { font-weight: 400; letter-spacing: 0.04em; text-transform: none; font-size: 11.5px; color: var(--muted); }
@media (min-width: 480px) {
  .reading__row { display: grid; grid-template-columns: 30% 1fr; gap: 14px; }
  .reading__title { margin-top: 0 !important; }
}

.numbers { border-bottom: 1px solid var(--rule); }
.numbers__row { display: grid; grid-template-columns: 38% 1fr; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--rule); }
.numbers__row:first-child { border-top: 0; }
.numbers__n { margin: 0 !important; font: 400 22px/1.15 var(--serif); color: var(--burgundy); }
.numbers__l { margin: 0 !important; font-size: 13px; line-height: 1.45; color: var(--soft); }

.sheet-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-field span { display: block; font: italic 400 13px/1.3 var(--sans); color: var(--muted); }
/* Same box for the date picker and the text field, so the pair lines up
   (date inputs otherwise take their own height, and centre text on iOS). */
.sheet-field input { display: block; box-sizing: border-box; width: 100%; height: 42px; min-width: 0; margin: 4px 0 0; padding: 0 10px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: #fdfcfb; font: 400 15px/1 var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; }
.sheet-field input::-webkit-date-and-time-value { text-align: left; }
.sheet-field input:focus { outline: none; border-bottom-color: var(--burgundy); }



/* More room between the parts of a session or a drop-down. */
.acc .acc__body > * + * { margin-top: 18px; }
.acc .acc__body > .h { margin-top: 34px !important; }
.acc .acc__body > .h:first-child { margin-top: 0 !important; }
.acc + .acc { margin-top: 0 !important; border-top: 0; }

/* The four lenses as a 2 × 2 grid. */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { display: flex; flex-direction: column; background: var(--cream); border-top: 3px solid var(--burgundy); padding: 14px 12px 16px; }
/* Ask sits at the bottom of each tile, so tiles side by side line up. */
.tile .tile__label--ask { margin-top: auto !important; padding-top: 12px; }
.tile p { margin: 0; }
.tile__k { font: 700 14px/1.3 var(--sans); color: var(--burgundy); }
.tile__n { display: block; margin-bottom: 2px; font: 600 10px/1.3 var(--sans); letter-spacing: 0.16em; color: var(--red); }
.tile__label { margin-top: 12px !important; font: 600 9.5px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.tile__text { margin-top: 4px !important; font-size: 13px; line-height: 1.5; color: var(--body); }
.tile__ask { margin-top: 4px !important; font: italic 400 15.5px/1.35 var(--serif); color: #000; }

/* Label / value lines (poster session). */
.info { display: grid; grid-template-columns: 74px 1fr; gap: 8px 12px; margin: 12px 0 0; }
.info dt { font: 600 10px/1.9 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); }
.info dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--body); }

/* Observation sheet: straight rules, labels aligned with their boxes. */
.sheet-lens { padding-bottom: 6px; }
.sheet-lens .j-q { margin: 0 !important; padding: 10px 0; border-top: 1px solid var(--rule); }
.sheet-lens .j-q:first-of-type { border-top: 0; }
.sheet-lens .j-q label { font: 600 13px/1.4 var(--sans); color: var(--burgundy); }
.sheet-lens textarea { display: block; margin-top: 6px; }

/* Small phones (iPhone SE 1st gen and similar, 320–359px). */
@media (max-width: 359px) {
  .btn-primary { letter-spacing: 0.16em; }
  .btn-primary.cover__cta { min-width: 0; white-space: nowrap; padding-left: 22px; padding-right: 22px; }
  .tiles { gap: 8px; }
  .tile { padding: 12px 9px 14px; }
  .tile__k { font-size: 13px; }
  .tile__text { font-size: 12.5px; }
  .tile__ask { font-size: 14.5px; }
}
