/* ==========================================================================
   Cadence Broadcast — Hello World Design System
   Theme: Studio Obsidian & Broadcast Amber Gold
   ========================================================================== */

/* Fonts: self-hosted. Headings in Deviate Sans (Deviate's own typeface), body in Schibsted Grotesk */
@font-face {
  font-family: 'Deviate Sans';
  src: url('../assets/fonts/deviate-sans-regular.woff2?v=170') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Deviate Sans';
  src: url('../assets/fonts/deviate-sans-bold.woff2?v=170') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('../assets/fonts/schibsted-grotesk.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  /* Color Palette */
  --bg-dark: #07090E;
  --bg-surface: #0E121B;
  --bg-glass: rgba(18, 24, 38, 0.65);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);

  /* Primary Amber Brand Accent */
  --accent-pri: #FFB43D;
  --accent-pri-dark: #F0900A;
  --accent-pri-glow: rgba(255, 180, 61, 0.25);

  /* Typography Colors */
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-dark: #1A1206;

  /* Fonts */
  --font-heading: 'Deviate Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Glass Effects */
  --glass-blur: blur(16px);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(255, 180, 61, 0.15);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1.6;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 50% 25%, rgba(255, 180, 61, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(56, 189, 248, 0.03) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(40, 169, 79, 0.03) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Typography Utility Classes */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-pri) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Header & Nav */
.site-header {
  padding: 1.5rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-icon-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon-wrapper svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

/* Hero Section */
.hero-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0 5rem 0;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-emblem {
  width: 144px;
  height: 144px;
  margin-bottom: 2.25rem;
  filter: drop-shadow(0 0 35px rgba(255, 180, 61, 0.35));
  animation: floatSubtle 6s ease-in-out infinite alternate;
}

@keyframes floatSubtle {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

.hero-title {
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
  max-width: 620px;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.25rem;
  padding: 0.5rem 1.4rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 180, 61, 0.1);
  border: 1px solid rgba(255, 180, 61, 0.35);
  color: var(--accent-pri);
  box-shadow: 0 0 25px rgba(255, 180, 61, 0.15);
}

.coming-soon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-pri);
  box-shadow: 0 0 10px var(--accent-pri);
  animation: pulseDot 3s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* The copyright alone (the company links are off the home page for now): centred. */
.footer-content > :only-child {
  margin: 0 auto;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* The products under the hero: the company is the quiet name above them. */
.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.product {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--text-main);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product:hover {
  border-color: rgba(255, 180, 61, 0.45);
  transform: translateY(-1px);
}

.product b {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.product span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.product::after {
  content: '→';
  color: var(--accent-pri);
}

@media (max-width: 640px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}