:root {
  --navy: #0F1A33;
  --navy-deep: #091226;
  --navy-line: #2B3D69;
  --cream: #FFF4E4;
  --muted: #C5CFE4;
  --coral: #F47070;
  --yellow: #FFD43B;
  --red: #C42B26;
  --red-dark: #7E1512;
  --red-ink: #9E1D19;
  --ink-soft: #33405F;
  --green: #6BE04F;
  --display: 'Fredoka', 'Trebuchet MS', sans-serif;
  --hand: 'Caveat', 'Comic Sans MS', cursive;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}
main { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; -webkit-appearance: none; appearance: none; border-radius: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: -0.02em; line-height: 0.95; }
h2 { font-size: clamp(2.1rem, 5.5vw, 3.25rem); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--navy); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.mono { font-family: var(--mono); font-size: 0.875rem; color: var(--yellow); }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 34rem; }
.lede--wide { max-width: none; }
.scribble { font-family: var(--hand); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.125rem); line-height: 1.1; transform: rotate(-2deg); transform-origin: left center; }
.scribble--yellow { color: var(--yellow); }
.scribble--red { color: var(--red-ink); }
.empty { font-family: var(--hand); font-size: 1.75rem; color: var(--muted); padding: 40px 0; }
.empty--dark { color: var(--ink-soft); }

/* buttons + links */
.btn {
  display: inline-block; text-decoration: none; background: var(--coral); color: var(--navy);
  font-family: var(--display); font-weight: 600; font-size: 1.125rem; padding: 15px 26px;
  border-radius: 12px; box-shadow: 5px 5px 0 var(--navy-deep); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--navy-deep); }
.textlink { font-family: var(--mono); font-size: 0.9375rem; padding: 12px 0; display: inline-block; color: var(--cream); }
.textlink:hover { color: var(--yellow); }
.textlink--dark { color: var(--navy); }
.textlink--dark:hover { color: var(--red-ink); }
.textlink--light:hover { color: var(--navy); }
.badge { align-self: flex-start; display: inline-block; font-family: var(--mono); font-size: 0.75rem; font-weight: 700; background: var(--navy); color: var(--yellow); padding: 4px 10px; }

/* ticker */
.ticker { background: var(--navy-deep); color: var(--yellow); font-family: var(--mono); font-size: 0.8125rem; overflow: hidden; white-space: nowrap; padding: 8px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 90s linear infinite; will-change: transform; }
.ticker__half { display: flex; flex: none; }
.ticker__half span { flex: none; padding-right: 40px; }
.ticker__now { color: var(--green); }
@keyframes ticker { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* header */
.site-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 18px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.brand img { width: 84px; height: 84px; border-radius: 50%; transform: rotate(-6deg); transition: transform .3s; }
.brand:hover img { transform: rotate(6deg); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 24px; font-family: var(--display); font-weight: 500; font-size: 1.0625rem; }
.nav a { text-decoration: none; padding: 11px 0; }
.nav a:hover { color: var(--yellow); }
.nav .nav__crochet { font-family: var(--hand); font-weight: 700; font-size: 1.5rem; color: var(--yellow); }
.nav .nav__cta { background: var(--yellow); color: var(--navy); font-weight: 600; padding: 11px 20px; border-radius: 999px; transform: rotate(2deg); }
.nav .nav__cta:hover { color: var(--navy); transform: rotate(-2deg); }

/* hero */
.hero__in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 110px; }
.hero__text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero__text .scribble { margin-left: 12px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.hero__photos { flex: 1 1 320px; position: relative; min-height: 35rem; }

.snap { margin: 0; background: var(--cream); padding: 12px 12px 14px; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); color: var(--navy); position: relative; }
.snap img { width: 100%; object-fit: cover; }
.snap figcaption { margin-top: 8px; font-family: var(--hand); font-weight: 700; font-size: 1.75rem; line-height: 1; text-align: center; }
.snap--big { position: absolute; top: 0; right: 0; width: 78%; transform: rotate(4deg); z-index: 2; }
.snap--big img { height: 21rem; }
.snap--small { position: absolute; bottom: 0; left: 0; width: 46%; padding: 9px 9px 10px; transform: rotate(-7deg); }
.snap--small img { height: 9.5rem; }
.snap--small figcaption { font-size: 1.375rem; margin-top: 6px; }
.snap--left { flex: 1 1 300px; transform: rotate(-3deg); }
.snap--left img { height: 19rem; }
.tape { position: absolute; top: -16px; left: 50%; width: 110px; height: 30px; margin-left: -55px; background: var(--yellow); opacity: .85; transform: rotate(-5deg); }
.sticker {
  position: absolute; bottom: 5.5rem; right: -6px; width: 112px; height: 112px; border-radius: 50%;
  background: var(--red); color: var(--cream); display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: 1.0625rem; line-height: 1.05; transform: rotate(-14deg); border: 3px dashed var(--cream); z-index: 3;
}

