:root {
  color-scheme: light;
  --ink: #201712;
  --muted: #6f625b;
  --paper: #fffaf2;
  --panel: #ffffff;
  --line: #e8ddd1;
  --gold: #f2c14e;
  --green: #427d68;
  --red: #b44d3c;
  --blue: #325b81;
  --shadow: 0 18px 60px rgba(45, 34, 26, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background: #18120e;
  color: #fff;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 18, 14, 0.9), rgba(24, 18, 14, 0.38) 58%, rgba(24, 18, 14, 0.1)),
    linear-gradient(0deg, rgba(24, 18, 14, 0.62), transparent 40%);
}

.topbar,
.hero__content,
.hero__complaint-button {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.brand small,
.auth__status,
.eyebrow {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth__link {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.notifications {
  position: relative;
}

.notifications__button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.05rem;
}

.notifications__count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  border: 2px solid #201712;
  border-radius: 999px;
  background: #d72f24;
  color: #fff;
  padding: 0 5px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 15px;
  text-align: center;
}

.notifications__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 12;
  width: min(340px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.notifications__header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.notifications__list {
  display: grid;
  max-height: 360px;
  overflow: auto;
}

.notifications__item {
  display: grid;
  gap: 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
}

.notifications__item:hover,
.notifications__item.is-unread {
  background: #fff6df;
}

.notifications__item span {
  font-weight: 800;
}

.notifications__item small,
.notifications__empty {
  color: var(--muted);
  font-size: 0.82rem;
}

.notifications__empty {
  padding: 16px 14px;
  font-weight: 800;
}

.hero__content {
  width: min(680px, calc(100% - 32px));
  margin: min(10vh, 92px) auto 0;
  transform: translateX(calc((min(1120px, 100vw - 32px) - min(680px, 100vw - 32px)) / -2));
}

.hero h1 {
  max-width: 12ch;
  margin: 10px 0 20px;
  font-size: clamp(2.65rem, 5.8vw, 5.05rem);
  line-height: 0.96;
}

.hero p {
  max-width: 56ch;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero__complaint-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(24, 18, 14, 0.92);
  color: #fff;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.hero__complaint-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(32, 23, 18, 0.98);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--dark {
  background: var(--ink);
  color: #fff;
}

.button--light {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.button--danger {
  background: #fff;
  border-color: #e7b6aa;
  color: var(--red);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 20px auto 80px;
  position: relative;
  z-index: 2;
}

.has-modal {
  overflow: hidden;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(24, 18, 14, 0.72);
  padding: 24px;
}

.profile-modal__panel {
  width: min(920px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
}

.profile-modal__panel--wide {
  width: min(1060px, 100%);
}

.profile-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.profile-modal .eyebrow {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.profile-modal h2 {
  margin: 4px 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.profile-modal p {
  margin: 0;
  color: var(--muted);
}

.profile-modal__close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.panel {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel__intro h2,
.feed h2 {
  margin: 4px 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.panel__intro p {
  color: var(--muted);
}

main .eyebrow {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.complaint-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile-workspace {
  display: grid;
  gap: 24px;
}

.dog-profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dog-profile-form__wide {
  grid-column: 1 / -1;
}

.dog-profile-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.roster-title {
  margin: 0 0 12px;
  font-size: 1.08rem;
}

.dog-profiles {
  display: grid;
  gap: 12px;
}

.dog-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
  padding: 12px;
}

.dog-card.profile-border--red,
.public-dog-card.profile-border--red {
  border-color: #d8897a;
  box-shadow: 0 0 0 3px rgba(180, 77, 60, 0.12);
}

.dog-card.profile-border--blue,
.public-dog-card.profile-border--blue {
  border-color: #7c9fbd;
  box-shadow: 0 0 0 3px rgba(50, 91, 129, 0.12);
}

.dog-card.profile-border--green,
.public-dog-card.profile-border--green {
  border-color: #86ad9d;
  box-shadow: 0 0 0 3px rgba(66, 125, 104, 0.13);
}

.dog-card.profile-border--gold,
.public-dog-card.profile-border--gold {
  border-color: #dfb444;
  box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.2);
}

.dog-card.profile-border--platinum,
.public-dog-card.profile-border--platinum {
  border-color: #a67c52;
  box-shadow:
    0 0 0 3px rgba(166, 124, 82, 0.18),
    0 12px 30px rgba(45, 34, 26, 0.1);
}

.dog-card__avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 900;
}

.dog-card__avatar.profile-border--red,
.public-dog-card__avatar.profile-border--red {
  border-color: #b44d3c;
}

.dog-card__avatar.profile-border--blue,
.public-dog-card__avatar.profile-border--blue {
  border-color: var(--blue);
}

.dog-card__avatar.profile-border--green,
.public-dog-card__avatar.profile-border--green {
  border-color: var(--green);
}

.dog-card__avatar.profile-border--gold,
.public-dog-card__avatar.profile-border--gold {
  border-color: #c79612;
}

.dog-card__avatar.profile-border--platinum,
.public-dog-card__avatar.profile-border--platinum {
  border-color: #7b5a3c;
}

.dog-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dog-card h4 {
  margin: 0 0 3px;
  font-size: 1.08rem;
}

.dog-card__visibility {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 4px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.76rem;
  font-weight: 900;
}

.dog-card__visibility.is-public {
  background: #edf5f1;
  color: var(--green);
}

.dog-card__visibility.is-private {
  background: #f2ede8;
  color: var(--muted);
}

.dog-card p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.dog-card__grievance {
  color: var(--ink) !important;
  font-weight: 800;
}

.dog-card__nicknames,
.public-dog-card__nicknames {
  color: var(--blue) !important;
  font-weight: 800;
}

.dog-card .dog-title,
.public-dog-card .dog-title {
  margin: 0 0 5px !important;
  color: var(--red) !important;
  font-size: 0.86rem !important;
  font-weight: 900;
}

.achievement-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0 0;
}

.achievement-stats div {
  border: 1px solid #ead9c5;
  border-radius: 6px;
  background: #fffdf8;
  padding: 6px;
}

.achievement-stats dt,
.achievement-stats dd {
  margin: 0;
}

.achievement-stats dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
}

.achievement-stats dd {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.dog-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.dog-achievement {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  min-height: 26px;
  align-items: center;
  border: 1px solid #ead9c5;
  border-radius: 999px;
  background: #fff7e8;
  color: #5d4630;
  padding: 4px 9px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.15;
}

.dog-achievement::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: max-content;
  max-width: min(300px, calc(100vw - 48px));
  transform: translateY(4px);
  border: 1px solid #3b3029;
  border-radius: 6px;
  background: #201712;
  color: #fffaf2;
  box-shadow: 0 10px 28px rgba(45, 34, 26, 0.22);
  padding: 8px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  white-space: normal;
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.dog-achievement::before {
  content: "";
  position: absolute;
  left: 18px;
  bottom: calc(100% + 4px);
  z-index: 21;
  width: 10px;
  height: 10px;
  transform: translateY(4px) rotate(45deg);
  background: #201712;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.dog-achievement:hover::after,
.dog-achievement:hover::before,
.dog-achievement:focus-visible::after,
.dog-achievement:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.dog-achievement:hover::before,
.dog-achievement:focus-visible::before {
  transform: translateY(0) rotate(45deg);
}

.dog-achievement:focus-visible {
  outline: 3px solid rgba(50, 91, 129, 0.28);
  outline-offset: 2px;
}

.dog-achievement.is-earned {
  border-color: #ead9c5;
  background: #fff7e8;
  color: #5d4630;
}

.dog-achievement.is-locked {
  border-color: #ddd8d1;
  background: #f1efeb;
  color: #8b837b;
  filter: grayscale(1);
  opacity: 0.72;
}

.award-cabinet {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  padding: 14px;
}

.award-cabinet h4,
.award-cabinet h5,
.award-cabinet p {
  margin: 0;
}

.award-cabinet h4 {
  font-size: 1.02rem;
}

.award-cabinet p {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.award-cabinet__dog {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.award-cabinet__dog h5 {
  color: var(--ink);
  font-size: 0.95rem;
}

.award-cabinet__group {
  display: grid;
  gap: 7px;
}

.award-cabinet__group strong {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.award-cabinet__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.dog-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.complaint-form__wide,
.form-message {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}

input::placeholder,
textarea::placeholder {
  color: #9d928b;
  font-style: italic;
  opacity: 1;
}

textarea {
  resize: vertical;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.featured-complaint {
  padding-top: 58px;
}

.featured-complaint__heading {
  width: min(700px, 100%);
  margin-bottom: 18px;
}

.featured-complaint h2 {
  margin: 4px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.featured-case {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dcc1a6;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(242, 193, 78, 0.22), rgba(66, 125, 104, 0.1)),
    #fffdf8;
  box-shadow: 0 16px 48px rgba(45, 34, 26, 0.1);
}

.featured-case__media,
.featured-case__monogram {
  min-height: 280px;
}

.featured-case__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.featured-case__monogram {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(180, 77, 60, 0.88), rgba(50, 91, 129, 0.88)),
    var(--red);
  color: #fff;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
}

.featured-case__body {
  display: grid;
  align-content: center;
  padding: 30px;
}

.featured-case__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.featured-case h3 {
  margin: 14px 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
}

.featured-case__text {
  margin: 0;
  color: #433832;
  font-size: 1.08rem;
}

.featured-case__attribution {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.public-dog-profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.public-dog-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.public-dog-card__avatar {
  display: grid;
  min-height: 100%;
  place-items: center;
  border-right: 4px solid transparent;
  background:
    linear-gradient(135deg, rgba(50, 91, 129, 0.26), rgba(242, 193, 78, 0.24)),
    #f5efe8;
  color: var(--blue);
  font-size: 4.8rem;
  font-weight: 900;
}

.public-dog-card__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-dog-card__body {
  padding: 18px;
}

.public-dog-card h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  line-height: 1.12;
}

.public-dog-card p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.public-dog-card__owner {
  font-weight: 800;
}

.public-dog-card__grievance {
  color: var(--ink) !important;
  font-weight: 900;
}

.public-dog-card__actions {
  margin-top: 14px;
}

.feed {
  padding-top: 58px;
}

.feed__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.notice {
  margin-bottom: 20px;
  border: 1px solid #efd486;
  border-radius: 6px;
  background: #fff5cf;
  padding: 14px 16px;
  color: #5c4313;
  font-weight: 700;
}

.complaints {
  display: grid;
  gap: 18px;
}

.complaint {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 250px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.complaint__media {
  background:
    linear-gradient(135deg, rgba(242, 193, 78, 0.32), rgba(66, 125, 104, 0.22)),
    #f7efe3;
}

.complaint__media img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}

.complaint__body {
  padding: 22px;
}

.complaint__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  background: #edf5f1;
  color: var(--green);
  padding: 4px 10px;
  font-weight: 900;
}

.complaint h3 {
  margin: 12px 0 8px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.complaint__text {
  margin: 0 0 18px;
  color: #433832;
}

.complaint__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.like-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.like-button.is-liked {
  background: #fee6de;
  border-color: #efb7aa;
  color: var(--red);
}

.like-summary {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.comments {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.comment {
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.comment strong {
  color: var(--ink);
}

.comment-bone-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  min-height: 26px;
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  padding: 5px 9px;
  vertical-align: middle;
}

.comment-bone-button.is-liked {
  background: #fff1d5;
  border-color: #e8bf5f;
  color: #7a4c05;
}

.comment-bone-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.complaint.is-highlighted,
.comment.is-highlighted {
  animation: notification-highlight 1800ms ease;
}

.comment-form {
  display: flex;
  gap: 10px;
}

.comment-form select {
  flex: 0 1 190px;
}

.comment-form input {
  flex: 1 1 220px;
}

.comment-form button {
  flex: 0 0 auto;
}

@keyframes notification-highlight {
  0%,
  100% {
    box-shadow: none;
  }

  24%,
  72% {
    box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.52);
  }
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 36px 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.empty--small {
  padding: 18px 14px;
  text-align: left;
}

.about {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  padding-top: 62px;
}

.about__intro h2 {
  margin: 4px 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.about__intro p,
.faq p {
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 14px;
}

.faq article {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.faq h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.faq p {
  margin: 0;
}

@media (max-width: 840px) {
  .topbar,
  .feed__heading,
  .auth,
  .comment-form {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar {
    align-items: flex-start;
  }

  .notifications__menu {
    left: 0;
    right: auto;
  }

  .hero__content {
    margin-top: 8vh;
    transform: none;
  }

  .hero__complaint-button {
    min-height: 46px;
    margin-right: 0;
    padding: 0 18px;
    font-size: 1rem;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .profile-modal {
    padding: 12px;
  }

  .profile-modal__panel {
    max-height: calc(100vh - 24px);
    padding: 20px;
  }

  .profile-modal__header {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-modal__close {
    align-self: flex-end;
  }

  .panel,
  .about,
  .featured-case,
  .complaint,
  .complaint-form,
  .dog-profile-form,
  .public-dog-profiles {
    grid-template-columns: 1fr;
  }

  .dog-profile-form__wide {
    grid-column: auto;
  }

  .dog-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .dog-card__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .complaint__media img {
    max-height: 320px;
  }

  .featured-case__media,
  .featured-case__media img,
  .featured-case__monogram {
    min-height: 220px;
    max-height: 320px;
  }

  .featured-case__body {
    padding: 22px;
  }

  .public-dog-card {
    grid-template-columns: 1fr;
  }

  .public-dog-card__avatar {
    min-height: 220px;
  }
}
