:root {
  --light-gray: #ebebeb;
  --other-gray: #cbcbcb;
  --text-secondary: #817E82;
  --max-content-width: 800px;
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
}

/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #000;
}

.content-well {
  max-width: 800px;
  background: #fff;
  margin: 0 auto;
  z-index: -1;
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
}

h1,
h2,
h3 {
  font-family: "Raleway", sans-serif;
  margin-bottom: 0.5em;
  text-align: center;
}

h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-style: italic;
  font-size: 36px;
  letter-spacing: -1px;
  margin-bottom: 0;
}

h3 {
  text-transform: uppercase;
}

h4 {
  color: var(--text-secondary);
  letter-spacing: -0.24px;
}

/* Accessibility helper */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/**
 * Header
 */
.site-header {
  text-align: center;
  padding: 1.5rem 1rem;
}

.content-wrapper {
  max-width: var(--max-content-width);
  margin: 0 auto;
  margin-bottom: 112px;
  font-size: 1rem;
  color: #444;
  text-align: center;
}

/**
 * Featured Photo & Pet Name
 */
.featured-photo {
  text-align: center;
  padding: 1rem;
}

.featured-polaroid {
  transform: rotate(3deg);
  margin: 0 auto;
  width: fit-content;
  background: #fff;
  padding: 1rem;
  margin-inline: auto;
  margin-top: 2rem;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.25);
}

.featured-polaroid figcaption {
  color: #555;
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 767px) {
  .featured-photo {
    margin: 0 20px;
  }
}

.paws {
  position: relative;
  top: -6rem;
  left: calc(50% - 544px);
  margin-bottom: -6rem;
  width: 10%;
}

@media (max-width: 767px) {
  .paws {
    width: 15%;
    top: -7rem;
    left: -9.5rem;
  }
}

.little-gray-line {
  color: var(--light-gray);
  margin: 44px auto 0;
  width: 220px;
  border-style: solid;
  ;
}

.description {
  margin: 0 80px;
}

@media (max-width: 767px) {
  .description {
    margin: 0 16px;
  }
}

.download {
  height: 32px;
  width: 32px;
  background-image: url('./download.svg');
  position: relative;
  bottom: 44px;
  left: 85%;
  z-index: 10;
}

.download-container {
  display: block;
  height: 0;
}

/**
 * Polaroid effect
 */
.polaroid {
  flex: 0 0 calc(50% - 20px);
  background: #fff;
  padding: 1rem 1rem 2rem;
  margin-inline: auto;
  margin-top: 2rem;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.25);
  z-index: 1;
  height: fit-content;
}

.download {
  height: 32px;
  width: 32px;
  background-image: url('./download.svg');
  position: relative;
  bottom: 44px;
  left: 85%;
  z-index: 10;
}

.download-container {
  display: block;
  height: 0;
}

.polaroid figcaption {
  color: #555;
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 767px) {
  .polaroid {
    background: none;
    box-shadow: none;
    padding: 0;
  }

  .polaroid figcaption {
    display: none;
  }
}

/**
 * Photo Grid
 */
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  max-width: 600px;
}

.doggo {
  position: absolute;
  right: calc(50% - 400px);
  height: 300px;
  z-index: 0;
}


@media (max-width: 767px) {
  .doggo {
    height: 200px;
    right: -10%;
  }

  #photos-title {
    margin: 0 130px;
  }
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem auto 0;
  max-width: 360px;
}

.tag-list li {
  border-radius: 1.5rem;
  font-size: 0.85rem;
  background: var(--light-gray);
  padding: 0.25rem 0.5rem;
  z-index: 1;
}

.toys {
  position: absolute;
  left: calc(50% - 400px);
  height: 150px;
}

@media (max-width: 767px) {
  .toys {
    left: 0;
  }
}

/**
 * Footer
 */
.facility-info {
  font-size: 0.9rem;
  font-style: normal;
  padding-bottom: 36px;
}

.emoji {
  font-size: 50px;
}

.logo {
  height: 150px;
  width: auto;
  margin: 0 auto;
  z-index: 1;
}


@media (max-width: 767px) {
  .logo {
    height: 130px;
  }
}

.logo-small {
  height: 75px;
  margin-top: 36px;
}

/**
 * Print styles – ensure everything is visible and rotation & shadows are removed
 */
@media print {
  body {
    color: #000;
  }

  .site-header,
  .site-footer {
    page-break-inside: avoid;
    border: none;
  }

  .no-print {
    display: none;
  }
}