/* red tablecloth band */
.cloth { background: var(--red); transform: rotate(-1.2deg); margin: 0 -40px; padding: 0 40px; position: relative; }
.cloth__in { transform: rotate(1.2deg); padding-top: 72px; padding-bottom: 84px; }
.sectionhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 36px; }
.sectionhead .scribble { transform: rotate(-3deg); font-size: 1.75rem; }
.fresh { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.feature { flex: 2 1 440px; min-width: 0; background: var(--cream); color: var(--navy); border-radius: 6px; box-shadow: 8px 8px 0 var(--red-dark); display: flex; flex-wrap: wrap; overflow: hidden; }
.feature__img { flex: 1 1 240px; min-height: 17rem; position: relative; }
.feature__img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__body { flex: 1 1 220px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.feature__body h3 { font-size: 2rem; line-height: 1.05; }
.feature__body p { color: var(--ink-soft); }
.feature__link { margin-top: auto; font-family: var(--mono); font-size: 0.875rem; font-weight: 700; color: var(--red-ink); padding: 12px 0; }
.fresh__side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.cloth__all { margin-top: 28px; text-align: right; }

.bubble { position: relative; background: var(--yellow); color: var(--navy); border-radius: 22px; padding: 22px 26px; transform: rotate(2deg); margin-bottom: 14px; display: flex; gap: 16px; align-items: flex-start; }
.bubble::after { content: ""; position: absolute; left: 38px; bottom: -13px; width: 28px; height: 28px; background: var(--yellow); transform: rotate(45deg); }
.bubble__pic { flex: none; width: 92px; background: var(--cream); padding: 5px 5px 14px; transform: rotate(-5deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.bubble__pic img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.bubble__pic:hover { transform: rotate(-2deg) scale(1.04); }
.bubble__main { min-width: 0; flex: 1; }
.bubble__text { font-family: var(--hand); font-weight: 700; font-size: 1.75rem; line-height: 1.1; overflow-wrap: anywhere; }
.bubble__who { margin-top: 12px; font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; }
.bubble__link { position: relative; z-index: 1; display: inline-block; font-family: var(--mono); font-size: 0.8125rem; padding: 10px 0 0; color: var(--navy); }

/* rotating comments: every item shares one grid cell, so the box keeps the height of the tallest */
.rotator { display: grid; }
.rotator__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.rotator__item.is-on { opacity: 1; visibility: visible; }

/* live printer camera */
.livecam__in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 8px; padding-bottom: 110px; }
.livecam__text { flex: 1 1 280px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.livecam__pick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.livecam__pick .chip { background: none; color: var(--cream); cursor: pointer; font-family: var(--mono); min-height: 44px; }
.livecam__pick .chip--on { color: var(--yellow); }
.livecam__frame { flex: 1 1 340px; max-width: 34rem; transform: rotate(-2.5deg); order: -1; }
.livecam__screen { position: relative; background: var(--navy-deep); aspect-ratio: 4 / 3; overflow: hidden; }
.livecam__screen img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.livecam__live { position: absolute; top: 10px; left: 10px; background: var(--red); color: var(--cream); font-family: var(--mono); font-size: 0.75rem; font-weight: 700; padding: 3px 9px; letter-spacing: 0.08em; }
.livecam__live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cream); margin-right: 6px; animation: blink 1.6s infinite; }
.livecam__off { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; background: var(--navy-deep); color: var(--muted); font-family: var(--mono); font-size: 0.9375rem; }
.livecam__off[hidden], .livecam__live[hidden] { display: none; }
.hero--cam .hero__in { padding-bottom: 72px; }

/* hot off the plate: finished prints hanging on a line */
.hot { padding: 8px 0 110px; }
.livecam + .hot { margin-top: -56px; }
.hot__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 30px; }
.hot__head > div { display: flex; flex-direction: column; gap: 10px; }
.hot__head .scribble { font-size: clamp(1.4rem, 3.500vw, 1.875rem); transform: rotate(-3deg); }
.hot__line { position: relative; padding-top: 8px; }
.hot__line::before { content: ""; position: absolute; left: -60px; right: -60px; top: 8px; height: 3px; background: var(--muted); transform: rotate(-0.500deg); }
.hot__row { list-style: none; margin: 0; padding: 0 0 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; align-items: start; }
.hot__snap { padding: 9px 9px 11px; }
.hot__snap::before { content: ""; position: absolute; top: -12px; left: 50%; margin-left: -9px; width: 18px; height: 26px; border-radius: 3px; background: #C08A4E; z-index: 1; }
.hot__snap img { aspect-ratio: 4 / 3; }
.hot__snap figcaption { font-size: 1.25rem; margin-top: 7px; }
.hot__row li:nth-child(5n+1) .hot__snap { transform: rotate(-4deg); margin-top: 4px; }
.hot__row li:nth-child(5n+2) .hot__snap { transform: rotate(3deg); margin-top: 12px; }
.hot__row li:nth-child(5n+3) .hot__snap { transform: rotate(-2deg); margin-top: 2px; }
.hot__row li:nth-child(5n+4) .hot__snap { transform: rotate(5deg); margin-top: 14px; }
.hot__row li:nth-child(5n) .hot__snap { transform: rotate(-3deg); margin-top: 6px; }
.hot__new { position: absolute; right: -12px; top: 24px; z-index: 2; background: var(--red); color: var(--cream); font-family: var(--mono); font-size: 0.6875rem; font-weight: 700; padding: 2px 8px; transform: rotate(8deg); }
.hot__swipe { display: none; text-align: right; color: var(--muted); margin-top: 6px; }

/* live G-code readout */
.gterm { align-self: stretch; background: var(--navy-deep); border: 1px solid var(--navy-line); border-radius: 10px; overflow: hidden; font-family: var(--mono); font-size: 0.875rem; line-height: 1.7; color: var(--muted); margin-top: 6px; }
.gterm__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 10px 18px; border-bottom: 1px solid var(--navy-line); }
.gterm__file { color: var(--green); }
.gterm__state { font-size: 0.75rem; font-weight: 700; color: var(--navy); background: var(--muted); padding: 1px 8px; border-radius: 3px; }
.gterm[data-state="printing"] .gterm__state { background: var(--green); }
.gterm[data-state="paused"] .gterm__state { background: var(--yellow); }
.gterm__lines { padding: 12px 18px; min-height: 12.4em; overflow: hidden; }
.gterm__line { display: flex; gap: 14px; white-space: nowrap; }
.gterm__line.is-cur { background: var(--yellow); color: var(--navy); font-weight: 700; margin: 0 -18px; padding: 0 18px; }
.gterm__n { flex: none; width: 3.6em; text-align: right; color: #8A97B8; }
.gterm__line.is-cur .gterm__n { color: var(--navy); }
.gterm__t { overflow: hidden; text-overflow: ellipsis; }
.gterm__msg { color: var(--muted); }
.gterm__foot { padding: 14px 18px 16px; border-top: 1px solid var(--navy-line); display: flex; flex-direction: column; gap: 12px; }
.gterm__foot[hidden], .gterm__progress[hidden], .gterm__stats div[hidden] { display: none; }
.gterm__progress { display: flex; align-items: center; gap: 14px; }
.gterm__track { flex: 1; height: 10px; border-radius: 5px; background: var(--navy-line); overflow: hidden; }
.gterm__fill { height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, #9B6BFF 0 16.6%, #38C6F4 16.6% 33.3%, #6BE04F 33.3% 50%, #FFD43B 50% 66.6%, #FF9A3C 66.6% 83.3%, #F4504A 83.3%); transition: width .6s ease; }
.gterm__pct { font-size: 1.25rem; font-weight: 700; color: var(--yellow); }
.gterm__stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 12px 10px; }
.gterm__stats dt { font-size: 0.6875rem; letter-spacing: 0.08em; color: #8A97B8; }
.gterm__stats dd { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--cream); line-height: 1.3; }
@keyframes blink { 50% { opacity: .25; } }

.faillog { background: var(--navy); color: var(--cream); border-radius: 6px; padding: 20px 22px; font-family: var(--mono); font-size: 0.875rem; transform: rotate(-1.5deg); display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--navy-line); }
.faillog__file { color: var(--green); }
.faillog__title { font-weight: 700; font-size: 1rem; }
.faillog__status { color: var(--muted); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; align-items: start; }
.grid--more { margin-top: 48px; }
.card { background: var(--cream); color: var(--navy); border-radius: 6px; overflow: hidden; box-shadow: 6px 6px 0 rgba(0, 0, 0, .35); display: flex; flex-direction: column; }
.card__img { position: relative; display: block; }
.card__img img { width: 100%; max-height: 22rem; object-fit: cover; }
.card__count { position: absolute; right: 10px; bottom: 10px; background: var(--navy); color: var(--cream); font-family: var(--mono); font-size: 0.75rem; padding: 3px 8px; }
.card__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(9, 18, 38, .8); }
.card__play::after { content: ""; position: absolute; left: 25px; top: 18px; border: 14px solid transparent; border-left: 22px solid var(--cream); border-right: 0; }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.card__body h3 { font-size: 1.5rem; line-height: 1.1; }
.card__body h3 a { text-decoration: none; }
.card__body h3 a:hover { color: var(--red-ink); }
.card__body p { color: var(--ink-soft); overflow-wrap: anywhere; }
.card__foot { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 0.8125rem; color: var(--ink-soft); }
.card__foot a { color: var(--red-ink); font-weight: 700; }
.grid .card:nth-child(3n+1), .masonry__item:nth-child(4n+1) .card { transform: rotate(-1deg); }
.grid .card:nth-child(3n), .masonry__item:nth-child(4n+3) .card { transform: rotate(1.2deg); }

