/* Puppy Love Grooming Salon. Colours come from the logo: mint #95CCB6, the puppy's tan ear, and a deep green dark
   enough for text and buttons. Fredoka (rounded, like the logo) for headings, Nunito Sans for reading. */

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunitosans.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunitosans-italic.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  --ground: #ffffff;
  --soft: #f3f8f5;
  --mint: #95ccb6;
  --mint-wash: #e3f2eb;
  --pine: #2b5a4a;
  --pine-dark: #1f4538;
  --ink: #1d2925;
  --muted: #56645e;
  --line: #d7e6de;
  --tan: #be996f;
  --tan-deep: #7f5530;
  --head: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pine);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pine-dark);
}

:focus-visible {
  outline: 3px solid var(--tan-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

p {
  margin: 0 0 1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--pine);
  color: #fff;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Type */

.h2 {
  margin: 0 0 24px;
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.2;
  color: var(--pine-dark);
}

.h3 {
  margin: 0 0 8px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
  color: var(--pine-dark);
}

.kicker {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--tan-deep);
}

.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 38em;
}

.prose {
  max-width: 42em;
}

.prose h2 {
  margin: 1.6em 0 0.5em;
  font-family: var(--head);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  color: var(--pine-dark);
}

.prose h2:first-child {
  margin-top: 0;
}

.text-link {
  font-weight: 700;
}

/* Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--pine);
  color: #fff;
}

.btn-primary:hover {
  background: var(--pine-dark);
  color: #fff;
}

.btn-ghost {
  border: 2px solid var(--pine);
  color: var(--pine);
}

.btn-ghost:hover {
  background: var(--mint-wash);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--ground);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: block;
  line-height: 0;
}

.brand img {
  width: 140px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  background: var(--soft);
}

.nav a[aria-current="page"] {
  background: var(--mint-wash);
  color: var(--pine-dark);
}

.btn-call {
  background: var(--pine);
  color: #fff;
  min-height: 44px;
}

.btn-call:hover {
  background: var(--pine-dark);
  color: #fff;
}

/* Home */

.hero {
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(38px, 5.6vw, 60px);
  line-height: 1.05;
  color: var(--pine-dark);
}

.today {
  margin: 20px 0 0;
  font-weight: 700;
}

.today .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--pine);
}

.today.is-closed .dot {
  background: var(--tan);
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 var(--mint);
}

.band {
  padding: 64px 0;
}

.band-tight {
  padding-top: 8px;
}

.band-mint {
  background: var(--mint-wash);
}

.band-soft {
  background: var(--soft);
}

.intro .prose {
  font-size: 19px;
  margin: 0 auto;
  text-align: left;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding: 24px;
  background: var(--ground);
  border-radius: var(--radius);
}

.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-family: var(--head);
  font-weight: 600;
}

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
}

/* Prices by size: dog tags, each with a punched ring at the top. */

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tag {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 18px 22px;
  background: var(--mint);
  border-radius: 46px 46px 22px 22px;
  color: var(--pine-dark);
}

.tag::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--ground);
  box-shadow: inset 0 0 0 3px var(--pine-dark);
}

.band-mint .tag::before,
.band-soft .tag::before {
  background: var(--mint-wash);
}

.tag-size {
  font-family: var(--head);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
}

.tag-weight {
  margin-top: 4px;
  font-weight: 700;
  font-size: 14px;
}

.tag-prices {
  width: 100%;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 2px dashed rgba(31, 69, 56, 0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tag-prices div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.tag-prices dt {
  font-weight: 700;
}

.tag-prices dd {
  margin: 0;
  font-family: var(--head);
  font-weight: 600;
  font-size: 18px;
  text-align: right;
}

/* Find us */

.find-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.address {
  font-size: 20px;
  font-weight: 700;
}

.find-photo {
  margin: 0;
  max-width: 420px;
  justify-self: end;
}

.find-photo img {
  display: block;
  border-radius: var(--radius);
}

.hours {
  width: 100%;
  max-width: 320px;
  border-collapse: collapse;
  font-size: 16px;
}

.hours th,
.hours td {
  padding: 5px 0;
  text-align: left;
  font-weight: 400;
}

.hours td {
  text-align: right;
}

.hours .is-closed td {
  color: var(--muted);
}

.hours .is-today th,
.hours .is-today td {
  font-weight: 800;
  color: var(--pine-dark);
}

/* Inner pages */

.page-head {
  padding: 48px 0 32px;
}

.page-title {
  margin: 0 0 12px;
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1.1;
  color: var(--pine-dark);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.price-list {
  width: 100%;
  border-collapse: collapse;
}

.price-list th,
.price-list td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}

.price-list td {
  text-align: right;
  font-family: var(--head);
  font-weight: 600;
  white-space: nowrap;
}

.cta {
  text-align: center;
}

.cta p {
  margin: 0 auto 20px;
  max-width: 32em;
  color: var(--muted);
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.photo-row figure {
  margin: 0;
}

.photo-row img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

.faq {
  max-width: 46em;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 0;
  font-family: var(--head);
  font-weight: 600;
  font-size: 20px;
  color: var(--pine-dark);
  cursor: pointer;
}

.faq-item p {
  margin: 0 0 20px;
}

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

.card {
  padding: 28px;
  background: var(--soft);
  border-radius: var(--radius);
}

.card p:last-child {
  margin-bottom: 0;
}

.big-link {
  font-family: var(--head);
  font-weight: 600;
  font-size: 30px;
  text-decoration: none;
}

/* Footer */

.site-footer {
  margin-top: 0;
  background: var(--pine-dark);
  color: #e9f3ee;
}

.site-footer a {
  color: #ffffff;
}

.site-footer .muted {
  color: #b8cfc5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 32px;
}

.footer-head {
  margin: 0 0 12px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 20px;
  color: var(--mint);
}

.footer-phone {
  font-family: var(--head);
  font-weight: 600;
  font-size: 24px;
  text-decoration: none;
}

.site-footer .hours .is-closed td {
  color: #b8cfc5;
}

.site-footer .hours .is-today th,
.site-footer .hours .is-today td {
  color: #ffffff;
}

.footer-base {
  padding-top: 16px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  color: #b8cfc5;
}

.footer-base p {
  margin: 0;
}

/* Tablets and phones */

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .find-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero-photo img {
    box-shadow: 10px 10px 0 var(--mint);
  }

  .find-photo {
    max-width: 360px;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }

  .header-inner {
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 4px;
  }

  .brand img {
    width: 120px;
  }

  /* The hero and every page end carry the phone number, so the header drops its button. */
  .header-inner .btn-call {
    display: none;
  }

  .nav {
    justify-content: center;
    gap: 0;
  }

  .nav a {
    padding: 0 9px;
    font-size: 15px;
  }

  .page-head {
    padding: 32px 0 16px;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .band {
    padding: 48px 0;
  }

  .contact-grid,
  .photo-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .tags {
    gap: 12px;
  }

  .tag {
    padding: 34px 12px 16px;
    border-radius: 36px 36px 18px 18px;
  }

  .tag-size {
    font-size: 22px;
  }

  .tag-prices div {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .tag-prices dd {
    text-align: center;
  }

  .photo-row img {
    aspect-ratio: 4 / 3;
  }
}
