/* The OpenMOCA look, from the brand kit (design/brand-kit/openmoca): light, ink, teal structure, copper content, gold pin.
   Inter and JetBrains Mono: the installed fonts if there are any, otherwise the files in assets/fonts. Every slide is a 1920 × 1080 canvas, scaled to fit the window. */
:root {
  --bg: #FAF7F2; --surface: #FFFFFF; --raised: #F3EDE5; --line: #D9CFC4; --text: #2B1D16; --muted: #6F6259;
  --structure: #2F6F6A; --content: #B5652B; --evidence: #2B1D16; --pin: #A87508; --in-force: #1F5A40;
  --note-bg: #E3EFED; --code-bg: #2B1D16; --code-text: #F3ECE4;
  --d-bg: #151210; --d-surface: #1E1A17; --d-line: #3A332E; --d-text: #F3ECE4; --d-muted: #A39A92;
  --d-structure: #5FB3AA; --d-content: #E08A4C; --d-pin: #F2C36B;
  --sans: Inter, "Inter Web", system-ui, sans-serif; --mono: "JetBrains Mono", "JetBrains Mono Web", ui-monospace, monospace;
  --m: 100px; /* side margin */
}
/* Web fonts for viewers without Inter and JetBrains Mono installed (from @fontsource, OFL). */
@font-face { font-family: "Inter Web"; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Web"; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Web"; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Web"; font-weight: 700; font-display: swap; src: url(assets/fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono Web"; font-weight: 400; font-display: swap; src: url(assets/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono Web"; font-weight: 700; font-display: swap; src: url(assets/fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2"); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #000; overflow: hidden; }
body { font-family: var(--sans); color: var(--text); -webkit-font-smoothing: antialiased; }

/* ---- The canvas ---- */
.deck { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px;
  transform: translate(-50%, -50%) scale(var(--scale, 1)); }
.slide { position: absolute; inset: 0; display: none; background: var(--bg); padding: 70px var(--m) 130px; }
.slide.active { display: block; }
.notes { display: none; }

/* Footer: icon, openmoca.org and the slide number (added by deck.js) */
.footer { position: absolute; left: var(--m); right: var(--m); bottom: 44px; display: flex; align-items: center;
  gap: 12px; font-size: 22px; color: var(--muted); }
.footer img { width: 37px; height: 37px; }
.footer .home { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.footer .home:hover { text-decoration: underline; }
.footer .num { margin-left: auto; }

/* ---- Type ---- */
h1 { font-size: 64px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; min-height: 137px;
  display: flex; align-items: center; margin-bottom: 40px; }
h3 { font-size: 40px; font-weight: 700; line-height: 1.2; }
p { font-size: 32px; line-height: 1.4; color: var(--muted); }
.ic svg { width: 1em; height: 1em; vertical-align: -0.12em; }

/* Links on the slides: the text's own colour, a quiet underline that firms up on hover */
.slide a:not(.home) { color: inherit; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 0.18em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.slide a:not(.home):hover { text-decoration-color: currentColor; }
.close-qr a { display: block; text-decoration: none; }

/* ---- Pieces ---- */
.grid { display: grid; gap: 50px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 36px; }
.card { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 56px; }
.icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 122px; height: 122px;
  border-radius: 50%; background: var(--bg-c, var(--raised)); color: var(--text); font-size: 64px; flex: none; }
.icon-circle.small { width: 90px; height: 90px; font-size: 46px; }
.icon-circle.teal { --bg-c: var(--note-bg); color: var(--structure); }
.icon-circle.solid { color: #fff; }
.code { background: var(--code-bg); color: var(--code-text); border-radius: 14px; padding: 36px 44px;
  font-family: var(--mono); font-size: 28px; line-height: 1.45; white-space: pre; overflow: hidden; }
.code .c { color: var(--d-muted); }
.code .k { color: var(--d-structure); }
.code .s { color: var(--d-content); }
.code .b { color: var(--d-pin); }
.pill { display: inline-block; background: var(--note-bg); color: var(--structure); font-weight: 700; font-size: 32px;
  border-radius: 999px; padding: 14px 40px; }

/* ---- Dark slides: title, demo dividers, close ---- */
.slide.dark { background: var(--d-bg); color: var(--d-text); }
.slide.dark .footer { color: var(--d-muted); }
.slide.dark p { color: var(--d-muted); }
.kicker { font-size: 36px; font-weight: 700; letter-spacing: 0.06em; color: var(--d-content) !important; }
.kicker.small { font-size: 26px; }
.divider { padding-top: 316px; }
.divider h1 { font-size: 108px; min-height: 0; margin: 20px 0 30px; }
.divider .lede { font-size: 44px; max-width: 1300px; }

/* The answer: the turn from the problem to OpenMOCA */
.answer { padding-top: 220px; }
.ask { font-size: 48px; color: var(--d-content) !important; }
.answer h1 { font-size: 104px; min-height: 0; margin: 24px 0 80px; max-width: 1600px; }
.answer-name { display: flex; align-items: center; gap: 70px; border-top: 2px solid var(--d-line); padding-top: 60px; }
.answer-name img { height: 96px; flex: none; }
.answer-name p { font-size: 38px; line-height: 1.5; }
.answer-name strong { color: var(--d-text); font-weight: 600; }

/* 1. Title */
.title-slide { display: none; padding: 115px var(--m); }
.title-slide.active { display: flex; justify-content: space-between; }
.title-left { width: 1050px; display: flex; flex-direction: column; }
.title-left .logo { width: 634px; }
.title-left h1 { font-size: 96px; min-height: 0; margin: 110px 0 24px; line-height: 1.1; }
.slide.dark .title-left .subtitle { font-size: 52px; color: var(--d-structure); }
.title-left .date { margin-top: auto; font-size: 36px; }
.speaker-card { width: 640px; background: var(--bg); color: var(--text); border-radius: 22px; padding: 50px;
  display: flex; flex-direction: column; }
.speaker-card h2 { font-size: 48px; }
.slide.dark .speaker-card .role { font-size: 30px; color: var(--muted); margin: 8px 0 26px; }
.slide.dark .speaker-card .bio { font-size: 28px; color: var(--text); margin-bottom: 26px; }
.slide.dark .speaker-card .contact { font-size: 28px; color: var(--text); display: flex; gap: 18px; align-items: center; margin-bottom: 10px; }
.speaker-card .contact .ic { color: var(--muted); }
.speaker-card .qr { width: 340px; align-self: center; margin-top: auto; }
.speaker-card .qr-link { align-self: center; margin-top: auto; display: block; }
.speaker-card .qr-link .qr { margin-top: 0; display: block; }
.slide.dark .speaker-card .qr-label { font-size: 26px; font-weight: 700; color: var(--text); text-align: center; margin-top: 8px; }

/* 2. The question */
.statement { padding-left: 172px; padding-right: 172px; }
.statement.active { display: flex; flex-direction: column; justify-content: center; }
.statement h1 { font-size: 96px; line-height: 1.1; min-height: 0; margin-bottom: 70px; max-width: 1500px; }
.questions { list-style: none; display: grid; gap: 30px; }
.questions li { font-size: 52px; font-weight: 600; display: flex; align-items: center; gap: 36px; }
.questions li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--dot); flex: none; }

/* 3. Problem cards, 4. letters */
.tall .card { min-height: 620px; }
.tall .card h3 { margin: 50px 0 28px; }
.tall .card p + p { margin-top: 18px; }
.logo-title img { height: 92px; display: block; }
.letters .card { padding: 40px 44px; display: flex; flex-direction: column; }
.letters .card p + p { margin-top: 18px; }
.letters .card .tag { margin-top: auto; padding-top: 20px; font-size: 23px; line-height: 1.3; font-weight: 600; color: var(--structure); }
.letter { display: block; font-size: 104px; font-weight: 700; line-height: 1; margin-bottom: 16px; }
.letters h3 { font-size: 38px; margin-bottom: 4px; }
.letters .card .layer-of { font-size: 23px; font-weight: 500; color: var(--text); opacity: 0.7; margin: 0 0 18px; }
.letters .card .layer-of + p { margin-top: 0; }
.letters .card p { font-size: 29px; line-height: 1.35; }
.footnote { margin-top: 28px; }

/* 5. Package */
.package { display: flex; gap: 40px; align-items: flex-start; }
.package { margin-top: 30px; }
.mark { position: relative; width: 560px; height: 560px; flex: none; margin-right: 330px; }
.mark img { width: 560px; height: 560px; }
.layer { position: absolute; left: 504px; top: calc(var(--top) * 560px); display: flex; flex-direction: column;
  transform: translateY(-50%); padding-left: 80px; font-size: 30px; line-height: 1.3; white-space: nowrap; }
.layer::before { content: ""; position: absolute; left: 0; top: 50%; width: 65px; border-top: 3px solid var(--col); }
.layer b { color: var(--col); }
.layer span { color: var(--muted); }
.package-right { flex: 1; }
.package .code { font-size: 27px; padding: 36px 44px; }
.files { display: flex; flex-direction: column; gap: 8px; margin: 0 0 30px; }
.code + .files { margin: 34px 0 0; }
.files b { font-size: 32px; color: var(--text); }
.files code { font-family: var(--mono); font-size: 28px; font-weight: 400; color: var(--muted); margin-left: 14px; }
.files span { font-size: 28px; color: var(--muted); line-height: 1.4; }

/* 6. Reader steps */
.steps { display: grid; grid-template-columns: 1fr 100px 1fr 100px 1fr; align-items: center; }
.steps .card { height: 430px; padding: 56px; }
.step-head { display: flex; align-items: center; gap: 36px; margin-bottom: 40px; }
.step-head h3 { font-size: 48px; }
.steps .icon-circle { width: 115px; height: 115px; font-size: 60px; }
.arrow { color: var(--line); font-size: 64px; display: flex; justify-content: center; }
.readers { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 56px;
  background: var(--note-bg); border-radius: 18px; padding: 38px 46px; }
.readers p { font-size: 34px; line-height: 1.45; color: var(--structure); }
.readers strong { color: var(--structure); font-weight: 700; }
.readers .pills { display: flex; gap: 14px; flex: none; }
.readers .pill { background: var(--surface); font-size: 28px; padding: 12px 30px; }
.langs { display: flex; align-items: center; gap: 30px; margin-top: 70px; }
.langs p { margin-left: 30px; }

/* 7. Citation record */
.record { display: flex; gap: 60px; margin-top: -20px; }
.record-code { width: 1080px; flex: none; }
.record .code { font-size: 21px; padding: 20px 36px; line-height: 1.27; }
.code-note { font-size: 22px; margin-top: 12px; }
.callouts { list-style: none; display: flex; flex-direction: column; gap: 52px; padding-top: 30px; }
.callouts li { display: grid; grid-template-columns: 46px 1fr; row-gap: 8px; }
.callouts li::before { content: ""; width: 46px; height: 46px; border-radius: 50%; background: var(--dot); grid-row: span 2; }
.callouts b { font-size: 38px; padding-left: 26px; }
.callouts span { font-size: 32px; color: var(--muted); padding-left: 26px; }

/* 8. Uses */
.uses { gap: 36px 50px; margin-top: -10px; }
.uses .card { height: 345px; padding: 34px; display: flex; flex-direction: column; }
.use-head { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.uses .icon-circle.small { width: 70px; height: 70px; font-size: 36px; }
.use-head h3 { font-size: 32px; }
.uses p { font-size: 26px; }
.uses .demo { margin-top: auto; font-size: 22px; font-weight: 700; color: var(--structure); }

/* 10. What you saw */
.saw { list-style: none; display: flex; flex-direction: column; gap: 38px; }
.saw li { display: grid; grid-template-columns: 95px 830px 1fr; align-items: center; gap: 40px; }
.saw b { font-size: 38px; }
.saw span:last-child { font-size: 34px; color: var(--muted); }

/* 12. Claude Desktop */
.split { display: grid; grid-template-columns: 720px 1fr; gap: 80px; }
.how { list-style: none; counter-reset: n; display: flex; flex-direction: column; gap: 70px; }
.how li { counter-increment: n; display: grid; grid-template-columns: 86px 1fr; column-gap: 36px; row-gap: 12px; }
.how li::before { content: counter(n); grid-row: span 2; width: 86px; height: 86px; border-radius: 50%; background: var(--text);
  color: #fff; font-size: 40px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.how b { font-size: 42px; }
.how span { font-size: 32px; color: var(--muted); line-height: 1.4; }
.split .code { font-size: 28px; }

/* 13. Claude Code */
.code.big { font-size: 34px; margin-bottom: 50px; }
.props .card { padding: 48px; height: 430px; }
.props h3 { font-size: 38px; margin: 36px 0 20px; }
.props p { font-size: 30px; }
.props .icon-circle { width: 100px; height: 100px; font-size: 52px; }

/* Open tools: five steps in a row */
.flow { display: grid; grid-template-columns: 1fr 52px 1fr 52px 1fr 52px 1fr 52px 1fr; align-items: stretch; }
.flow .card { padding: 44px 32px; min-height: 520px; display: flex; flex-direction: column; border-top: 8px solid var(--col); }
.flow .icon-circle.small { width: 96px; height: 96px; font-size: 50px; }
.flow .arrow { align-self: center; font-size: 44px; }
.flow h3 { font-size: 46px; margin: 34px 0 18px; color: var(--col); }
.flow p { font-size: 31px; line-height: 1.38; }
.flow p + p { margin-top: 10px; }
.flow code { margin-top: auto; padding-top: 22px; font-family: var(--mono); font-size: 25px; color: var(--muted); }
.flow-note { margin-top: 50px; font-size: 32px; line-height: 1.5; }

/* MCP: the three points in a row, then Claude Desktop and Claude Code beside VS Code */
.mcp-props { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: -14px 0 30px; }
.mcp-props li { display: flex; align-items: center; gap: 20px; }
.mcp-props .icon-circle.small { width: 66px; height: 66px; font-size: 32px; }
.mcp-props div { display: flex; flex-direction: column; }
.mcp-props b { font-size: 28px; }
.mcp-props span { font-size: 23px; color: var(--muted); }
.mcp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.code-label { font-size: 24px; font-weight: 600; color: var(--text) !important; margin: 0 0 10px; }
.mcp .code { font-size: 20px; padding: 20px 30px; line-height: 1.32; }
.mcp .code + .code-label { margin-top: 22px; }
.code-after { font-size: 24px; margin-top: 14px; }
/* Search where your data already is */
.search-where .card { padding: 44px 46px; display: flex; flex-direction: column; min-height: 600px; }
.search-where .icon-circle.small { width: 96px; height: 96px; font-size: 50px; }
.search-where .use-head h3 { font-size: 40px; }
.search-where p { font-size: 31px; line-height: 1.38; }
.search-where p + p { margin-top: 20px; }
.search-where .tag { margin-top: auto; padding-top: 20px; font-size: 25px; font-weight: 600; color: var(--structure); }

/* Works with what you already use */
.integrations .card { padding: 44px 50px; }
.integrations .icon-circle.small { width: 96px; height: 96px; font-size: 50px; }
.integrations ul { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.integrations li { font-size: 32px; color: var(--muted); padding-left: 30px; position: relative; }
.integrations li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.integrations .use-head h3 { font-size: 42px; }
.skill { margin-top: 36px; background: var(--note-bg); color: var(--structure) !important; border-radius: 14px; padding: 26px 34px;
  font-size: 31px; }
.skill .ic { margin-right: 14px; }
.skill b { color: var(--structure); }

/* Make your own: the four commands */
.commands { display: flex; flex-direction: column; gap: 20px; margin-top: -10px; }
.cmd { display: grid; grid-template-columns: 340px 1fr; grid-template-rows: auto auto; column-gap: 34px; align-items: center; }
.cmd b { font-size: 42px; color: var(--col); }
.cmd span { font-size: 24px; color: var(--muted); grid-row: 2; }
.cmd .code { grid-column: 2; grid-row: 1 / span 2; font-size: 26px; padding: 20px 30px; min-height: 92px;
  display: flex; align-items: center; }
.then { font-size: 36px; margin: 30px 0 18px; }
.installs { display: flex; gap: 18px; }
.installs code { flex: 1 1 auto; }
.installs .mcp-chip { background: var(--note-bg); border-color: var(--note-bg); color: var(--structure); font-weight: 700; }
.installs code { background: var(--raised); border: 2px solid var(--line); border-radius: 12px; font-family: var(--mono);
  font-size: 22px; padding: 16px 18px; text-align: center; white-space: nowrap; }

/* 16. Links */
.links .card { height: 520px; }
.links h3 { color: var(--structure); margin: 44px 0 24px; font-size: 38px; }

/* Close: thank you, the links and two QR codes */
.close { padding-top: 120px; }
.close h1 { font-size: 104px; margin: 14px 0 50px; }
.close-grid { display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; }
.close-links { list-style: none; display: flex; flex-direction: column; gap: 34px; }
.close-links li { display: flex; align-items: center; gap: 30px; }
.close-links .icon-circle.small { width: 84px; height: 84px; font-size: 42px; background: var(--d-surface); color: var(--d-structure); }
.close-links div { display: flex; flex-direction: column; gap: 4px; }
.close-links b { font-size: 40px; color: var(--d-structure); }
.close-links span:not(.icon-circle) { font-size: 28px; color: var(--d-muted); }
.close-qr { display: flex; gap: 30px; }
.close-qr figure { background: var(--bg); border-radius: 18px; padding: 22px 22px 14px; text-align: center; }
.close-qr img { width: 250px; height: 250px; display: block; }
.close-qr figcaption { font-size: 25px; font-weight: 700; color: var(--text); margin-top: 8px; }
.slides-link { position: absolute; left: var(--m); bottom: 110px; font-size: 28px; color: var(--d-muted) !important; }

/* ---- Overview (O): every slide as a thumbnail ---- */
body.overview { overflow: auto; background: #222; }
body.overview .deck { position: static; transform: none; width: auto; height: auto; display: grid;
  grid-template-columns: repeat(4, 480px); gap: 24px; padding: 24px; justify-content: center; }
body.overview .slide { display: block !important; position: relative; width: 1920px; height: 1080px; zoom: 0.25; cursor: pointer;
  outline: 8px solid transparent; }
body.overview .title-slide, body.overview .statement { display: flex !important; }
body.overview .statement { flex-direction: column; justify-content: center; }
body.overview .slide.active { outline-color: var(--d-pin); }

/* ---- Print and PDF: one slide per page ---- */
@page { size: 1920px 1080px; margin: 0; }
@media print {
  html, body { overflow: visible; background: none; height: auto; }
  .deck { position: static; transform: none; }
  .slide { display: block !important; position: relative; width: 1920px; height: 1080px; break-after: page; }
  .title-slide, .statement { display: flex !important; }
  .statement { flex-direction: column; justify-content: center; }
}