/* paper section */
.paper { background: var(--cream); color: var(--navy); margin-top: -40px; padding-top: 40px; }
.paper--page { margin-top: 28px; padding-top: 0; }
.paper__in { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 88px; padding-bottom: 80px; }
.paper--page .paper__in { padding-top: 64px; }
.paper__head { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.paper__head h1 { font-size: clamp(2.3rem, 6vw, 3.5rem); line-height: 1; }
.layers { display: flex; flex-direction: column; width: 150px; margin-top: 16px; }
.layers span { height: 9px; border-radius: 5px; }
.layers span:nth-child(1) { background: #7B4DE0; width: 150px; }
.layers span:nth-child(2) { background: #1E9AC8; width: 138px; margin-left: 6px; }
.layers span:nth-child(3) { background: #3FA82B; width: 144px; margin-left: 2px; }
.layers span:nth-child(4) { background: #E0A800; width: 132px; margin-left: 9px; }
.layers span:nth-child(5) { background: #E8741A; width: 146px; margin-left: 3px; }
.layers span:nth-child(6) { background: var(--red); width: 150px; }
.layerlist { flex: 2 1 420px; display: flex; flex-direction: column; min-width: 0; }
.layerlist a { text-decoration: none; display: flex; gap: 22px; align-items: baseline; padding: 22px 0; border-bottom: 2px dashed var(--navy); }
.layerlist a:last-child { border-bottom: 0; }
.layerlist a:hover strong { color: var(--red-ink); }
.layerlist__n { font-family: var(--mono); font-weight: 700; color: var(--red-ink); white-space: nowrap; }
.layerlist__t { display: flex; flex-direction: column; gap: 4px; }
.layerlist__t strong { font-family: var(--display); font-weight: 600; font-size: 1.625rem; line-height: 1.1; }
.layerlist__t span { color: var(--ink-soft); }

/* find us */
.findus__in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.findus__text { flex: 1 1 340px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ticket { border: 2px dashed var(--yellow); border-radius: 6px; padding: 16px 22px; font-family: var(--mono); font-size: 0.9375rem; display: flex; flex-direction: column; gap: 4px; transform: rotate(1.5deg); }
.ticket__k { color: var(--yellow); font-weight: 700; }
.ticket--wide { transform: none; margin-bottom: 22px; max-width: 46rem; }
.ticket--wide strong { font-family: var(--display); font-size: 1.75rem; line-height: 1.1; }
.ticket--wide strong { overflow-wrap: anywhere; }
.ticket__note { color: var(--muted); }
.marketlist { padding-top: 16px; padding-bottom: 64px; }
.marketlist--places { padding-top: 0; padding-bottom: 88px; display: flex; flex-direction: column; gap: 14px; }
.marketlist--places .lede { margin-bottom: 14px; }
.stop { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-bottom: 26px; }
.stop .ticket--wide { flex: 1 1 300px; margin-bottom: 0; }
/* market and place photos are round, like a badge */
.stop__pic { flex: 0 0 170px; width: 170px; height: 170px; margin: 0; border-radius: 50%; overflow: hidden; background: var(--cream); border: 7px solid var(--cream); box-shadow: 0 10px 22px rgba(0, 0, 0, .45); }
.stop__pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* logos: shrink so the whole picture sits inside the circle */
.stop__pic--fit img { object-fit: contain; padding: 13%; border-radius: 0; }
.ticket .textlink { padding: 10px 0 2px; }

/* page heads + inner pages */
.pagehead { padding: 56px 0 24px; }
.pagehead .wrap { display: flex; flex-direction: column; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip { font-family: var(--mono); font-size: 0.875rem; text-decoration: none; border: 2px dashed var(--navy-line); border-radius: 999px; padding: 10px 16px; }
.chip:hover, .chip--on { border-color: var(--yellow); color: var(--yellow); }
.feedwall, .gallerywall { padding-top: 24px; padding-bottom: 88px; }
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 38px 30px; align-items: start; }
.masonry__item { min-width: 0; }
.pager { display: flex; justify-content: space-between; margin-top: 16px; }
.snaps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 34px; align-items: start; }
.snap--grid img { aspect-ratio: 1 / 1; }
.snap--grid figcaption { font-size: 1.5rem; }
.snap--grid:nth-child(4n+1) { transform: rotate(-2deg); }
.snap--grid:nth-child(4n+2) { transform: rotate(1.5deg); margin-top: 18px; }
.snap--grid:nth-child(4n+3) { transform: rotate(-1deg); }
.snap--grid:nth-child(4n) { transform: rotate(2.5deg); margin-top: 10px; }
.snap__cap { font-size: 0.875rem; color: var(--ink-soft); text-align: center; margin-top: 4px; }
.snap__cap a { color: var(--red-ink); font-family: var(--mono); font-size: 0.8125rem; display: inline-block; padding: 8px 0; }
.gallerywall__cta { margin-top: 56px; text-align: center; }

.postpage { padding-top: 32px; padding-bottom: 88px; max-width: 820px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.postpage h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); line-height: 1; }
.postpage__date { color: var(--muted); }
.previewbar { background: var(--yellow); color: var(--navy); font-family: var(--mono); font-size: 0.875rem; padding: 10px 14px; align-self: stretch; }
.prose { font-size: 1.125rem; max-width: 42rem; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1em; }
.prose h2 { font-size: 1.75rem; margin: 1.4em 0 0.5em; }
.prose ul { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.3em; }
.prose--dark { color: var(--navy); }
.postpage__imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-self: stretch; }
.postpage__imgs a { position: relative; display: block; background: var(--cream); padding: 10px; }
.postpage__imgs img { width: 100%; }
.postpage__imgs--one { grid-template-columns: minmax(0, 36rem); }
.postpage__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 12px; }
.postpage__comments { align-self: stretch; margin-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.bubbles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 34px 30px; }
.tiktok { align-self: stretch; }
.tiktok blockquote { margin: 0; }
.articlepage { padding-top: 48px; padding-bottom: 80px; max-width: 820px; display: flex; flex-direction: column; gap: 18px; }
.articlepage h1 { font-size: clamp(2.3rem, 6vw, 3.75rem); }
.articlepage__cta { margin-top: 16px; }

/* closer + footer: centered, no logo (the logo already sits in the header) */
.closer { background: var(--navy-deep); }
.closer__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-top: 72px; padding-bottom: 28px; }
.closer__note { transform-origin: center; font-size: clamp(1.5rem, 4vw, 1.875rem); }
.closer__in h2 { font-size: clamp(2.2rem, 6vw, 3.5rem); line-height: 1; }
.closer__p { font-size: 1.125rem; color: var(--muted); max-width: 36rem; }
.closer__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; margin-top: 6px; }
.closer__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; }
.closer .btn { box-shadow: 5px 5px 0 var(--navy); }
.footer { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 4px 10px; padding-top: 14px; padding-bottom: 32px; font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); }

