/* Colours and fonts taken from the original Squarespace theme */
:root {
  --bg: #ece4da;
  --text: #36302a;
  --muted: #574c3f;
  --heading-font: "Montserrat", system-ui, sans-serif;
  --body-font: "Nunito Sans", system-ui, sans-serif;
  --page-padding: clamp(16px, 4vw, 56px);
  --max-width: 1400px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.5;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--muted); }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--page-padding);
  box-shadow: 0 0 12px rgba(54, 48, 42, 0.25);
  position: relative;
}

.logo img { width: clamp(120px, 14vw, 200px); }

.social { display: flex; gap: 1rem; }
.social a { display: block; width: 24px; height: 24px; }
.social svg { width: 100%; height: 100%; fill: none; stroke: var(--text); stroke-width: 1.8; }
.social svg .fill { fill: var(--text); stroke: none; }
.social svg .cutout { fill: var(--bg); stroke: none; }
.social a:hover svg { opacity: 0.7; }

/* Intro: portrait + bio */
main { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--page-padding); }

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.portrait figcaption { margin-top: 0.75rem; text-align: center; font-size: 0.9rem; }

.bio { padding-top: clamp(0rem, 2vw, 2rem); max-width: 34rem; }

h1 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.tagline { font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin: 0 0 1.5rem; }
.about { font-size: 0.9rem; margin: 0 0 1.75rem; }

.gigs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.gigs a {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  text-decoration: none;
}
.gigs a span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.gigs img { width: 40px; height: 40px; flex: none; object-fit: cover; border-radius: 50%; }
.gigs img.no-crop { object-fit: contain; border-radius: 0; }

/* Instagram grid */
.instagram { padding-bottom: clamp(2rem, 5vw, 4rem); }

.insta-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.insta-grid a { display: block; overflow: hidden; }
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.3s ease; }
.insta-grid a:hover img { transform: scale(1.04); }

.insta-more { text-align: center; margin: 1.5rem 0 0; }

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem var(--page-padding) 3rem;
  font-size: 0.9rem;
}
.site-footer img { width: 140px; }
.site-footer p { margin: 0; }

/* Mobile */
@media (max-width: 767px) {
  .intro { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; margin: 0 auto; width: 100%; }
  .bio { padding-top: 0; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .insta-grid img { transition: none; }
}
