/* Pernambuco em 2040. Manrope for display and body, JetBrains Mono for numbers and labels (the
   film's identity). Both served here. Light with deep navy sections; dark by the sun/moon. */

@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url("fonts/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url("fonts/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --paper: #F2F4F8;
  --paper-2: #FFFFFF;
  --ink: #0A111E;
  --ink-2: #53627C;
  --line: rgba(10, 17, 30, 0.10);
  --signal: #1B52A4;
  --sky: #7BA4F0;
  --ember: #D9622B;
  --neutral: #B9BEC9;
  --deep-1: #08152D;
  --deep-2: #030B1A;
  --glass: rgba(8, 21, 45, 0.80);
  --glass-line: #13274D;
  --shadow: 0 24px 60px -24px rgba(11, 27, 58, 0.25), 0 2px 8px rgba(11, 27, 58, 0.06);
  --r: 16px;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0A1424; --paper-2: #10192E; --ink: #E8EFFC; --ink-2: #7F93B5; --line: rgba(232, 239, 252, 0.12);
    --signal: #7BA4F0; --sky: #A8C3F7; --ember: #F0945A; --neutral: #5E6678; --deep-1: #08152D; --deep-2: #030B1A;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0A1424; --paper-2: #10192E; --ink: #E8EFFC; --ink-2: #7F93B5; --line: rgba(232, 239, 252, 0.12);
  --signal: #7BA4F0; --sky: #A8C3F7; --ember: #F0945A; --neutral: #5E6678; --deep-1: #08152D; --deep-2: #030B1A;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); font-variant-numeric: tabular-nums; overflow-x: hidden; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.02; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(32px, 3.8vw, 56px); }
h2 { font-size: clamp(40px, 5.4vw, 76px); }
h3 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.tele { font: 500 11px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.hl { color: var(--signal); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 999px; }
.skip:focus { left: 8px; z-index: 50; }

/* Nav: a floating pill */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 40;
  display: flex; align-items: center; gap: 22px; padding: 10px 10px 10px 20px;
  background: color-mix(in srgb, var(--paper-2) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); max-width: calc(100vw - 32px);
}
.brand { font-family: var(--mono); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav nav { display: flex; gap: 20px; }
.nav nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.nav nav a:hover { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; text-decoration: none; font: 500 15px/1 var(--sans); border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); cursor: pointer; }
.pill.small { padding: 9px 14px; font-size: 13px; }
.pill.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 10px 24px -10px rgba(11, 27, 58, 0.5); }
.pill.dark:hover { transform: translateY(-1px); }
.textlink { font: 500 15px/1 var(--sans); color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sky); }
.actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: grid; grid-template-rows: 1fr auto; padding: 110px var(--gutter) 40px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.giant { margin: 0; align-self: center; justify-self: center; font-size: clamp(120px, 31vw, 540px); font-weight: 800; letter-spacing: -0.08em; line-height: 0.85; color: var(--ink); }
.hero-foot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; }
.scale { display: grid; gap: 6px; margin-top: 22px; }
.scale span { font: 500 12px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.scale b { color: var(--ink); font-weight: 500; }
.scroll-hint { justify-self: center; font: 500 14px/1 var(--sans); color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; }
.scroll-hint .dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink-2); position: relative; }
.scroll-hint .dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink-2); }
.hero-cta { justify-self: end; max-width: 440px; display: grid; gap: 18px; }
.hero-cta p:first-child { color: var(--ink-2); font-size: 16px; }

