/* 978 Network: "Mill City at night"
   Shell = night-canal blue-black, mill brick, loom-copper patina, gaslight amber,
   Big Shoulders Display (painted mill-wall lettering) + Archivo.
   Each sister site's panel borrows that site's own identity (fonts/colors) so the brands read true. */

/* ------------------------------------------------------------ fonts (all SIL OFL, self-hosted) */
@font-face { font-family: "Big Shoulders Display"; font-weight: 600 900; font-display: swap;
  src: url("fonts/big-shoulders.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 400 700; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 700; font-display: swap;
  src: url("fonts/zilla-slab-700.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400 900; font-display: swap;
  src: url("fonts/playfair-display-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "VT323"; font-weight: 400; font-display: swap;
  src: url("fonts/vt323.woff2") format("woff2"); }

/* ------------------------------------------------------------ tokens */
:root {
  color-scheme: dark;
  --canal-0: #080E12;
  --canal-1: #0E161B;
  --canal-2: #142029;
  --canal-3: #1B2B35;
  --line: #24343F;
  --mortar: #EFE6D6;
  --mortar-soft: #B5B1A6;
  --mortar-dim: #7F8A8F;
  --brick: #A8432E;
  --brick-hi: #D0603F;
  --patina: #5E9384;
  --patina-hi: #8CC0B0;
  --gaslight: #E3B35C;

  --f-sign: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 76rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canal-1); color: var(--mortar);
  font: 400 1rem/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--gaslight); color: #111; padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gaslight); outline-offset: 3px; border-radius: 2px; }
svg { flex: none; }

/* ------------------------------------------------------------ network bar (matches the sister sites) */
.netbar { background: var(--canal-0); border-bottom: 1px solid var(--line); font-size: .8rem; }
.netbar-in { display: flex; align-items: center; gap: 4px 0; flex-wrap: wrap; min-height: 34px; }
.netbar-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gaslight); margin-right: 14px; font-size: .72rem; }
.netbar-label svg { width: 13px; height: 13px; color: var(--brick-hi); }
.netbar a { text-decoration: none; color: var(--mortar-soft); padding: 6px 10px; border-left: 1px solid var(--line); }
.netbar a:first-of-type { border-left: 0; padding-left: 0; }
.netbar a:hover { color: var(--mortar); }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60rem 30rem at 78% 8%, rgba(94, 147, 132, .16), transparent 60%),
    radial-gradient(40rem 24rem at 10% 30%, rgba(168, 67, 46, .14), transparent 60%),
    linear-gradient(180deg, #091116 0%, #0E1A21 55%, #12232B 100%);
}
.hero::before { /* stars, kept faint */
  content: ""; position: absolute; inset: 0 0 40% 0; z-index: -1; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 12%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 28%, #fff5 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 71% 9%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 30%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 6%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 14%, #fff4 50%, transparent 51%);
}
.topnav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.wordmark { display: inline-flex; align-items: stretch; text-decoration: none; font-family: var(--f-sign); text-transform: uppercase; line-height: 1; }
.wm-plate {
  background: var(--brick); color: #FFF4E4; font-weight: 900; font-size: 1.7rem; padding: 6px 10px 4px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25), inset 0 0 0 4px rgba(255, 230, 200, .12);
  border-radius: 3px 0 0 3px;
}
.wm-word { border: 2px solid var(--brick); border-left: 0; padding: 6px 10px 4px; font-weight: 800; font-size: 1.7rem; letter-spacing: .06em; border-radius: 0 3px 3px 0; }
.topnav-links { display: none; gap: 4px; }
.topnav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; color: var(--mortar-soft); transition: color .2s, background .2s; }
.topnav-links a:hover { color: var(--mortar); background: rgba(239, 230, 214, .07); }
@media (min-width: 760px) { .topnav-links { display: flex; } }

