/* Rock On Go Wild — static site styles */

/* ---------------------------------------------------------------
   TYPEFACE
   Mulish is a close free match to the original Squarespace face.
   To swap it: change the @import line below AND the --sans value.
   --------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;600;700&display=swap');

:root {
  --sans: "Mulish", "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ink: #22272f;        /* headlines */
  --body: #2f3641;       /* body copy */
  --muted: #6b7280;      /* captions, secondary */
  --accent: #e0523c;     /* links + active nav */
  --accent-dark: #b83e2b;
  --rule: #e4e4e4;
  --paper: #ffffff;

  --max: 44rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main { padding-bottom: 4.5rem; }

/* ---------- Header / nav ---------- */

.site-header {
  padding: 3.5rem 0 0;
  text-align: center;
}

.logo {
  display: block;
  text-decoration: none;
}

.logo img {
  width: 100%;
  max-width: 330px;
  height: auto;
  margin: 0 auto;   /* <- block-level images need this to center */
}

.site-nav {
  margin-top: 2.25rem;
  padding-bottom: 0.5rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.6rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus { color: var(--accent); }

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

/* ---------- Type ---------- */

h1 {
  font-size: clamp(2.3rem, 6.2vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 3rem 0 2rem;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.2rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 3rem 0 1.25rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.3rem;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

p { margin: 0 0 1.45rem; }

.lead { font-size: inherit; font-weight: 400; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 82, 60, 0.35);
}

a:hover,
a:focus {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

/* nav, logo and buttons opt out of the underline */
.site-nav a,
.logo,
.button,
.skip-link { border-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 3.5rem 0;
}

/* ---------- Images ---------- */

figure { margin: 0 0 2.25rem; }

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

.full img { width: 100%; }

figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.65rem;
  font-style: italic;
  line-height: 1.5;
}

/* ---------- People ---------- */

.person {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.75rem;
  margin: 0 0 3rem;
  align-items: start;
}

.person img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.person .bio p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
}

.button:hover,
.button:focus { background: var(--accent-dark); color: #fff; }

/* ---------- Press list ---------- */

.press-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.press-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}
.press-list .country {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.75rem 0 3.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer p { max-width: 34rem; margin: 0 auto 1rem; }

/* ---------- Focus + motion ---------- */

a:focus-visible,
button:focus-visible {
  outline: 3px solid #0b5fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- Mobile ---------- */

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { padding-top: 2.25rem; }
  .logo img { max-width: 260px; }
  .site-nav ul { gap: 0.5rem 1.1rem; }
  .site-nav a { font-size: 0.72rem; letter-spacing: 0.09em; }
  h1 { margin: 2.25rem 0 1.5rem; }
  .person {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .person img { max-width: 220px; }
}
