/* Conway Broadcasting — Corporate Site */

:root {
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-text-muted: #5a6578;
  --color-border: #e2e6ed;
  --color-primary: #1e4d6b;
  --color-primary-dark: #163a52;
  --color-accent: #2d6a4f;
  --color-accent-light: #40916c;
  --color-hero-bg: #0f2a3d;
  --color-hero-text: #f0f4f8;
  --color-wmwv: #1e4d6b;
  --color-magic: #7b2d8e;
  --color-easy: #2d6a4f;
  --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 35, 50, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent);
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.875rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  display: block;
  width: auto;
  height: 3.25rem;
  max-width: min(220px, 55vw);
  background: #fff;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--color-primary);
}

/* Hero */

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-hero-bg) 0%, #1a3d52 50%, #234a35 100%);
  color: var(--color-hero-text);
  padding: 5rem 0 8rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  color: rgba(255, 255, 255, 0.06);
}

.hero-content {
  position: relative;
  max-width: 42rem;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 244, 248, 0.7);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(240, 244, 248, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Sections */

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-header h2,
.about-copy h2,
.contact-info h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Stations */

.stations {
  background: var(--color-surface);
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.station-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.station-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.station-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  background: #fff;
}

.station-logo {
  flex-shrink: 0;
  width: auto;
  max-width: 7.5rem;
  max-height: 5rem;
  object-fit: contain;
  background: #fff;
}

.station-meta {
  min-width: 0;
}

.station-freq {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.station-wmwv .station-freq { background: var(--color-wmwv); }
.station-magic .station-freq { background: var(--color-magic); }
.station-easy .station-freq { background: var(--color-easy); }

.station-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.station-callsign {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.station-format {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.station-desc {
  flex: 1;
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.station-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
}

.station-link span {
  transition: transform 0.2s;
}

.station-card:hover .station-link span {
  transform: translateX(4px);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.about-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-highlights li {
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.about-highlights strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.about-highlights span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Contact */

.contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info > p {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
}

address {
  font-style: normal;
  margin-bottom: 1.5rem;
}

address p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-details li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.contact-label {
  min-width: 5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.contact-stations h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-stations h3:not(:first-child) {
  margin-top: 2rem;
}

.contact-stations ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-stations li {
  margin-bottom: 0.5rem;
}

.contact-stations a {
  text-decoration: none;
  font-weight: 500;
}

.contact-stations a:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  background: var(--color-hero-bg);
  color: rgba(240, 244, 248, 0.75);
  font-size: 0.875rem;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0;
}

.footer-location {
  margin-top: 0.35rem !important;
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-credit {
  margin-top: 0.75rem !important;
  font-size: 0.8rem;
}

.footer-credit a {
  color: rgba(240, 244, 248, 0.9);
}

/* Responsive */

@media (max-width: 768px) {
  .site-nav {
    gap: 1rem;
  }

  .site-nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 3.5rem 0 6rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .logo-img {
    height: 2.75rem;
  }

  .station-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
