* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #faf9f6;
  color: #292b30;
  font: 17px/1.75 system-ui,sans-serif;
}

a {
  color: #486c60;
  text-underline-offset: 4px;
}

a:hover {
  color: #243f35;
}

a:focus-visible {
  outline: 2px solid #486c60;
  outline-offset: 4px;
}

header,footer {
  max-width: 1040px;
  margin: auto;
  padding: 28px;
  border-bottom: 1px solid #deded5;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  font-size: 19px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

nav a {
  text-decoration: none;
  font-size: 15px;
}

nav a[aria-current=page] {
  border-bottom: 2px solid #486c60;
}

main {
  max-width: 850px;
  margin: 56px auto 90px;
  padding: 0 28px;
}

h1,h2,h3 {
  font-family: Georgia,serif;
  font-weight: 400;
  line-height: 1.3;
}

h1 {
  font-size: clamp(36px,6vw,50px);
  margin: 0 0 16px;
}

h2 {
  font-size: 29px;
  margin-top: 44px;
}

h3 {
  font-size: 24px;
  margin: 8px 0 14px;
}

.meta {
  font-size: 14px;
  color: #686d65;
}

.intro {
  font-size: 19px;
}

.profile {
  float: right;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
  margin: 0 0 24px 28px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0;
}

.entry {
  padding: 26px 0;
  border-top: 1px solid #deded5;
}

.entry p {
  margin: 10px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 15px;
}

.video {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 6px;
  margin-top: 20px;
}

footer {
  border-top: 1px solid #deded5;
  border-bottom: 0;
  font-size: 13px;
  color: #686d65;
}

.skip {
  position: absolute;
  top: -80px;
}

.skip:focus {
  top: 10px;
  background: white;
  padding: 10px;
}

li {
  margin-bottom: 12px;
}

.clear {
  clear: both;
}

@media(max-width:600px) {
  header {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile {
    float: none;
    width: 130px;
    height: 130px;
    margin: 0 0 24px;
  }

  main {
    margin-top: 36px;
  }
}
