/*
Theme Name: Wolfpack
Theme URI: https://wolfpackdoggroomers.co.uk
Author: Alex Lyle, Pro-cess
Author URI: https://pro-cess.co.uk
Description: Custom WordPress theme for Wolfpack Dog Groomers. Bold monotone palette with a faded gold accent, Oswald display type, welfare-first messaging. Built to consume PawPairs for the gallery.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wolfpack
Tags: dog-grooming, monotone, dark, custom-theme
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* =====================================================
   1. TOKENS
   ===================================================== */
:root {
  /* Monotone palette */
  --black:    #0a0a0a;
  --charcoal: #161616;
  --graphite: #232323;
  --slate:    #3a3a3a;
  --smoke:    #6a6a6a;
  --silver:   #d4d4d4;
  --bone:     #f4f1ea;
  --white:    #ffffff;

  /* Accent (faded gold) */
  --accent:      #c9a961;
  --accent-dark: #a88d4b;
  --accent-ink:  #0a0a0a;
  --accent-glow: rgba(201,169,97,0.35);

  /* Functional */
  --success: #2e7d32;
  --error:   #c62828;
  --warning: #ed8a19;

  /* Type */
  --font-display: 'Oswald', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --text-xs:  clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --text-sm:  clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg:  clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  --text-xl:  clamp(1.2rem, 1.1rem + 0.6vw, 1.45rem);
  --text-2xl: clamp(1.45rem, 1.2rem + 1.3vw, 2.1rem);
  --text-3xl: clamp(1.9rem, 1.5rem + 2vw, 2.8rem);
  --text-4xl: clamp(2.4rem, 1.8rem + 3vw, 3.8rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 6rem);
  --text-6xl: clamp(3.5rem, 2.4rem + 6.5vw, 8rem);

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container: 1320px;
  --container-narrow: 880px;
  --pad: clamp(1rem, 4vw, 3rem);

  /* Radii (sharp) */
  --radius-sm:  2px;
  --radius-md:  4px;
  --radius-lg:  6px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.15);
  --shadow-md: 0 6px 18px rgba(0,0,0,.25);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.4);
  --shadow-gold: 0 0 30px var(--accent-glow);

  /* Motion */
  --t-fast: 180ms ease;
  --t-base: 280ms ease;
  --t-slow: 500ms ease;

  /* Layers */
  --z-header: 100;
  --z-popup:  9999;
}

/* =====================================================
   2. RESET + BASE
   ===================================================== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 100px;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--silver);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--white); }
button { border: 0; background: transparent; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

/* =====================================================
   3. LAYOUT
   ===================================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--bone { background: var(--bone); color: var(--charcoal); }
.section--bone h1, .section--bone h2, .section--bone h3, .section--bone h4 { color: var(--black); }
.section--charcoal { background: var(--charcoal); }
.section--graphite { background: var(--graphite); }
.section--accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.section--accent h1, .section--accent h2, .section--accent h3, .section--accent h4 { color: var(--accent-ink); }

.section__head { text-align: center; margin-bottom: var(--space-3xl); }
.section__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-md);
}
.section__title {
  font-size: var(--text-4xl);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}
.section__lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: var(--text-lg);
  color: var(--smoke);
  line-height: 1.6;
}
.section--bone .section__lead { color: var(--slate); }

.grid { display: grid; gap: var(--space-xl); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Pricing-page sizes legend: when 4 cards wrap, the 4th sits centred under the middle one
   instead of dangling alone on the left. */
