:root {
  --bg: #F5F2EF;        /* warm off-white — main page background */
  --bg-soft: #EAE0DB;   /* deeper warm neutral — alternating section backgrounds */
  --wine: #7E2231;      /* deep burgundy — headings accents, buttons, links, active filter pill */
  --mauve: #B0687A;     /* muted dusty rose — small tags, captions, hover tints; use sparingly */
  --glow: #802a00;      /* warm rust — atmospheric gradient blobs */
  --ink: #2B2226;       /* warm near-black — all body text; never pure #000 */
  --glass: rgba(255, 255, 255, 0.32);  /* translucent white — glass surfaces only */
  --shadow: 0 8px 32px rgba(43, 34, 38, 0.10);
  --radius: 20px;
  --pill: 999px;
  --nav-h: 76px;
  --space: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

main {
  position: relative;
  isolation: isolate;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.hero-photo img,
.about-photo img,
.location-card img,
.pet-card img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

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

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

.location-card img {
  aspect-ratio: 4 / 3;
}

.pet-card img {
  aspect-ratio: 1 / 1;
}

.work-card video,
.work-card img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.work-card video {
  aspect-ratio: 9 / 16;
}

.work-card img {
  aspect-ratio: 3 / 4;
  object-position: center 30%;
  border-radius: var(--radius);
}

.work-card .img-placeholder {
  box-shadow: var(--shadow);
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 500;
  margin-bottom: 0.25em;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 12em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.2em;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 1em;
}

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

a {
  color: var(--wine);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  position: relative;
  padding: 72px 0;
  overflow: visible;
  text-align: left;
  background: transparent;
}

.hero {
  text-align: left;
}

.section-intro {
  max-width: 65ch;
  margin-top: 0;
  margin-bottom: 2rem;
  color: var(--ink);
}

/* ----- Glass ----- */

.glass {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(43, 34, 38, 0.10),
              inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.glass:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.site-header.glass {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.site-header.glass:hover {
  filter: none;
  transform: none;
}

.btn-primary.glass {
  background: rgba(126, 34, 49, 0.72);
  color: #fff;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 32px rgba(43, 34, 38, 0.10),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: var(--bg-soft);
  }

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

/* ----- Sticky nav ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-h);
  position: relative;
}

.nav-logo {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-links:hover {
  filter: none;
  transform: none;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--wine);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--pill);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: var(--pill);
}

/* ----- Page atmosphere ----- */

.page-atmosphere {
  position: absolute;
  top: 100vh;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob-page-1 {
  width: 680px;
  height: 680px;
  background: var(--wine);
  top: 4%;
  left: -160px;
  opacity: 0.16;
  filter: blur(90px);
}

.blob-page-2 {
  width: 620px;
  height: 620px;
  background: var(--glow);
  top: 10%;
  right: -180px;
  opacity: 0.22;
  filter: blur(80px);
}

.blob-page-3 {
  width: 560px;
  height: 560px;
  background: var(--glow);
  top: 32%;
  left: -120px;
  opacity: 0.2;
  filter: blur(85px);
}

.blob-page-4 {
  width: 700px;
  height: 700px;
  background: var(--wine);
  top: 48%;
  right: -200px;
  opacity: 0.15;
  filter: blur(90px);
}

.blob-page-5 {
  width: 600px;
  height: 600px;
  background: var(--glow);
  top: 68%;
  left: 20%;
  opacity: 0.2;
  filter: blur(80px);
}

.blob-page-6 {
  width: 640px;
  height: 640px;
  background: var(--wine);
  top: 86%;
  right: -80px;
  opacity: 0.16;
  filter: blur(90px);
}

.hero,
.section,
.site-footer {
  position: relative;
  z-index: auto;
}

.container {
  position: relative;
  z-index: 1;
}

.blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: var(--pill);
  filter: blur(80px);
  pointer-events: none;
}

.blob-a {
  width: 640px;
  height: 640px;
  background: var(--wine);
  top: -160px;
  left: -120px;
  opacity: 0.17;
  filter: blur(90px);
}

.blob-b {
  width: 560px;
  height: 560px;
  background: var(--glow);
  top: 40px;
  right: -140px;
  opacity: 0.22;
  filter: blur(80px);
}

.blob-c {
  width: 480px;
  height: 480px;
  background: var(--wine);
  bottom: -100px;
  left: 28%;
  opacity: 0.15;
  filter: blur(70px);
}

.blob-d {
  width: 620px;
  height: 620px;
  background: var(--wine);
  top: -80px;
  right: -120px;
  opacity: 0.16;
  filter: blur(90px);
}

.blob-e {
  width: 520px;
  height: 520px;
  background: var(--glow);
  top: 20px;
  left: -80px;
  opacity: 0.22;
  filter: blur(80px);
}

.blob-h {
  width: 440px;
  height: 440px;
  background: var(--glow);
  top: 180px;
  left: 38%;
  opacity: 0.18;
  filter: blur(70px);
}

.blob-f {
  width: 580px;
  height: 580px;
  background: var(--glow);
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.24;
  filter: blur(80px);
}

.blob-g {
  width: 480px;
  height: 480px;
  background: var(--wine);
  bottom: -90px;
  right: -40px;
  opacity: 0.16;
  filter: blur(70px);
}

.blob-i {
  width: 420px;
  height: 420px;
  background: var(--wine);
  top: 80px;
  left: -60px;
  opacity: 0.15;
  filter: blur(60px);
}

/* ----- Buttons & pills ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  color: var(--ink);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.filter-pill {
  border-radius: var(--pill);
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.filter-pill.is-active {
  background: rgba(126, 34, 49, 0.85);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.pill-tag,
.tag-pill,
.caption-pill {
  display: inline-flex;
  align-items: center;
  border-radius: var(--pill);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--mauve) 22%, var(--bg));
  color: var(--ink);
}

.pill-tag {
  margin-bottom: 18px;
}

/* ----- Placeholders ----- */

.img-placeholder,
.video-placeholder {
  background: linear-gradient(145deg, #EDE3DE, #E3D3CF);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 20px;
  width: 100%;
  box-shadow: var(--shadow);
}

.img-placeholder--portrait {
  aspect-ratio: 3 / 4;
}

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

.img-placeholder--landscape {
  aspect-ratio: 4 / 3;
}

.img-placeholder--square {
  aspect-ratio: 1 / 1;
}

.video-placeholder {
  aspect-ratio: 9 / 16;
  flex-direction: column;
  position: relative;
  padding: 24px 16px 72px;
}

.placeholder-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.play-btn::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--wine);
}

/* ----- Hero ----- */

.hero {
  position: relative;
  z-index: 1;
  min-height: 88vh;
  padding: 110px 0 64px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-color: var(--bg);
  background-image:
    radial-gradient(
      ellipse 640px 720px at 4% 88%,
      rgba(245, 242, 239, 0.94) 0%,
      rgba(245, 242, 239, 0.82) 26%,
      rgba(245, 242, 239, 0.5) 48%,
      rgba(245, 242, 239, 0.16) 68%,
      transparent 82%
    ),
    url("../assets/images/hero.jpg");
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(680px, 54vw);
  height: 72%;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  mask-image: radial-gradient(ellipse 100% 100% at 8% 78%, #000 28%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 8% 78%, #000 28%, transparent 74%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    color-mix(in srgb, var(--bg) 28%, transparent) 40%,
    color-mix(in srgb, var(--bg) 72%, transparent) 72%,
    var(--bg) 100%
  );
}

.hero-inner,
.lifestyle-grid,
.pets-grid,
.work-grid,
#work > .container,
#where-i-live > .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: block;
  width: 100%;
}

.hero-copy {
  max-width: 36rem;
}

.hero-intro {
  font-size: 0.98rem;
  max-width: 42ch;
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ----- Intro video band ----- */

.video-band {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink);
}

.video-band-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* ----- About ----- */

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.lifestyle-card {
  margin: 0;
}

.lifestyle-media {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.lifestyle-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.lifestyle-card .img-placeholder {
  box-shadow: var(--shadow);
}

.lifestyle-card figcaption {
  margin-top: 12px;
  text-align: center;
}

/* ----- Service types ----- */

.service-types-head {
  margin-bottom: 28px;
}

.service-types-note {
  max-width: none;
  margin-bottom: 0;
}

.service-types-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-types-card {
  border: 1.5px solid color-mix(in srgb, var(--wine) 30%, var(--bg));
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  background: transparent;
}

.service-types-card h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 500;
  margin-bottom: 14px;
}

.service-types-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-types-card li {
  padding: 5px 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

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

.service-types-more {
  margin: 12px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.why-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
}

.why-photos img {
  width: 100%;
  min-width: 0;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 12px;
  box-shadow: none;
}

.workflow-tracks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  width: 100%;
}

.workflow-track h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin-bottom: 0.2em;
}

.workflow-pace {
  margin: 0 0 20px;
  color: var(--ink);
}

.workflow-delivery {
  margin: 22px 0 0;
}

.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid color-mix(in srgb, var(--mauve) 55%, var(--bg));
}

