/* FSA Events. The look follows the 2026 website redesign (v6) of futureskills.academy:
   white paper, FSA blue, Archivo Narrow uppercase display type and thin rules. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("/fonts/archivo-narrow-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --paper: #FFFFFF;
  --band: #F0F2F2;
  --ink: #3C3C3B;
  --ink-deep: #232524;
  --ink-soft: #6D706E;
  --blue: #21B1EB;
  --blue-type: #1499D2;
  --blue-deep: #0A6488;
  --on-blue: #1C1E1D;
  --on-blue-soft: #22333D;
  --btn-ink: #06222E;
  --night: #191B1A;
  --on-night: #EFF1F0;
  --on-night-soft: #A2A8A6;
  --line: #DBDDDC;
  --line-soft: #E9EBEA;
  --ok-bg: #E6F6EC;
  --ok-ink: #14532D;
  --error-bg: #FDECEC;
  --error-ink: #8A1C1C;
  --head: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

/* Pages framed by a light page (the coaching panel) stay light: with "light dark" the browser paints a dark backdrop
   behind the frame for visitors in dark mode. */
:root.light { color-scheme: light; }

@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    --paper: #111312;
    --band: #191C1B;
    --ink: #EDEFEE;
    --ink-deep: #FFFFFF;
    --ink-soft: #9BA09E;
    --blue: #3FBDF7;
    --blue-type: #5CC8FA;
    --blue-deep: #8FDAFC;
    --on-blue: #08222D;
    --on-blue-soft: #123543;
    --btn-ink: #06222E;
    --night: #080909;
    --on-night: #EDEFEE;
    --on-night-soft: #9BA09E;
    --line: #2B2F2D;
    --line-soft: #202423;
    --ok-bg: #12301F;
    --ok-ink: #BBF7D0;
    --error-bg: #3A1414;
    --error-ink: #FECACA;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); }
a:hover { color: var(--ink-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 14px; top: 14px; z-index: 200; background: var(--paper); padding: 11px 18px; border: 2px solid var(--ink); }

/* Containers */
.in { max-width: 1340px; margin: 0 auto; padding: 0 36px; }
.in.narrow { max-width: 820px; }
.wrap { max-width: 1340px; margin: 0 auto; padding: 0 36px; }

/* Type */
.d, h1.d, h2.d {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.004em;
  color: var(--ink-deep);
  margin: 0;
  text-wrap: balance;
}
h1.d { font-size: clamp(46px, 7.2vw, 112px); }
.ev-head h1.d { font-size: clamp(42px, 6vw, 96px); text-wrap: balance; }
.ev-head h1.d.long { font-size: clamp(34px, 4.2vw, 64px); }
.ev-head h1.d.longer { font-size: clamp(30px, 3.4vw, 50px); }
h2.d { font-size: clamp(34px, 5vw, 76px); }
.lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 18px; }
.sub { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; max-width: 46ch; margin: 22px 0 0; color: var(--ink); }
.blue { color: var(--blue-type); }
.soft { color: var(--ink-soft); }
.fine { font-size: 13.5px; line-height: 1.5; color: var(--ink); margin: 0; }
.status { font-weight: 600; color: var(--ink-deep); }

.prose h2, .ev h2, .booking-page h2 {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 1;
  color: var(--ink-deep);
  margin: 40px 0 12px;
}
.prose { max-width: 68ch; }
.prose h3 { font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--ink-deep); margin: 28px 0 8px; }
.prose h2 + h3 { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 4px 0; }

/* Buttons */
.btn, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  border: 2px solid transparent;
  background: var(--blue);
  color: var(--btn-ink);
  cursor: pointer;
}
.btn:hover, button:hover { background: var(--ink-deep); color: var(--paper); }
.btn.big { padding: 18px 26px; font-size: 13.5px; width: 100%; }
.btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.dark { background: var(--on-blue); color: var(--blue); }
.btn.dark:hover { background: var(--paper); color: var(--on-blue); }
.btn.ghost-dark { background: transparent; border-color: var(--on-blue); color: var(--on-blue); }
.btn.ghost-dark:hover { background: var(--on-blue); color: var(--blue); }
.btn.danger, button.danger { background: var(--error-bg); color: var(--error-ink); border-color: var(--error-ink); }
.linkish { background: none; border: 0; padding: 4px 0; color: var(--blue-deep); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; text-decoration: underline; }
.linkish:hover { background: none; color: var(--ink-deep); }
.go { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-deep); text-decoration: none; }

/* Header, like futureskills.academy */
header.site { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-in { max-width: 1340px; margin: 0 auto; padding: 0 36px; min-height: 76px; display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.mark { display: flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; flex: none; }
.mark .fmark { height: 46px; width: auto; }
.mark .txt { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 0.05em; line-height: 1.04; }
.site-nav { display: flex; gap: 6px 26px; flex-wrap: wrap; flex: 1 1 auto; }
.site-nav a { padding: 7px 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blue); }
.cta-top { margin-left: auto; flex: none; }
.site-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-soft); }

