:root {
  --cream: #f8f5ed;
  --cream-2: #fbfaf4;
  --green: #255f48;
  --green-2: #557965;
  --yellow: #ffd83d;
  --red: #ff6b6b;
  --blue: #4c91ff;
  --pale: #edf4e9;
  --shadow: 0 24px 60px rgba(62, 81, 62, 0.14);
  --radius-lg: 2rem;
  --radius-xl: 4rem;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--green);
  background: var(--cream);
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--green);
  color: white;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(37, 95, 72, 0.1);
  background: color-mix(in srgb, var(--cream) 90%, white);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 110px;
  height: auto;
}

.footer-logo {
  width: 145px;
  height: auto;
  margin-inline: auto;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.brand-text small {
  color: var(--green-2);
  font-size: 0.72rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 900;
  font-size: 0.95rem;
  text-underline-offset: 0.45rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 950;
  cursor: pointer;
}

.nav-button,
.button.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 10px 20px rgba(37, 95, 72, 0.18);
}

.button.secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--red);
}

.nav-button:hover,
.button.primary:hover {
  background: #1f4e3b;
}

.button.secondary:hover {
  background: white;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: white;
  color: var(--green);
  box-shadow: 0 12px 24px rgba(62, 81, 62, 0.12);
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 24px;
  height: 3px;
  margin-inline: auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.menu-toggle-lines::before {
  transform: translateY(-8px);
}

.menu-toggle-lines::after {
  transform: translateY(5px);
}

.section {
  padding-block: 6rem;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-height) + 3rem);
}

.hero-grid,
.two-column,
.book-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--green);
  font-weight: 1000;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 8vw, 6.6rem);
}

h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.65rem;
}

p {
  color: var(--green-2);
  font-weight: 750;
}

.lead,
.section-heading p,
.two-column p,
.safety-banner p {
  max-width: 700px;
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--green);
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 1000;
  box-shadow: 0 12px 22px rgba(255, 216, 61, 0.25);
}

