/* ==========================================================================
   Edwards Media Group – Michigan
   Lake Huron at dawn: deep lake navy, sunrise signal orange, warm paper.
   ========================================================================== */

:root {
	--lake: #0a1c2b;
	--lake-2: #10293d;
	--lake-3: #18384f;
	--night: #061320;
	--paper: #f3eee4;
	--paper-2: #ebe4d6;
	--ink: #13202b;
	--muted: #56646f;
	--signal: #ff7a2f;
	--signal-2: #ffb15c;
	--rust: #b2440d;
	--foam: #cfe0e6;
	--rule: rgba(19, 32, 43, 0.16);
	--rule-dark: rgba(207, 224, 230, 0.16);
	--display: "Big Shoulders Display", "Arial Narrow", sans-serif;
	--serif: "Newsreader", Georgia, serif;
	--mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
	--shell: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body.emg-body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.emg-body:not(.home) { padding-top: 72px; }

.emg-body a { color: inherit; }
.emg-body img, .emg-body svg, .emg-body video { display: block; max-width: 100%; }
.emg-body h1, .emg-body h2, .emg-body h3, .emg-body p, .emg-body ol, .emg-body ul { margin: 0; }
.emg-body ol, .emg-body ul { padding: 0; list-style: none; }
.emg-body address { font-style: normal; }
.emg-body :focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only, .hp {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
	position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: #1a0d04;
	font-family: var(--mono); font-size: .8rem; padding: .6rem .9rem; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Shared type ---------- */
.kicker {
	font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .16em;
	text-transform: uppercase; color: var(--signal-2); display: flex; align-items: center; gap: .65rem;
}
.kicker--rust { color: var(--rust); }
.kicker__dot {
	width: 9px; height: 9px; border-radius: 50%; background: var(--signal); flex: none;
	animation: pulse 2.2s ease-out infinite;
}
.section-title {
	font-family: var(--display); font-weight: 900; text-transform: uppercase;
	font-size: clamp(2.7rem, 6.2vw, 4.8rem); line-height: .88; letter-spacing: -.005em; margin-top: .3em;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	font-family: var(--mono); font-weight: 600; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase;
	line-height: 1; text-decoration: none; white-space: nowrap;
	padding: 1em 1.45em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
	transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .78em 1.1em; font-size: .72rem; }
.btn--block { width: 100%; }
.btn--signal { background: var(--signal); color: #1a0d04; box-shadow: 0 10px 24px -14px rgba(255, 122, 47, .9); }
.btn--signal:hover { background: var(--signal-2); }
.btn--ghost { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn--line { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--lake-3); }
.btn__icon { display: inline-flex; }
.btn__icon--pause { display: none; }
.btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn[aria-pressed="true"] .btn__icon--play { display: none; }
.btn[aria-pressed="true"] .btn__icon--pause { display: inline-flex; }

/* ---------- Masthead ---------- */
.masthead {
	position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff;
	transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.masthead.is-scrolled, .emg-body:not(.home) .masthead {
	background: rgba(10, 28, 43, .92);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 var(--rule-dark);
}
.masthead__row { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__mark { width: 40px; height: 40px; flex: none; color: #fff; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
	font-family: var(--display); font-weight: 800; font-size: 1.32rem; line-height: 1;
	letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.brand__sub {
	font-family: var(--mono); font-size: .64rem; letter-spacing: .38em; text-transform: uppercase;
	color: var(--signal-2); margin-top: .3rem;
}
.masthead__nav { display: flex; gap: 1.75rem; }
.masthead__nav a {
	font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
	color: rgba(255, 255, 255, .76); text-decoration: none; padding: .4rem 0; position: relative;
}
.masthead__nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--signal);
	transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.masthead__nav a:hover { color: #fff; }
.masthead__nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff; background: var(--lake);
	padding: 150px 0 clamp(48px, 6vw, 72px);
	min-height: 100vh; min-height: 100svh;
	display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; filter: saturate(.65) contrast(1.05); transition: opacity 1.6s ease;
}
.hero__video.is-ready { opacity: .34; }
.hero__shade {
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 70% 55% at 82% 12%, rgba(255, 122, 47, .38), transparent 62%),
		radial-gradient(ellipse 45% 30% at 82% 30%, rgba(255, 177, 92, .18), transparent 70%),
		linear-gradient(180deg, rgba(10, 28, 43, .35) 0%, rgba(10, 28, 43, .72) 55%, var(--lake) 100%);
}
.hero__water {
	position: absolute; left: 0; right: 0; bottom: 0; height: 58%;
	background: repeating-linear-gradient(180deg, transparent 0 13px, rgba(255, 177, 92, .07) 13px 14px);
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
}
.hero__grain {
	position: absolute; inset: 0; opacity: .09; mix-blend-mode: overlay; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; }
.hero__title {
	font-family: var(--display); font-weight: 900; text-transform: uppercase;
	font-size: clamp(3.2rem, 9.4vw, 8.2rem); line-height: .84; letter-spacing: -.01em;
	margin: .32em 0 .32em; max-width: 11.5ch; text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--signal); }
.hero__lede { font-size: clamp(1.08rem, 1.6vw, 1.32rem); line-height: 1.5; max-width: 37rem; color: rgba(255, 255, 255, .82); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Tuner ---------- */
.tuner {
	position: relative; margin-top: clamp(3rem, 7vw, 5.5rem);
	border: 1px solid var(--rule-dark); border-radius: 20px;
	background: linear-gradient(180deg, rgba(16, 41, 61, .82), rgba(6, 19, 32, .88));
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	padding: 1.2rem clamp(1rem, 2.4vw, 1.75rem) 1.5rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.tuner__head { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.tuner__label { font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--foam); }
.tuner__readout { display: flex; align-items: baseline; gap: .85rem; min-width: 0; }
.tuner__readfreq { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: .04em; color: #fff; }
.tuner__readname { font-family: var(--mono); font-size: .8rem; color: var(--signal-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tuner__bands { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 26%); gap: clamp(1.5rem, 3vw, 2.75rem); }
.tuner__band { display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: end; }
.tuner__bandlabel { font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; color: var(--foam); padding-bottom: 30px; }
.tuner__track { position: relative; height: 104px; }
.tuner__scale { position: absolute; left: 0; right: 0; top: 52px; height: 22px; border-bottom: 1px solid rgba(207, 224, 230, .45); }
.tuner__tick { position: absolute; bottom: 0; width: 1px; height: 7px; background: rgba(207, 224, 230, .38); }
.tuner__tick--major { height: 15px; background: rgba(207, 224, 230, .75); }
.tuner__num {
	position: absolute; top: calc(100% + 7px); transform: translateX(-50%);
	font-family: var(--mono); font-size: .64rem; color: rgba(207, 224, 230, .62);
}
.tuner__needle {
	position: absolute; top: 40px; height: 42px; width: 2px; margin-left: -1px; left: var(--needle, 50%);
	background: var(--signal); border-radius: 2px; opacity: .3;
	box-shadow: 0 0 14px 2px rgba(255, 122, 47, .65);
	transition: left 1s cubic-bezier(.6, .05, .2, 1), opacity .4s;
}
.tuner__band.is-tuned .tuner__needle { opacity: 1; }
.tuner__stop {
	position: absolute; top: 0; left: var(--pos); z-index: 2;
	display: flex; flex-direction: column; gap: 3px; align-items: center; text-align: center;
	background: none; border: 0; padding: .1rem .35rem; color: #fff; cursor: pointer; text-decoration: none;
	font: inherit; transform: translateX(-50%); border-radius: 6px;
}
.tuner__stop--end { transform: translateX(-100%); align-items: flex-end; text-align: right; padding-right: 0; }
.tuner__stop--start { transform: none; align-items: flex-start; text-align: left; padding-left: 0; }
.tuner__freq { font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: .03em; transition: color .2s; }
.tuner__name { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--foam); white-space: nowrap; }
.tuner__stop.is-link .tuner__name::after { content: " ↗"; }
.tuner__pin {
	position: absolute; top: 100%; left: 50%; width: 1px; height: 12px; background: rgba(255, 255, 255, .5);
}
.tuner__pin::after {
	content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%;
	background: var(--lake); border: 1.5px solid #fff; transition: background .2s, border-color .2s, transform .2s;
}
.tuner__stop--end .tuner__pin { left: 100%; }
.tuner__stop--start .tuner__pin { left: 0; }
.tuner__stop:hover .tuner__freq, .tuner__stop.is-active .tuner__freq { color: var(--signal); }
.tuner__stop:hover .tuner__pin::after { transform: scale(1.25); }
.tuner__stop.is-active .tuner__pin::after { background: var(--signal); border-color: var(--signal); }

/* ---------- Regions ---------- */
.region { padding: clamp(4.5rem, 9vw, 8rem) 0; border-top: 1px solid var(--rule); }
.region--thumb { background: var(--paper-2); }
.region__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.region__head { position: sticky; top: 112px; align-self: start; }
.region__coords { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--rust); }
.region__title {
	font-family: var(--display); font-weight: 900; text-transform: uppercase;
	font-size: clamp(3.1rem, 7.4vw, 6rem); line-height: .84; letter-spacing: -.01em; margin: .3em 0 .45em;
}
.region__intro { color: var(--muted); font-size: 1.12rem; max-width: 30rem; }
.office {
	margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); max-width: 30rem;
	font-family: var(--mono); font-size: .8rem; line-height: 1.75; color: var(--ink);
}
.office strong { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.office a { text-decoration-color: var(--rule); text-underline-offset: 3px; }
.office a:hover { color: var(--rust); }

.stations { border-top: 2px solid var(--ink); }
.station {
	position: relative; display: grid; grid-template-columns: 9.25rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
	padding: 1.65rem 0; border-bottom: 1px solid var(--rule);
}
.station::before {
	content: ""; position: absolute; left: calc(-1 * clamp(.75rem, 2vw, 1.25rem)); top: 1.6rem; bottom: 1.6rem; width: 3px;
	background: var(--signal); border-radius: 3px; transform: scaleY(0); transition: transform .35s var(--ease);
}
.station.is-playing::before { transform: scaleY(1); }
.station__freq { display: flex; align-items: baseline; gap: .35rem; }
.station__num { font-family: var(--display); font-weight: 900; font-size: 3.4rem; line-height: .88; letter-spacing: -.01em; transition: color .3s; }
.station.is-playing .station__num { color: var(--rust); }
.station__band { font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.station__name { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.station__desc { color: var(--muted); font-size: 1rem; margin-top: .3rem; }
.station__call { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; color: var(--muted); margin-top: .4rem; }
.station__actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }

.netcard {
	margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: end;
	background: var(--lake); color: #fff; border-radius: 18px; padding: clamp(1.4rem, 3vw, 2rem);
	text-decoration: none; position: relative; overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s;
}
.netcard::before {
	content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 122, 47, .45), transparent 65%);
}
.netcard:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(10, 28, 43, .8); }
.netcard__text { position: relative; display: flex; flex-direction: column; gap: .45rem; }
.netcard__kind { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--signal-2); }
.netcard__title { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: .92; text-transform: uppercase; }
.netcard__desc { color: rgba(255, 255, 255, .76); font-size: 1rem; max-width: 30rem; }
.netcard__go {
	position: relative; display: inline-flex; align-items: center; gap: .45rem;
	font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: #fff; white-space: nowrap;
}
.netcard__go svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.netcard:hover .netcard__go svg { transform: translate(2px, -2px); }

.pubs__label {
	font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	color: var(--muted); margin: 2.75rem 0 1rem;
}
.pubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.pub {
	display: flex; flex-direction: column; min-height: 250px; padding: 1.35rem 1.3rem 1.1rem;
	background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; text-decoration: none; color: var(--ink);
	transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.pub:hover { transform: translateY(-4px); border-color: rgba(19, 32, 43, .35); box-shadow: 0 22px 44px -28px rgba(10, 28, 43, .5); }
.pub__kind { font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rust); }
.pub__title { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: .95; text-transform: uppercase; margin: .7rem 0 .65rem; }
.pub__desc { font-size: .98rem; line-height: 1.45; color: var(--muted); }
.pub__link {
	margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--rule);
	display: flex; justify-content: space-between; align-items: center; gap: .5rem;
	font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
}
.pub__link svg { width: 1rem; height: 1rem; flex: none; transition: transform .25s var(--ease); }
.pub:hover .pub__link svg { transform: translate(2px, -2px); color: var(--rust); }
.pub__link span { overflow-wrap: anywhere; }

/* ---------- Newsroom ---------- */
.newsroom { padding: clamp(4.5rem, 9vw, 7.5rem) 0; border-top: 1px solid var(--rule); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head__note { font-family: var(--mono); font-size: .74rem; color: var(--muted); max-width: 22rem; }
.newsroom__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.feed__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); }
.feed__name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; line-height: 1; }
.feed__name span { display: block; font-family: var(--mono); font-weight: 500; font-size: .64rem; letter-spacing: .16em; color: var(--muted); margin-top: .35rem; }
.feed__all { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.feed__all svg { width: .95rem; height: .95rem; }
.feed__all:hover { color: var(--rust); }
.feed__item { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .9rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.feed__n { font-family: var(--mono); font-size: .72rem; color: var(--rust); padding-top: .3rem; }
.feed__title { display: block; font-weight: 500; font-size: 1.2rem; line-height: 1.28; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.feed__item:hover .feed__title { text-decoration-color: var(--rust); }
.feed__date { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--muted); margin-top: .4rem; }
.feed__empty { padding: 1.25rem 0; color: var(--muted); }

/* ---------- Advertise ---------- */
.advertise { position: relative; overflow: hidden; background: var(--lake); color: #fff; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.advertise::before {
	content: ""; position: absolute; left: -12%; bottom: -35%; width: 70%; height: 90%;
	background: radial-gradient(ellipse at center, rgba(255, 122, 47, .28), transparent 62%); pointer-events: none;
}
.advertise::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
	background: repeating-linear-gradient(180deg, transparent 0 13px, rgba(255, 177, 92, .05) 13px 14px);
	-webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000);
	pointer-events: none;
}
.advertise__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.advertise .section-title { color: #fff; max-width: 9ch; }
.advertise__lede { color: rgba(255, 255, 255, .8); font-size: 1.15rem; max-width: 32rem; margin-top: 1.4rem; }
.offer { margin-top: 2.25rem; border-top: 1px solid var(--rule-dark); max-width: 32rem; }
.offer li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--rule-dark); color: rgba(255, 255, 255, .76); font-size: 1.02rem; }
.offer strong { color: #fff; font-weight: 600; }
.offer__n { font-family: var(--mono); font-size: .72rem; color: var(--signal-2); padding-top: .3rem; }

.inquiry {
	background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.25rem);
	box-shadow: 0 50px 90px -45px rgba(0, 0, 0, .8);
}
.inquiry__title { font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.inquiry__note { color: var(--muted); margin: .45rem 0 1.4rem; font-size: 1rem; }
.notice { border-radius: 12px; padding: .85rem 1rem; font-size: .98rem; margin-bottom: 1.2rem; }
.notice--ok { background: #e3efe3; border: 1px solid #9cc39f; color: #1f4d25; }
.notice--err { background: #f8e3dc; border: 1px solid #e3a58f; color: #7a2a10; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin: 0 0 1rem; min-width: 0; }
.field label, .field legend {
	font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.field input, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fffdf8;
	border: 1px solid var(--rule); border-radius: 10px; padding: .78rem .9rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(178, 68, 13, .14); }
.chips { border: 0; padding: 0; }
.chips legend { padding: 0; margin-bottom: .55rem; }
.chips__list { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
	display: inline-block; font-family: var(--mono); font-size: .72rem; line-height: 1.2; padding: .55rem .8rem;
	border: 1px solid var(--rule); border-radius: 999px; background: #fffdf8; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.inquiry .btn--block { margin-top: .4rem; padding-block: 1.1em; }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: rgba(255, 255, 255, .72); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; font-size: .98rem; }
.player-open .site-foot { padding-bottom: 6.5rem; }
.site-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-foot__brand p { margin-top: 1rem; max-width: 20rem; }
.brand--foot { margin: 0; }
.site-foot__h { font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--foam); margin-bottom: 1rem; }
.site-foot__office { font-size: .95rem; line-height: 1.6; margin-bottom: 1.1rem; }
.site-foot__office strong { display: block; color: #fff; font-weight: 600; }
.site-foot__links li { margin-bottom: .55rem; }
.site-foot a { text-decoration: none; transition: color .2s; }
.site-foot a:hover { color: var(--signal-2); }
.site-foot__base {
	display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.4rem;
	border-top: 1px solid var(--rule-dark); font-family: var(--mono); font-size: .7rem; letter-spacing: .06em;
}

/* ---------- Live player ---------- */
.player {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; color: #fff;
	background: rgba(6, 19, 32, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-top: 1px solid var(--rule-dark); box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .6);
	transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s;
}
.player.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.player__row { display: flex; align-items: center; gap: 1rem; height: 76px; }
.player__toggle {
	width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
	display: grid; place-items: center; background: var(--signal); color: #1a0d04; transition: background .2s, transform .2s;
}
.player__toggle:hover { background: var(--signal-2); transform: scale(1.05); }
.player__toggle svg { width: 20px; height: 20px; }
.player__icon { display: none; }
.player.is-playing .player__icon--pause, .player:not(.is-playing) .player__icon--play { display: block; }
.player__info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.player__live { display: flex; align-items: center; gap: .45rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--signal-2); }
.player__name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__sub { font-family: var(--mono); font-size: .68rem; color: var(--foam); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__site { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--foam); text-decoration: none; white-space: nowrap; }
.player__site svg { width: .9rem; height: .9rem; }
.player__site:hover { color: #fff; }
.player__vol input { width: 110px; accent-color: var(--signal); cursor: pointer; }
.player__close {
	width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--rule-dark); background: transparent;
	color: var(--foam); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s;
}
.player__close:hover { border-color: #fff; color: #fff; }
.player__close svg { width: 16px; height: 16px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.eq i { width: 3px; height: 30%; background: var(--signal); border-radius: 1px; animation: eq 1s ease-in-out infinite; animation-play-state: paused; }
.eq i:nth-child(2) { animation-delay: -.35s; }
.eq i:nth-child(3) { animation-delay: -.6s; }
.eq i:nth-child(4) { animation-delay: -.15s; }
.player.is-playing .eq i { animation-play-state: running; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 47, .65); } 80%, 100% { box-shadow: 0 0 0 12px rgba(255, 122, 47, 0); } }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.reveal { animation: rise .95s var(--ease) both; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .2s; }
.d3 { animation-delay: .32s; }
.d4 { animation-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.region__grid { grid-template-columns: 1fr; }
	.region__head { position: static; }
	.advertise__grid { grid-template-columns: 1fr; }
	.site-foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.masthead__nav { display: none; }
	.newsroom__cols { grid-template-columns: 1fr; }
	.player__site { display: none; }
}

/* Tuner turns into tappable station chips on narrow screens. */
@media (max-width: 760px) {
	.tuner__bands { grid-template-columns: 1fr; gap: .9rem; }
	.tuner__band { grid-template-columns: 2.4rem minmax(0, 1fr); align-items: center; }
	.tuner__bandlabel { padding: 0; }
	.tuner__track { height: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
	.tuner__scale, .tuner__needle, .tuner__pin { display: none; }
	.tuner__stop, .tuner__stop--end, .tuner__stop--start {
		position: static; transform: none; flex-direction: row; align-items: baseline; gap: .5rem; text-align: left;
		padding: .6rem .9rem; border: 1px solid var(--rule-dark); border-radius: 999px; background: rgba(255, 255, 255, .04);
	}
	.tuner__stop.is-active { border-color: var(--signal); background: rgba(255, 122, 47, .14); }
	.tuner__readfreq { font-size: 1.35rem; }
}

@media (max-width: 640px) {
	body.emg-body { font-size: 17px; }
	.masthead__row { gap: 1rem; height: 64px; }
	.brand__mark { width: 34px; height: 34px; }
	.brand__name { font-size: 1.05rem; }
	.brand__sub { font-size: .56rem; letter-spacing: .3em; }
	.masthead__listen span { display: none; }
	.masthead__listen { padding: .75em; }
	.hero { padding-top: 120px; }
	.station { grid-template-columns: 1fr; gap: .9rem; padding: 1.4rem 0; }
	.station::before { display: none; }
	.station__actions { justify-content: flex-start; }
	.netcard { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.site-foot__grid { grid-template-columns: 1fr; gap: 2rem; }
	.player__row { gap: .7rem; height: 68px; }
	.player__vol { display: none; }
	.player__name { font-size: 1.1rem; }
}
