/* =========================
   base.css
   Base defaults + typography
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {scroll-behavior: smooth;}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  background: var(--page-bg);
  color: var(--page-fg);
  font-family: var(--font-body);
  font-weight: var(--weight-body);
  font-size: var(--text-base);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}

a:hover,
a:focus {
  color: var(--link-hover);
}

p,
li {
  font-weight: var(--weight-body);
}

small {
  font-size: 0.875em;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
}

h1 {
  margin: 0 0 var(--space-4);
  line-height: 1.05;
  font-size: clamp(2rem, 2.2vw + 1.4rem, 3.5rem);
  /* ~32px -> ~56px */
}

h2 {
  margin: var(--space-6) 0 var(--space-3);
  line-height: 1.15;
  font-size: clamp(1.5rem, 1.6vw + 1.1rem, 2.5rem);
  font-family: var(--font-display);
}

h3 {
  margin: var(--space-5) 0 var(--space-3);
  line-height: 1.15;
  font-size: clamp(1.25rem, 1.0vw + 1.0rem, 1.75rem);
}

/* Display type (hero / artist name) */
h1.t-display {
  font-family: var(--font-display);
  font-weight: calc(0.5*var(--weight-heading));
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 var(--space-4);
  font-size: calc(1*clamp(3rem, 5vw + 1rem, 6rem));
  /* 48px -> 96px */
}

h2.t-display {
  font-family: var(--font-display);
  font-weight: calc(0.25*var(--weight-heading));
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 var(--space-4);
  font-size: calc(0.6*clamp(1rem, 2.5vw + 1rem, 3rem));
  /* 48px -> 96px */
}

h3.t-display {
  font-family: var(--font-display);
  font-weight: calc(0.25*var(--weight-heading));
  font-size: calc(0.6*clamp(1rem, 2.5vw + 1rem, 3rem));
  margin: var(--space-4) 0 0;
  line-height: 0.95;

}





/* Buttons / form controls */
button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}