.accent-line {
  width: 150px;
  height: 6px;
  margin-block: 1.4rem 1.8rem;
  border-radius: 999px;
  background: var(--red);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-art {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.blue-blob {
  position: relative;
  width: min(100%, 430px);
  min-height: 520px;
  border-radius: var(--radius-xl);
  background: var(--blue);
  box-shadow: var(--shadow);
}

.activity-card {
  position: absolute;
  border: 5px solid white;
  border-radius: 2rem;
  background: #fffaf0;
  box-shadow: 0 22px 45px rgba(27, 52, 80, 0.18);
}

.top-card {
  top: 1.3rem;
  left: -2rem;
  width: min(300px, 82vw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  padding: 1.1rem;
  border-color: #67c979;
  transform: rotate(1deg);
}

.top-card span {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 1.3rem;
  background: #f1eadc;
  font-size: 2.1rem;
}

.bottom-card {
  right: -1rem;
  bottom: 2rem;
  width: min(330px, 84vw);
  padding: 1.4rem;
  transform: rotate(-1deg);
}

.bottom-card strong {
  display: block;
  color: var(--green);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.bottom-card p {
  margin: 0.4rem 0 1rem;
}

.paint-splash {
  height: 150px;
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 22% 44%, rgba(255, 107, 107, 0.8) 0 12%, transparent 13%),
    radial-gradient(circle at 46% 35%, rgba(255, 216, 61, 0.9) 0 18%, transparent 19%),
    radial-gradient(circle at 69% 58%, rgba(76, 145, 255, 0.75) 0 18%, transparent 19%),
    linear-gradient(135deg, #fbe3ea, #fff4c7 55%, #dfeeff);
}

.yellow-section {
  background: var(--yellow);
}

.yellow-section p,
.yellow-section h2,
.yellow-section h3 {
  color: var(--green);
}

.giant-star {
  margin-bottom: 1rem;
  color: var(--red) !important;
  font-size: 4rem !important;
  line-height: 1;
}

.feature-grid,
.card-grid,
.sitter-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.plain-card,
.sitter-card,
.booking-form,
.contact-card {
  border-radius: var(--radius-lg);
  background: var(--cream-2);
  box-shadow: var(--shadow);
}

.feature-card,
.plain-card,
.sitter-card,
.contact-card {
  padding: 1.65rem;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: white;
  font-size: 2rem;
}

.safety-banner {
  border-radius: var(--radius-xl);
  background: var(--yellow);
  padding: clamp(2rem, 6vw, 4rem);
  box-shadow: var(--shadow);
}

.safety-banner p {
  color: var(--green);
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.pale-section {
  background: var(--pale);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 3rem;
  text-align: left;
}

.section-heading.left {
  margin-bottom: 2rem;
}

.sitter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sitter-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.avatar {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 4px solid;
  border-radius: 1.7rem;
  background: #f5eadc;
  font-size: clamp(3rem, 7vw, 5rem);
}

.avatar.green { border-color: #62cc77; }
.avatar.yellow { border-color: #ffd83d; }
.avatar.pink { border-color: #ff6b6b; }
.avatar.blue { border-color: #4c91ff; }

.sitter-card h3 {
  margin-top: 1.25rem;
  font-size: 1.9rem;
}

.sitter-role {
  margin-bottom: 0.35rem;
  color: var(--green);
  font-weight: 1000;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.tag-row span {
  border-radius: 999px;
  background: var(--yellow);
  color: var(--green);
  padding: 0.45rem 0.75rem;
  font-size: 0.77rem;
  font-weight: 950;
}

.rate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.rate-card {
  border-radius: var(--radius-lg);
  background: white;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
}

.rate-card.featured-rate {
  background: var(--yellow);
}

.rate-card.featured-rate p,
.rate-card.featured-rate h3 {
  color: var(--green);
}

.rate-table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--cream-2);
}

.rate-table th,
.rate-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 2px solid #e7decf;
  color: var(--green);
  font-weight: 950;
}

.rate-table th {
  background: var(--green);
  color: white;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.rate-table tr:last-child td {
  border-bottom: 0;
}

.rate-note-card {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--cream-2);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.rate-note-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 1000;
}

.rate-note-card p {
  margin: 0;
}

.book-grid {
  align-items: start;
}

.contact-card {
  margin-top: 2rem;
}

.contact-card a {
  color: var(--green);
  font-weight: 950;
}

.tiny-note,
.form-note {
  font-size: 0.85rem;
}

code {
  border-radius: 0.4rem;
  background: #eee5d7;
  padding: 0.1rem 0.3rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.booking-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.booking-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--green);
  font-weight: 1000;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  border: 2px solid #e4dccd;
  border-radius: 1.1rem;
  background: var(--cream);
  color: var(--green);
  padding: 0.9rem 1rem;
  outline: none;
  resize: vertical;
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(37, 95, 72, 0.12);
}

.site-footer {
  border-top: 4px solid var(--red);
  padding-block: 2rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  text-align: center;
}

.footer-grid strong {
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.footer-grid p {
  margin: 0;
}

.footer-pill {
  border-radius: 999px;
  background: var(--yellow);
  color: var(--green) !important;
  padding: 0.9rem 1.3rem;
  font-weight: 1000;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    border-radius: 1.5rem;
    background: white;
    padding: 0.9rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    background: var(--cream);
  }

  .nav-button {
    justify-content: center;
    background: var(--green) !important;
    color: white !important;
  }

  .hero-grid,
  .two-column,
  .book-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 420px;
  }

  .blue-blob {
    min-height: 430px;
  }

  .feature-grid,
  .card-grid.three,
  .rate-grid,
  .sitter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand-logo {
    width: 88px;
    height: auto;
  }

  .section {
    padding-block: 4.5rem;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 3rem);
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 430px;
    overflow: hidden;
  }

  .blue-blob {
    width: 92%;
    min-height: 420px;
    border-radius: 3rem;
  }

  .top-card {
    left: -0.75rem;
    width: 260px;
  }

  .bottom-card {
    right: -0.75rem;
    width: 280px;
  }

  .feature-grid,
  .card-grid.three,
  .rate-grid,
  .sitter-grid {
    grid-template-columns: 1fr;
  }

  .safety-banner {
    border-radius: 2.5rem;
  }

  .footer-grid {
    flex-direction: column;
  }
}