.hero-copy { position: relative; z-index: 2; padding-top: 28px; padding-bottom: 0; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0 0 18px; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--patina-hi); }
.eyebrow span + span::before { content: "·"; margin: 0 .7em; color: var(--mortar-dim); }
.hero h1 {
  margin: 0; font-family: var(--f-sign); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.4rem, 11vw, 8.4rem); line-height: .86; letter-spacing: -.005em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--gaslight); text-shadow: 0 0 36px rgba(227, 179, 92, .28); }
.lede { max-width: 36rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--mortar-soft); margin: 22px 0 28px; }

.gauges { display: grid; gap: 10px; grid-template-columns: 1fr; max-width: 60rem; }
@media (min-width: 640px) { .gauges { grid-template-columns: repeat(3, 1fr); } }
.gauge {
  --g: var(--patina-hi);
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "k k" "v s";
  align-items: end; gap: 2px 14px; padding: 14px 16px 14px 18px; text-decoration: none;
  background: linear-gradient(180deg, rgba(27, 43, 53, .82), rgba(14, 22, 27, .82));
  border: 1px solid var(--line); border-radius: 4px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .25s var(--ease), border-color .25s;
}
.gauge::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--g); border-radius: 0 2px 2px 0; }
.gauge::after { /* rivets */
  content: ""; position: absolute; inset: 6px; pointer-events: none;
  background:
    radial-gradient(circle at 0 0, #3b4c56 1.6px, transparent 2px) top left / 8px 8px no-repeat,
    radial-gradient(circle at 100% 0, #3b4c56 1.6px, transparent 2px) top right / 8px 8px no-repeat,
    radial-gradient(circle at 0 100%, #3b4c56 1.6px, transparent 2px) bottom left / 8px 8px no-repeat,
    radial-gradient(circle at 100% 100%, #3b4c56 1.6px, transparent 2px) bottom right / 8px 8px no-repeat;
}
.gauge:hover { transform: translateY(-2px); border-color: var(--g); }
.g-weather { --g: #7FD0FF; }
.g-weekender { --g: var(--mortar); }
.g-live { --g: var(--brick-hi); }
.g-k { grid-area: k; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mortar-dim); }
.g-v { grid-area: v; font-family: var(--f-sign); font-weight: 800; font-size: 2.6rem; line-height: .9; color: var(--g); }
.g-v.g-text { font-size: 1.7rem; text-transform: uppercase; }
.g-s { grid-area: s; font-size: .88rem; color: var(--mortar-soft); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: 2px; }

.hero-art { position: relative; margin-top: 28px; z-index: 1; pointer-events: none; }
.mill { display: block; width: 100%; height: clamp(300px, 41.67vw, 600px); }
@media (max-width: 639px) {
  .hero-art { margin-top: 12px; }
  /* frame the tower + "978 NETWORK" block instead of cropping the middle */
  .mill { width: 720px; height: 300px; margin-left: calc(50% - 475px); }
  .eyebrow .hide-sm { display: none; }
  .eyebrow span:last-child { flex-basis: 100%; }
  .eyebrow span:last-child::before { content: none; }
  .gauges { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .gauges::-webkit-scrollbar { display: none; }
  .gauge { scroll-snap-align: start; }
}

/* mill details (CSP: no inline styles, so all SVG styling lives here) */
.mill .win { fill: #0A1217; }
.mill .win.lit { fill: var(--gaslight); filter: drop-shadow(0 0 6px rgba(227, 179, 92, .55)); }
.mill .far { opacity: .55; }
.mill .mill-sign { font-family: var(--f-sign); font-weight: 900; font-size: 30px; letter-spacing: .32em; fill: #F1E3C8; opacity: .82; }
.mill .mill-sign.sm { font-size: 18px; letter-spacing: .4em; opacity: .6; }
.mill .ripple { opacity: .45; animation: ripple 6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.mill .ripple.slow { animation-duration: 11s; }
@keyframes ripple { from { transform: translateX(-6px) scaleX(.9); } to { transform: translateX(6px) scaleX(1.1); } }
.mill .lit.f1, .mill .lit.f2, .mill .lit.f3, .mill .lit.f4, .mill .lit.f5, .mill .lit.f6 { animation: lamp 9s steps(1, end) infinite; }
.mill .lit.f2 { animation-delay: -2s; animation-duration: 13s; }
.mill .lit.f3 { animation-delay: -5s; animation-duration: 17s; }
.mill .lit.f4 { animation-delay: -1s; animation-duration: 11s; }
.mill .lit.f5 { animation-delay: -7s; animation-duration: 21s; }
.mill .lit.f6 { animation-delay: -3s; animation-duration: 15s; }
@keyframes lamp { 0%, 62% { fill: var(--gaslight); } 63%, 100% { fill: #0A1217; filter: none; } }

/* ------------------------------------------------------------ floors (sections) */
main { background: linear-gradient(180deg, #081014 0, var(--canal-1) 240px); }
.floor { padding: 56px 0 8px; }
.floor:first-child { padding-top: 64px; }
.floor-tag { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.floor-tag .no {
  font-family: var(--f-sign); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .95rem;
  color: var(--gaslight); border: 1.5px solid currentColor; padding: 3px 10px 1px; border-radius: 2px;
}
.floor-tag .what { color: var(--mortar-dim); font-size: .9rem; letter-spacing: .02em; }
.panel { position: relative; border-radius: 6px; overflow: hidden; }
.p-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700;
  padding: 12px 20px; border-radius: 4px; transition: transform .2s var(--ease), filter .2s, background .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { font-weight: 600; text-underline-offset: 4px; }
.fallback { margin: 0; font-size: 1.05rem; max-width: 46rem; }

/* ------------------------------------------------------------ Mill No. 1 · 978 Live (978live.com identity) */
.p-live {
  --lv-bg: #1E1C1A; --lv-card: #282522; --lv-line: #403A34; --lv-ink: #F3ECDF; --lv-soft: #CFC6B6;
  --lv-brick: #E07A5F; --lv-btn: #A8402C; --lv-brass: #B08D57;
  background: var(--lv-bg); color: var(--lv-ink); padding: 26px; border: 1px solid var(--lv-line);
  box-shadow: 0 30px 60px -30px rgba(192, 68, 47, .35);
}
.p-live::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--lv-btn), var(--lv-brick), var(--lv-brass)); }
.p-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; margin-bottom: 22px; }
.lv-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.lv-brand img { width: 56px; height: 56px; border-radius: 50%; }
.p-live h2 { margin: 0; font: 700 2.2rem/1 "Zilla Slab", Rockwell, Georgia, serif; }
.p-live h2 i { color: var(--lv-brick); font-style: italic; }
.lv-tag { margin: 0; color: var(--lv-soft); max-width: 30rem; font-size: .98rem; }
.lv-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .lv-grid { grid-template-columns: 1.55fr 1fr; } }
.lv-feature { display: grid; text-decoration: none; background: var(--lv-card); border: 1px solid var(--lv-line); border-radius: 10px; overflow: hidden; transition: border-color .25s; }
.lv-feature:hover { border-color: rgba(224, 122, 95, .6); }
.lv-media { position: relative; display: block; aspect-ratio: 1200 / 630; background: #141312; overflow: hidden; }
.lv-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lv-feature:hover .lv-media img { transform: scale(1.03); }
.lv-play {
  position: absolute; left: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lv-btn); color: var(--lv-ink);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .6);
}
.lv-play svg { width: 26px; height: 26px; margin-left: 3px; }
.lv-body { display: grid; gap: 8px; padding: 18px 20px 22px; }
.lv-kicker { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lv-brick); }
.lv-title { font: 700 clamp(1.3rem, 2.4vw, 1.75rem)/1.15 "Zilla Slab", Georgia, serif; }
.lv-sum { color: var(--lv-soft); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.lv-list a { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; text-decoration: none; padding: 10px; border-radius: 10px; background: var(--lv-card); border: 1px solid var(--lv-line); transition: border-color .25s; }
.lv-list a:hover { border-color: rgba(224, 122, 95, .6); }
.lv-list img, .lv-list .noimg { width: 132px; aspect-ratio: 1200 / 630; height: auto; object-fit: cover; border-radius: 6px; background: #141312; }
.lv-browse { display: grid; gap: 12px; padding: 16px 18px; border-radius: 10px; border: 1px dashed var(--lv-line); }
.lv-browse p { margin: 0; color: var(--lv-soft); font-size: .92rem; }
.lv-browse nav { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-browse nav a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--lv-line); background: var(--lv-card); text-decoration: none; font-weight: 600; font-size: .9rem; transition: border-color .2s, color .2s; }
.lv-browse nav a:hover { border-color: var(--lv-brick); color: var(--lv-brick); }
.lv-t { font: 700 1.05rem/1.2 "Zilla Slab", Georgia, serif; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.btn-live { background: var(--lv-btn); color: var(--lv-ink); box-shadow: 0 8px 20px -10px rgba(192, 68, 47, .8); }
.lv-ghost { color: var(--lv-soft); }
.lv-ghost:hover { color: var(--lv-ink); }
.fallback.on-live { color: var(--lv-soft); }
@media (max-width: 480px) { .p-live { padding: 18px; } .lv-list a { grid-template-columns: 104px 1fr; } .lv-list img, .lv-list .noimg { width: 104px; } }

/* ------------------------------------------------------------ Mill No. 2 · The Lowell Weekender (newsprint) */
.p-paper {
  --pp-bg: #F5F2EE; --pp-ink: #111; --pp-soft: #4A4642; --pp-rule: #111; --pp-hair: #D8D2C8;
  background: var(--pp-bg); color: var(--pp-ink); padding: 30px 26px 30px;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .8);
  background-image: radial-gradient(rgba(0, 0, 0, .025) 1px, transparent 1px);
  background-size: 3px 3px;
}
.wk-mast { text-align: center; border-top: 3px double var(--pp-rule); border-bottom: 3px double var(--pp-rule); padding: 10px 0 14px; margin-bottom: 26px; }
.wk-meta { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 6px; font: 600 .7rem/1.4 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.p-paper h2 { margin: 6px 0 4px; font: 900 clamp(2.2rem, 6.4vw, 4.6rem)/.92 "Playfair Display", Georgia, serif; text-transform: uppercase; letter-spacing: -.01em; }
.p-paper h2 a { text-decoration: none; }
.wk-sub { margin: 8px 0 0; font: 600 .7rem/1.4 Inter, sans-serif; letter-spacing: .32em; text-transform: uppercase; }
.wk-cols { display: grid; gap: 0; }
@media (min-width: 820px) { .wk-cols { grid-template-columns: repeat(3, 1fr); } .wk-day + .wk-day { border-left: 1px solid var(--pp-rule); } .wk-day { padding: 0 22px; } .wk-day:first-child { padding-left: 0; } .wk-day:last-child { padding-right: 0; } }
@media (max-width: 819px) { .wk-day + .wk-day { border-top: 1px solid var(--pp-rule); padding-top: 18px; margin-top: 18px; } }
.wk-day h4 { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 6px; padding-bottom: 6px; border-bottom: 3px double var(--pp-rule); }
.wk-day h4 span { font: 900 1.7rem/1 "Playfair Display", Georgia, serif; }
.wk-day h4 small { font: 600 .7rem/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.wk-day ul { list-style: none; margin: 0; padding: 0; }
.wk-day li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0 10px; padding: 10px 0; border-bottom: 1px solid var(--pp-hair); font-family: Inter, sans-serif; }
.wk-day li:last-child { border-bottom: 0; }
.wk-day time { grid-row: span 2; font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; padding-top: 3px; }
.wk-t { font: 700 1.04rem/1.25 "Playfair Display", Georgia, serif; }
.wk-v { font-size: .82rem; color: var(--pp-soft); margin-top: 2px; }
.wk-more { display: inline-block; margin-top: 8px; font: 700 .72rem/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--pp-ink); text-underline-offset: 3px; }
.wk-actions { justify-content: center; border-top: 3px double var(--pp-rule); padding-top: 22px; }
.btn-paper { background: var(--pp-ink); color: var(--pp-bg); border-radius: 0; font-family: Inter, sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; box-shadow: 4px 4px 0 var(--brick); }
.btn-paper:hover { filter: none; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--brick); }
.wk-ghost { color: var(--pp-ink); font-family: Inter, sans-serif; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.fallback.on-paper { color: var(--pp-soft); text-align: center; margin: 0 auto; font-family: Inter, sans-serif; }
.p-paper :focus-visible { outline-color: var(--brick); }

/* ------------------------------------------------------------ Mill No. 3 · Lowell Weather (retro broadcast) */
.p-crt {
  --cr-bg: #1A0603; --cr-ink: #FFF6E6; --cr-amber: #FFB86B; --cr-sky: #7FD0FF; --cr-red: #D1453A; --cr-salmon: #FF8A72;
  background: #0A0A0B; padding: 14px; border: 1px solid #2a2a2e;
  font-family: VT323, "Courier New", monospace; color: var(--cr-ink);
  box-shadow: inset 0 0 0 2px #1c1c1e, 0 30px 60px -30px rgba(209, 69, 58, .35);
}
.cr-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px;
  background: linear-gradient(180deg, #E0563F, #A82E1F 60%, #7A2010); border-bottom: 3px solid #C9A46A;
  border-radius: 6px 6px 0 0; text-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
}
.p-crt h2 { margin: 0; white-space: nowrap; font: 400 clamp(1.6rem, 4vw, 2.4rem)/1 VT323, monospace; letter-spacing: .06em; text-transform: uppercase; }
.p-crt h2 a { text-decoration: none; }
.cr-clock { white-space: nowrap; font-size: clamp(1.4rem, 3.4vw, 1.8rem); line-height: 1; color: var(--cr-ink); letter-spacing: .04em; }
.cr-screen {
  position: relative; padding: 22px 22px 0; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #3A1108 0%, #1A0603 70%);
  border-radius: 0 0 6px 6px;
}
.cr-screen::after { /* scanlines + vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px),
    radial-gradient(120% 120% at 50% 50%, transparent 60%, rgba(0, 0, 0, .55));
}
.cr-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .cr-grid { grid-template-columns: 1fr 1.35fr; align-items: start; } }
.cr-label { margin: 0 0 10px; color: var(--cr-sky); font-size: 1.35rem; letter-spacing: .1em; }
.cr-big { display: flex; align-items: center; gap: 16px; font-size: clamp(4.4rem, 11vw, 6.6rem); line-height: .8; text-shadow: 3px 3px 0 #000, 0 0 22px rgba(255, 184, 107, .35); color: var(--cr-amber); }
.cr-ico-lg { width: 88px; height: 88px; color: var(--cr-ink); filter: drop-shadow(3px 3px 0 #000); }
.cr-cond { margin: 10px 0 14px; font-size: 2rem; line-height: 1; text-shadow: 2px 2px 0 #000; }
.cr-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 0; }
.cr-stats div { border-top: 1px dashed rgba(255, 246, 230, .25); padding-top: 6px; }
.cr-stats dt { color: var(--cr-salmon); font-size: 1.1rem; letter-spacing: .08em; }
.cr-stats dd { margin: 0; font-size: 1.5rem; line-height: 1.05; }
.cr-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cr-days li {
  display: grid; justify-items: center; gap: 4px; text-align: center; padding: 12px 4px 14px;
  background: linear-gradient(180deg, rgba(127, 208, 255, .12), rgba(127, 208, 255, .03));
  border: 1px solid rgba(127, 208, 255, .28); border-radius: 4px;
}
.cr-d { font-size: 1.5rem; color: var(--cr-sky); letter-spacing: .06em; }
.cr-ico { width: 40px; height: 40px; color: var(--cr-ink); filter: drop-shadow(2px 2px 0 #000); }
.cr-c { font-size: 1.05rem; line-height: 1; color: var(--cr-ink); opacity: .85; min-height: 2em; display: grid; place-items: center; }
.cr-hl { font-size: 1.45rem; color: rgba(255, 246, 230, .75); }
.cr-hl b { color: var(--cr-amber); font-weight: 400; }
.crawl { position: relative; margin: 22px -22px 0; overflow: hidden; white-space: nowrap; background: #000; border-top: 2px solid #C9A46A; padding: 6px 0; font-size: 1.35rem; color: var(--cr-amber); letter-spacing: .08em; }
.crawl span { display: inline-block; padding-left: 100%; animation: crawl 26s linear infinite; }
.crawl.alert { background: #5A0E08; color: #FFE08A; }
@keyframes crawl { to { transform: translateX(-100%); } }
.cr-actions { margin-top: 14px; justify-content: flex-end; }
.btn-crt { font-family: VT323, monospace; font-weight: 400; font-size: 1.45rem; letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(180deg, #E0563F, #A82E1F); color: var(--cr-ink); border: 1px solid #C9A46A; text-shadow: 1px 1px 0 #000; }
.fallback.on-crt { font-size: 1.5rem; padding-bottom: 22px; }
@media (max-width: 520px) {
  .cr-screen { padding: 16px 14px 0; } .crawl { margin: 18px -14px 0; }
  .cr-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-ico-lg { width: 64px; height: 64px; }
  .p-crt { padding: 8px; }
}

/* ------------------------------------------------------------ about */
.about { padding: 88px 0 72px; }
.about-in { display: grid; gap: 28px; }
@media (min-width: 900px) { .about-in { grid-template-columns: 1fr 1.3fr; gap: 60px; } }
.about h2 { margin: 0; font-family: var(--f-sign); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: .9; }
.about-copy p { margin: 0 0 24px; font-size: 1.1rem; color: var(--mortar-soft); }
.about-copy strong { color: var(--mortar); }
.about-sites { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.about-sites a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; text-decoration: none; border: 1px solid var(--line); border-radius: 6px; background: var(--canal-2); transition: border-color .2s, transform .2s var(--ease); }
.about-sites a:hover { border-color: var(--patina); transform: translateX(3px); }
.about-sites img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.about-sites b { display: block; font-weight: 700; }
.about-sites small { color: var(--mortar-dim); font-size: .85rem; }

/* ------------------------------------------------------------ footer */
.foot { background: var(--canal-0); padding: 0 0 36px; color: var(--mortar-dim); font-size: .9rem; overflow: hidden; }
.canal-line {
  height: 18px; margin-bottom: 30px;
  background:
    radial-gradient(12px 6px at 12px 0, transparent 70%, var(--patina) 72% 82%, transparent 84%) 0 4px / 24px 10px repeat-x,
    linear-gradient(var(--line), var(--line)) 0 0 / 100% 2px no-repeat;
  opacity: .5;
}
.foot-mark {
  margin: 0 0 10px; font-family: var(--f-sign); font-weight: 900; font-size: clamp(3.4rem, 15vw, 11rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px #2a3b46; letter-spacing: .02em; white-space: nowrap;
}
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }
.foot a { color: var(--mortar-soft); }
.foot .small { font-size: .8rem; }

/* ------------------------------------------------------------ motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .crawl { white-space: normal; text-align: center; }
  .crawl span { padding-left: 0; }
}