.workflow-steps li {
  position: relative;
  isolation: isolate;
  padding: 0 0 22px 22px;
}

.workflow-steps li:last-child {
  padding-bottom: 0;
}

.workflow-steps li::after {
  content: "";
  position: absolute;
  left: -29px;
  top: calc(0.4em - 22px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(
    circle 28px at center,
    rgba(246, 230, 245, 0) 0 7px,
    rgba(246, 230, 245, 1) 8px,
    rgba(246, 230, 245, 0.55) 14px,
    rgba(246, 230, 245, 0.18) 20px,
    rgba(246, 230, 245, 0) 28px
  );
  pointer-events: none;
  z-index: 0;
  animation: workflow-halo 2.6s ease-in-out infinite;
}

.workflow-steps li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.4em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mauve);
  z-index: 1;
}

@keyframes workflow-halo {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.workflow-steps h4 {
  font-size: 1.05rem;
  margin: 0 0 0.2em;
}

.workflow-steps p {
  margin: 0;
  color: var(--ink);
}

/* ----- Pets ----- */

.pets-intro {
  margin-bottom: 40px;
}

.pets-intro h4 {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin: 0 0 0.2em;
}

.pets-intro .section-intro {
  margin-bottom: 1.5rem;
}

.pets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.pet-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.pet-card .pet-name {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 40px 0 20px;
  text-align: center;
}

.pet-card p {
  color: color-mix(in srgb, var(--ink) 82%, var(--bg));
}

/* ----- Work ----- */

#work .section-intro {
  margin-bottom: 2.5rem;
}

