/* Sound Creatures — one-pager styles (white-on-blue) */

:root {
  --accent: #3333ff;
  --accent-hover: #1a1acc;
  --accent-dark: #2525d6;
  --accent-darker: #1a1aa8;
  --bg: #3333ff;
  --bg-alt: #2525d6;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --line: rgba(255, 255, 255, 0.25);
  --max-width: 1180px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 3px;
  transition: color 0.15s ease, opacity 0.15s ease, background 0.15s ease,
    text-decoration-color 0.15s ease;
}

a:hover,
a:focus {
  color: #fff;
  text-decoration-color: #fff;
  opacity: 0.85;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 2.75rem 0;
}

/* Headings */
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  padding-top: 0.9rem;
  position: relative;
}

h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #fff;
}

h3 {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin: 0 0 1rem;
}

/* Hero */
.hero {
  background: var(--bg);
  padding: 5rem 0 4.5rem;
  text-align: center;
}

.logo {
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1;
  margin: 0 auto 1.75rem;
  text-transform: uppercase;
}

.hero__tagline {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0 auto;
  max-width: none;
}

.hero__author {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.5rem auto 0;
}

.hero__author a {
  color: inherit;
  text-decoration: underline;
}

.hero__author a:hover {
  color: #fff;
}

/* About — intro statement */
#about .lede {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #fff;
}

/* Collage — full-width hero image */
.collage {
  padding: 1rem 0;
}

.collage__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* Image grid — CSS columns for natural masonry */
.image-grid {
  column-gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.image-grid img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 1rem;
  break-inside: avoid;
  border-radius: 0;
  border: 6px solid #fff;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.image-grid--curated {
  column-count: 1;
}

.image-grid--sessions {
  column-count: 2;
}

@media (min-width: 640px) {
  .image-grid--curated {
    column-count: 2;
  }
  .image-grid--sessions {
    column-count: 3;
  }
}

@media (min-width: 960px) {
  .image-grid--curated {
    column-count: 3;
  }
  .image-grid--sessions {
    column-count: 4;
  }
}

/* Contributor list */
.contributors {
  color: #fff;
  line-height: 1.9;
  font-size: 0.98rem;
}

.contributors .sep {
  color: #fff;
  margin: 0 0.4em;
  font-weight: 300;
  opacity: 0.5;
}

/* Buttons / CTAs — white outlined on blue */
.button {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  letter-spacing: 0.01em;
  border: 2px solid #fff;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.button:hover,
.button:focus {
  background: transparent;
  color: #fff;
  border-color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Tate section — same blue as the rest of the site */
.tate {
  background: var(--bg);
  color: #fff;
}

.tate p {
  color: #fff;
}

/* Press — card grid (white outline on blue) */
.press-grid {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .press-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.press-grid > li > .press-grid__name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 500;
  background: transparent;
}

.press-grid li {
  margin: 0;
}

.press-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 500;
  background: transparent;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}

.press-grid a:hover,
.press-grid a:focus {
  border-color: #fff;
  background: #fff;
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.press-grid__arrow {
  color: inherit;
  margin-left: 1rem;
  font-weight: 400;
}

/* Footer — slightly darker blue */
footer {
  background: var(--accent-darker);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-top: 1rem;
}

footer p {
  margin: 0 auto;
  max-width: none;
}

footer a {
  font-weight: 600;
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  section {
    padding: 2rem 0;
  }
  .hero {
    padding: 3rem 0 2.5rem;
  }
  .tate {
    padding: 2.5rem 0;
  }
  #about .lede {
    font-size: 1.05rem;
    padding-left: 1rem;
  }
  .button {
    padding: 0.75rem 1.15rem;
    font-size: 0.95rem;
  }
}
