:root {
  --ink: #0b0b0f;
  --ink-2: #15151c;
  --paper: #f4f1ea;
  --text: #f4f1ea;
  --muted: #a7a5ad;
  --acid: #d7ff3a;
  --fm: #ff2e6e;
  --line: rgba(255, 255, 255, .12);
  --display: "Anton", Impact, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --marker: "Permanent Marker", cursive;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); font: 17px/1.55 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- ticker ---------- */
.ticker { display: block; background: var(--fm); color: #fff; text-decoration: none; overflow: hidden; white-space: nowrap; font: 700 13px/1 var(--body); letter-spacing: .12em; }
.ticker__track { display: inline-flex; animation: scroll 28s linear infinite; }
.ticker__track span { padding: 10px 32px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: 1px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); background: rgba(11, 11, 15, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { font: 400 28px/1 var(--display); letter-spacing: .02em; text-decoration: none; }
.logo span { color: var(--acid); }
.nav__links { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.nav__links a { text-decoration: none; opacity: .85; }
.nav__links a:hover { opacity: 1; color: var(--acid); }
.nav__radio { background: var(--fm); color: #fff !important; opacity: 1 !important; padding: 9px 16px; border-radius: 999px; font-weight: 700; }
.nav__radio:hover { background: #fff; color: var(--fm) !important; }
.nav__toggle { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 15px 26px; border-radius: 999px; font: 700 16px/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--fm { background: var(--fm); color: #fff; box-shadow: 0 10px 30px rgba(255, 46, 110, .4); }
.btn--fm:hover { background: #fff; color: var(--fm); }
.btn--ghost { border-color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--ink); }
.btn--accent { background: var(--acid); color: var(--ink); width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,15,.15) 0%, rgba(11,11,15,.35) 45%, var(--ink) 100%), linear-gradient(90deg, rgba(11,11,15,.75), transparent 70%); }
.hero__content { position: relative; padding: 0 var(--gutter) clamp(48px, 8vw, 96px); max-width: 980px; }
.tag { font: 22px/1 var(--marker); color: var(--acid); transform: rotate(-2deg); margin-bottom: 18px; }
.hero h1 { font: 400 clamp(52px, 10vw, 128px)/.92 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.hero h1 em { font-style: normal; color: var(--acid); }
.hero__sub { max-width: 560px; margin: 22px 0 30px; font-size: clamp(17px, 2vw, 20px); color: #dedbe3; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- big Street FM block ---------- */
.fm { padding: clamp(24px, 4vw, 48px) var(--gutter); }
.fm__link { position: relative; display: block; border-radius: 28px; overflow: hidden; text-decoration: none; color: #fff; background: var(--fm); isolation: isolate; }
.fm__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .55; z-index: -1; transition: transform .6s; }
.fm__link:hover .fm__bg { transform: scale(1.05); }
.fm__inner { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "onair onair" "freq name" "freq tagline" "url url"; column-gap: clamp(16px, 3vw, 40px); padding: clamp(28px, 5vw, 64px); }
.fm__onair { grid-area: onair; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; margin-bottom: 8px; }
.fm__freq { grid-area: freq; font: 400 clamp(96px, 20vw, 260px)/.85 var(--display); color: var(--ink); -webkit-text-stroke: 0; text-shadow: 0 0 0 transparent; }
.fm__name { grid-area: name; align-self: end; font: 400 clamp(48px, 9vw, 120px)/.9 var(--display); }
.fm__tagline { grid-area: tagline; font-size: clamp(15px, 1.6vw, 19px); max-width: 520px; margin-top: 10px; }
.fm__url { grid-area: url; margin-top: clamp(20px, 3vw, 36px); display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: var(--acid); padding: 18px 28px; border-radius: 999px; font: 400 clamp(26px, 4vw, 48px)/1 var(--display); letter-spacing: .02em; }
.fm__url b { font-family: var(--body); transition: transform .2s; }
.fm__link:hover .fm__url b { transform: translateX(8px); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) var(--gutter); }
.section--dark { background: var(--ink-2); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head h2, .community h2 { font: 400 clamp(44px, 7vw, 88px)/.95 var(--display); text-transform: uppercase; }
.section__head p { color: var(--muted); max-width: 460px; }
.section__head a { color: var(--acid); }

/* events */
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.event { background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s, border-color .2s; }
.event:hover { transform: translateY(-4px); border-color: var(--acid); }
.event img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.event__body { padding: 20px; }
.event__date { font: 18px/1 var(--marker); color: var(--acid); }
.event h3 { font: 400 30px/1.05 var(--display); text-transform: uppercase; margin: 8px 0; }
.event p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; margin: 0 6px 6px 0; }

/* styles */
.styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.style { position: relative; min-height: 420px; border-radius: 22px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; }
.style::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center/cover; transition: transform .5s, filter .5s; filter: grayscale(.6); }
.style::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 35%, rgba(0,0,0,.85)); }
.style:hover::before { transform: scale(1.07); filter: grayscale(0); }
.style span { font: 400 clamp(40px, 4.5vw, 60px)/.95 var(--display); text-transform: uppercase; }
.style:hover span { color: var(--acid); }
.style small { color: #d5d3da; font-size: 14px; }

/* community */
.community { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.community__text > p { color: var(--muted); margin: 20px 0 28px; max-width: 560px; }
.ways { list-style: none; display: grid; gap: 14px; }
.ways li { border-left: 3px solid var(--acid); padding: 4px 0 4px 16px; color: var(--muted); }
.ways b { display: block; color: var(--text); font-size: 19px; }
.ways a { color: var(--acid); }
.card { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: 10px 10px 0 var(--acid); }
.form h3 { font: 400 40px/1 var(--display); text-transform: uppercase; }
.form > p { margin: 8px 0 20px; color: #4a4850; }
.form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.form input, .form select { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 2px solid var(--ink); border-radius: 12px; font: 16px var(--body); background: #fff; }
.form input:focus, .form select:focus { outline: 3px solid var(--fm); outline-offset: 1px; }
.form .btn--accent { background: var(--ink); color: var(--acid); margin-top: 6px; }
.form__ok { margin-top: 14px; font: 20px var(--marker); color: var(--fm); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); height: clamp(180px, 26vw, 340px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .4s; }
.gallery img:hover { filter: none; }

/* network wall */
.wall { background: #e9e6df url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cg fill='none' stroke='%23d2cec4' stroke-width='3'%3E%3Cpath d='M0 0h120M0 30h120M60 0v30M0 30v30M120 30v30'/%3E%3C/g%3E%3C/svg%3E"); color: var(--ink); }
.wall .section__head p { color: #55525b; }
.wall__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wall__item { background: rgba(255,255,255,.75); border: 2px solid var(--ink); border-radius: 16px; padding: 22px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.wall__item b { font: 400 28px/1 var(--display); text-transform: uppercase; }
.wall__item span { font: 17px var(--marker); color: #55525b; }
.wall__item--fm { grid-column: span 2; grid-row: span 2; background: var(--fm); color: #fff; border-color: var(--fm); box-shadow: 8px 8px 0 var(--ink); transition: transform .2s; }
.wall__item--fm:hover { transform: rotate(-1deg) scale(1.02); }
.wall__item--fm b { font-size: clamp(56px, 7vw, 96px); }
.wall__item--fm span { color: #fff; font-size: 24px; }
.wall__item--fm em { font: 400 28px var(--display); font-style: normal; color: var(--ink); background: var(--acid); align-self: flex-start; padding: 8px 18px; border-radius: 999px; }

/* archive */
.archive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.archive figure { background: #fff; padding: 12px 12px 18px; border-radius: 6px; color: var(--ink); transform: rotate(-1.5deg); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.archive figure:nth-child(2) { transform: rotate(1.2deg) translateY(18px); }
.archive figure:nth-child(3) { transform: rotate(-.6deg); }
.archive img { width: 100%; image-rendering: auto; }
.archive figcaption { margin-top: 12px; font-size: 14px; color: #4a4850; }
.archive figcaption b { font: 22px var(--marker); color: var(--fm); margin-right: 6px; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 70px; border-top: 2px solid var(--acid); }
.timeline li { padding: 18px 18px 0 0; color: var(--muted); font-size: 15px; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--acid); }
.timeline b { display: block; font: 400 34px/1 var(--display); color: var(--text); margin-bottom: 6px; }
.quote { margin-top: 70px; font: 400 clamp(28px, 4vw, 52px)/1.1 var(--display); text-transform: uppercase; max-width: 1100px; }
.quote cite { display: block; margin-top: 16px; font: 20px var(--marker); color: var(--acid); text-transform: none; }

/* final CTA */
.final { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(64px, 10vw, 140px) var(--gutter); background: var(--acid); color: var(--ink); text-decoration: none; }
.final span { font: clamp(26px, 4vw, 44px) var(--marker); transform: rotate(-2deg); }
.final strong { font: 400 clamp(52px, 12vw, 190px)/.95 var(--display); text-transform: uppercase; overflow-wrap: anywhere; transition: color .2s; }
.final:hover strong { color: var(--fm); }

/* footer */
.footer { padding: 40px var(--gutter); color: var(--muted); font-size: 14px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; color: var(--text); }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--acid); }
.credits { margin-top: 10px; font-size: 12px; opacity: .7; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .styles { grid-template-columns: repeat(2, 1fr); }
  .style { min-height: 300px; }
  .community { grid-template-columns: 1fr; }
  .wall__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--acid); margin-left: 7px; }
  .timeline li { padding: 0 0 22px 26px; }
  .timeline li::before { top: 6px; left: -8px; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 16px var(--gutter); border-top: 1px solid var(--line); }
  .nav__radio { margin: 12px var(--gutter); text-align: center; border-radius: 999px; }
  .fm__inner { grid-template-columns: 1fr; grid-template-areas: "onair" "freq" "name" "tagline" "url"; }
  .fm__url { font-size: 24px; padding: 16px 20px; }
  .gallery { grid-template-columns: repeat(3, 1fr); height: auto; }
  .gallery img { aspect-ratio: 1; }
  .gallery img:nth-child(n+4) { display: none; }
  .archive { grid-template-columns: 1fr; }
  .archive figure, .archive figure:nth-child(2) { transform: none; }
  .wall__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .wall__item { min-height: 110px; padding: 16px; }
  .wall__item b { font-size: 22px; }
}
@media (max-width: 480px) {
  .styles { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
