/* quorai v2 · the war room, written as a screenplay. one font: Courier Prime.
   top: the room (three.js) with page 1 of the script. below: the table's baize, seen from above,
   with the papers on it. last: the title page on the floor. */
:root {
  --room: #0b0a09;
  --paper: #f2eee4;
  --ink: #1c1a16;
  --ink-2: #5d574c;
  --pen: #c23a2c;          /* red pen on the wordmark and the minutes */
  --ribbon: #b3322a;       /* the red half of a two-colour typewriter ribbon */
  --carbon: #283071;       /* carbon-copy blue */
  --cream: #e9e2d2;
  --type: "Courier Prime", "Courier New", Courier, monospace;
  --vh: 100vh;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--room); scroll-behavior: smooth; }
body {
  background: var(--room);
  color: var(--ink);
  font-family: var(--type);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
b, strong { font-weight: 700; }
h2 { font-size: inherit; }

/* film grain, static */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9;
  opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ======================================================================= the room */
.hero {
  position: relative; overflow: hidden;
  height: max(var(--vh), 820px);
}
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* links over the room */
.room-links {
  position: absolute; bottom: 30px; right: 40px; z-index: 6;
  display: flex; gap: 28px;
  font-size: 15px; color: var(--cream);
}
.room-links a { text-decoration: none; opacity: 0.82; }
.room-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- page 1 ---------- */
.page {
  position: absolute; z-index: 5;
  left: 40px; top: -36px; bottom: -36px;
  width: 600px;
  padding: 58px 44px 0 96px;
  font-size: 15px; line-height: 1.5;
  background:
    linear-gradient(90deg, rgba(0,0,0,.035), transparent 7%, transparent 93%, rgba(0,0,0,.03)),
    var(--paper);
  transform: rotate(-0.45deg);
  transform-origin: 50% 40%;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25),
    18px 24px 60px rgba(0, 0, 0, 0.55),
    2px 2px 0 rgba(0, 0, 0, 0.18);
}
/* three-hole punch, brass brads in the top and bottom holes */
.holes { position: absolute; left: 30px; top: 0; bottom: 0; width: 22px; }
.holes i {
  position: absolute; left: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--room);
  box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.7);
}
.holes i:nth-child(1) { top: 21%; }
.holes i:nth-child(2) { top: 50%; }
.holes i:nth-child(3) { top: 79%; }
.holes i.brad {
  background: radial-gradient(circle at 38% 34%, #f3dca0 0 12%, #c9a25c 32%, #8d6a32 70%, #5c4420 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), inset -1px -2px 3px rgba(60, 40, 10, 0.5);
}

.slug {
  display: flex; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.02em; color: var(--ink-2);
}
.brand { display: inline-block; margin-top: 18px; text-decoration: none; }
.wordmark { display: block; height: 34px; width: auto; overflow: visible; }
.wordmark .ink path { fill: var(--ink); }
.wordmark .ink path.del { fill: #8c857a; }
.wordmark .pen { fill: none; stroke: var(--pen); stroke-width: 7; stroke-linecap: round; }
.wordmark .pen2 { stroke-width: 4; opacity: 0.85; }

.trans { margin-top: 30px; }
.scene { margin-top: 18px; font-weight: 700; text-transform: uppercase; }

h1 {
  margin-top: 18px;
  font-weight: 700;
  font-size: 41px; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--ink);
}
.action { margin-top: 20px; max-width: 54ch; }

/* screenplay dialogue: cue at 20ch, parenthetical at 15ch, speech at 10ch, 35ch wide */
.dialogue { margin-top: 22px; min-height: 270px; }
.block { margin-bottom: 18px; transition: opacity 0.5s; }
.block.old { opacity: 0.55; }
.cue { margin-left: 20ch; text-transform: uppercase; }
.paren { margin-left: 15ch; max-width: 25ch; }
.speech { margin-left: 10ch; max-width: 35ch; min-height: 1.5em; }
.block.act .speech { margin-left: 0; max-width: 54ch; text-transform: uppercase; }

.cut {
  display: block; width: max-content; margin: 6px 0 0 auto;
  font-weight: 700; text-transform: uppercase; text-decoration: none;
  border-bottom: 2px solid var(--ink); padding-bottom: 1px;
}
.cut:hover { color: var(--pen); border-color: var(--pen); }

/* ======================================================================= the table, from above */
.baize {
  position: relative;
  background: #1e3425 url("felt.jpg") repeat;
  background-size: 640px 640px;
  overflow-x: clip;
}
/* the table's wood rim: the edge between the room and the baize */
.rim {
  position: relative; z-index: 2; height: 44px;
  background: #2b1a0f url("rim.jpg") repeat-x;
  background-size: auto 44px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}
.rim-b { transform: scaleY(-1); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6); }