.sizes-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
@media (max-width: 1080px) {
  .sizes-legend { grid-template-columns: repeat(3, 1fr); }
  .sizes-legend > :nth-child(4) { grid-column: 2 / 3; }
}
@media (max-width: 760px) {
  .sizes-legend { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .sizes-legend > :nth-child(4) { grid-column: auto; }
}
@media (max-width: 460px) {
  .sizes-legend { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }
.mb-md { margin-bottom: var(--space-md); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex--center { justify-content: center; align-items: center; }
.flex--wrap { flex-wrap: wrap; gap: var(--space-md); }

/* =====================================================
   4. BUTTONS
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all var(--t-fast);
  line-height: 1;
}
.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--lg { padding: 1.15rem 2.2rem; font-size: var(--text-lg); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: var(--text-sm); letter-spacing: 0.18em; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.section--bone .btn--ghost { color: var(--black); border-color: var(--black); }
.section--bone .btn--ghost:hover { background: var(--black); color: var(--white); }

/* =====================================================
   5. TOP USP STRIP
   ===================================================== */
.usp-strip {
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.usp-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0.9rem;
}
/* Paw print divider between items, on-brand and clear */
.usp-strip span:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--accent-ink);
  border-radius: 50%;
  opacity: 0.55;
  margin-left: 0.9rem;
  vertical-align: middle;
}
@media (max-width: 640px) {
  .usp-strip { font-size: 0.7rem; letter-spacing: 0.08em; padding: 0.5rem 0.5rem; }
  .usp-strip span { margin: 0 0.4rem; gap: 0.3rem; }
  .usp-strip span:not(:last-child)::after { margin-left: 0.4rem; }
}

/* =====================================================
   6. HEADER + NAV
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}
.brand { display: flex; align-items: center; gap: 1rem; min-width: 0; flex: 1; }
.brand img {
  height: 88px;
  width: auto;
  flex-shrink: 0;
  transition: transform var(--t-base);
}
@media (max-width: 640px) {
  .brand img { height: 78px; }
  .brand { gap: 0.7rem; }
  .brand__name { font-size: 1.2rem; }
  .brand__sub { font-size: 0.62rem; letter-spacing: 0.22em; }
}
@media (max-width: 380px) {
  .brand img { height: 64px; }
  .brand { gap: 0.5rem; }
}
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand__text { line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  display: block;
  margin-bottom: 2px;
}
.brand__sub {
  font-size: 0.7rem;
  color: var(--slate);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav { display: none; }
.nav__list { display: flex; gap: 1.8rem; }
.nav a {
  color: var(--slate);
  font-family: var(--font-display);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--t-fast);
}
.nav a:hover, .nav a.is-active { color: var(--black); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent); transform: scaleX(0);
  transform-origin: left; transition: transform var(--t-fast);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

@media (min-width: 960px) {
  .nav { display: block; }
}

.header-cta { display: none; }
@media (min-width: 720px) {
  .header-cta { display: inline-flex; }
}

/* Hamburger */
.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius-sm);
  color: var(--black);
  font-size: 1.1rem;
  cursor: pointer;
  background: transparent;
}
.menu-toggle:hover { border-color: var(--accent-dark); color: var(--accent-dark); background: var(--bone); }
@media (min-width: 960px) { .menu-toggle { display: none; } }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  padding: 6rem var(--pad) 3rem;
  transform: translateX(100%);
  transition: transform var(--t-base);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1.3rem;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  display: block;
}
.mobile-nav__contact { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-nav__contact p { color: var(--smoke); margin-bottom: 0.5rem; }

/* =====================================================
   7. HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: clamp(540px, 76vh, 880px);
  overflow: hidden;
  display: flex; align-items: center;
  background: var(--black);
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: contrast(1.05) brightness(0.9);
  transition: filter 600ms ease;
}
.hero:hover .hero__bg { filter: contrast(1.05) brightness(1); }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.35) 35%, rgba(0,0,0,0.85) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 30%, transparent 0%, rgba(0,0,0,0.5) 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; text-align: center;
  padding: 6rem 0 4rem;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.hero__title {
  font-size: var(--text-6xl);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: var(--space-sm);
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}
.hero__title span { display: block; }
.hero__title .ink { color: var(--accent); }
.hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--silver);
  margin: var(--space-lg) auto var(--space-2xl);
  max-width: 580px;
  line-height: 1.55;
}
.hero__cta {
  display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap;
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%);
  padding: 5rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.page-hero__eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  display: block;
}
.page-hero h1 {
  font-size: var(--text-5xl);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.page-hero p {
  max-width: 620px;
  margin: var(--space-md) auto 0;
  color: var(--smoke);
  font-size: var(--text-lg);
}

/* =====================================================
   8. USP CARDS UNDER HERO
   ===================================================== */
.usp-cards {
  background: var(--charcoal);
  border-block: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-2xl) 0;
}
.usp-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  text-align: center;
}
/* Mobile: 2/2/1-centred layout so the 5th item doesn't sit alone */
@media (max-width: 640px) {
  .usp-cards__grid { grid-template-columns: 1fr 1fr; gap: var(--space-md) var(--space-sm); }
  .usp-cards__grid .usp-card:last-child { grid-column: 1 / -1; }
}
.usp-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.35rem;
  padding: var(--space-md);
}
.usp-card__icon {
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}
.usp-card__label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--text-base);
  color: var(--white);
  font-weight: 600;
}
.usp-card__sub { font-size: 0.78rem; color: var(--smoke); }