/* Blocks */
.block { padding: clamp(96px, 16vh, 180px) var(--gutter); }
.inner { max-width: 1200px; margin: 0 auto; }
.inner.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.inner.two.swap > :first-child { order: 1; }
.inner.two.swap > :last-child { order: 0; }
.copy { display: grid; gap: 22px; max-width: 620px; }
.copy.narrow { margin-bottom: 48px; }
.proto-copy { margin-top: clamp(64px, 10vh, 120px); }
.device a { display: block; }
.copy p { color: var(--ink-2); font-size: 17px; max-width: 52ch; }
.copy .fine, .fine { font-size: 14px; color: var(--ink-2); }
.deep { background: linear-gradient(180deg, var(--deep-1), var(--deep-2)); color: #E8EFFC; position: relative; }
.deep::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(232,239,252,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(232,239,252,0.04) 1px, transparent 1px); background-size: 72px 72px; }
.deep > .inner { position: relative; z-index: 1; }
.deep .copy p, .deep .fine, .deep figcaption { color: rgba(238, 242, 250, 0.72); }
.deep .hl { color: var(--sky); }
.deep + .deep { padding-top: clamp(64px, 9vh, 120px); }
.stars { position: relative; }
.stars::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 48% 62%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 78% 28%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 88% 78%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 84%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 64% 8%, #fff 50%, transparent 51%);
  background-size: 640px 480px; }
.stars > .inner { position: relative; }

/* Cards and glass */
.card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px; }
.glass { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 16px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.type { display: inline-block; margin-left: 6px; padding: 2px 8px; border: 1px solid currentColor; border-radius: 3px; font: 500 10px/1.5 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; vertical-align: 2px; }
.type.mod { border-style: dashed; }
.type.plan { border-style: dotted; }

/* The rounds widget */
.widget { display: grid; gap: 18px; }
.widget-head { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 14px; }
.rounds { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(14, 1fr); gap: 26px 6px; }
.rounds li { height: 44px; border-radius: 8px; background: color-mix(in srgb, var(--signal) 10%, transparent); position: relative; transition: background-color 0.4s ease; }
.rounds li.done { background: color-mix(in srgb, var(--signal) 70%, transparent); }
.rounds li.now { background: var(--signal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 25%, transparent); }
.rounds li span { position: absolute; left: 0; right: 0; bottom: -18px; text-align: center; font: 400 10px/1 var(--mono); color: var(--ink-2); }
.widget-foot { margin-top: 18px; font-size: 14px; color: var(--ink-2); }

/* The flow of the room, and the data layers */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.flow li { display: grid; gap: 12px; align-content: start; position: relative; }
.flow .idx { color: rgba(238, 242, 250, 0.6); }
.flow p { font-size: 15px; color: rgba(238, 242, 250, 0.72); }
.layers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.layers li { display: grid; gap: 12px; align-content: start; }
.layers .idx { color: var(--ink-2); }
.layers p { font-size: 15px; color: var(--ink-2); }
.layers .status { margin-top: 6px; }

/* Evidence */
.evidence { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.evidence li { display: grid; gap: 14px; align-content: start; min-height: 320px; }
.evidence .src { color: rgba(238, 242, 250, 0.6); }
.evidence strong { display: flex; align-items: baseline; gap: 10px; font-weight: 400; letter-spacing: -0.04em; font-family: var(--mono); }
.evidence .num { font-size: clamp(56px, 6vw, 84px); line-height: 1; }
.evidence .unit { font-size: 18px; letter-spacing: 0; color: rgba(238, 242, 250, 0.8); }
.evidence h3 { font-size: 20px; }
.evidence p { font-size: 15px; color: rgba(238, 242, 250, 0.72); }

/* The grid of municipalities */
.grid-figure { margin: 0; min-width: 0; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); }
.grid { display: flex; flex-wrap: wrap; align-items: flex-end; align-content: flex-end; gap: 3px; min-height: 260px; }
.grid i { display: block; width: var(--s, 8px); height: var(--s, 8px); background: var(--neutral); border-radius: 2px;
  transition: width 1.4s cubic-bezier(.2,.7,.2,1), height 1.4s cubic-bezier(.2,.7,.2,1), background-color 1.4s ease; outline: 0; }
.grid i.grew { background: color-mix(in srgb, var(--sky) var(--k, 60%), var(--neutral)); }
.grid i.shrank { background: color-mix(in srgb, var(--ember) var(--k, 60%), var(--neutral)); }
.grid i:hover, .grid i:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.grid-legend { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 16px; color: rgba(238, 242, 250, 0.8); }
.grid-legend .textlink { color: #fff; font-family: var(--mono); font-size: 13px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.sw.grew { background: var(--sky); } .sw.shrank { background: var(--ember); }
.grid-table { margin-top: 14px; max-height: 300px; overflow: auto; border: 1px solid var(--glass-line); border-radius: 12px; }
.grid-table table { border-collapse: collapse; width: 100%; font: 400 13px/1.4 var(--mono); }
.grid-table th, .grid-table td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--glass-line); white-space: nowrap; }
.grid-table th { position: sticky; top: 0; background: var(--deep-1); font-weight: 500; }
.grid-table td.n, .grid-table th.n { text-align: right; }
figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.tip { position: fixed; z-index: 60; pointer-events: none; background: var(--ink); color: var(--paper); font: 400 13px/1.4 var(--mono); padding: 8px 10px; border-radius: 8px; max-width: 280px; }