@media (max-width: 720px) {
  .brand img { width: 64px; height: 64px; }
  .brand { font-size: 1.25rem; }
  .nav { gap: 0 18px; font-size: 1rem; }
  .hero__in { padding-top: 36px; padding-bottom: 80px; gap: 40px; }
  .hero__photos { min-height: 30rem; }
  .snap--big img { height: 17rem; }
  .sticker { width: 96px; height: 96px; font-size: 0.9375rem; right: 0; }
  .cloth { transform: none; margin: 0; padding: 0; }
  .cloth__in { transform: none; padding-top: 56px; padding-bottom: 64px; }
  .paper { margin-top: 0; padding-top: 0; }
  .paper__in { padding-top: 56px; padding-bottom: 56px; }
  .layerlist a { flex-direction: column; gap: 6px; }
  .findus__in { padding-top: 64px; padding-bottom: 64px; }
  .closer__in { padding-top: 48px; padding-bottom: 16px; gap: 14px; }
  .closer__links { flex-direction: column; gap: 6px; }
  .footer { flex-direction: column; padding-top: 10px; padding-bottom: 24px; }
  .footer__dot { display: none; }
  .stop__pic { flex-basis: 140px; width: 140px; height: 140px; }
  .marketlist { padding-bottom: 48px; }
  .bubble, .faillog, .ticket, .livecam__frame { transform: none; }
  .hot { padding-bottom: 72px; }
  .livecam + .hot { margin-top: -24px; }
  /* phones: heading, then the camera, then the G-code readout */
  .livecam__in { padding-bottom: 72px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 14px; }
  .livecam__text { display: contents; }
  .livecam__frame { order: 2; flex: none; max-width: none; margin: 14px 0 10px; }
  .livecam__in .gterm { order: 3; }
  .bubble__pic { width: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .livecam__live::before { animation: none; }
  .rotator__item, .gterm__fill { transition: none; }
  .btn, .brand img { transition: none; }
}

/* ---------- gallery: time-lapse row, scroll box and pop-up ---------- */
.skip-inline { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tl { padding-top: 16px; padding-bottom: 40px; }
.tl .sectionhead, .gallerywall .sectionhead { margin-bottom: 24px; }
.tl__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.tl__card { position: relative; display: flex; flex-direction: column; gap: 8px; text-decoration: none; background: var(--navy-deep); border: 1px solid var(--navy-line); border-radius: 10px; padding: 8px 8px 10px; }
.tl__card:hover { border-color: var(--yellow); }
.tl__thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: #000; border-radius: 6px; overflow: hidden; }
.tl__thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.tl__cap { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); overflow-wrap: anywhere; }
.gallerybox { max-height: 78vh; overflow-y: auto; border: 2px dashed var(--navy-line); border-radius: 14px; padding: 34px 26px 30px; scrollbar-color: var(--yellow) var(--navy-deep); scrollbar-width: thin; }
.gallerybox::-webkit-scrollbar { width: 10px; }
.gallerybox::-webkit-scrollbar-track { background: var(--navy-deep); border-radius: 0 12px 12px 0; }
.gallerybox::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 5px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; color: var(--cream); overflow: visible; }
.lightbox::backdrop { background: rgba(5, 9, 20, .88); }
.lightbox__body { display: flex; justify-content: center; }
.lightbox__body img, .lightbox__body video { display: block; max-width: 94vw; max-height: 82vh; width: auto; height: auto; background: #000; border: 8px solid var(--cream); box-sizing: border-box; }
.lightbox__cap { margin: 10px 0 0; text-align: center; font-family: var(--hand); font-weight: 700; font-size: 1.625rem; line-height: 1.1; }
.lightbox__cap[hidden] { display: none; }
.lightbox__x { position: fixed; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.lightbox__x:hover { background: var(--cream); }
@media (max-width: 720px) {
  .gallerybox { padding: 26px 14px 22px; max-height: 72vh; }
  .tl__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

/* ============ seasonal themes (switched on from the admin Dashboard) ============ */
.season { display: flex; align-items: center; gap: 10px; font-family: var(--hand); font-weight: 700; font-size: clamp(1.6rem, 4.500vw, 2.125rem); line-height: 1; color: var(--yellow); transform: rotate(-2deg); transform-origin: left center; margin-bottom: 4px; }
.season svg { flex: none; }
.ticker__season { color: var(--cream); font-weight: 700; }

/* a slow drift of flakes, leaves or confetti behind the page; it only shows through the dark sections */
body[class*="theme-"]:not(.theme-default):not(.crochet)::before {
  content: ""; position: fixed; left: 0; right: 0; top: -360px; height: calc(100% + 360px); z-index: -1; pointer-events: none;
  background-repeat: repeat; background-size: 360px 360px; animation: drift 28s linear infinite; will-change: transform;
}
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 360px, 0); } }

