* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 5rem auto;
  padding: 0 5rem;
  max-width: 80rem;
  font: 5rem/1.25 "Epilogue";
  background: #f0ede6; /* #E1AD01 */
  color: #1b1718; /* #efe5d3 */
}

body.landing {
  margin: 15rem auto;
}

@media (max-width: 768px) {
  body.portfolio {
    margin: 2rem;
    padding: 0;
  }
}

body.landing:after {
  content: " ";
  border: 0 solid currentColor;
  border-width: 0 .2rem .2rem 0;
  width: 2rem;
  height: 2rem;
  position: absolute;
  left: calc(50% - 1rem);
  top: calc(100vh - 7rem);
  opacity: 1;
  transform: rotate(45deg);
  animation: 1s ease infinite alternate bounce;
  transition: .5s;
}

body.landing.scrolled:after {
  opacity: 0;
}

h1 {
  font-size: 3rem;
  font-weight: normal;
  margin-bottom: 1rem;
  text-align: center;
}

h2 {
  font-size: 3rem;
  font-weight: normal;
}

h3 {
  font-size: 2rem;
  font-weight: normal;
  padding-top: 2rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  clear: both;
}

h2 {
  line-height: 1;
  display: inline-block;
  margin: 0;
}

p.subtitle {
  font-size: 1.5rem;
  font-style: italic;
  margin: -1rem 0 1.5rem;
}

p.subhed {
  display: inline-block;
  font-size: 1.5rem;
  font-style: italic;
  margin: 0 0 0 -1rem;
}

@media (max-width: 768px) {
  p.subhed {
    display: block;
    margin: -1rem 0 0 0;
  }
}

p.subhed:before {
  content: "as ";
}

p {
  font-weight: normal;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: left;
}

.landing p {
  font-weight: normal;
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 15rem;
  text-align: center;
}

.offerings ul {
  margin-left: 0;
  list-style: none;
}

.offerings p {
  text-decoration: underline;
}

.offerings > ul {
  display: flex;
}

@media (max-width: 768px) {
  .offerings > ul {
    display: block;
  }
}

.offerings > ul > li {
  flex: 1 1 25%;
}

.offerings li li,
.offerings p {
  font-size: 1rem;
  margin: 0;
  text-indent: -1rem;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .offerings ul ul {
    margin-left: 1rem;
  }
}

.finale {
  margin: 5rem auto;
}

.finale p {
  font-weight: normal;
  font-size: 3rem;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1rem;
}

p img {
  display: block;
  margin: 0 auto;
  width: 50%;
  height: auto;
}

a {
  text-decoration: underline;
  color: #bf681a; /* #db6fb7 */
  cursor: inherit;
}

a.alt {
  color: #e4001c;
}

a.email {
  font-size: 80%;
}

input, button {
  font: inherit;
  color: inherit;
  cursor: inherit;
}

.js p {
  opacity: 0;
  transform: translate(0, 4rem);
  transition: .5s;
}

.js p.visible {
  opacity: 1;
  transform: translate(0, 0);
}

#newsletter {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #f0ede6E0;
  flex-direction: column;
  padding: 5rem;
  justify-content: center;
  z-index: 2;
}

#newsletter:target, #newsletter.visible {
  display: flex;
}

input {
  display: block;
  margin: 1rem 0;
  background: transparent;
  border: .5rem solid currentColor;
  padding: 0 1rem;
}

button {
  display: inline;
  width: auto;
  background: none;
  border: 0;
  text-align: left;
  text-decoration: underline;
  color: #e51b1e;
}

@keyframes bounce {
  from {
    transform: rotate(45deg) translate(-1rem, -1rem);
  }

  to {
    transform: rotate(45deg) translate(1rem, 1rem);
  }
}

.intro {
  margin: 0 auto 1.5rem;
  width: 50%;
}

@media (max-width: 768px) {
  .intro {
    width: auto;
  }
}

.intro p {
  text-align: center;
}

.skills {
  display: flex;
  flex-wrap: wrap;
}

.skills li {
  list-style: none;
  font-size: 1rem;
}

.skills li + li:before {
  content: "–";
  margin: 0 .5rem;
}

figure {
  float: right;
  width: 50%;
  max-width: 500px;
  margin-left: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  figure {
    float: none;
    width: auto;
    max-width: 100%;
    margin-left: 0;
  }
}

aside {
  float: right;
  width: 50%;
  max-width: 500px;
  margin-left: 2rem;
  margin-bottom: 2rem;
  background: #fff;
  padding: 2rem;
}

@media (max-width: 768px) {
  aside {
    float: none;
    width: auto;
    max-width: 100%;
    margin-left: 0;
  }
}

aside p {
  width: auto;
  max-width: 100%;
  margin: 0;
  font-size: .75rem;
  text-align: justify;
  font-family: Georgia;
}

.be-off strong {
  display: block;
  font-weight: bold;
  text-align: center;
}

.podcast {
  float: left;
  max-width: calc(50% - 2rem);
}

@media (max-width: 768px) {
  .podcast {
    float: none;
    max-width: 100%;
  }
}

figure.full {
  float: none;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}

figure img,
figure iframe,
figure video {
  display: block;
  width: 100%;
}

figure a {
  display: block;
}

a img {
  border: 0;
}

figure.video {
  overflow: hidden;
  position: relative;
}

figure.video:before {
  content: " ";
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

figure.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery {
  float: right;
  width: 50%;
  max-width: 500px;
  margin-left: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .gallery {
    float: none;
    width: auto;
    max-width: 100%;
    margin-left: 0;
  }
}

.gallery figure {
  float: none;
  width: auto;
  max-width: 100%;
  flex: 1 1 100%;
}

.gallery figure.half {
  flex: 1 1 calc(50% - 2rem);
}

@media (max-width: 768px) {
  .gallery figure.half + figure.half {
    margin-left: 2rem;
  }
}

details {
  margin: 1rem 0;
  clear: both;
  overflow-y: hidden;
}

summary {
  display: block;
  position: relative;
  padding-right: 4rem;
}

details[open] summary {
  margin-bottom: 2rem;
}

summary:after {
  content: " ";
  border: 0 solid currentColor;
  border-width: 0 .2rem .2rem 0;
  width: 2rem;
  height: 2rem;
  position: absolute;
  right: 1rem;
  top: 2.5rem;
  opacity: 1;
  transform: rotate(45deg);
  transition: .5s;
}

details[open] summary:after {
  transform: rotate(225deg) translate(-.75rem, -.75rem);
}

summary::-webkit-details-marker {
  display: none;
}

summary:focus {
  outline: 0;
}

details > p {
  max-width: calc(50% - 2rem);
}

@media (max-width: 768px) {
  details > p {
    max-width: 100%;
  }
}
