.bangers-regular {
  font-family: "Bangers", system-ui;
  font-weight: 400;
  font-style: normal;
}

.bbh-bartle-regular {
  font-family: "BBH Bartle", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.bbh-bogle-regular {
  font-family: "BBH Bogle", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.eb-garamond-regular {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.eb-garamond-bold {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.eb-garamond-italic {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}

.space-mono-regular {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.space-mono-bold {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: normal;
}

.space-mono-regular-italic {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: italic;
}

.space-mono-bold-italic {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: italic;
}

.libre-baskerville-regular {
  font-family: "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html {
  margin: 0;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.body-wrapper {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

.content-wrapper {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-height: 0;
}

.header {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  margin: 0;
  padding: 10px 20px 50px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  background: white;
  box-sizing: border-box;
}

.header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 30px;
  background: linear-gradient(to bottom, white, transparent);
  pointer-events: none;
}

.header a {
  display: flex;
  height: 100%;
}

.header-title {
  font-family: "BBH Bartle", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 48pt;
  color: inherit;
  text-decoration: none;
}

.menu {
  display: flex;
  flex-direction: column;
  width: 150px;
  margin: 0 0 0 20px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
}

.menu-item {
  font-family: "BBH Bogle", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16pt;
  display: flex;
  border: 5px solid black;
  margin-bottom: 10px;
  padding: 8px 12px;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.logo {
  max-width: 100%;
  max-height: 100%;
}

.frame-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 30px 20px 20px 20px;
  scroll-padding-top: 30px;
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox, Safari 18.2+, Chromium 121+ */
}

.frame-wrapper::-webkit-scrollbar {
  display: none; /* Older Safari and Chromium */
}

.frame {
  display: flex;
  border: 10px solid black;
  margin-bottom: 20px;
  padding: 20px;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

#home {
  background-image: url('assets/hot.webp');
  background-repeat: no-repeat;
  background-position: top right;
}

#home .panel:last-child {
  justify-content: center;
}

#the-problem {
  background-image: url('assets/hot.webp');
  background-repeat: no-repeat;
  background-position: right var(--bg-offset-y);
}

#our-solution {
  background-image: url('assets/cool.webp');
  background-repeat: no-repeat;
  background-position: top left;
}

#meet-the-team {
  background-image: url('assets/cool.webp');
  background-repeat: no-repeat;
  background-position: left var(--cool-offset-y);
}

#talk-to-us {
  background-image: url('assets/cool.webp');
  background-repeat: no-repeat;
  background-position: left var(--cool-offset-y);
}

.panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18pt;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.profile-pic {
  max-width: 300px;
  border-radius: 50%;
  border: 10px solid black;
}

.profile-text {
  margin: 20px 0 0 30px;
}

.tagline {
  font-family: "BBH Bogle", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 48pt;
  padding: 20px;
}

.heading {
  font-family: "BBH Bogle", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 48pt;
  margin-bottom: 20px;
}

.subheading {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: normal;
  font-size: 28pt;
  padding-bottom: 20px;
}

.pullquote {
  display: flex;
  align-items: flex-start;
}

.pullquote-text {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
  font-size: 40pt;
  padding-bottom: 20px;
}

.quote {
  width: 55px;
  margin: 5px 20px 0 0
}

.email {
  display: flex;
  align-items: center;
  width: fit-content;
}

.email-text {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: normal;
  font-size: 16pt;
}

.title {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  padding: 5px 0 5px 0;
}

.education {
  padding: 10px 0 10px 0;
}

.university {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}

.team-row {
  flex-direction: row;
}

/* Hamburger button - hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: black;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 7px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* Mobile styles */
@media (max-width: 1024px) {
  body {
    overflow: auto;
    scroll-padding-top: 80px;
  }

  .body-wrapper {
    height: auto;
    min-height: 100dvh;
  }

  .content-wrapper {
    flex-direction: column;
  }

  .frame-wrapper {
    overflow-y: visible;
  }

  .header {
    height: auto;
    padding: 16px 20px;
    margin: 0;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 99;
  }

  .header-title {
    font-size: 28pt;
  }

  .hamburger {
    display: flex;
    z-index: 101;
    flex-shrink: 0;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 100px 40px 40px 40px;
    background: white;
    z-index: 100;
    box-sizing: border-box;
    justify-content: flex-start;
    align-items: stretch;
  }

  .menu.open {
    display: flex;
  }

  .menu-item {
    font-size: 20pt;
    padding: 14px 16px;
    border-width: 4px;
  }

  .frame-wrapper {
    padding: 0 12px 12px 12px;
  }

  .frame {
    border-width: 6px;
    padding: 12px;
  }

  .panel {
    padding: 10px;
  }

  .tagline {
    font-size: 28pt;
    padding: 10px;
  }

  .heading {
    font-size: 32pt;
  }

  .subheading {
    font-size: 16pt;
  }

  .quote {
    width: 40px;
    margin-right: 12px;
  }

  #home.frame {
    flex-direction: column;
  }

  .team-row {
    flex-direction: column;
  }

  .profile-pic {
    max-width: 200px;
  }

  .profile-text {
    margin: 10px 0 0 0;
  }

  .email-text {
    font-size: 12pt;
  }
}
