/* Helsinki Online Radio page (radio.html, 10.11.2026). The front page's look in small: the softened Kalasatama
   background, the dark glass sections and a paper ticket for the song form (values from landing.css). Fonts from
   fonts.css. Plain on purpose: no icons, badges or new button styles. */
:root {
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --navy: #12355b;
  --paper: #fffaf0;
  --band: #ffcc1f;
  --bad: #a3261b;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: #2a3c58; }
body { margin: 0; min-height: 100vh; color: #fff; font: 500 16px/1.55 var(--font-body); overflow-x: hidden; }

.photo-bg { position: fixed; inset: 0; z-index: 0; background: #2a3c58 url("media/bg-city-1280.jpg") center 55% / cover no-repeat;
  filter: saturate(0.8) blur(1.5px); transform: scale(1.02); }
.photo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 36, 66, 0.45), rgba(18, 36, 66, 0.6)); }

.rd-page { position: relative; z-index: 1; width: min(900px, 100% - 32px); margin: 0 auto; padding: 18px 0 40px; }
.rd-back { margin: 0 0 28px; font-size: 14px; }
.rd-back a, .rd-foot a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.rd-back a:hover, .rd-foot a:hover, .rd-back a:focus-visible, .rd-foot a:focus-visible { color: #fff; text-decoration: underline; }

.rd-hero { margin: 0 0 28px; text-align: center; text-shadow: 0 1px 12px rgba(8, 18, 36, 0.6); }
.rd-kicker { margin: 0 0 6px; font: 600 13px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #ffe58a; }
.rd-hero h1 { margin: 0 0 12px; font: 700 clamp(34px, 6vw, 52px)/1.08 var(--font-head); }
.rd-lead { margin: 0 auto; max-width: 60ch; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, 0.95); }

/* Dark glass sections, as on the front page. */
.rd-section { margin: 0 0 22px; padding: 24px 28px; border-radius: 20px; background: rgba(10, 22, 44, 0.66); backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(8, 18, 36, 0.35); }
.rd-section h2 { margin: 0 0 12px; font: 700 26px/1.15 var(--font-head); }
.rd-section h3 { margin: 0 0 6px; font: 700 18px/1.25 var(--font-head); }
.rd-section p { margin: 0 0 10px; color: rgba(255, 255, 255, 0.92); }
.rd-section p:last-child { margin-bottom: 0; }
.rd-section ul { margin: 0 0 10px; padding-left: 20px; color: rgba(255, 255, 255, 0.92); }
.rd-section li { margin-bottom: 4px; }
.rd-section a { color: #fff; }
.rd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.rd-two > div > ul:last-child { margin-bottom: 0; }
.rd-note { font-size: 15px; color: rgba(255, 255, 255, 0.82) !important; }

/* The form: a paper ticket with a yellow band and a perforated stub (landing.css .lp-ticket). */
.rd-ticket { color-scheme: light; position: relative; isolation: isolate; margin: 30px 0 22px; border-radius: 14px; overflow: hidden; background: var(--paper);
  color: var(--navy); border-left: 10px solid var(--band); scroll-margin-top: 16px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08), 0 14px 28px rgba(8, 18, 36, 0.35), 0 30px 60px rgba(8, 18, 36, 0.22),
              inset 0 0 0 1px rgba(18, 53, 91, 0.08), inset 0 -18px 30px -24px rgba(120, 90, 30, 0.25); }
.rd-ticket::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55; mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.38  0 0 0 0 0.25  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    repeating-linear-gradient(115deg, rgba(18, 53, 91, 0.035) 0 1px, transparent 1px 7px); }
.rd-ticket > * { position: relative; }
.t-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 18px 24px 4px; }
.t-name { margin: 0; font: 700 26px/1.1 var(--font-head); }
.t-when { margin: 0; font: 600 12px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(18, 53, 91, 0.8); }
.t-intro { margin: 0; padding: 2px 24px 8px; font-size: 15px; }
.t-stub { position: relative; padding: 14px 24px 16px; border-top: 2px dashed rgba(18, 53, 91, 0.25);
  background-color: rgba(18, 53, 91, 0.04); display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; }
.t-stub::after { content: ""; position: absolute; top: -9px; right: -8px; width: 16px; height: 16px; border-radius: 50%; background: rgba(40, 55, 80, 0.85); }