/* Product */
.device { margin: 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.device-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.device img { display: block; width: 100%; height: auto; }
.device figcaption { padding: 14px 18px 18px; margin: 0; }
.device img.only-dark { display: none; }
:root[data-theme="dark"] .device img.only-light { display: none; }
:root[data-theme="dark"] .device img.only-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .device img.only-light { display: none; }
  :root:not([data-theme="light"]) .device img.only-dark { display: block; }
}

/* The fan chart of a target */
.fan { width: 100%; height: auto; display: block; }
.fan text { font: 11px var(--mono); fill: var(--ink-2); }
.fan .axis { stroke: var(--line); }
.fan .band { fill: var(--signal); opacity: 0.12; }
.fan .band.plan { fill: var(--ember); opacity: 0.14; }
.fan .mid { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 5 4; }
.fan .mid.plan { stroke: var(--ember); }
.fan .goal { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; }
.fan .obs { fill: var(--signal); }

/* The schematic chart */
.chart-card { margin: 0; }
.chart { width: 100%; height: auto; display: block; }
.chart .axes line { stroke: var(--line); stroke-width: 1; }
.chart text { font: 12px var(--mono); fill: var(--ink-2); }
.chart .line { fill: none; stroke-width: 2.5; }
.chart .line.a { stroke: var(--signal); } .chart .label.a { fill: var(--signal); }
.chart .line.b { stroke: var(--ember); } .chart .label.b { fill: var(--ember); }
.chart .band { opacity: 0.14; } .chart .band.a { fill: var(--signal); } .chart .band.b { fill: var(--ember); }

/* Capabilities carousel */
.carousel-block { padding-bottom: clamp(80px, 12vh, 160px); }
.carousel-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.counter { font-size: clamp(28px, 4vw, 48px); color: var(--ink); letter-spacing: -0.02em; }
.carousel-ctl { display: flex; align-items: center; gap: 20px; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); font: 400 18px/1 var(--mono); cursor: pointer; display: grid; place-items: center; }
.arrow:hover { border-color: var(--ink-2); }
.arrow:disabled { opacity: 0.35; cursor: default; }
.cards { cursor: grab; }
.cards.dragging { cursor: grabbing; scroll-snap-type: none; }
.counter .of { color: var(--ink-2); font-size: 0.5em; }
.cards { list-style: none; margin: 0 calc(-1 * var(--gutter)); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2)); padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2)); scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.cards li { flex: 0 0 min(400px, 82vw); scroll-snap-align: start; display: grid; gap: 14px; align-content: start; min-height: 320px; }
.cards .idx { color: var(--ink-2); }
.cards p { font-size: 15px; color: var(--ink-2); }
.status { margin-top: auto; font: 500 13px/1 var(--mono); color: var(--ink); }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 0; background: var(--neutral); }
.status.live::before { background: var(--signal); }
.status.soon::before { background: transparent; border: 1.5px solid var(--signal); }
.status.dev::before { background: transparent; border: 1.5px dashed var(--ember); }