/* =====================================================
   9. CREDENTIAL BADGES
   ===================================================== */
.cred-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.cred-row--center { justify-content: center; }
.cred-badge {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.cred-badge i { font-size: 0.85rem; }

/* =====================================================
   10. FEATURE CARDS
   ===================================================== */
.feature-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.feature-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.6rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.feature-card h3, .feature-card h4 {
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-xl);
}
.feature-card p { color: var(--smoke); font-size: var(--text-sm); }

.section--bone .feature-card {
  background: var(--white);
  border-color: rgba(0,0,0,0.08);
}
.section--bone .feature-card h3, .section--bone .feature-card h4 { color: var(--black); }
.section--bone .feature-card p { color: var(--slate); }

/* =====================================================
   11. SERVICES GRID
   ===================================================== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.section--bone .services {
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.08);
}
.service {
  background: var(--charcoal);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  display: flex; flex-direction: column;
  transition: background var(--t-fast);
}
.section--bone .service { background: var(--white); }
.service:hover { background: var(--graphite); }
.section--bone .service:hover { background: #fafaf5; }

.service__icon {
  width: 48px; height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--accent);
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}
.service__name {
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}
.service__desc {
  font-size: var(--text-sm);
  color: var(--smoke);
  flex: 1;
  margin-bottom: var(--space-lg);
  line-height: 1.55;
}
.section--bone .service__desc { color: var(--slate); }
.service__prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.15rem;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-md);
}
.section--bone .service__prices { border-color: rgba(0,0,0,0.1); }
.service__price { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.service__price-size {
  font-family: var(--font-display);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--smoke);
}
.service__price-amt {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--white);
  font-weight: 600;
}
.section--bone .service__price-amt { color: var(--black); }

/* =====================================================
   12. PRICING TABLE (full pricing page)
   ===================================================== */
.pricing-table {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pricing-row {
  display: grid;
  grid-template-columns: 1fr repeat(4, 80px);
  gap: var(--space-md);
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: center;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row--header {
  background: var(--graphite);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--text-xs);
  color: var(--accent);
}
.pricing-row__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}
.pricing-row__desc {
  font-size: var(--text-sm);
  color: var(--smoke);
  margin-top: 0.3rem;
  line-height: 1.5;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}
.pricing-row__price {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
}
.pricing-row--header .pricing-row__price { color: var(--accent); }
@media (max-width: 720px) {
  .pricing-row { grid-template-columns: 1fr 60px 60px 60px 60px; gap: 0.4rem; padding: var(--space-md); }
  .pricing-row__name { font-size: var(--text-base); }
  .pricing-row__price { font-size: var(--text-base); }
}
@media (max-width: 520px) {
  .pricing-row { grid-template-columns: 1fr; gap: var(--space-sm); }
  .pricing-row__prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; padding-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
}