.rd-form { padding: 6px 24px 18px; display: grid; gap: 16px; }
.rd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.rd-field { display: grid; gap: 5px; align-content: start; min-width: 0; }
.rd-field.wide { grid-column: 1 / -1; }
.rd-field > label, .rd-field > .rd-label { font: 700 14px/1.3 var(--font-body); }
.rd-field .opt { font-weight: 500; color: rgba(18, 53, 91, 0.7); }
.rd-help { margin: 0; font-size: 13.5px; line-height: 1.4; color: rgba(18, 53, 91, 0.78); }
.rd-form input[type=text], .rd-form input[type=email], .rd-form input[type=url], .rd-form select {
  width: 100%; min-width: 0; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 2px solid rgba(18, 53, 91, 0.28);
  background: #fff; color: var(--navy); font: 500 16px var(--font-body); }
.rd-form select { appearance: none; padding-right: 36px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2312355b' stroke-width='2'/></svg>") right 14px center no-repeat; }
.rd-form input:focus-visible, .rd-form select:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(255, 204, 31, 0.7); }
.rd-file { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; border: 2px dashed rgba(18, 53, 91, 0.35); background: rgba(255, 255, 255, 0.6); }
.rd-file input[type=file] { width: 100%; min-width: 0; font: 500 15px var(--font-body); color: var(--navy); }
.rd-file input[type=file]::file-selector-button { margin-right: 12px; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--navy);
  background: #fff; color: var(--navy); font: 600 14px var(--font-body); cursor: pointer; }
.rd-file-info { margin: 0; font: 500 13px/1.4 var(--font-mono); color: rgba(18, 53, 91, 0.85); overflow-wrap: anywhere; }

.rd-ticks { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; min-width: 0; }
.rd-ticks legend { padding: 0; margin: 0 0 8px; font: 700 14px/1.3 var(--font-body); }
.rd-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.4; cursor: pointer; }
.rd-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); cursor: pointer; }
.rd-check a { color: var(--navy); font-weight: 600; }
/* The optional Streamer-safe tick (licence v3): its own quiet block under the required ticks. */
.rd-optional { padding-top: 14px; border-top: 1px solid rgba(18, 53, 91, 0.16); }
.rd-optional legend { float: left; width: 100%; color: rgba(18, 53, 91, 0.7); font-weight: 600; }
.rd-optional .rd-help { margin-left: 32px; }
.rd-guardian { display: grid; gap: 10px; margin: 2px 0 0 32px; padding: 12px 14px; border-left: 3px solid var(--band); background: rgba(255, 204, 31, 0.14); border-radius: 0 10px 10px 0; }
html.js .rd-guardian[hidden] { display: none; }

.rd-form .bad input, .rd-form .bad select, .rd-form .bad .rd-file { border-color: var(--bad); }
.rd-form .rd-check.bad { color: var(--bad); }
.rd-msg { margin: 0; padding: 10px 14px; border-radius: 10px; font-size: 15px; line-height: 1.4; }
.rd-msg.err { background: rgba(163, 38, 27, 0.1); color: var(--bad); border: 1px solid rgba(163, 38, 27, 0.4); font-weight: 600; }
.rd-msg[hidden] { display: none; }

.rd-send { min-height: 48px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: #fff;
  font: 700 16px/1 var(--font-body); cursor: pointer; }
.rd-send:hover { filter: brightness(1.15); }
.rd-send:focus-visible { outline: 3px solid rgba(255, 204, 31, 0.9); outline-offset: 2px; }
.rd-send[disabled] { cursor: progress; opacity: .8; }
.rd-fine { margin: 0; font-size: 13.5px; line-height: 1.4; color: rgba(18, 53, 91, 0.8); max-width: 46ch; }
.rd-fine a { color: var(--navy); }
.rd-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* After sending: the ticket turns into the receipt. */
.rd-done { padding: 6px 24px 20px; display: grid; gap: 10px; font-size: 16px; }
.rd-done p { margin: 0; }
.rd-done .rd-id { font: 600 14px/1.3 var(--font-mono); letter-spacing: .04em; }
.rd-done[hidden], .rd-form[hidden], .t-stub[hidden] { display: none; }
.rd-again { justify-self: start; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy);
  font: 600 15px/1 var(--font-body); cursor: pointer; }

.rd-foot { margin: 26px 0 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.82); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55); }

@media (max-width: 720px) {
  .rd-two, .rd-grid { grid-template-columns: 1fr; }
  .rd-section { padding: 20px 18px; }
  .t-head, .t-intro, .rd-form, .t-stub, .rd-done { padding-left: 16px; padding-right: 16px; }
  .rd-lead { font-size: 16.5px; }
  .rd-guardian { margin-left: 0; }
  .rd-send { width: 100%; }
}

/* Cloudflare Turnstile (17.11.2026): the check sits under the ticks; empty (no site key) takes no room. */
.rd-captcha:not(:empty) { margin: 18px 0 4px; min-height: 65px; }
