:root {
  color-scheme: dark;
  --black: #080808;
  --white: #f3f2ed;
  --grey: #9f9f99;
  --line: #343432;
  --acid: #d8ff3e;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
}

a { color: inherit; }

main, footer { width: min(100%, 1200px); margin: 0 auto; }

.menu-toggle {
  position: fixed;
  top: 1.5rem;
  right: clamp(1.5rem, 6vw, 6rem);
  z-index: 30;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-content: center;
  gap: .3rem;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 1.4rem;
  height: 1px;
  background: var(--white);
  opacity: .5;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.menu-toggle.is-open .menu-toggle-bar { background: var(--white); opacity: 1; }
.menu-toggle.is-open .menu-toggle-bar:nth-child(1) { transform: translateY(.4rem) rotate(45deg); }
.menu-toggle.is-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle-bar:nth-child(3) { transform: translateY(-.4rem) rotate(-45deg); }

.site-menu {
  position: fixed;
  top: 5.25rem;
  right: clamp(1.5rem, 6vw, 6rem);
  z-index: 20;
  display: grid;
  width: min(18rem, calc(100vw - 3rem));
  gap: .55rem;
  padding: 1.1rem;
  background: var(--acid);
  border: 1px solid var(--black);
}

.site-menu[hidden] { display: none; }

.site-menu a {
  width: fit-content;
  color: var(--black);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .95;
  text-decoration: none;
}

.site-menu a:hover, .site-menu a:focus-visible { text-decoration: underline; text-underline-offset: .16em; }
body.menu-open { overflow: hidden; }

.hero {
  min-height: 78vh;
  padding: 2rem clamp(1.5rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--acid);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
}

h1, h2, p { margin-top: 0; }

h1 {
  align-self: center;
  margin-bottom: .1em;
  font-family: "Oxanium", Arial, Helvetica, sans-serif;
  font-size: clamp(4.3rem, 16vw, 12rem);
  line-height: .78;
  font-weight: 200;
  letter-spacing: .12em;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.section:not(.section-accent) h2 { color: var(--white); }

.statement { max-width: 32rem; margin: 2rem 0; font-size: clamp(1.15rem, 2vw, 1.6rem); color: var(--grey); }

.section { padding: clamp(4rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem); border-bottom: 1px solid var(--line); }
.section > p:not(.eyebrow) { max-width: 34rem; color: var(--grey); }
.bio-portrait {
  display: block;
  width: clamp(9rem, 18vw, 13rem);
  aspect-ratio: 1;
  margin: 0 auto 2.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.section-accent { background: var(--acid); color: var(--black); }
.section-accent .eyebrow, .section-accent > p:not(.eyebrow) { color: inherit; }
.section:not(.section-accent) > p:not(.eyebrow) { color: var(--white); }

.sound-preview {
  max-width: 34rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.sound-preview .eyebrow { margin-bottom: .75rem; }
.sound-preview p:last-child { margin-bottom: 0; color: var(--grey); }
.sound-title { margin-bottom: .35rem; font-size: 1.1rem; font-weight: 700; letter-spacing: .08em; }

.button, .text-link, footer a, .privacy-button {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
}

.button { padding: 1rem 1.2rem; border: 1px solid currentColor; }
.button-primary { background: var(--white); color: var(--black); }
.button-secondary { background: var(--black); color: var(--acid); border-color: var(--black); }
.text-link { margin-top: 1rem; text-underline-offset: .35rem; text-decoration: underline; }

footer {
  display: grid;
  gap: 1rem;
  padding: 2rem clamp(1.5rem, 6vw, 6rem) 3rem;
  color: var(--grey);
}

footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
footer a:hover, .privacy-button:hover, .text-link:hover { color: var(--acid); }
footer p { margin: 0; font-size: .75rem; }

.privacy-button { width: fit-content; padding: 0; background: transparent; border: 0; color: inherit; cursor: pointer; }
dialog { width: min(32rem, calc(100% - 2rem)); padding: 2rem; border: 1px solid var(--line); background: #161616; color: var(--white); }
dialog::backdrop { background: rgb(0 0 0 / 80%); }
.dialog-close { float: right; border: 0; background: none; color: var(--white); font-size: 1.75rem; cursor: pointer; }
dialog a { color: var(--acid); }

@media (min-width: 700px) {
  #bio {
    display: grid;
    grid-template-columns: minmax(0, 34rem) minmax(10rem, 13rem);
    column-gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
  }

  #bio .eyebrow { grid-column: 1 / -1; }
  #bio h2 { grid-column: 1; }
  #bio .bio-portrait {
    grid-column: 2;
    grid-row: 2 / span 3;
    width: 100%;
    max-width: 13rem;
    margin: 0;
    justify-self: end;
  }

  #bio > p:not(.eyebrow) { grid-column: 1; }
  footer { grid-template-columns: 1fr auto auto auto; align-items: center; }
}