/* --- Winter holiday: deep blue night, ice and snow --- */
body.theme-winter:not(.crochet) {
  --navy: #0B2545; --navy-deep: #071A33; --navy-line: #2C4F7C; --muted: #C9DAF0;
  --yellow: #9FE3FF; --coral: #EAF6FF; --green: #B8F5E4;
  --red: #1F5FA8; --red-dark: #123A6B; --red-ink: #1B4F8F;
}
body.theme-winter:not(.crochet)::before {
  opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' fill='none' stroke='%23fff' stroke-width='1.600' stroke-linecap='round'%3E%3Cg transform='translate(50 60)'%3E%3Cpath d='M0-9v18M-7.800-4.500l15.600 9M7.800-4.500l-15.600 9'/%3E%3C/g%3E%3Cg transform='translate(250 40) scale(.6)'%3E%3Cpath d='M0-9v18M-7.800-4.500l15.600 9M7.800-4.500l-15.600 9'/%3E%3C/g%3E%3Cg transform='translate(170 170) scale(1.300)'%3E%3Cpath d='M0-9v18M-7.800-4.500l15.600 9M7.800-4.500l-15.600 9'/%3E%3C/g%3E%3Cg transform='translate(320 230) scale(.8)'%3E%3Cpath d='M0-9v18M-7.800-4.500l15.600 9M7.800-4.500l-15.600 9'/%3E%3C/g%3E%3Cg transform='translate(90 290) scale(.7)'%3E%3Cpath d='M0-9v18M-7.800-4.500l15.600 9M7.800-4.500l-15.600 9'/%3E%3C/g%3E%3Ccircle cx='130' cy='100' r='2' fill='%23fff' stroke='none'/%3E%3Ccircle cx='290' cy='140' r='1.500' fill='%23fff' stroke='none'/%3E%3Ccircle cx='30' cy='200' r='2' fill='%23fff' stroke='none'/%3E%3Ccircle cx='220' cy='310' r='1.500' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
}
/* a snow drift along the top of the feed band */
body.theme-winter:not(.crochet) .cloth::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 22px;
  background-image: radial-gradient(ellipse at 50% 0, #EAF6FF 62%, transparent 64%); background-size: 90px 22px; background-repeat: repeat-x;
}

