/* (Since 27 November 2026 every public page has this look, not only the event pages: site/build.mjs.)
   The event pages in the look of the guest app and the event images: the app's dark ground and colours, a
   camcorder viewfinder with the wordmark as the head of the page, and the tape over everything (scanlines, grain,
   dark corners, one band rolling through). Loaded after corporate.css on the After Work Thursday page and its dated
   pages only (site/build.mjs sets class="tape-page" on <html>); the other public pages keep the paper look.
   The colours are the guest app's (channel.css): the rules of corporate.css follow them through its variables. */
html.tape-page { --paper: #141416; --ink: #F4F2EE; --red: #E3261B; --dim: #B8B5AF; --faint: #8E8B86; --off: #4A4A50; --amber: #FFB21A; color-scheme: dark; }
html.tape-page, html.tape-page body { background: #141416; }

/* The film behind the page (site/build.mjs: a Thursday at Café LINGO, black and white, no sound track). It stays
   put while the page moves over it, dimmed so that the text keeps its contrast; everything else stands above it.
   The film is upright (9:16). How it is framed is three numbers, one set for wide windows and one for upright ones:
   --film-y    which part shows when the film is taller than the window (0% its top, 100% its bottom)
   --film-w    how wide the film's box is. 100% fills the window, which on a wide window shows only a strip of the
               film; narrower shows more of it, as a column in the middle with its sides fading into the ground
   --film-dim  how bright it is (its opacity over the dark ground)
   (--film-fade: the sides fade over 14% of the box as soon as it is narrower than the window, and not at all at 100%.)
   They can be tried out on the page itself: add #tune to the address (event-tape-tune.js). */
html.tape-page { --film-y: 68%; --film-w: 100%; --film-dim: .22; }
@media (orientation: portrait) { html.tape-page { --film-y: 50%; --film-w: 100%; --film-dim: .22; } }
.tape-bg { --film-fade: min(14%, (100% - var(--film-w)) * 100); position: fixed; top: 0; bottom: 0; left: calc((100% - var(--film-w)) / 2); z-index: 0; width: var(--film-w); height: 100%; object-fit: cover; object-position: 50% var(--film-y); opacity: var(--film-dim); pointer-events: none; background: #141416;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--film-fade), #000 calc(100% - var(--film-fade)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--film-fade), #000 calc(100% - var(--film-fade)), transparent); }
html.tape-page body > .wrap, html.tape-page body > .band, html.tape-page body > .guest-bar, html.tape-page body > main, html.tape-page body > section { position: relative; z-index: 1; }

/* The tape itself. It takes no touches. Without motion for those who ask for none. */
.tape-layer { --lines: .2; --noise: .12; --vignette: .34; position: fixed; inset: 0; z-index: 40; overflow: hidden; pointer-events: none; }
.tape-layer::before, .tape-layer::after, .tape-layer i { content: ""; position: absolute; left: 0; right: 0; }
.tape-layer::before { top: 0; bottom: 0; background:
  radial-gradient(ellipse 90% 85% at 50% 50%, transparent 55%, rgba(0, 0, 0, var(--vignette)) 100%),
  repeating-linear-gradient(to bottom, rgba(0, 0, 0, var(--lines)) 0 1px, transparent 1px 3px); }
.tape-layer::after { top: 0; bottom: 0; opacity: var(--noise); animation: tape-noise .48s steps(1) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
.tape-layer i:nth-child(1) { top: 105%; height: 9%; background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .05) 35%, rgba(255, 255, 255, .11) 50%, rgba(255, 255, 255, .04) 62%, transparent); animation: tape-roll 9s linear infinite; }
.tape-layer i:nth-child(2) { top: 0; bottom: 0; background: #000; opacity: 0; animation: tape-flicker 1.1s steps(1) infinite; }
@keyframes tape-noise { 0% { background-position: 0 0; } 17% { background-position: 97px 53px; } 33% { background-position: -41px 131px; } 50% { background-position: 163px -29px; } 67% { background-position: -113px -87px; } 83% { background-position: 59px 181px; } }
@keyframes tape-roll { 0% { top: 105%; } 100% { top: -15%; } }
@keyframes tape-flicker { 0% { opacity: 0; } 18% { opacity: .03; } 27% { opacity: 0; } 55% { opacity: .02; } 64% { opacity: .04; } 73% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tape-layer::after, .tape-layer i { animation: none; } .tape-layer i:nth-child(1) { top: 62%; } }

/* The colour fringe of tape on the heavy type. */
html.tape-page h1, html.tape-page h2, html.tape-page .step h3, html.tape-page .event-date .day, html.tape-page .facts b:not(.free) { text-shadow: .016em 0 0 rgba(0, 229, 255, .5), -.016em 0 0 rgba(255, 0, 90, .5); }

/* Top bar and footer: thin lines in the app's grey; the heavy lines stay white. */
html.tape-page .topbar { border-bottom-color: var(--off); }
html.tape-page .event, html.tape-page .step, html.tape-page .faq dd, html.tape-page .facts li { border-color: var(--off); }
html.tape-page :focus-visible { outline-color: var(--amber); }

/* ---------- the head of the page: a viewfinder ---------- */
.vf { margin: 22px 0 0; font-family: "VT323", ui-monospace, "SF Mono", Menlo, monospace; font-size: clamp(17px, 2.4vw, 26px); line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.vf-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 2px; white-space: nowrap; }
.vf-row.low { color: var(--amber); }
.vf-live { display: inline-flex; align-items: center; gap: .45em; }
.vf-live::before { content: ""; width: .62em; height: .52em; background: var(--red); animation: vf-blink 1.6s steps(1) infinite; }
@keyframes vf-blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vf-live::before { animation: none; } }
.vf-frame { position: relative; margin: 10px 0; padding: clamp(34px, 7vw, 72px) clamp(10px, 4vw, 48px); display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 3vw, 30px); text-align: center; }
.vf-frame > .c { position: absolute; width: clamp(18px, 3.4vw, 34px); height: clamp(18px, 3.4vw, 34px); border: solid var(--ink); border-width: 0; }
.vf-frame > .c.tl { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.vf-frame > .c.tr { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.vf-frame > .c.bl { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.vf-frame > .c.br { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
/* The wordmark, as on the guest app's first screen and the event images: three rows, "The" torn. */
.wm { position: relative; display: inline-block; text-align: left; font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: clamp(38px, 11.2vw, 132px); line-height: .88; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; color: #F4F2EE; text-shadow: .016em 0 0 rgba(0, 229, 255, .55), -.016em 0 0 rgba(255, 0, 90, .55); --t1: 19%; --t2: 24%; }
.wm span { display: block; } .wm .r { color: var(--red); }
.wm .base { clip-path: polygon(0 0, 100% 0, 100% var(--t1), 0 var(--t1), 0 var(--t2), 100% var(--t2), 100% 100%, 0 100%); }
.wm .tear { position: absolute; left: 0; top: 0; clip-path: inset(var(--t1) -1em calc(100% - var(--t2)) -1em); transform: translateX(-.1em); }
.vf-not { margin: 0; padding: .22em .5em .18em; background: var(--red); color: #fff; font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: clamp(17px, 3.1vw, 34px); line-height: 1; font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; }
@media (min-width: 860px) { .vf { max-width: 980px; margin-left: auto; margin-right: auto; } }

/* ---------- the rest of the page ---------- */
/* The small and running text over the film: a size larger than on the paper pages, in a lighter grey, and with a
   dark edge around the letters so that a bright moment of the film behind them does not take them away. */
html.tape-page { --dim: #D6D3CD; }
html.tape-page .wrap p, html.tape-page .wrap li, html.tape-page .wrap dd, html.tape-page .wrap dt, html.tape-page .topbar, html.tape-page footer, html.tape-page .vf { text-shadow: 0 0 2px rgba(20, 20, 22, .95), 0 0 9px rgba(20, 20, 22, .9); }
html.tape-page .topbar, html.tape-page footer { font-size: 13px; }
html.tape-page .kicker, html.tape-page .past-head, html.tape-page .facts small, html.tape-page .event-date .dow, html.tape-page .event-date .mon, html.tape-page .event-tag { font-size: 14px; }
html.tape-page .section-head p:not(.kicker) { font-size: 18px; max-width: 50ch; }
html.tape-page .deal { font-size: 20px; }
html.tape-page .where, html.tape-page .event-info { font-size: 17px; }
html.tape-page .cta-note { font-size: 16px; }
html.tape-page .step p, html.tape-page .faq dd { font-size: 17px; }
html.tape-page .faq dt { font-size: 20px; }
html.tape-page .vf-not, html.tape-page .facts .free, html.tape-page .event-tag, html.tape-page .event-link, html.tape-page .cta { text-shadow: none; }
html.tape-page #aw-title { font-size: clamp(34px, 7.2vw, 76px); }
html.tape-page .section-head p { color: var(--dim); }
html.tape-page .section-head p strong { color: var(--ink); }
html.tape-page .section-head .notice { background: var(--ink); color: #141416; }
html.tape-page .facts small, html.tape-page .kicker, html.tape-page .past-head { color: var(--dim); }
html.tape-page .facts .free { color: #fff; text-shadow: none; }
html.tape-page .deal { color: var(--ink); }
/* The buttons: the app's red block. The row's own link is a small one, as the Vote button of the app's list. */
html.tape-page .cta { color: #fff; }
html.tape-page .cta:hover { background: var(--ink); border-color: var(--ink); color: #141416; }
html.tape-page .hero-actions .cta { width: 100%; max-width: 520px; min-height: 64px; }
html.tape-page .event-link { padding: 9px 12px 8px; background: var(--red); color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
html.tape-page .event-link:hover { background: var(--ink); color: #141416; text-decoration: none; }
html.tape-page .event-title a:hover { color: var(--red); }
html.tape-page .event-tag { color: #fff; }
/* The photos: framed like the app's camera picture. */
html.tape-page .photos { gap: 10px; }
html.tape-page .photos img { border: 2px solid var(--ink); }
/* The closing band and the consent banner. */
html.tape-page .band .cta { background: #F4F2EE; color: #141416; border-color: #F4F2EE; }
html.tape-page .band .cta:hover { background: #141416; color: #F4F2EE; border-color: #141416; }
html.tape-page .consent { z-index: 50; background: #F4F2EE; color: #141416; }
html.tape-page .consent .consent-more { color: #141416; }
html.tape-page .consent button { border-color: #141416; color: #141416; }
html.tape-page .consent .consent-yes { border-color: var(--red); color: #fff; }

/* ---------- the other public pages (front page, booking form, service pages, lists) ---------- */
/* The arrow of a select and the date field's icon were drawn in the paper look's ink. */
html.tape-page .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23F4F2EE' stroke-width='2.4'/%3E%3C/svg%3E"); }
html.tape-page .field select option { color: #141416; background: #F4F2EE; }
/* Instagram's own frame is white whatever the page looks like: its stand-in text stays dark on it. */
html.tape-page .hero-video blockquote.instagram-media, html.tape-page .hero-video blockquote.instagram-media a { color: #141416; text-shadow: none; }
html.tape-page .hero-video.fitted { border-color: var(--ink); }
/* Blocks that stand on red or on white keep plain letters. */
html.tape-page .band h2, html.tape-page .done, html.tape-page .done *, html.tape-page .guest-bar, html.tape-page .choice, html.tape-page .cal, html.tape-page .cal *, html.tape-page .combo-list, html.tape-page .combo-list *, html.tape-page .section-head .notice, html.tape-page .section-head .notice * { text-shadow: none; }
html.tape-page .done .cta { background: #F4F2EE; color: #141416; border-color: #F4F2EE; }
html.tape-page .cta.ghost { color: var(--ink); }
html.tape-page .cta.ghost:hover { background: var(--ink); color: #141416; }
html.tape-page .cal, html.tape-page .combo-list { box-shadow: 6px 6px 0 var(--red); }
html.tape-page .card p, html.tape-page .list small, html.tape-page .hint, html.tape-page .svc-other { font-size: 16px; }
html.tape-page .label, html.tape-page .sub, html.tape-page .progress, html.tape-page .card .when { font-size: 13px; }
html.tape-page .card img { border: 2px solid var(--ink); }