/* =====================================================
   13. ABOUT
   ===================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
@media (min-width: 900px) {
  .about { grid-template-columns: 1.1fr 1fr; gap: var(--space-4xl); }
}
.about__media {
  position: relative;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  filter: contrast(1.05);
  border-radius: var(--radius-md);
  transition: filter 500ms ease, transform 500ms ease;
}
.about__media:hover { filter: contrast(1.05) brightness(1.05); transform: translate(-2px, -2px); }
.about__media::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--accent);
  transform: translate(20px, 20px);
  border-radius: var(--radius-md);
  pointer-events: none;
  z-index: -1;
}
.about__copy h2 { margin-bottom: var(--space-md); }
.about__copy p { color: var(--smoke); }
.section--bone .about__copy p { color: var(--slate); }
.about__creds { margin: var(--space-lg) 0 var(--space-xl); }

/* Mobile: centre the homepage about teaser CTA + creds so the block feels balanced.
   Scoped to page-home so the dedicated About page keeps its left-aligned long-form copy. */
@media (max-width: 900px) {
  body.page-home .about__copy { text-align: center; }
  body.page-home .about__creds.cred-row { justify-content: center; }
}

/* =====================================================
   14. GALLERY (theme rendering of PawPairs data)
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
}

/* Homepage variant: horizontal swipe carousel on mobile */
@media (max-width: 720px) {
  .gallery-grid--carousel {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--charcoal);
  }
  .gallery-grid--carousel .gallery-item {
    flex: 0 0 72%;
    aspect-ratio: 1;
    scroll-snap-align: start;
  }
  .gallery-grid--carousel::-webkit-scrollbar { height: 6px; }
  .gallery-grid--carousel::-webkit-scrollbar-track { background: var(--charcoal); }
  .gallery-grid--carousel::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
}
.gallery-hint {
  display: none;
  text-align: center;
  font-size: 0.78rem;
  color: var(--smoke);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-top: var(--space-sm);
}
@media (max-width: 720px) {
  .gallery-hint--carousel { display: block; }
}
.gallery-item {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-base), filter var(--t-base);
}
.gallery-item:hover img { transform: scale(1.04); filter: contrast(1.05) brightness(1.05); }
.gallery-item__overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--space-md);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--t-base);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; transform: translateY(0); }

/* Before/after pairs */
.ba-grid { display: grid; gap: var(--space-2xl); }
.ba-pair {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}
.ba-pair__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-align: center;
  margin-bottom: var(--space-lg);
}
.ba-pair__images {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: var(--space-md);
  align-items: center;
}
@media (max-width: 600px) {
  .ba-pair__images { grid-template-columns: 1fr; gap: var(--space-lg); }
  .ba-pair__arrow { transform: rotate(90deg); align-self: center; margin: 0 auto; }
}
.ba-side { position: relative; }
.ba-side__label {
  position: absolute; top: 0.6rem; left: 0.6rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.ba-side__label--before { background: rgba(0,0,0,0.85); color: var(--white); border: 1px solid var(--accent); }
.ba-side img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  transition: transform var(--t-base);
}
.ba-side:hover img { transform: scale(1.02); }
.ba-pair__arrow {
  color: var(--accent);
  font-size: 2rem;
  text-align: center;
}

/* =====================================================
   15. TESTIMONIALS
   ===================================================== */
.testimonial-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
}
.testimonial-card__stars { color: var(--accent); margin-bottom: var(--space-md); font-size: var(--text-lg); }
.testimonial-card__quote {
  font-size: var(--text-base);
  color: var(--silver);
  font-style: italic;
  margin-bottom: var(--space-md);
  line-height: 1.65;
}
.testimonial-card__author {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--white);
  font-size: var(--text-sm);
}

/* =====================================================
   16. FORMS
   ===================================================== */
.form-row { margin-bottom: var(--space-md); }
.form-row label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--t-fast);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row--inline { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 600px) { .form-row--inline { grid-template-columns: 1fr; } }

.section--bone .form-row label { color: var(--black); }
.section--bone .form-row input,
.section--bone .form-row textarea,
.section--bone .form-row select {
  background: var(--white);
  border-color: rgba(0,0,0,0.15);
  color: var(--black);
}