/* --- Thanksgiving: warm browns, pumpkin and gold --- */
body.theme-thanksgiving:not(.crochet) {
  --navy: #2A1810; --navy-deep: #1C0F09; --navy-line: #5E3D29; --muted: #E6D2BC;
  --yellow: #F2B544; --coral: #F08A3C; --green: #D4DB7A;
  --red: #8C2F1B; --red-dark: #561809; --red-ink: #8C2F1B;
}
body.theme-thanksgiving:not(.crochet)::before {
  opacity: .5; animation-duration: 40s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cdefs%3E%3Cpath id='l' d='M0-10c2 3 5 3.500 7 3-.500 3 1 5 3 6-2 1.500-3 3.500-3 6-2.500-.500-5 .500-6.200 2.500V10h-1.600V7.500C-2 5.500-4.500 4.500-7 5c0-2.500-1-4.500-3-6 2-1 3.500-3 3-6 2 .500 5 0 7-3z'/%3E%3C/defs%3E%3Cuse href='%23l' transform='translate(60 50) rotate(20)' fill='%23F08A3C'/%3E%3Cuse href='%23l' transform='translate(260 90) rotate(-35) scale(.8)' fill='%23F2B544'/%3E%3Cuse href='%23l' transform='translate(160 190) rotate(70) scale(1.200)' fill='%23C4502A'/%3E%3Cuse href='%23l' transform='translate(320 260) rotate(10) scale(.7)' fill='%23F08A3C'/%3E%3Cuse href='%23l' transform='translate(70 300) rotate(-60) scale(.9)' fill='%23F2B544'/%3E%3C/svg%3E");
}

