/* ============================================================
   VIBRANT COMPOSITES -- Signal Bands design system
   Palette: Glare / Orange / Blue Violet / Charcoal / Off-White / Black / Gray
   Typography: Syne (display) + DM Sans (body)
   ============================================================ */

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

:root {
  --glare: #D9FF03;
  --orange: #FD572A;
  --violet: #695AC6;
  --charcoal: #201F1F;
  --off-white: #F2EFEB;
  --black: #000000;
  --gray: #A6A8AB;

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --container: 1200px;
  --band-pad-v: 80px;
  --band-pad-h: 32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

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


/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--band-pad-h);
}


/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease;
}

.site-nav.scrolled {
  background: var(--charcoal);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-nav .nav-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-nav .nav-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--off-white);
}

.site-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--off-white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.site-nav .nav-link:hover { opacity: 1; }


/* --- Mark SVG --- */
.mark-svg { width: 36px; height: 36px; flex-shrink: 0; }


/* --- Band (section) system --- */
.band {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: var(--band-pad-v) 0;
}

.band--hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--off-white);
  padding-top: calc(var(--band-pad-v) + 64px); /* clear fixed nav */
}

.band--orange { background: var(--orange); color: var(--charcoal); }
.band--violet { background: var(--violet); color: var(--off-white); }
.band--glare  { background: var(--glare);  color: var(--charcoal); }
.band--charcoal { background: var(--charcoal); color: var(--off-white); }
.band--off-white { background: var(--off-white); color: var(--charcoal); }


/* --- Band inner layout --- */
.band__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.band__text { position: relative; z-index: 2; }
.band__graphic { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; }


/* --- Hero --- */
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 80px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--glare);
  margin-bottom: 16px;
}

.hero__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray);
  max-width: 480px;
}


/* --- Article band (homepage teaser) --- */
.band__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 12px;
}

.band__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.band__title a {
  text-decoration: none;
  color: inherit;
}

.band__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.band__excerpt {
  font-size: 17px;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 24px;
}

.band__excerpt a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.band__read {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
}

.band__read:hover { opacity: 1; }

.band__read::after {
  content: '\2192';
  font-size: 18px;
}

/* Link colors within bands */
.band--orange a { color: var(--charcoal); }
.band--violet a { color: var(--off-white); }
.band--glare a { color: var(--charcoal); }
.band--violet .band__excerpt a { text-decoration-color: rgba(242,239,235,0.5); }


/* --- Geometric shapes (decorative) --- */
.geo {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

/* Hero shapes: three overlapping circles */
.geo--hero-1 {
  width: 300px;
  height: 300px;
  background: var(--glare);
  opacity: 0.7;
  top: 50%;
  right: 10%;
  transform: translateY(-65%);
}

.geo--hero-2 {
  width: 260px;
  height: 260px;
  background: var(--orange);
  opacity: 0.6;
  top: 50%;
  right: 22%;
  transform: translateY(-30%);
}

.geo--hero-3 {
  width: 220px;
  height: 220px;
  background: var(--violet);
  opacity: 0.65;
  top: 50%;
  right: 5%;
  transform: translateY(-20%);
}

/* Band 1 (orange): large charcoal circle */
.geo--b1 {
  width: 280px;
  height: 280px;
  background: var(--charcoal);
  opacity: 0.12;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Band 2 (violet): two overlapping rounded rects */
.geo--b2a {
  width: 140px;
  height: 360px;
  background: var(--glare);
  opacity: 0.2;
  border-radius: 80px;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
}

.geo--b2b {
  width: 140px;
  height: 300px;
  background: var(--orange);
  opacity: 0.18;
  border-radius: 80px;
  right: 140px;
  top: 50%;
  transform: translateY(-45%) rotate(5deg);
}

/* Band 3 (glare): large violet semicircle */
.geo--b3 {
  width: 320px;
  height: 320px;
  background: var(--violet);
  opacity: 0.18;
  border-radius: 50%;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  clip-path: inset(0 50% 0 0);
}


/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: var(--off-white);
  padding: 48px 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
}

.footer__right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.footer__right a {
  color: var(--off-white);
  text-decoration: none;
  opacity: 0.7;
}

.footer__right a:hover { opacity: 1; }

.footer__right span {
  color: var(--gray);
}


/* --- Article page --- */
.article-accent-bar {
  height: 8px;
  width: 100%;
}

.article-accent-bar--orange { background: var(--orange); }
.article-accent-bar--violet { background: var(--violet); }
.article-accent-bar--glare  { background: var(--glare); }

.article-header {
  padding: 80px 0 40px;
  background: var(--off-white);
}

.article-header__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.article-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.08;
  color: var(--charcoal);
  max-width: 720px;
  margin-bottom: 16px;
}