/* Footer */
.site-foot { background: var(--night); color: var(--on-night-soft); font-size: 14px; margin-top: 0; }
.site-foot .in { padding-top: 64px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.flock { display: flex; align-items: center; gap: 16px; color: var(--on-night); flex: 1 1 280px; }
.flock .fmark { height: 72px; width: auto; }
.flock span { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.02; letter-spacing: 0.03em; }
.fcols { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.fcols div { display: flex; flex-direction: column; gap: 6px; min-width: 180px; }
.fcols h2 { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-night); margin: 0 0 8px; }
.fcols a { color: var(--on-night-soft); text-decoration: none; }
.fcols a:hover { color: var(--blue); }

/* Sections */
.phero { border-bottom: 1px solid var(--line); }
.phero-in { padding-top: 96px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.phero-in .sub { max-width: 40ch; flex: 0 1 420px; margin: 0; }
.band { background: var(--band); }
.band .in, .list-section .in { padding-top: 56px; padding-bottom: 96px; }
.bluebg { background: var(--blue); color: var(--on-blue); }
.bluebg .lbl { color: var(--on-blue-soft); }
.bluebg .d { color: var(--on-blue); }
.bluebg .sub { color: var(--on-blue-soft); }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 28px; }
.sh .side { max-width: 42ch; margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* Pills and tags */
.pill { display: inline-block; padding: 5px 11px; border: 1px solid var(--blue); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); }
.pill.solid { background: var(--blue); color: var(--btn-ink); }
.pill.night { background: var(--night); border-color: var(--night); color: var(--on-night); }
.tag { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink); }
.tag.urgent { background: var(--ink-deep); border-color: var(--ink-deep); color: var(--paper); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags:empty { display: none; }
.etags { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.etags .soft { font-size: 13px; }

/* Overview list */
.listbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { padding: 9px 15px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink-deep); border-color: var(--ink-deep); color: var(--paper); }
.erows { border-top: 2px solid var(--ink); }
.erow { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.erow:hover { background: var(--band); color: var(--ink); }
.edate { flex: 0 0 96px; display: flex; flex-direction: column; gap: 2px; padding-left: 4px; }
.edate .wd { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.edate .dd { font-family: var(--head); font-weight: 700; font-size: 46px; line-height: 0.9; color: var(--blue-type); }
.edate .mm { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: 0.04em; color: var(--ink-deep); }
.nsess { margin-top: 6px; align-self: flex-start; padding: 3px 7px; background: var(--ink-deep); color: var(--paper); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.emain { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.etitle { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 36px); line-height: 0.98; color: var(--ink-deep); }
.emain .soft { font-size: 15px; }
.emeta { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.eside { flex: 0 1 200px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.eprice { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1; color: var(--ink-deep); }
.empty { padding: 28px 0; color: var(--ink-soft); margin: 0; }

/* Follow */
.follow { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.follow > div:first-child { flex: 1 1 440px; min-width: 0; }
.follow-form { flex: 1 1 420px; min-width: 0; }
.follow-form p { margin: 0 0 18px; color: var(--on-blue-soft); }
.follow .form label { color: var(--on-blue); }
.follow .form input[type="email"] { border: 2px solid var(--on-blue); }
.follow .fine { color: var(--on-blue-soft); }
.checks { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.acts { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 4px 0 16px; }

/* Past events */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pcard { background: var(--paper); padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.pcard:hover { background: var(--band); color: var(--ink); }
.pcard .lbl { margin: 0; }
.ptitle { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 24px; line-height: 1; color: var(--ink-deep); }
.pcard .soft { font-size: 14.5px; }

/* Event page */
.ev .back { display: inline-block; margin-top: 28px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.ev .back::before { content: "\2190\00a0"; }
.ev-grid { display: flex; flex-direction: column; gap: 48px; padding-top: 36px; padding-bottom: 96px; }
@media (min-width: 900px) {
  .ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
  .ev-book { max-width: none; }
}
@media (min-width: 1200px) {
  .ev-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; }
}
.ev-main { min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.ev-head { display: flex; flex-direction: column; gap: 22px; }
.ev-head .sub { margin: 0; }
.jump { display: none; align-self: flex-start; }
.ev-main .prose h2:first-child { margin-top: 0; }
.ev-book { min-width: 0; max-width: 560px; background: var(--band); padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.facts { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin: 0; color: var(--ink-deep); }
.facts .soft { font-size: 14px; }
.policy { padding-top: 18px; border-top: 1px solid var(--line); }

/* Video: our own poster, the player only loads after a click */
.video { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--night); color: var(--on-night); overflow: hidden; text-decoration: none; }
.video:hover { color: var(--on-night); }
.video-mark { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); color: var(--blue); opacity: 0.9; }
.video-mark .fmark { height: 220px; width: auto; }
.video-cap { position: absolute; left: 32px; bottom: 28px; right: 32px; display: flex; align-items: center; gap: 18px; }
.video-cap strong { display: block; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); line-height: 1; color: #FFFFFF; }
.video-cap span span { display: block; font-size: 14px; color: var(--on-night-soft); margin-top: 6px; }
.play { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--blue); position: relative; }
.play::after { content: ""; position: absolute; left: 30px; top: 23px; border-left: 24px solid var(--btn-ink); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.video:hover .play { background: #FFFFFF; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video.has-poster .video-mark { display: none; }
.video.has-poster::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 12, 14, 0.82), rgba(10, 12, 14, 0.25) 45%, rgba(10, 12, 14, 0) 70%); }
.video-cap { z-index: 2; }
.video.has-poster .video-cap strong { font-size: clamp(18px, 2vw, 24px); }
@media (max-width: 600px) {
  .video.has-poster .video-cap > span:last-child { display: none; }
}
.video iframe, .video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* "Try it first": the short game of a 101 topic, below the video */
.game { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 16px; padding: 22px 24px; background: var(--night); color: var(--on-night); text-decoration: none; border-left: 8px solid var(--blue); }
.game:hover { color: var(--on-night); }
.game-in { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.game-eyebrow { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px; color: var(--on-night-soft); }
.game strong { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.05; color: #FFFFFF; }
.game-in > span:last-child:not(.game-eyebrow) { font-size: 16px; line-height: 1.4; }
.game:hover .btn { background: #FFFFFF; }

/* Schedule */
.schedule h2 { margin-top: 0; }
.srows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
/* Number, date and time on one line on wide screens; the time moves under the date when space runs out. */
.srow { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, auto); grid-template-areas: "n date time"; gap: 6px 24px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sn { grid-area: n; font-family: var(--head); font-weight: 700; font-size: 36px; line-height: 0.85; color: var(--blue-type); }
.sdate, .stime { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sdate { grid-area: date; }
.sdate strong { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.05; color: var(--ink-deep); }
.stime { grid-area: time; font-size: 15px; text-align: right; }
@media (max-width: 1199px) {
  .srow { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "n date" ". time"; }
  .stime { text-align: left; }
}
.more summary { cursor: pointer; padding: 16px 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--blue-deep); }
.schedule .fine { margin-top: 16px; }

/* Facilitator */
.facil { display: flex; flex-wrap: wrap; gap: 20px 24px; align-items: center; padding: 26px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.facil img { width: 120px; height: 150px; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.facil div { flex: 1 1 260px; min-width: 0; }
.facil .lbl { margin: 0 0 6px; }
.fname { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 28px; line-height: 1; color: var(--ink-deep); margin: 0 0 6px; }
.facil .soft { margin: 0; font-size: 15px; }

/* Who's going */
.going h2, .question h2 { margin-top: 0; }

/* What people say about the teacher of a 101 (src/topic-quotes.js) */
.says { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 28px 0; border-top: 2px solid var(--ink); }
.says h2 { margin: 0; }
.say { margin: 0; padding: 20px 22px; background: var(--band); border-left: 6px solid var(--blue); display: flex; flex-direction: column; gap: 14px; }
.say blockquote { margin: 0; }
.say blockquote p { margin: 0; font-size: 19px; line-height: 1.45; color: var(--ink-deep); }
.say blockquote p::before { content: "\201C"; }
.say blockquote p::after { content: "\201D"; }
.say figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--ink-soft); }
.say figcaption strong { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 16px; color: var(--ink-deep); }
.say-context { font-style: italic; }
.say figcaption a { margin-top: 4px; color: var(--ink-deep); }
.says-mark { align-self: flex-start; margin: 0; padding: 3px 10px; background: var(--error-ink); color: #FFFFFF; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; }
.says.is-placeholder::after { content: "PLACEHOLDER"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: clamp(48px, 9vw, 110px); color: rgba(179, 45, 46, 0.13); transform: rotate(-12deg); pointer-events: none; }
.lock { margin: 0; padding: 22px 24px; background: var(--band); }
.names { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.names li { padding: 6px 14px; border: 1px solid var(--line); }

/* Forms */
.form { display: grid; gap: 14px; }
.form p { margin: 0; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-deep); }
.form small { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.form input, .form select, .form textarea {
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  color: var(--ink-deep);
  background: var(--paper);
  border: 1.5px solid var(--ink-soft);
  border-radius: 0;
  padding: 12px 14px;
  width: 100%;
}
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14.5px; }
.form .check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue-deep); }
.form.resend { margin-top: -6px; }
.inline-form { margin: 8px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.question .form { max-width: 640px; }
.question .btn { justify-self: start; }

.notice-ok, .notice-error { padding: 12px 16px; margin: 0; }
.notice-ok { background: var(--ok-bg); color: var(--ok-ink); }
.notice-error { background: var(--error-bg); color: var(--error-ink); }

/* Simple pages, booking page and policies */
.notice, .booking-page, .policy-page { padding-top: 64px; padding-bottom: 96px; }
.notice h1.d, .booking-page h1.d, .policy-page h1.d { font-size: clamp(40px, 6vw, 80px); margin-bottom: 20px; }
.notice p, .booking-page > p { margin: 0 0 16px; }
.booking-page .notice-ok, .booking-page .notice-error { margin: 20px 0; }
.slist { padding-left: 22px; }
.attendee { border: 1px solid var(--line); padding: 12px 16px 16px; display: grid; gap: 10px; margin: 0; }
.attendee legend { font-family: var(--head); text-transform: uppercase; font-weight: 700; padding: 0 6px; }

/* Below laptop width the site menu gets its own row under the logo, like futureskills.academy. */
@media (max-width: 1180px) {
  .site-in { padding-top: 12px; padding-bottom: 0; }
  .site-nav { order: 3; flex: 1 1 100%; margin: 0 -36px; padding: 8px 36px 10px; gap: 22px; overflow-x: auto; flex-wrap: nowrap; border-top: 1px solid var(--line-soft); scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; }
}
@media (max-width: 780px) {
  .in, .wrap, .site-in { padding-left: 16px; padding-right: 16px; }
  .site-nav { margin: 0 -16px; padding: 8px 16px 10px; gap: 20px; }
  .cta-top { padding: 11px 14px; font-size: 10.5px; letter-spacing: 0.08em; }
  .phero-in { padding-top: 56px; padding-bottom: 40px; }
  .follow { padding-top: 64px; padding-bottom: 64px; }
  .ev-book { padding: 22px; max-width: none; }
  .video-cap { left: 18px; right: 18px; bottom: 16px; }
  .play { width: 56px; height: 56px; }
  .play::after { left: 22px; top: 16px; border-left-width: 18px; border-top-width: 12px; border-bottom-width: 12px; }
  .video-mark .fmark { height: 140px; }
}
/* When the booking box drops below the description, offer a shortcut to it. */
@media (max-width: 899px) {
  .jump { display: inline-flex; }
}

/* Admin */
.admin { padding: 24px 0 64px; }
.admin h1 { font-family: var(--head); text-transform: uppercase; font-size: clamp(32px, 4vw, 44px); line-height: 1; color: var(--ink-deep); margin: 8px 0 18px; }
.admin h2 { font-family: var(--head); text-transform: uppercase; font-size: 24px; color: var(--ink-deep); margin: 36px 0 12px; }
.admin h3 { font-family: var(--head); text-transform: uppercase; font-size: 18px; color: var(--ink-deep); margin: 10px 0 0; }
.admin table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.admin th, .admin td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin th { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.admin td.nowrap { white-space: nowrap; }
.admin tr.past td { color: var(--ink-soft); }
.admin tr.group th { padding-top: 26px; color: var(--ink-deep); }
.admin .scroll { overflow-x: auto; }
.admin .muted { color: var(--ink-soft); }
.admin .pill { display: inline-block; padding: 2px 8px; border: 1px solid var(--line); border-radius: 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: var(--band); color: var(--ink); white-space: nowrap; }
.admin .pill.bad { background: var(--error-bg); color: var(--error-ink); border-color: transparent; }
.admin .pill.good { background: var(--ok-bg); color: var(--ok-ink); border-color: transparent; }
.admin .row-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 96px; }
.admin .nowrap { white-space: nowrap; }
.admin form.inline { display: inline; margin: 0; }
.admin form.inline button { font-size: 11px; padding: 7px 10px; letter-spacing: 0.08em; white-space: nowrap; }
.admin .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 14px 0 24px; }
.admin .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; padding: 14px 18px; background: var(--band); }
.admin .meta span { white-space: nowrap; }
.admin .announce { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 24px; }
.admin button, .admin .button { font-size: 12px; padding: 11px 16px; }
.admin .button { display: inline-flex; align-items: center; background: var(--blue); color: var(--btn-ink); text-decoration: none; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.button.secondary { background: var(--band); color: var(--ink-deep); border: 1px solid var(--line); }
button.danger { background: var(--error-bg); color: var(--error-ink); }

.admin-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; padding: 8px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.admin-nav .muted { margin-left: auto; font-size: 0.85rem; }
.admin .notice-error ul { margin: 6px 0 0; padding-left: 20px; }
/* Undelivered mails on the Events page (src/admin-mails.js). */
.admin .mail-problems { background: var(--error-bg); padding: 18px 20px 6px; margin: 0 0 20px; }
.admin .mail-problems h2 { margin: 0 0 4px; font-size: 20px; color: var(--error-ink); }
.admin .mail-problems ul { list-style: none; margin: 12px 0 0; padding: 0; }
.admin .mail-problems li { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.admin .mail-problems li p { margin: 0; }
.admin .mail-problems form { margin-top: 6px; }

/* Admin forms */
.admin .big-number { font-size: 20px; margin: 0 0 8px; }
.admin-form { max-width: 980px; gap: 22px; }
.admin-form fieldset { border: 1px solid var(--line); padding: 16px 20px 22px; display: grid; gap: 16px; min-width: 0; margin: 0; }
.admin-form legend { font-family: var(--head); text-transform: uppercase; font-weight: 700; font-size: 18px; padding: 0 8px; color: var(--ink-deep); }
.admin-form .row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; }
.admin-form .narrow { max-width: 380px; }
.admin-form .choices { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.admin-form .opt { font-weight: 400; font-size: 12px; color: var(--ink-soft); }
.admin-form textarea { resize: vertical; }
.admin-form input[readonly] { background: var(--band); color: var(--ink-soft); }
.editor-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; }
.editor-tools button { padding: 7px 12px; font-size: 11px; background: var(--paper); color: var(--ink-deep); border: 1px solid var(--line); }
.editor-tools button:hover { border-color: var(--ink-deep); background: var(--paper); color: var(--ink-deep); }
.editor { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.editor textarea { min-height: 320px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.6; }
.editor-preview-box { border: 1px dashed var(--line); padding: 14px 18px; min-width: 0; max-height: 640px; overflow: auto; background: var(--paper); }
.editor-label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; font-weight: 400; }
.editor-preview { font-weight: 400; font-size: 15px; }
.editor-preview h2 { font-size: 22px; margin: 18px 0 8px; }
.editor-preview h3 { font-size: 17px; margin: 14px 0 6px; }
.editor-preview > :first-child { margin-top: 0; }
@media (min-width: 1000px) { .editor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.admin-form .photo-pick { display: flex; gap: 16px; align-items: flex-end; }
.admin-form .photo-pick label { flex: 1; min-width: 0; }
.admin-form .photo-preview { flex: none; width: 96px; height: 120px; object-fit: cover; border: 1px solid var(--line); background: var(--band); }
.admin-form .photo-preview[hidden] { display: none; }
.admin-form input[type="file"] { font-size: 15px; cursor: pointer; }
@media (max-width: 600px) {
  .admin-form .photo-pick { flex-direction: column; align-items: stretch; }
  .admin-form .photo-preview { width: 80px; height: 100px; }
}
.admin-form p.muted { margin: 0; font-size: 14px; }
.admin-form.inline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; max-width: none; }

/* Dates: two lines per session (date and times, then the optional details). */
.sessions { display: grid; border-top: 1px solid var(--line); }
.session-row { display: grid; grid-template-columns: 36px repeat(3, minmax(0, 1fr)); gap: 10px 14px; padding: 14px 0 16px; border-bottom: 1px solid var(--line); align-items: start; }
.session-row .n { grid-row: 1 / span 2; font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1; color: var(--blue-type); padding-top: 30px; }
.session-row label { font-size: 13px; }

/* Price fields only for paid events; hints only where they apply. */
.event-form:not(:has(#kind option[value="paid"]:checked)) .paid-only { display: none; }
.event-form:has(#kind option[value="paid"]:checked) .not-paid,
.event-form:has(#kind option[value="paid"]:checked) .hint-free { display: none; }
.event-form:not(:has(#kind option[value="members"]:checked)) .hint-members { display: none; }
.event-form:has(#kind option[value="members"]:checked) .not-members { display: none; }

@media (max-width: 700px) {
  .session-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .session-row .n { grid-row: auto; grid-column: 1 / -1; padding-top: 0; }
  .session-row .s-date, .session-row .s-title, .session-row .s-place, .session-row .s-url { grid-column: 1 / -1; }
  .admin-nav .muted { margin-left: 0; width: 100%; }
}

/* Embedded event list (iframe on futureskills.academy) */
body.embed { background: var(--paper); }
body.embed .erow { padding: 22px 4px; }
body.embed .etitle { font-size: clamp(22px, 3.2vw, 30px); }
.embed-foot { margin: 18px 4px 4px; }

/* Coaching bookings: free times a month at a time, a row per day (src/coaching-pages.js). */
.coaching .months { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 4px; }
.coaching .months a { min-width: 52px; text-align: center; padding: 7px 12px 6px; font-size: 14px; font-weight: 600; color: var(--ink-deep); text-decoration: none; border: 1px solid var(--line); background: var(--paper); }
.coaching .months a:hover { border-color: var(--ink-deep); }
.coaching .months a[aria-current] { background: var(--ink-deep); border-color: var(--ink-deep); color: var(--paper); }
.coaching .slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 18px 12px; margin: 18px 0 0; }
.coaching .slots:empty { display: none; }
/* A card per day in a grid: the labels stay on one line, so the times of a grid row line up across and down. */
.coaching .slot-day { display: grid; align-content: start; gap: 7px; min-width: 0; }
.coaching .slot-day h3 { font-family: var(--text); font-size: 15px; font-weight: 600; line-height: 1.2; margin: 0; text-transform: none; letter-spacing: 0; color: var(--ink-deep); white-space: nowrap; }
.coaching .slot-times { display: flex; flex-wrap: wrap; gap: 6px; }
.coaching .slot-day h3 .weekday, .coaching .slots.pick .day .weekday { display: block; }
.coaching .slot-day h3 .date { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13.5px; margin-top: 1px; }
.coaching .slot { display: inline-block; min-width: 74px; text-align: center; padding: 7px 12px 6px; border: 1.5px solid var(--blue); background: var(--paper); color: var(--ink-deep); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.coaching .slot:hover, .coaching .slot:focus-visible { background: var(--blue); color: var(--on-blue); }
.coaching .slots-empty { margin: 14px 0 0; font-weight: 600; }
/* Many times a day (public/coaching.js): pick a day, its times open in a row under it. */
.coaching .slots.pick { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.coaching .slots.pick .day { display: grid; gap: 2px; justify-content: start; justify-items: start; text-align: left; padding: 9px 10px 8px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-deep); font: inherit; font-size: 14.5px; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.coaching .slots.pick .day .date { font-size: 13.5px; font-weight: 400; }
.coaching .slots.pick .day small { font-size: 12.5px; font-weight: 400; color: var(--ink-soft); }
.coaching .slots.pick .day:hover { background: var(--paper); color: var(--ink-deep); border-color: var(--ink-deep); }
.coaching .slots.pick .day[aria-pressed="true"] { background: var(--ink-deep); border-color: var(--ink-deep); color: var(--paper); }
.coaching .slots.pick .day[aria-pressed="true"] small { color: var(--paper); }
.coaching .day-head { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink-deep); }
.coaching .day-times { grid-column: 1 / -1; display: grid; gap: 8px; padding: 4px 0 10px; }
.coaching .day-times .slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 6px; }
.coaching .month-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 16px 0 0; }
.coaching .month-nav a:not(.btn) { font-size: 14px; color: var(--ink); }
.coaching .no-fit { margin: 16px 0 0; font-size: 15px; }
.coaching .no-fit a { font-weight: 600; color: var(--ink-deep); text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.coaching h2 { font-size: 22px; margin: 28px 0 8px; }
.coaching .form { max-width: 560px; margin-top: 20px; }

/* The compact coaching panel inside futureskills.academy (?embed=1). The page around it is light, so the panel is too. */
body.coaching-embed { background: transparent; color-scheme: light; }
body.coaching-embed .coaching { padding: 0 2px 8px; }
body.coaching-embed .coaching h2 { margin: 0 0 8px; font-size: 20px; }
body.coaching-embed .coaching .slots { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 16px 10px; }
body.coaching-embed .coaching .slot-day h3 { font-size: 14.5px; }
body.coaching-embed .coaching .form { margin-top: 12px; }
body.coaching-embed .coaching .btn { width: 100%; }

/* The 101 journey (src/journey-pages.js). Facilitation orange as the accent; dark ink on it for contrast. */
.jr { --jr: #F68A1E; --jr-ink: #1C1E1D; padding-top: 28px; padding-bottom: 72px; display: grid; gap: 18px; }
.jr > * { margin: 0; }
.jr .btn:not(.ghost), .jr button[type=submit]:not(.linkish):not(.ghost) { background: var(--jr); color: var(--jr-ink); }
.jr .btn:not(.ghost):hover, .jr button[type=submit]:not(.linkish):not(.ghost):hover { background: var(--ink-deep); color: var(--paper); }
.jr .btn.danger { background: var(--error-bg); color: var(--error-ink); }
.jr-label { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; color: var(--ink-soft); }
.jr-h1 { font-size: clamp(40px, 9vw, 72px); }
.jr-h2 { font-size: clamp(30px, 7vw, 48px); }
.jr-h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 21px; color: var(--ink-deep); margin: 10px 0 0; }
.jr-lede { font-size: 19px; line-height: 1.45; }
.jr-help { font-size: 15px; color: var(--ink-soft); margin: 0; }
.jr-small { font-size: 14px; color: var(--ink-soft); }
.jr-back { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; color: var(--ink-deep); text-decoration: none; }
.jr-session, .jr-live { background: var(--night); color: var(--on-night); padding: 20px; border-left: 10px solid var(--jr); display: grid; gap: 4px; }
.jr-live { background: var(--jr); color: var(--jr-ink); border-left-color: var(--jr-ink); }
.jr-session .jr-label { color: var(--on-night-soft); }
.jr-live .jr-label { color: var(--jr-ink); }
.jr-session strong, .jr-live strong { font-family: var(--head); font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.jr-steps { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink-deep); }
.jr-step { display: flex; gap: 14px; align-items: flex-start; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink-deep); text-decoration: none; }
.jr-step b { display: block; font-family: var(--head); font-size: 20px; line-height: 1.1; text-transform: uppercase; }
.jr-when { font-size: 15px; color: var(--ink-soft); }
.jr-dot { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink-deep); display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 15px; margin-top: 2px; }
.jr-step.done .jr-dot { background: var(--ink-deep); color: var(--paper); }
.jr-step.open .jr-dot { background: var(--jr); border-color: var(--jr); color: var(--jr-ink); }
.jr-step.later { color: var(--ink-soft); }
.jr-step.later .jr-dot { border-color: var(--line); }
.jr-go { margin-left: auto; align-self: center; font-family: var(--head); font-size: 22px; }
.jr-privacy { background: var(--band); padding: 16px; font-size: 16px; }
.jr-vid { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--night); }
.jr-form { display: grid; gap: 22px; }
.jr-field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.jr-q { font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.15; text-transform: uppercase; color: var(--ink-deep); padding: 0; }
.jr textarea, .jr input[type=text] { width: 100%; padding: 12px; font: inherit; font-size: 18px; line-height: 1.4; color: var(--ink-deep); background: var(--paper); border: 2px solid var(--ink-deep); border-radius: 0; }
.jr textarea { min-height: 120px; resize: vertical; field-sizing: content; }
.jr input[type=range] { width: 100%; accent-color: var(--jr); height: 32px; }
.jr-ends { display: flex; justify-content: space-between; gap: 12px; font-family: var(--head); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.jr-tick, .jr-choice { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.jr-tick input, .jr-choice input { width: 22px; height: 22px; flex: none; accent-color: var(--jr); margin: 1px 0 0; }
.jr-rate { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.jr-rate label { display: grid; place-items: center; min-height: 52px; border: 2px solid var(--ink-deep); font-family: var(--head); font-weight: 700; font-size: 22px; cursor: pointer; }
.jr-rate input { position: absolute; opacity: 0; pointer-events: none; }
.jr-rate label:has(input:checked) { background: var(--jr); border-color: var(--jr); color: var(--jr-ink); }
.jr-rate label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.jr-recall { background: var(--band); padding: 16px; border-left: 6px solid var(--jr); white-space: pre-wrap; }
.jr-prompt { border-left: 8px solid var(--jr); background: var(--band); padding: 16px; }
.jr-capsule { background: var(--night); color: var(--on-night); padding: 22px; font-size: 20px; line-height: 1.4; }
.jr-capsule .jr-label { color: var(--on-night-soft); }
.jr-chap { border-top: 6px solid var(--ink-deep); padding-top: 14px; display: grid; gap: 6px; }
.jr-chap.empty { border-top-color: var(--line); }
.jr-chap dl { margin: 6px 0 0; display: grid; gap: 4px; }
.jr-chap dt { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 0.04em; margin-top: 8px; }
.jr-chap dd { margin: 0; white-space: pre-wrap; }
.jr-none { color: var(--ink-soft); font-style: italic; }
.jr-inline { display: inline; }
.jr-map { display: block; width: 100%; max-width: 420px; margin: 8px auto 0; height: auto; overflow: visible; }
.jr-map .grid { fill: var(--band); }
.jr-map .ax { stroke: var(--ink-deep); stroke-width: 2; }
.jr-map text { font-family: var(--head); font-weight: 700; font-size: 14px; text-transform: uppercase; fill: var(--ink-deep); }
.jr-map .you { fill: #F68A1E; stroke: var(--ink-deep); stroke-width: 3; }
.jr-map .other { fill: var(--ink-soft); }
.jr-knots { display: grid; gap: 10px; padding-left: 20px; }
.jr-admin .jr-map { margin: 0; }
@media print {
  .site, .site-foot, .jr-back, .jr .btn, .jr button, .jr-small, .jr-vid { display: none !important; }
}

/* A series (one event per date, for example the Future Skills Web Jam): the other dates and the calendar of the series. */
.series { border-top: 1px solid var(--line, rgba(0,0,0,.15)); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.series h2 { margin: 0; font-size: 20px; }
.series-dates { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.series .btn { text-align: center; white-space: normal; }

/* The look of a series on its confirmation and booking pages (layout `look` in html.js). 'webjam' follows the
   Web Jam page on futureskills.academy: black ground, white capitals, FSA blue for the button, an orange dot.
   The colours are set for both light and dark mode, so the page looks the same in each. */
body.look-webjam main {
  --paper: #000000;
  --band: #191B1A;
  --ink: #FFFFFF;
  --ink-deep: #FFFFFF;
  --ink-soft: #A9AEAC;
  --blue: #21B1EB;
  --blue-type: #21B1EB;
  --blue-deep: #6FCDF3;
  --btn-ink: #06222E;
  --line: rgba(255, 255, 255, 0.24);
  --line-soft: rgba(255, 255, 255, 0.14);
  --ok-bg: #12301F;
  --ok-ink: #BBF7D0;
  --error-bg: #3A1414;
  --error-ink: #FECACA;
  background: #000000;
  color: #FFFFFF;
  color-scheme: dark;
}
body.look-webjam main a { color: #FFFFFF; }
body.look-webjam main a:hover { color: var(--blue); }
body.look-webjam main .btn, body.look-webjam main button { padding: 17px 28px; font-size: 14px; color: var(--btn-ink); }
body.look-webjam main .btn:hover, body.look-webjam main button:hover { background: #FFFFFF; color: #1C1E1D; }
body.look-webjam main .btn.ghost { color: #FFFFFF; border-color: #FFFFFF; }
body.look-webjam main .btn.ghost:hover { background: #FFFFFF; color: #1C1E1D; }
body.look-webjam main .btn.danger, body.look-webjam main button.danger { color: var(--error-ink); }
body.look-webjam main :focus-visible { outline-color: #FF6E00; }
.series-kicker { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 15px; margin: 0 0 18px; color: var(--ink-deep); }
.series-kicker::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #FF6E00; margin-right: 10px; }
.cal-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .cal-btns .btn { width: 100%; text-align: center; white-space: normal; } }

/* The top of the Web Jam's event and booking pages: the film of faces, darker on the left where the words are. */
.jam-hero { position: relative; background: #000000; color: #FFFFFF; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(520px, 44vw, 700px); }
.jam-film { position: absolute; inset: 0; }
.jam-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000000; }
.jam-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.86) 34%, rgba(0,0,0,.42) 62%, rgba(0,0,0,.22) 100%), linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 30%); }
.jam-hero-in { position: relative; width: 100%; padding-top: 56px; padding-bottom: 60px; }
.jam-hero-in > * { max-width: 640px; }
.jam-hero .series-kicker { color: #FFFFFF; margin-bottom: 16px; }
.jam-title { font-family: var(--text); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.9; font-size: clamp(56px, 8vw, 124px); margin: 0 0 22px; color: #FFFFFF; }
.jam-title span { display: block; color: #21B1EB; }
.jam-when { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 20px; line-height: 1.25; margin: 0 0 10px; color: #FFFFFF; }
.jam-sub { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; margin: 0; color: #FFFFFF; }
.jam-btns, .jam-hero .cal-btns { margin: 24px 0 0; }
.jam-fine { font-size: 15px; color: #A9AEAC; margin: 14px 0 0; }
.jam-credit { position: absolute; right: 62px; bottom: 16px; margin: 0; font-size: 12.5px; color: rgba(255,255,255,.72); text-align: right; }
.jam-pause { position: absolute; right: 16px; bottom: 10px; z-index: 2; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); background: rgba(0,0,0,.35); cursor: pointer; }
.jam-pause[hidden] { display: none; }
.jam-pause:hover { background: rgba(0,0,0,.6); }
.jam-pause::before, .jam-pause::after { content: ""; position: absolute; top: 10px; width: 4px; height: 10px; background: #FFFFFF; border-radius: 1px; }
.jam-pause::before { left: 10px; }
.jam-pause::after { left: 16px; }
.jam-pause.is-paused::before { left: 12px; top: 9px; width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #FFFFFF; border-radius: 0; }
.jam-pause.is-paused::after { display: none; }
body.look-webjam .jam-hero .btn { padding: 19px 34px; font-size: 15px; }
body.look-webjam main .jam-pause, body.look-webjam main .jam-pause:hover { padding: 0; background: rgba(0,0,0,.45); }
body.look-webjam .jam-hero .btn.ghost { border-color: #FFFFFF; color: #FFFFFF; background: rgba(0,0,0,.35); }
body.look-webjam .jam-hero + .booking-page { padding-top: 40px; }
body.look-webjam .jam-hero + .booking-page h2:first-child { margin-top: 0; }
body.look-webjam .ev .back { margin-top: 36px; }
@media (max-width: 760px) {
  .jam-hero { display: block; min-height: 0; }
  .jam-film { position: relative; inset: auto; height: min(60vw, 260px); }
  .jam-film::after { background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.15) 100%); }
  .jam-hero-in { padding-top: 10px; padding-bottom: 40px; }
  .jam-title { font-size: 54px; margin-bottom: 14px; }
  .jam-when { font-size: 18px; }
  .jam-credit { position: static; padding: 0 20px 18px; text-align: left; }
  .jam-pause { top: 10px; bottom: auto; }
  .jam-hero .btn { width: 100%; text-align: center; white-space: normal; }
}

/* "A collaboration of": the partners of a series, side by side with the same area on screen. */
.jam-collab { margin-top: 32px; max-width: none; }
.jam-collab p { margin: 0 0 14px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: #A9AEAC; }
.jam-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.jam-logos img.blend { mix-blend-mode: screen; }
@media (max-width: 560px) { .jam-logos { gap: 14px 22px; } .jam-logos img { transform-origin: left center; height: auto; } .jam-logos a:nth-child(1) img { width: 104px; } .jam-logos a:nth-child(2) img { width: 60px; } .jam-logos a:nth-child(3) img { width: 63px; } }
.jam-logos a { display: block; line-height: 0; }
.jam-logos a:hover { opacity: 0.75; }
.jam-logos img { display: block; max-width: none; }

/* The sign-up view of a jam (address ends in ?signup, or the answer to a sent form): a short top without the film,
   then the sign-up form first, before the description. */
.jam-top { background: #000000; color: #FFFFFF; padding: 30px 0 4px; }
.jam-top .series-kicker { color: #FFFFFF; margin-bottom: 14px; }
.jam-top .jam-title { font-size: clamp(44px, 6vw, 88px); margin-bottom: 18px; }
.jam-top .jam-title span { display: inline; }
.jam-top .jam-when { margin-bottom: 6px; }
.jam-top .jam-fine { margin-top: 0; }
.jam-top .back { display: inline-block; margin: 0 0 26px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: #A9AEAC; }
.jam-top .back::before { content: "\2190\00a0"; }
.jam-top .back:hover { color: #FFFFFF; }
.ev.book-first .ev-grid { padding-top: 22px; }
.ev.book-first .ev-book { order: -1; }
@media (min-width: 900px) { .ev.book-first .ev-grid { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); } }
@media (max-width: 760px) { .jam-top { padding-top: 22px; } .jam-top .back { margin-bottom: 18px; } .jam-top .jam-title { font-size: 40px; margin-bottom: 12px; } .jam-top .jam-when { font-size: 16px; } .ev.book-first .ev-grid { padding-top: 16px; } }