.work-category {
  margin-top: 56px;
}

.work-category:first-of-type {
  margin-top: 8px;
}

.work-category-header {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 16px;
}

.work-category-header h3 {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 0.65em;
}

.work-category-header h3::after {
  content: none;
}

.work-category-intro {
  max-width: 55ch;
  margin: 0;
  color: var(--ink);
}

.work-category-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: color-mix(in srgb, var(--wine) 28%, var(--bg));
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 22px;
}

.work-card {
  min-width: 0;
}

.work-meta {
  margin-top: 12px;
  text-align: center;
}

.work-brand {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  color: var(--ink);
  text-align: center;
}

.work-title {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin-top: 8px;
  text-align: center;
}

/* ----- Home photo carousels ----- */

.home-grid {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-card .work-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  text-align: center;
  margin: 12px 0 0;
}

.carousel-stage {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y;
  cursor: grab;
}

.carousel-viewport.is-dragging {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.carousel-slide img,
.carousel-slide .img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  z-index: 2;
}

.carousel-btn.glass:hover {
  transform: translateY(calc(-50% - 2px));
}

.carousel-btn::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 0;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.carousel-btn--prev {
  left: 8px;
}

.carousel-btn--prev::before {
  transform: rotate(135deg) translate(-0.5px, -0.5px);
}

.carousel-btn--next {
  right: 8px;
}

.carousel-btn--next::before {
  transform: rotate(-45deg) translate(0.5px, 0.5px);
}

.home-card.is-single .carousel-btn {
  display: none;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}

/* ----- Contact ----- */

.section--contact {
  padding: 48px 0 32px;
  text-align: center;
}

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-inner h2 {
  margin-bottom: 1.25rem;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.contact-icon:hover {
  color: var(--wine);
}

/* ----- Footer ----- */

.site-footer {
  padding: 16px 0 24px;
  text-align: center;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, var(--bg));
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--ink) 72%, var(--bg));
}

/* ----- Fade-up ----- */

.fade-up {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up,
  .fade-up.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .glass,
  .glass:hover {
    transform: none;
    transition: none;
  }

  .workflow-steps li::before,
  .workflow-steps li::after {
    animation: none;
  }
}

/* ----- Responsive ----- */

@media (min-width: 768px) {
  .work-category {
    margin-top: 80px;
  }

  .section {
    padding: 88px 0;
  }

  .hero {
    padding: 120px 0 72px;
  }

  .pets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }

  .lifestyle-grid {
    gap: 22px;
  }

  .why-photos {
    gap: 22px;
    margin-bottom: 44px;
  }

  .workflow-tracks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 48px;
  }
}

@media (min-width: 900px) {
  .lifestyle-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .work-grid {
    max-width: none;
  }

  .home-grid {
    max-width: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 859px) {
  .hero {
    min-height: 92vh;
    background-image:
      radial-gradient(
        ellipse 480px 560px at 0% 86%,
        rgba(245, 242, 239, 0.94) 0%,
        rgba(245, 242, 239, 0.72) 34%,
        rgba(245, 242, 239, 0.22) 60%,
        transparent 78%
      ),
      url("../assets/images/hero.jpg");
    background-position: center 12%;
  }

  .hero::before {
    width: min(100%, 440px);
    height: 68%;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(43, 34, 38, 0.10),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }

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

  .nav-links a {
    display: block;
    padding: 12px 16px;
  }

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

@media (max-width: 640px) {
  .service-types-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  .service-types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-types-card--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

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

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

  .nav-logo {
    white-space: normal;
    line-height: 1.3;
  }
}