.article-header__meta {
  font-size: 14px;
  color: var(--gray);
}

.article-body {
  background: var(--off-white);
  padding: 0 0 80px;
}

.article-body .container {
  max-width: 752px; /* 720px + padding */
}

.article-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 48px 0 20px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body a {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--orange);
}

/* Geometric decoration on article pages */
.article-geo {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
}

.article-content-wrap {
  position: relative;
}


/* --- Related articles (mini bands at bottom of article pages) --- */
.related-articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.related-band {
  padding: 40px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.related-band__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}

.related-band__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
}

.related-band__title a {
  text-decoration: none;
  color: inherit;
}

.related-band__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}


/* --- About page --- */
.about-body {
  background: var(--off-white);
  padding: 0 0 80px;
}

.about-body .container {
  max-width: 752px;
}

.about-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 48px 0 20px;
}

.about-body p {
  margin-bottom: 20px;
}


/* --- 404 page --- */
.four-oh-four {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--off-white);
}

.four-oh-four__circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--glare);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.four-oh-four__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 72px;
  color: var(--charcoal);
}

.four-oh-four__msg {
  font-size: 18px;
  margin-bottom: 24px;
}

.four-oh-four__link {
  color: var(--glare);
  text-decoration: none;
  font-weight: 500;
}

.four-oh-four__link:hover {
  text-decoration: underline;
}


/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .band__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .band__graphic {
    order: -1;
    height: 200px;
  }

  .hero__tagline { font-size: 56px; }
  .band__title { font-size: 40px; }

  :root {
    --band-pad-v: 60px;
  }

  .geo--hero-1 { width: 200px; height: 200px; right: 5%; }
  .geo--hero-2 { width: 170px; height: 170px; right: 15%; }
  .geo--hero-3 { width: 150px; height: 150px; right: 0; }
  .geo--b1 { width: 200px; height: 200px; }
  .geo--b2a { width: 100px; height: 260px; }
  .geo--b2b { width: 100px; height: 220px; }
  .geo--b3 { width: 240px; height: 240px; }
}

@media (max-width: 768px) {
  :root {
    --band-pad-v: 48px;
    --band-pad-h: 20px;
  }

  .hero__tagline { font-size: 40px; }
  .hero__subtitle { font-size: 18px; }

  .band__title { font-size: 32px; }
  .band__excerpt { font-size: 16px; }

  .band__graphic { height: 140px; }

  .geo--hero-1 { width: 140px; height: 140px; }
  .geo--hero-2 { width: 120px; height: 120px; }
  .geo--hero-3 { width: 100px; height: 100px; }
  .geo--b1 { width: 140px; height: 140px; }
  .geo--b2a { width: 80px; height: 180px; }
  .geo--b2b { width: 80px; height: 160px; }
  .geo--b3 { width: 180px; height: 180px; }

  .article-header__title { font-size: 32px; }

  .related-articles { grid-template-columns: 1fr; }
  .related-band__title { font-size: 20px; }

  .site-footer .container { flex-direction: column; gap: 16px; text-align: center; }
  .footer__right { flex-direction: column; gap: 8px; }
}
