:root {
  --bg: #f3efe8;
  --surface: #f8f4ee;
  --text: #3a2a21;
  --muted: #766960;
  --line: #dbcdbd;
  --accent: #8a4318;
  --accent-strong: #6f3312;
  --heading: #7a3d26;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  background-color: var(--bg);
  background-image: linear-gradient(
    180deg,
    #f7f3eb 0%,
    #f3efe8 45%,
    #efe8dd 100%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Noto Sans", "Avenir Next", "Trebuchet MS", sans-serif;
  font-size: 1.08rem;
  font-optical-sizing: auto;
  background: transparent;
  line-height: 1.55;
}

.wrap {
  width: min(1060px, calc(100% - 2.4rem));
  margin: 0 auto;
}

main.wrap {
  padding-bottom: 2.5rem;
}

.site-header {
  padding: 1rem 0;
}

.brand {
  text-decoration: none;
  color: var(--heading);
  font-size: 1.4rem;
  font-family: "Bubblegum Sans", "Trebuchet MS", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 2rem;
  align-items: center;
  margin: 0.75rem 0 3rem;
}

.about__avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
}

.about__content {
  position: relative;
  max-width: 42rem;
}

.about__heading {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  font-size: clamp(2rem, 6vw, 3.6rem);
  white-space: nowrap;
}

.about__title {
  margin: 0;
  color: var(--accent);
  font-family: "Bubblegum Sans", "Trebuchet MS", sans-serif;
  font-size: 1em;
  line-height: 1.08;
}

.about__text {
  margin: 0.8rem 0 1.3rem;
  max-width: 34rem;
  font-size: clamp(1.04rem, 1.7vw, 1.15rem);
  color: #4a3f39;
}

.button {
  display: inline-block;
  border-radius: 12px;
  background: linear-gradient(180deg, #9e5726, #7a3f18);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.52rem 1.35rem;
  box-shadow: 0 6px 18px #b56f3024;
}

.button:hover {
  background: linear-gradient(180deg, #8f4c1f, #693412);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.section-header h2 {
  margin: 0;
  color: var(--accent);
  font-family: "Bubblegum Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1;
}

.section-header p {
  margin: 0;
}

.paw-icon {
  display: block;
  object-fit: contain;
}

.paw-icon--title {
  width: clamp(1.35rem, 0.62em, 2.2rem);
  height: clamp(1.35rem, 0.62em, 2.2rem);
  transform: translateY(0.02em);
}

.paw-icon--section {
  width: 1.9rem;
  height: 1.9rem;
}

.section-header::after {
  content: "";
  flex: 1;
  height: 1px;
  border-bottom: 2px dotted #d5c4a6;
  margin-left: 0.6rem;
}

.post-listing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0 0 2.2rem;
}

.post-card {
  background: var(--surface);
  border: 1px solid #e3d7c8;
  border-radius: 18px;
  padding: 1.1rem 1.2rem 1.25rem;
}

.post-card__title {
  margin: 0;
  font-family: "Bubblegum Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.16;
}

.post-card__title a {
  color: var(--heading);
  text-decoration: none;
}

.post-card:nth-child(even) .post-card__title a {
  color: var(--accent);
}

.post-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem 1.2rem;
  padding: 0 0 0.7rem;
  margin: 0 0 0.85rem;
  border-bottom: 1px dashed #d9c8b4;
}

.post-card__head time {
  color: var(--muted);
  font-size: 0.95rem;
}

.post-card__content {
  color: var(--muted);
  padding: 0.05rem 0.1rem 0;
}

.post-card__content > *:first-child {
  margin-top: 0;
}

.post-card__content > *:last-child {
  margin-bottom: 0;
}

.post-card__content img,
.post-page__content img {
  display: block;
  width: auto;
  max-width: min(100%, 800px);
  max-height: 500px;
  height: auto;
  margin: 0.4rem auto 0.8rem;
  border: 3px solid #d8bea1;
  border-radius: 14px;
  padding: 0.25rem;
  background: #fff8ee;
  box-shadow: 0 10px 24px #7f51201f;
}

.post-page {
  margin: 0 auto 2rem;
}

.post-page__title {
  margin: 0;
  color: var(--heading);
  font-family: "Bubblegum Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  line-height: 1.12;
}

.video-embed {
  max-width: min(100%, 800px);
  margin: 0.6rem auto 1rem;
  border: 3px solid #d8bea1;
  border-radius: 14px;
  padding: 0.25rem;
  background: #fff8ee;
  box-shadow: 0 10px 24px #7f51201f;
}

.video-embed--short {
  width: min(420px, 100%);
  aspect-ratio: 9 / 16;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .about__avatar-wrap {
    width: min(220px, 62vw);
  }

  .post-listing {
    gap: 1rem;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(1060px, calc(100% - 1.4rem));
  }

  .button {
    border-radius: 10px;
    padding: 0.48rem 1.2rem;
  }
}