.spread {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(0, 540px);
  grid-template-rows: auto 1fr auto;
  column-gap: 72px;
  justify-content: center;
  align-items: start;
  padding: 120px 40px 140px;
}
#how     { grid-column: 1; grid-row: 1 / span 2; }
#rules   { grid-column: 2; grid-row: 1; margin-top: 64px; }
#money   { grid-column: 2; grid-row: 2; margin: -26px 0 0 70px; }
#minutes { grid-column: 1 / -1; grid-row: 3; margin-top: 96px; }

/* every paper on the baize: one light overhead, so the shadow falls short and straight down */
.sheet, .card, .slip {
  position: relative;
  scroll-margin-top: 40px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18),
    0 2px 2px rgba(0, 0, 0, 0.35),
    4px 16px 34px rgba(0, 0, 0, 0.42);
}
.sheet h2, .card h2, .slip h2 { font-weight: 700; text-transform: uppercase; }

/* ---------- page 2: how an hour works ---------- */
.script {
  padding: 50px 64px 64px 104px;
  font-size: 16px; line-height: 1.5;
  background:
    linear-gradient(90deg, rgba(0,0,0,.035), transparent 7%, transparent 93%, rgba(0,0,0,.03)),
    var(--paper);
  transform: rotate(-0.5deg);
}
.script .holes { left: 34px; }
.script .act {
  margin-top: 34px; text-align: center;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.scenes { list-style: none; margin-top: 10px; }
.scenes li { margin-top: 30px; }
/* shooting-script scene numbers in both margins */
.scenes .scene { position: relative; margin-top: 0; }
.sn { position: absolute; left: -46px; font-weight: 700; }
.sn-r { left: auto; right: -40px; }
.scenes .action { margin-top: 12px; }
.scenes .block { margin: 16px 0 0; }
.ribbon { color: var(--ribbon); }
.pen-u {
  text-decoration: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 C 40 3, 90 8, 140 4 S 190 5, 198 3' fill='none' stroke='%23c23a2c' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/></svg>") left bottom / 100% 8px no-repeat;
  padding-bottom: 3px;
}
.trans-r { margin-top: 34px; text-align: right; font-weight: 700; }

/* ---------- the minutes: a carbon copy on onion skin ---------- */
.carbon {
  padding: 46px 56px 44px;
  color: var(--carbon);
  font-size: 15px; line-height: 1.45;
  background:
    /* folded in thirds to fit an envelope, then flattened */
    linear-gradient(180deg, transparent calc(33.3% - 2px), rgba(60, 50, 20, 0.10) calc(33.3% - 1px), rgba(255, 255, 255, 0.55) 33.3%, transparent calc(33.3% + 3px)),
    linear-gradient(180deg, transparent calc(66.6% - 2px), rgba(60, 50, 20, 0.10) calc(66.6% - 1px), rgba(255, 255, 255, 0.55) 66.6%, transparent calc(66.6% + 3px)),
    radial-gradient(120% 60% at 80% 100%, rgba(40, 48, 113, 0.05), transparent 60%),
    #ece5cf;
  transform: rotate(0.25deg);
  text-shadow: 0 0 0.6px rgba(40, 48, 113, 0.55);   /* carbon ink spreads a little into the paper */
}
.staple {
  position: absolute; top: 18px; left: 26px; width: 34px; height: 5px; z-index: 3;
  background: linear-gradient(180deg, #e3e3df, #8d8d88 60%, #5d5d59);
  border-radius: 2px; transform: rotate(-38deg);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}
.m-head { position: relative; padding-right: 210px; }
.m-head h2 { font-size: 20px; letter-spacing: 0.04em; }
.m-head p { margin-top: 8px; }
/* the one sample mark on the site: a rubber stamp, unevenly inked */
.stamp {
  position: absolute; right: 6px; top: -6px;
  padding: 6px 16px 4px; border: 4px double var(--pen);
  color: var(--pen); font-weight: 700; font-size: 34px; letter-spacing: 0.14em;
  transform: rotate(-8deg); text-shadow: none; opacity: 0.86;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='80'><filter id='s'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.4 1.75'/></filter><rect width='100%' height='100%' filter='url(%23s)'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='80'><filter id='s'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.4 1.75'/></filter><rect width='100%' height='100%' filter='url(%23s)'/></svg>");
}

.m-table { margin-top: 30px; }
.m-row {
  display: grid;
  grid-template-columns: 9ch repeat(5, minmax(8ch, 1fr)) minmax(15ch, 1.5fr) 8ch 7ch 11ch;
  grid-template-areas: "h v1 v2 v3 v4 v5 c t f w" "h r r r r r r r r r";
  column-gap: 1.4ch;
  padding: 12px 0 13px;
  border-top: 1px dashed rgba(40, 48, 113, 0.35);
}
.m-th { grid-template-areas: "h v1 v2 v3 v4 v5 c t f w"; padding: 0 0 8px; border-top: 0; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; }
.m-th > span:nth-child(1) { grid-area: h; }
.m-row > :nth-child(2) { grid-area: v1; } .m-row > :nth-child(3) { grid-area: v2; } .m-row > :nth-child(4) { grid-area: v3; }
.m-row > :nth-child(5) { grid-area: v4; } .m-row > :nth-child(6) { grid-area: v5; }
.m-row > :nth-child(7) { grid-area: c; } .m-row > :nth-child(8) { grid-area: t; }
.m-row > :nth-child(9) { grid-area: f; } .m-row > :nth-child(10) { grid-area: w; }
.m-r { grid-area: r; margin-top: 4px; font-size: 13.5px; opacity: 0.86; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.m-h b { display: block; font-size: 17px; }
.m-h small { display: block; font-size: 11.5px; opacity: 0.75; }
.m-c { font-weight: 700; }
.m-c5 { color: var(--ribbon); text-shadow: none; }
.m-t abbr { text-decoration: none; font-weight: 700; color: var(--ribbon); text-shadow: none; }
.v { position: relative; display: inline-block; }
.v.ab { opacity: 0.6; }
/* carried votes, circled in red pen (three loops, each drawn a little differently) */
.v.c::after {
  content: ""; position: absolute; inset: -7px -11px -6px -10px;
  transform: rotate(var(--r, 0deg));
  background: center / 100% 100% no-repeat;
  pointer-events: none;
}
.v.c1::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'><path d='M14 9 C 34 2, 74 2, 91 11 C 101 18, 95 31, 72 36 C 50 40, 18 37, 7 27 C 0 19, 9 10, 30 6 C 38 5, 46 4, 52 5' fill='none' stroke='%23c23a2c' stroke-width='1.9' stroke-linecap='round' vector-effect='non-scaling-stroke'/></svg>"); }
.v.c2::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'><path d='M60 4 C 86 4, 99 13, 96 23 C 93 34, 64 39, 40 37 C 15 35, 2 27, 5 17 C 8 8, 30 3, 55 3 C 66 3, 74 5, 80 8' fill='none' stroke='%23c23a2c' stroke-width='2.1' stroke-linecap='round' vector-effect='non-scaling-stroke'/></svg>"); }
.v.c3::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'><path d='M88 30 C 76 38, 36 39, 16 33 C 2 28, 2 15, 18 8 C 36 1, 76 2, 90 10 C 99 16, 97 24, 84 30 C 78 33, 70 35, 64 36' fill='none' stroke='%23c23a2c' stroke-width='1.8' stroke-linecap='round' vector-effect='non-scaling-stroke'/></svg>"); }
.m-key { margin-top: 22px; padding-top: 14px; border-top: 1px dashed rgba(40, 48, 113, 0.35); font-size: 13px; opacity: 0.85; }
.m-more { margin-top: 10px; font-size: 14px; }
.m-more a { font-weight: 700; text-underline-offset: 3px; }

/* ---------- the rules: a ruled 5 x 8 index card ---------- */
.card {
  --line: 30px;
  padding: 0 34px var(--line) 38px;
  font-size: 15px; line-height: var(--line);
  color: var(--ink);
  background:
    linear-gradient(180deg, transparent 63px, rgba(214, 92, 96, 0.85) 63px, rgba(214, 92, 96, 0.85) 65px, transparent 65px),
    repeating-linear-gradient(180deg, transparent 0 calc(var(--line) - 1px), rgba(92, 150, 196, 0.42) calc(var(--line) - 1px) var(--line)) 0 60px / 100% calc(100% - 60px) no-repeat,
    #fbf9f3;
  transform: rotate(1.3deg);
  /* the bottom-right corner is dog-eared */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}
.card::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px;
  background: linear-gradient(135deg, #e6e1d4 0 50%, transparent 50%);
  box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.12);
}
.card h2 { height: 66px; padding-top: 22px; line-height: 36px; letter-spacing: 0.05em; }
.rules { list-style: none; counter-reset: r; margin-top: 6px; }
.rules li { counter-increment: r; padding-left: 3ch; text-indent: -3ch; }
.rules li::before { content: counter(r) ". "; font-weight: 700; }
.answers { margin-top: var(--line); }
.answers div { display: grid; grid-template-columns: 10ch 1fr; }
.answers dt { font-weight: 700; text-transform: uppercase; color: var(--ribbon); }

/* ---------- where the money sits: a typed slip, stapled on ---------- */
.slip {
  max-width: 440px;
  padding: 34px 32px 30px;
  font-size: 14px; line-height: 1.5;
  background: linear-gradient(180deg, rgba(0,0,0,.03), transparent 30%), #f3eedd;
  transform: rotate(-2deg);
  z-index: 2;
}
.slip .staple { left: auto; right: 34px; top: 12px; transform: rotate(4deg); }
.slip h2 { font-size: 14px; letter-spacing: 0.05em; margin-bottom: 8px; }
.slip p + p { margin-top: 8px; }

/* ======================================================================= the title page, on the floor */
.credits {
  position: relative; overflow: hidden;
  background: var(--room);
  padding: 96px 16px 0;
}
.tp {
  position: relative;
  width: min(640px, 100%); margin: 0 auto;
  padding: 72px 56px 110px;
  margin-bottom: -40px;
  font-size: 15px; line-height: 1.5; text-align: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.035), transparent 7%, transparent 93%, rgba(0,0,0,.03)),
    var(--paper);
  transform: rotate(-0.4deg);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25), 10px 18px 50px rgba(0,0,0,.55);
}
.tp-mark { display: block; height: 46px; width: auto; margin: 0 auto; }
.tp-sub { margin-top: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.tp-by { margin-top: 54px; }
.tp-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 84px; text-align: left; font-size: 14px; }
.tp-foot .tp-r { text-align: right; }
.tp-foot a { text-underline-offset: 3px; }

