* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  
  color: #000;
}

body.bg-main {background: #D3D3FF;}
body.bg-1 { background: #FFB7CE; }
body.bg-2 { background: #FFD6D6; }
body.bg-3 { background: #D6FFE3; }
body.bg-4 { background: #FFF3C4; }
body.bg-5 { background: #89CFF0; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px 16px;
  align-items: center;
}

.hero {
  flex: 1;
  width: 100%;
  max-width: 720px;
  text-align: center;
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: center;
}

.hero-media {
  width: 100%;
  max-width: 520px;
  height: 560px;
  overflow: hidden;
  border-radius: 14px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 0%;
  display: block;
}

.title {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
}

.project-link {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.project-link:hover,
.project-link:focus-visible {
  text-decoration: none;
}


.take {
  width: 100%;
  max-width: 720px;
  display: grid;
  gap: 14px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.frank {
  width: 240px;
  height: 340px;
  object-fit: contain;
  display: block;
}

.take-text {
  width: 100%;
  max-width: 720px;
}

.take-nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.take-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.take-quote {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  width: 100%;
  max-width: 720px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  text-align: center;
  font-size: 13px;
}