/* Pawsome Pooches — 2027 redesign
   Direction: playful premium pet salon — coral energy, charcoal, soft mint wash.
   Avoid purple gradients, cream/terracotta stacks, broadsheet density. */

:root {
  --ink: #1a1a1a;
  --ink-soft: #2c2c2c;
  --coral: #f47b2a;
  --coral-deep: #e06518;
  --mint: #aee05d;
  --mint-soft: #d8f0a8;
  --sky: #7ec8e3;
  --blush: #ff8fab;
  --paper: #f7f4ef;
  --paper-deep: #efe9df;
  --wash: #e8f4ea;
  --text: #242424;
  --muted: #5c5c5c;
  --white: #ffffff;
  --line: rgba(26, 26, 26, 0.12);
  --shadow: 0 28px 70px rgba(26, 26, 26, 0.16);
  --radius: 1.35rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 0% -5%, rgba(244, 123, 42, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(174, 224, 93, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 35% at 80% 100%, rgba(126, 200, 227, 0.12), transparent 45%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--coral-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--ink);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header .nav-link,
.site-header .nav-social {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.site-header .nav-link:hover,
.site-header .nav-social:hover {
  color: var(--mint);
}

.site-header .brand img {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .nav-social {
  color: var(--ink);
  text-shadow: none;
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-social:hover {
  color: var(--coral-deep);
}

.site-header.is-scrolled .brand img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2.5rem));
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 2.75rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.nav-link,
.nav-social {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--coral);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1.1rem;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle-bars {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(244, 123, 42, 0.35);
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-ink:hover {
  background: var(--ink-soft);
  color: var(--white);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--mint);
}

.text-link:hover {
  color: var(--coral-deep);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end stretch;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-zoom 18s var(--ease) forwards;
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.35) 0%, rgba(26, 26, 26, 0.2) 35%, rgba(26, 26, 26, 0.78) 100%),
    linear-gradient(90deg, rgba(244, 123, 42, 0.22), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-logo {
  width: min(420px, 88vw);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
  animation: rise 0.9s var(--ease) both;
}

.hero-lede {
  max-width: 34rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  animation: rise 0.9s 0.12s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.22s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-tint {
  background:
    linear-gradient(180deg, rgba(232, 244, 234, 0.75), rgba(247, 244, 239, 0.4));
}

.section-ink {
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(244, 123, 42, 0.35), transparent 55%),
    var(--ink);
  color: rgba(255, 255, 255, 0.88);
}

.section-ink h2 {
  color: var(--white);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-lede {
  color: var(--muted);
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.eyebrow-light {
  color: var(--mint);
}

/* About */
.about-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.about-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.about-media {
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-media img {
  transform: scale(1.05);
}

.service-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.service-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--coral);
}

.service-body p {
  color: var(--muted);
  font-size: 0.98rem;
}

.service-note {
  margin-top: 0.65rem !important;
  font-size: 0.88rem !important;
  color: var(--ink-soft) !important;
  font-weight: 500;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--paper-deep);
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(6) {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item.is-extra {
  display: none;
}

/* Payments */
.pay-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.pay-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 18ch;
}

.pay-band p {
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.75);
}

.pay-logo {
  width: min(280px, 70vw);
  height: auto;
  background: var(--white);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
}

/* Contact */
.contact-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.contact-list {
  list-style: none;
  margin: 1.75rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  font: inherit;
  color: var(--text);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(244, 123, 42, 0.2);
}

.form-error {
  color: #b42318;
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.75rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  width: 180px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 28ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-heading {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--coral);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-credit a {
  color: var(--mint);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"].is-in { transition-delay: 0.08s; }
[data-reveal-delay="2"].is-in { transition-delay: 0.16s; }
[data-reveal-delay="3"].is-in { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 960px) {
  .about-band,
  .contact-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(3),
  .gallery-item:nth-child(6) {
    grid-row: auto;
    aspect-ratio: 1;
  }

  .about-media {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(247, 244, 239, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav.is-open .nav-link,
  .site-nav.is-open .nav-social {
    color: var(--ink);
    text-shadow: none;
  }

  .site-nav.is-open .nav-link:hover,
  .site-nav.is-open .nav-social:hover {
    color: var(--coral-deep);
  }

  .nav-link,
  .nav-social,
  .nav-cta {
    padding: 0.85rem 0.25rem;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .service-grid,
  .gallery-grid,
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .gallery-item.is-extra {
    display: block;
  }
}

@media (max-width: 520px) {
  .service-grid,
  .gallery-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-base {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-logo,
  .hero-lede,
  .hero-actions,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