/* --- New Year: midnight and gold --- */
body.theme-newyear:not(.crochet) {
  --navy: #0C0B18; --navy-deep: #06060D; --navy-line: #37355A; --muted: #D2D0E6;
  --yellow: #F5D06F; --coral: #F5D06F; --green: #B9F0D0;
  --red: #2B1D5C; --red-dark: #170E38; --red-ink: #5B3BB5;
}
body.theme-newyear:not(.crochet)::before {
  opacity: .7; animation-duration: 22s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Crect x='40' y='50' width='9' height='4' fill='%23F5D06F' transform='rotate(30 44 52)'/%3E%3Crect x='250' y='30' width='9' height='4' fill='%23C9C9E8' transform='rotate(-40 254 32)'/%3E%3Crect x='150' y='140' width='9' height='4' fill='%23F47070' transform='rotate(65 154 142)'/%3E%3Crect x='310' y='210' width='9' height='4' fill='%23F5D06F' transform='rotate(-15 314 212)'/%3E%3Crect x='80' y='270' width='9' height='4' fill='%2338C6F4' transform='rotate(50 84 272)'/%3E%3Crect x='210' y='310' width='9' height='4' fill='%23C9C9E8' transform='rotate(-70 214 312)'/%3E%3Ccircle cx='120' cy='80' r='2.500' fill='%23F5D06F'/%3E%3Ccircle cx='290' cy='130' r='2' fill='%23fff'/%3E%3Ccircle cx='30' cy='180' r='2' fill='%23C9C9E8'/%3E%3Ccircle cx='190' cy='240' r='2.500' fill='%23F5D06F'/%3E%3Cpath d='M330 60l1.500 4.500 4.500 1.500-4.500 1.500-1.500 4.500-1.500-4.500-4.500-1.500 4.500-1.500z' fill='%23fff'/%3E%3Cpath d='M100 190l1.500 4.500 4.500 1.500-4.500 1.500-1.500 4.500-1.500-4.500-4.500-1.500 4.500-1.500z' fill='%23F5D06F'/%3E%3C/svg%3E");
}
body.theme-newyear:not(.crochet) .ticker { color: #F5D06F; }

@media (prefers-reduced-motion: reduce) {
  body[class*="theme-"]:not(.theme-default):not(.crochet)::before { animation: none; }
}

/* narrow screens: the finished prints become a row you swipe sideways */
@media (max-width: 900px) {
  .hot .wrap { padding-right: 0; }
  .hot__head { padding-right: 24px; }
  .hot__line::before { left: -24px; right: 0; transform: none; }
  .hot__row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; margin-top: -18px; padding: 18px 24px 24px 8px; scrollbar-width: none; }
  .hot__row::-webkit-scrollbar { display: none; }
  .hot__row li { flex: 0 0 200px; scroll-snap-align: start; }
  .hot__swipe { display: block; padding-right: 24px; }
}