/* ======================================================================= stills mode (?shot): the room alone */
.shot body { overflow: hidden; }
.shot .hero { height: 100vh; }
.shot .page, .shot .room-links, .shot .grain, .shot .baize, .shot .credits { display: none; }

/* ======================================================================= narrower screens */
@media (max-width: 1180px) {
  .spread { grid-template-columns: minmax(0, 760px); padding: 96px 32px 120px; }
  #how, #rules, #money, #minutes { grid-column: 1; grid-row: auto; margin: 0; }
  #minutes { margin-top: 72px; }
  #rules { margin-top: 72px; width: min(560px, 100%); justify-self: end; }
  #money { margin-top: -18px; justify-self: start; margin-left: 30px; }
}

/* the minutes become one block per hour once ten columns stop fitting */
@media (max-width: 1180px) {
  .m-th { display: none; }
  .m-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-areas: "h h h c c" "v1 v2 v3 v4 v5" "f f w w t" "r r r r r";
    row-gap: 6px; column-gap: 6px;
  }
  .m-h { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
  .m-h b { display: inline; }
  .m-c { white-space: nowrap; }
  .m-h b::before { content: "HOUR "; }
  .m-c { text-align: right; }
  .m-t { text-align: right; }
  .m-v, .m-f, .m-w { display: flex; flex-direction: column; }
  .m-f, .m-w { flex-direction: row; gap: 1ch; justify-content: flex-start; text-align: left; }
  .m-v::before, .m-f::before, .m-w::before { content: attr(data-l); font-size: 10.5px; letter-spacing: 0.03em; opacity: 0.7; text-transform: uppercase; }
  .m-f::before, .m-w::before { font-size: inherit; text-transform: none; letter-spacing: 0; }
  .m-v .v { align-self: flex-start; margin-top: 2px; }
  .m-r { margin-top: 0; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  .hero { height: auto; overflow: hidden; }
  #gl { height: var(--vh); bottom: auto; }
  .room-links { top: 18px; bottom: auto; right: 18px; font-size: 14px; gap: 0; }
  .room-links a:not(.handle) { display: none; }

  .page {
    position: relative; left: auto; top: auto; bottom: auto; width: auto;
    margin: 338px 10px 26px;
    padding: 18px 16px 34px 50px;
    font-size: 12.5px; line-height: 1.45;
    transform: rotate(0.4deg);
  }
  .holes { left: 15px; width: 18px; }
  .holes i { width: 18px; height: 18px; }
  .holes i:nth-child(1) { top: 12%; }
  .holes i:nth-child(2) { top: 44%; }
  .holes i:nth-child(3) { top: 76%; }
  .slug { font-size: 10.5px; }
  .brand { margin-top: 8px; }
  .wordmark { height: 24px; }
  .page .trans { display: none; }
  .scene { margin-top: 10px; }
  h1 { margin-top: 8px; font-size: 25px; line-height: 1.12; }
  .action { margin-top: 10px; }
  .dialogue { margin-top: 10px; min-height: 128px; }
  .block { margin-bottom: 8px; }
  .block.old { display: none; }
  .cue { margin-left: 12ch; }
  .paren { margin-left: 8ch; }
  .speech { margin-left: 4ch; max-width: 34ch; }
  .cut { margin-top: 4px; }

  .rim { height: 30px; background-size: auto 30px; }
  .spread { padding: 56px 12px 72px; }
  #minutes { margin-top: 48px; }
  #rules { margin-top: 48px; }
  #money { margin: -10px 0 0 14px; }

  .script { padding: 26px 16px 34px 50px; font-size: 13px; transform: rotate(-0.3deg); }
  .script .holes { left: 15px; }
  .script .act { margin-top: 18px; }
  .scenes li { margin-top: 22px; }
  .sn { left: -30px; }
  .sn-r { display: none; }
  .scenes .action { margin-top: 8px; }
  .scenes .block { margin-top: 10px; }
  .trans-r { margin-top: 24px; }

  .carbon { padding: 30px 16px 26px; font-size: 13px; transform: rotate(0.3deg); }
  .staple { left: 14px; top: 12px; }
  .m-head { padding-right: 0; }
  .m-head h2 { font-size: 16px; padding-right: 120px; }
  .stamp { font-size: 20px; padding: 4px 9px 2px; border-width: 3px; right: -4px; top: -18px; }
  .m-table { margin-top: 18px; }
  .m-row { padding: 12px 0; }
  .m-h b { font-size: 14px; }
  .m-r { font-size: 12px; }
  .m-key { font-size: 11.5px; }
  .m-more { font-size: 12.5px; }
  .v.c::after { inset: -6px -8px -5px -8px; }

  .card { --line: 26px; padding: 0 16px var(--line) 18px; font-size: 13px; transform: rotate(0.6deg); }
  .card h2 { height: 58px; padding-top: 18px; line-height: 32px; }
  .card { background:
    linear-gradient(180deg, transparent 55px, rgba(214, 92, 96, 0.85) 55px, rgba(214, 92, 96, 0.85) 57px, transparent 57px),
    repeating-linear-gradient(180deg, transparent 0 calc(var(--line) - 1px), rgba(92, 150, 196, 0.42) calc(var(--line) - 1px) var(--line)) 0 53px / 100% calc(100% - 53px) no-repeat,
    #fbf9f3; }
  .answers div { grid-template-columns: 9ch 1fr; }

  .slip { padding: 26px 18px 22px; font-size: 13px; transform: rotate(-1.4deg); max-width: 92%; }

  .credits { padding-top: 64px; }
  .tp { padding: 48px 20px 90px; font-size: 13px; }
  .tp-mark { height: 34px; }
  .tp-by { margin-top: 36px; }
  .tp-foot { margin-top: 56px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .block { transition: none; }
}
