@font-face {
  font-family: Geist;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@5.2.5/latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@5.2.5/latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light only;
  --background: 60 20% 99.02%;
  --primary: 0 0% 6.67%;
  --primary-alpha-5: hsl(var(--primary) / 0.05);
  --primary-alpha-10: hsl(var(--primary) / 0.1);
  --primary-alpha-20: hsl(var(--primary) / 0.2);
  --primary-alpha-40: hsl(var(--primary) / 0.4);
  --primary-alpha-80: hsl(var(--primary) / 0.8);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color-scheme: light only;
  background: hsl(60 20% 99.02%);
  color: hsl(0 0% 6.67%);
}

body {
  font-family: Geist, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--primary));
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 28rem;
}

.sidebar-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.avatar {
  width: 149px;
  height: 169px;
  max-width: 100%;
  align-self: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--primary-alpha-5);
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.label,
h2 {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--primary-alpha-40);
}

.block p,
article h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.01em;
  color: hsl(var(--primary));
}

.built-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  transition: opacity 0.1s ease-out;
}

button.built-item {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

a.built-item:hover,
button.built-item:hover {
  opacity: 0.8;
}

.built-media {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

.built-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.built-media svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--primary-alpha-40);
}

.icon-linkedin,
.icon-whatsapp,
.icon-link {
  background: none;
  color: var(--primary-alpha-40);
}

.icon-link svg {
  fill: none;
}

a.built-item:hover .built-media svg,
button.built-item:hover .built-media svg {
  color: hsl(var(--primary));
}

.built-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.built-title {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.01em;
  color: hsl(var(--primary));
}

.built-desc {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -0.01em;
  color: var(--primary-alpha-40);
}

.feed {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 28rem;
  flex: 1;
}

.feed-grid {
  display: grid;
  gap: 1.5rem;
}

article {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card {
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--primary-alpha-5);
  border-radius: 12px;
  background: var(--primary-alpha-5);
  text-decoration: none;
}

.card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-natural {
  aspect-ratio: auto;
}

.card-natural video {
  height: auto;
  object-fit: contain;
}

article h3 a {
  color: inherit;
  text-underline-offset: 4px;
}

article h3 a:hover {
  color: var(--primary-alpha-40);
}

footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

footer a {
  padding: 0 0 1px;
  border-bottom: 1px solid var(--primary-alpha-20);
  color: var(--primary-alpha-40);
  font-size: 0.75rem;
  line-height: 1rem;
  text-decoration: none;
  transition: color 0.1s;
}

footer a:hover {
  color: hsl(var(--primary));
}

@media (min-width: 1024px) {
  main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 5rem;
    padding: 0 2rem;
  }

  .sidebar {
    position: sticky;
    top: 0;
    width: 300px;
    max-width: 300px;
    flex: none;
    align-self: flex-start;
    padding: 2rem 0 60px;
  }

  .avatar {
    width: 149px;
    height: 169px;
    align-self: flex-start;
  }

  .feed {
    width: 600px;
    max-width: 600px;
    flex: none;
  }

  .feed-grid {
    padding: 2rem 0;
  }
}