.tl--first, .gallerywall:first-child { padding-top: 48px; }

/* idle camera: Pepper asleep in the frame */
.livecam__nap { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: radial-gradient(ellipse at 50% 60%, #1B2B52 0%, var(--navy-deep) 70%); text-align: center; padding: 16px; }
.livecam__nap[hidden] { display: none; }
.livecam__pep { width: 64%; max-width: 300px; aspect-ratio: 146 / 92; }
.livecam__nap p { font-family: var(--hand); font-weight: 700; font-size: clamp(1.2rem, 3vw, 1.6rem); line-height: 1.1; color: var(--muted); }
.livecam__z { position: absolute; top: 18%; right: 22%; font-family: var(--hand); font-weight: 700; font-size: 1.8rem; color: var(--yellow); }
.livecam__z span { display: inline-block; animation: zfloat 2.400s ease-in-out infinite; }
.livecam__z span:nth-child(2) { animation-delay: .8s; font-size: 1.3em; }
@keyframes zfloat { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-8px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .livecam__z span { animation: none; } }

/* footer: social links on their own line under the button */
.closer__in .btn { margin-top: 4px; }
.closer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; }
.closer__social:empty { display: none; }
/* time-lapses: scroll box like the photos */
.tlbox { max-height: 68vh; overflow-y: auto; border: 2px dashed var(--navy-line); border-radius: 14px; padding: 22px; scrollbar-color: var(--yellow) var(--navy-deep); scrollbar-width: thin; }
.tlbox::-webkit-scrollbar { width: 10px; }
.tlbox::-webkit-scrollbar-track { background: var(--navy-deep); border-radius: 0 12px 12px 0; }
.tlbox::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 5px; }
.tlbox:focus-visible, .gallerybox:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 720px) { .tlbox { padding: 14px; max-height: 64vh; } }
