/* Happening — channel landing page theme */
:root {
  --bg-deep: #05100d;
  --bg-base: #0a1a15;
  --bg-elevated: #0f241e;
  --bg-card: rgba(15, 36, 30, 0.72);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(92, 219, 160, 0.35);
  --text: #f4f7f5;
  --text-muted: #9db8ad;
  --accent: #5cdba0;
  --accent-dim: #3d9970;
  --accent-red: #8b2942;
  --accent-red-soft: rgba(139, 41, 66, 0.25);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --radius-lg: 22px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --max-width: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(61, 153, 112, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(139, 41, 66, 0.12), transparent 50%),
    var(--bg-deep);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #7ef0c0;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5, 16, 13, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand:hover {
  color: var(--text);
  opacity: 0.92;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-banner-wrap {
  position: relative;
  height: clamp(220px, 38vw, 420px);
  overflow: hidden;
}

.hero-banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 16, 13, 0.15) 0%, rgba(5, 16, 13, 0.55) 70%, var(--bg-deep) 100%),
    linear-gradient(to right, rgba(5, 16, 13, 0.35) 0%, transparent 30%, transparent 70%, rgba(5, 16, 13, 0.35) 100%);
  pointer-events: none;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-content {
  position: relative;
  margin-top: -4.5rem;
  padding-bottom: 3.5rem;
  text-align: center;
}

.hero-logo {
  width: clamp(96px, 16vw, 132px);
  height: clamp(96px, 16vw, 132px);
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow);
}

.hero-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.05;
}

.hero-tagline {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-dim), var(--accent));
  color: #041510;
  border-color: rgba(92, 219, 160, 0.5);
}

.btn-primary:hover {
  color: #041510;
  background: linear-gradient(135deg, var(--accent), #7ef0c0);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  color: var(--accent);
  border-color: var(--border-strong);
  background: rgba(92, 219, 160, 0.06);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: 0.03em;
}

.section-header p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}

.card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-size: 1.1rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.about-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(139, 41, 66, 0.08), transparent 40%),
    var(--bg-card);
}

.about-panel h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2rem);
}

.about-panel p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about-panel p:last-child {
  margin-bottom: 0;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(92, 219, 160, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at center, rgba(61, 153, 112, 0.15), transparent 65%),
    var(--bg-elevated);
  overflow: hidden;
}

.about-visual img {
  width: min(220px, 70%);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}

.about-visual::before {
  content: "24/7";
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--accent-red);
  background: var(--accent-red-soft);
  color: #e8a0b0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Contact */
.contact-box {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse at top, rgba(92, 219, 160, 0.1), transparent 55%),
    var(--bg-elevated);
}

.contact-box h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.contact-box p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: 1rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: rgba(5, 16, 13, 0.6);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  width: 100%;
  margin: 0.75rem 0 0;
  color: #6d8a7f;
  font-size: 0.82rem;
  text-align: center;
}

/* Privacy / prose pages */
.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
}

.prose {
  padding: 2.5rem 0 4rem;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose strong {
  color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(5, 16, 13, 0.96);
    border-bottom: 1px solid var(--border);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.55rem 0;
  }

  .nav-wrap {
    position: relative;
  }

  .about-panel {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .about-visual {
    min-height: 200px;
    order: -1;
  }

  .hero-content {
    margin-top: -3rem;
  }
}