/* =====================================================
   17. CONTACT INFO CARDS
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}
.contact-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}
.contact-card__icon {
  width: 48px; height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--accent);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.contact-card h4 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--text-base);
  margin-bottom: var(--space-sm);
}
.contact-card p, .contact-card a { color: var(--silver); font-size: var(--text-sm); }
.contact-card a:hover { color: var(--accent); }

/* =====================================================
   18. FAQ ACCORDION
   ===================================================== */
.faq { display: grid; gap: var(--space-md); }
.faq__item {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq__q::after {
  content: '+';
  color: var(--accent);
  font-size: 1.6rem;
  transition: transform var(--t-fast);
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
  padding: 0 var(--space-lg);
}
.faq__item.is-open .faq__a {
  max-height: 800px;
  padding: 0 var(--space-lg) var(--space-md);
}
.faq__a p { color: var(--smoke); }

/* =====================================================
   19. FOOTER
   ===================================================== */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-4xl) 0 var(--space-xl);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}
.footer-col h4 {
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-md);
  color: var(--accent);
}
.footer-col p { color: var(--smoke); font-size: var(--text-sm); line-height: 1.7; margin: 0; }
.footer-col a { color: var(--silver); display: block; padding: 0.15rem 0; font-size: var(--text-sm); }
.footer-col a:hover { color: var(--accent); }
.footer-col__social { display: flex; gap: 0.6rem; margin-top: var(--space-sm); }
.footer-col__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--silver);
  padding: 0;
}
.footer-col__social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-tagline {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-xl);
  font-weight: 600;
}
.footer-tagline .ink { color: var(--accent); }
.footer-bottom { text-align: center; color: var(--smoke); font-size: 0.78rem; line-height: 1.7; }
.footer-bottom a { color: var(--accent); }

@media (max-width: 640px) {
  .footer-tagline { letter-spacing: 0.12em; font-size: 1.4rem; }
}

/* =====================================================
   20. BREADCRUMBS
   ===================================================== */
.breadcrumbs {
  font-size: 0.78rem;
  color: var(--smoke);
  margin-bottom: var(--space-md);
  letter-spacing: 0.06em;
}
.breadcrumbs a { color: var(--accent); }
.breadcrumbs span { margin: 0 0.4rem; }

/* =====================================================
   21. LIGHTBOX (inline image viewer)
   ===================================================== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(5,5,5,0.94);
  backdrop-filter: blur(8px);
  z-index: var(--z-popup);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(0.5rem, 4vw, 2rem);
  opacity: 0;
  transition: opacity 220ms ease;
  cursor: zoom-out;
  touch-action: pan-y;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__stage {
  position: relative;
  max-width: 100%; max-height: 100%;
  cursor: default;
}
.lightbox__img {
  max-width: min(96vw, 1400px);
  max-height: 85vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox__btn {
  position: absolute;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,15,15,0.7);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--t-fast);
  z-index: 2;
}
.lightbox__btn:hover { background: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
.lightbox__close { top: clamp(0.5rem, 2vw, 1.5rem); right: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__prev { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover, .lightbox__next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__counter {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  background: rgba(15,15,15,0.7);
  color: var(--silver);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .lightbox__prev, .lightbox__next { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* =====================================================
   22. SCROLL REVEAL
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================
   23. STICKY MOBILE CTA
   ===================================================== */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.6rem;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
}
.mobile-cta-bar a {
  text-align: center;
  padding: 0.7rem 0.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: 0.3rem;
}
.mobile-cta-bar a i { color: var(--accent); }
.mobile-cta-bar a.is-primary { background: var(--accent); color: var(--accent-ink); }
.mobile-cta-bar a.is-primary i { color: var(--accent-ink); }
@media (min-width: 720px) { .mobile-cta-bar { display: none; } }
@media (max-width: 719px) { body { padding-bottom: 60px; } }

/* =====================================================
   24. WP CORE OVERRIDES
   ===================================================== */
.alignleft  { float: left; margin: 0 var(--space-md) var(--space-md) 0; }
.alignright { float: right; margin: 0 0 var(--space-md) var(--space-md); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: var(--text-sm); color: var(--smoke); text-align: center; margin-top: 0.4rem; }
.screen-reader-text { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