/* Accordion */
.accordion { display: grid; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 22px 0; font: 500 20px/1.3 var(--sans); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: #fff; font: 400 20px/1 var(--mono); flex: 0 0 auto; transition: transform 0.25s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 0 24px; color: var(--ink-2); font-size: 15px; display: grid; gap: 14px; }
.verdict { border-collapse: collapse; width: 100%; max-width: 480px; font-family: var(--mono); font-size: 14px; }
.verdict th, .verdict td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.verdict th:last-child, .verdict td:last-child { text-align: right; }
.verdict th { font-weight: 500; color: var(--ink); }
.nots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nots strong { color: var(--ink); font-weight: 500; }

/* Phases */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.phases li { display: grid; gap: 12px; align-content: start; }
.phases .idx { color: rgba(238, 242, 250, 0.6); }
.phases p { font-size: 15px; color: rgba(238, 242, 250, 0.72); }

/* CTA and footer */
.cta .inner { display: grid; gap: 28px; }
.cta h2 { font-size: clamp(44px, 7vw, 96px); }
.foot { padding: 24px var(--gutter) 48px; color: var(--ink-2); font-size: 14px; max-width: 1200px; margin: 0 auto; }

/* The sun and moon */
.theme { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); cursor: pointer; display: grid; place-items: center; z-index: 40; box-shadow: var(--shadow); }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: none; }
:root[data-theme="dark"] .theme .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .sun { display: none; }
  :root:not([data-theme="light"]) .theme .moon { display: block; }
}

/* Reveal on scroll: one entrance per element, none if the person asked for less motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-reveal .reveal { opacity: 1; transform: none; transition: none; }

/* Presentation mode */
body.presenting .nav, body.presenting .theme, body.presenting .foot { display: none; }
body.presenting main > section { display: none; min-height: 100vh; }
body.presenting main > section.current { display: block; }
body.presenting .hero.current { display: grid; }
body.presenting .block { display: grid !important; align-content: center; }
body.presenting .block:not(.current) { display: none !important; }
.present-help { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; z-index: 45; }

/* Phones and tablets */
@media (max-width: 960px) {
  .nav nav { display: none; }
  .inner.two { grid-template-columns: 1fr; }
  .inner.two.swap > :first-child { order: 0; }
  .inner.two.swap > :last-child { order: 1; }
  .hero { padding-top: 96px; padding-bottom: 96px; }
  .hero-foot { grid-template-columns: 1fr; gap: 20px; }
  .scroll-hint { display: none; }
  .hero-cta { justify-self: start; }
  .hero-foot { gap: 16px; }
  .evidence { grid-template-columns: 1fr; }
  .phases, .flow { grid-template-columns: 1fr 1fr; }
  .layers { grid-template-columns: 1fr; }
  .rounds { grid-template-columns: repeat(7, 1fr); }
  .rounds li { height: 32px; }
}
@media (max-width: 560px) {
  .phases, .flow { grid-template-columns: 1fr; }
  .carousel-head { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grid i, .reveal, .rounds li { transition: none; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .nav, .theme, .present-help, .grid-legend, .skip, .tip, .hero-bg, .scroll-hint { display: none !important; }
  body { background: #fff; color: #000; }
  .block, .hero { break-after: page; min-height: 0; padding: 24px 0; }
  .deep { background: #fff; color: #000; }
  .deep .copy p, .deep figcaption, .evidence p, .phases p { color: #333; }
  .glass { border-color: #ccc; }
  .reveal { opacity: 1; transform: none; }
  .cards { overflow: visible; flex-wrap: wrap; }
}
