/* global.css
Shared base styles common to home.css and rock.css.
Loaded before the per-page stylesheet (see meta.css order). */
@font-face {
  font-family: "Luckiest Guy";
  src: url("/assets/fonts/luckiest-guy-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  color: #fff;
  background: var(--purple-dark);
}

.skip-link:focus {
  left: 16px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(235,227,243,.85);
  border-bottom: 1px solid rgba(23,29,20,.08);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 900;
  font-size: .97rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 10px 24px rgba(107,78,178,.24);
}

.accent {
  color: var(--purple-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(44,34,71,.08);
  color: var(--purple-dark);
  font-size: .9rem;
  font-weight: 1000;
}

.eyebrow i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--pink));
  display: inline-block;
}

.hero-copy {
  margin: 20px 0 0;
  max-width: 670px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  font-weight: 700;
}

.btn {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  box-shadow: 0 14px 28px rgba(107,78,178,.24);
}

.btn-secondary {
  background: rgba(255,255,255,.78);
  border-color: var(--border);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(44,34,71,.08);
}

.rock-caption-intro {
  white-space: pre-wrap;
}

.rock-media-item:first-child {
  grid-column: 1 / -1;
}

.rock-media-item:first-child img {
  aspect-ratio: 16 / 11;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 1000;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--purple-dark);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.1rem;
  max-width: 680px;
}

.rock-comments-section {
  padding-top: 44px;
}

.rock-comments-panel .section-head {
  max-width: none;
}

.rock-comments-panel h2 {
  font-size: clamp(2.35rem, 4.65vw, 4.25rem);
  line-height: .94;
}

.download p {
  max-width: 700px;
  margin: 18px auto 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.1rem;
}

footer {
  padding: 42px 0 54px;
  color: var(--muted);
  font-weight: 700;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(23,29,20,.09);
  padding-top: 24px;
}

.footer-links {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
}

/* footer language switcher */
.footer-lang {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-lang .lang-link { color: var(--muted); }
.footer-lang .lang-link:hover { color: var(--ink); }
.footer-lang .lang-link[aria-current="true"] {
  color: var(--ink);
  font-weight: 1000;
  text-decoration: underline;
}

/* footer: stack links and language switcher on the right, lang on its own line */
.footer-right {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}


/* top-align footer items (copyright lines up with the links row) */
.footer-grid {
  align-items: flex-start;
}


/* brand name in the display font on every page (home/rock also set this in their own css) */
.brand-name {
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Black", "Trebuchet MS", sans-serif;
  font-weight: 400;
  letter-spacing: .015em;
}


/* Base design tokens + body typography.
   These live here (not only in home.css/rock.css) so standalone pages that load
   ONLY global.css (e.g. the legal / privacy pages) still get the palette and font.
   home.css and rock.css load after and may override page-specific values. */
:root {
  --bg-lavender: #ebe3f3;
  --bg-cream: #efe2cf;
  --bg-soft: #f6f1f8;
  --ink: #171d14;
  --muted: #5f5a67;
  --purple: #6b4eb2;
  --purple-dark: #4a2d87;
  --pink: #ef4b78;
  --yellow: #f4cf1f;
  --green: #71ce63;
  --cyan: #28b5d2;
  --orange: #f5a33b;
  --card: rgba(255,255,255,.72);
  --border: rgba(23,29,20,.12);
  --shadow: 0 18px 45px rgba(44, 34, 71, .14);
  --round-xl: 40px;
  --round-lg: 28px;
  --round-md: 20px;
  --max: 1220px;
  --splash: url("/assets/images/rainbow-paint-splash.png");
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", "Avenir Next", Arial, sans-serif;
  line-height: 1.5;
}


/* site background for standalone pages (home.css/rock.css override with their own) */
body {
  background: var(--bg-lavender);
  min-height: 100vh;
}


/* brand (logo + name) sizing for standalone pages (home/rock override with their own) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Impact, Haettenschweiler, "Arial Black", "Trebuchet MS", sans-serif;
  font-weight: 900;
  letter-spacing: .015em;
  font-size: 1.65rem;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(44,34,71,.14);
  flex: 0 0 auto;
  object-fit: contain;
}


/* complete the shared header to match home/rock exactly */
.brand-name {
  color: #402c78;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
@media (max-width: 900px) {
  .nav-links { display: none; }
}


/* narrow footer: stack everything on its own line, all left-aligned */
@media (max-width: 1024px) {
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right {
    align-items: flex-start;
  }
}
