/*
Theme Name: Petchi Pet Care Services
Theme URI: https://petchi.ca/
Author: Canada Create
Author URI: https://canadacreate.com/
Description: A lightweight, Gutenberg-first custom theme for Petchi Pet Care Services in Richmond Hill, Ontario.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.2
Text Domain: petchi
License: Proprietary
*/

:root {
  --petchi-forest: #005447;
  --petchi-pink: #f7c0be;
  --petchi-lime: #e0ec78;
  --petchi-mint: #c2e4b9;
  --petchi-cream: #fffdf2;
  --petchi-ink: #103a33;
  --petchi-white: #ffffff;
  --petchi-border: rgba(0, 84, 71, 0.16);
  --petchi-shadow: 0 1.2rem 3.2rem rgba(0, 56, 47, 0.13);
  --petchi-radius-sm: 0.9rem;
  --petchi-radius: 1.5rem;
  --petchi-radius-lg: 3rem;
  --petchi-container: 76rem;
  --petchi-narrow: 46rem;
  --petchi-font: "Filson Soft", "Arial Rounded MT Bold", "Avenir Next", "Trebuchet MS", sans-serif;
  --petchi-body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --petchi-space-1: 0.5rem;
  --petchi-space-2: 0.875rem;
  --petchi-space-3: 1.25rem;
  --petchi-space-4: 2rem;
  --petchi-space-5: 3.5rem;
  --petchi-space-6: 5.5rem;
  --petchi-space-7: 8rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--petchi-cream);
  color: var(--petchi-ink);
  font-family: var(--petchi-body);
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--petchi-forest);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button,
.wp-element-button,
.wp-block-button__link {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--petchi-font);
  font-weight: 700;
}

:focus-visible {
  outline: 0.2rem solid var(--petchi-pink);
  outline-offset: 0.22rem;
}

::selection {
  background: var(--petchi-lime);
  color: var(--petchi-forest);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--petchi-white);
  clip: auto !important;
  clip-path: none;
  color: var(--petchi-forest);
  display: block;
  font-weight: 700;
  height: auto;
  left: 1rem;
  padding: 1rem 1.25rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

.petchi-container {
  margin-inline: auto;
  max-width: var(--petchi-container);
  padding-inline: clamp(1.2rem, 4vw, 3rem);
  width: 100%;
}

.petchi-narrow {
  margin-inline: auto;
  max-width: var(--petchi-narrow);
}

.petchi-section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  position: relative;
}

.petchi-section > * {
  position: relative;
  z-index: 1;
}

.petchi-eyebrow {
  align-items: center;
  display: inline-flex;
  font-family: var(--petchi-font);
  font-size: 0.76rem;
  font-weight: 700;
  gap: 0.55rem;
  letter-spacing: 0.13em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.petchi-eyebrow::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 0.5rem;
  width: 0.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--petchi-forest);
  font-family: var(--petchi-font);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 1.1rem;
}

h1 {
  font-size: clamp(3.25rem, 8vw, 7.6rem);
}

h2 {
  font-size: clamp(2.5rem, 5.2vw, 5rem);
}

h3 {
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
}

p {
  margin: 0 0 1.35rem;
}

.petchi-lede {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.55;
  max-width: 38rem;
}

.petchi-button,
.wp-block-button__link {
  align-items: center;
  background: var(--petchi-lime);
  color: var(--petchi-forest);
  display: inline-flex;
  font-family: var(--petchi-font);
  font-weight: 700;
  gap: 0.7rem;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.petchi-button::after {
  content: "→";
  font-size: 1.25em;
  line-height: 1;
}

.petchi-button:hover,
.wp-block-button__link:hover {
  box-shadow: 0 0.8rem 1.8rem rgba(0, 35, 29, 0.18);
  transform: translateY(-2px);
}

.petchi-button--forest {
  background: var(--petchi-forest);
  color: var(--petchi-white);
}

.petchi-button--pink {
  background: var(--petchi-pink);
  color: var(--petchi-forest);
}

.petchi-button--outline {
  background: transparent;
  border: 1px solid currentColor;
  box-shadow: none;
  color: inherit;
}

.petchi-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.petchi-announcement {
  background: var(--petchi-pink);
  color: var(--petchi-forest);
  font-family: var(--petchi-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  padding: 0.62rem 1rem;
  text-align: center;
}

.site-header {
  background: var(--petchi-forest);
  color: var(--petchi-white);
  position: relative;
  z-index: 50;
}

.site-header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 6.2rem;
}

.site-branding {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}

.site-branding img,
.custom-logo {
  height: 5.2rem;
  object-fit: contain;
  width: 5.2rem;
}

.site-title-text {
  color: var(--petchi-lime);
  font-family: var(--petchi-font);
  font-size: 1.55rem;
  font-weight: 700;
}

.site-navigation {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.site-navigation ul {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 2vw, 1.8rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-navigation a {
  color: var(--petchi-white);
  font-family: var(--petchi-font);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-navigation a:hover {
  color: var(--petchi-lime);
}

.site-navigation .menu-item-has-children {
  position: relative;
}

.site-navigation .sub-menu {
  align-items: stretch;
  background: var(--petchi-white);
  border-radius: var(--petchi-radius-sm);
  box-shadow: var(--petchi-shadow);
  display: none;
  flex-direction: column;
  gap: 0;
  left: -1rem;
  min-width: 14rem;
  padding: 0.6rem;
  position: absolute;
  top: 100%;
}

.site-navigation .sub-menu a {
  border-radius: 0.6rem;
  color: var(--petchi-forest);
  display: block;
  padding: 0.7rem 0.8rem;
}

.site-navigation .sub-menu a:hover {
  background: var(--petchi-mint);
}

.site-navigation .menu-item-has-children:hover > .sub-menu,
.site-navigation .menu-item-has-children:focus-within > .sub-menu {
  display: flex;
}

.header-cta {
  white-space: nowrap;
}

.menu-toggle {
  align-items: center;
  background: var(--petchi-lime);
  color: var(--petchi-forest);
  display: none;
  height: 3.2rem;
  justify-content: center;
  padding: 0;
  width: 3.2rem;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  transition: transform 180ms ease;
  width: 1.3rem;
}

.menu-toggle__lines {
  position: relative;
}

.menu-toggle__lines::before {
  left: 0;
  position: absolute;
  top: -0.42rem;
}

.menu-toggle__lines::after {
  bottom: -0.42rem;
  left: 0;
  position: absolute;
}

.petchi-hero {
  background: var(--petchi-forest);
  color: var(--petchi-white);
  min-height: clamp(44rem, 82vh, 58rem);
  overflow: hidden;
  position: relative;
}

.petchi-hero::before {
  background: url("assets/images/petchi-logo-lime.png") center / contain no-repeat;
  content: "";
  height: min(54vw, 46rem);
  left: -8rem;
  opacity: 0.045;
  pointer-events: none;
  position: absolute;
  top: 4rem;
  width: min(54vw, 46rem);
}

.petchi-hero__grid {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(22rem, 0.97fr);
  min-height: inherit;
}

.petchi-hero__content {
  align-self: center;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.3rem, 6vw, 6.5rem);
  position: relative;
  z-index: 2;
}

.petchi-hero .petchi-eyebrow {
  color: var(--petchi-pink);
}

.petchi-hero h1 {
  color: var(--petchi-lime);
  max-width: 10ch;
}

.petchi-hero__copy {
  color: var(--petchi-white);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  max-width: 34rem;
}

.petchi-hero__media {
  min-height: 36rem;
  overflow: hidden;
  position: relative;
}

.petchi-hero__media::before {
  background: var(--petchi-pink);
  border-radius: 0 0 0 48%;
  content: "";
  inset: 0;
  position: absolute;
}

.petchi-hero__media img {
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  position: absolute;
  width: 100%;
}

.petchi-address-pill {
  align-items: center;
  backdrop-filter: blur(0.6rem);
  background: rgba(0, 84, 71, 0.9);
  border: 1px solid rgba(224, 236, 120, 0.45);
  border-radius: 999px;
  bottom: 2rem;
  color: var(--petchi-white);
  display: flex;
  font-family: var(--petchi-font);
  font-size: 0.88rem;
  font-weight: 700;
  gap: 0.6rem;
  left: 2rem;
  max-width: calc(100% - 4rem);
  padding: 0.8rem 1.1rem;
  position: absolute;
}

.petchi-address-pill::before {
  background: var(--petchi-pink);
  border-radius: 50% 50% 50% 0;
  content: "";
  height: 0.8rem;
  transform: rotate(-45deg);
  width: 0.8rem;
}

.petchi-intro {
  background: var(--petchi-cream);
  overflow: hidden;
}

.petchi-intro::after {
  background: var(--petchi-mint);
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  height: 23rem;
  position: absolute;
  right: -11rem;
  top: -10rem;
  width: 23rem;
}

.petchi-section-head {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.petchi-section-head h2 {
  max-width: 12ch;
}

.petchi-section-head p {
  max-width: 34rem;
}

.petchi-service-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, 1fr);
}

.petchi-service-card {
  border-radius: var(--petchi-radius-lg);
  color: var(--petchi-forest);
  min-height: 25rem;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.2rem);
  position: relative;
}

.petchi-service-card::after {
  border: 2px solid currentColor;
  border-radius: 50%;
  bottom: -4.5rem;
  content: "";
  height: 11rem;
  opacity: 0.22;
  position: absolute;
  right: -3rem;
  width: 11rem;
}

.petchi-service-card--lime {
  background: var(--petchi-lime);
}

.petchi-service-card--pink {
  background: var(--petchi-pink);
}

.petchi-service-card--mint {
  background: var(--petchi-mint);
}

.petchi-service-card__number {
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--petchi-font);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 5rem;
  padding: 0.4rem 0.7rem;
}

.petchi-service-card h3 {
  color: inherit;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  max-width: 8ch;
}

.petchi-service-card p {
  max-width: 24rem;
}

.petchi-split {
  align-items: stretch;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.petchi-split__media {
  min-height: clamp(30rem, 56vw, 48rem);
  overflow: hidden;
  position: relative;
}

.petchi-split__media img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.petchi-split__content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem);
}

.petchi-split__content h2 {
  max-width: 10ch;
}

.petchi-split--forest .petchi-split__content {
  background: var(--petchi-forest);
  color: var(--petchi-white);
}

.petchi-split--forest .petchi-split__content h2 {
  color: var(--petchi-lime);
}

.petchi-split--forest .petchi-eyebrow {
  color: var(--petchi-pink);
}

.petchi-split--pink .petchi-split__content {
  background: var(--petchi-pink);
}

.petchi-points {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 1.4rem 0 2rem;
  padding: 0;
}

.petchi-points li {
  align-items: start;
  display: flex;
  gap: 0.8rem;
}

.petchi-points li::before {
  background: var(--petchi-lime);
  border: 0.25rem solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 1.05rem;
  margin-top: 0.3rem;
  width: 1.05rem;
}

.petchi-brand-gallery {
  background: var(--petchi-lime);
  overflow: hidden;
}

.petchi-brand-gallery__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.petchi-brand-gallery__feature,
.petchi-brand-gallery__stack figure {
  border-radius: var(--petchi-radius-lg);
  margin: 0;
  overflow: hidden;
}

.petchi-brand-gallery__feature img,
.petchi-brand-gallery__stack img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.petchi-brand-gallery__stack {
  display: grid;
  gap: 1.25rem;
  grid-template-rows: 1fr 1fr;
}

.petchi-location {
  background: var(--petchi-cream);
}

.petchi-location-card {
  background: var(--petchi-forest);
  border-radius: min(7vw, 5rem);
  color: var(--petchi-white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.75fr);
  overflow: hidden;
}

.petchi-location-card__content {
  padding: clamp(3rem, 7vw, 7rem);
}

.petchi-location-card h2 {
  color: var(--petchi-lime);
  max-width: 10ch;
}

.petchi-location-card address {
  color: var(--petchi-white);
  font-family: var(--petchi-font);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.petchi-location-card__media {
  background: var(--petchi-pink);
  min-height: 34rem;
  position: relative;
}

.petchi-location-card__media img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.petchi-final-cta {
  background: var(--petchi-pink);
  overflow: hidden;
  text-align: center;
}

.petchi-final-cta::before,
.petchi-final-cta::after {
  border: 2px solid var(--petchi-forest);
  border-radius: 50%;
  content: "";
  height: 18rem;
  opacity: 0.16;
  position: absolute;
  width: 18rem;
}

.petchi-final-cta::before {
  left: -8rem;
  top: -9rem;
}

.petchi-final-cta::after {
  bottom: -9rem;
  right: -8rem;
}

.petchi-final-cta h2 {
  margin-inline: auto;
  max-width: 13ch;
}

.petchi-final-cta p {
  margin-inline: auto;
  max-width: 37rem;
}

.petchi-final-cta .petchi-actions {
  justify-content: center;
}

.site-main--standard {
  min-height: 55vh;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.entry-header,
.archive-header,
.search-header {
  margin-bottom: 3rem;
}

.entry-title {
  max-width: 15ch;
}

.entry-content,
.entry-summary {
  max-width: var(--petchi-narrow);
}

.entry-content > * {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--petchi-narrow);
}

.entry-content > .alignwide {
  max-width: var(--petchi-container);
}

.entry-content > .alignfull {
  max-width: none;
}

.entry-content img {
  border-radius: var(--petchi-radius);
}

.petchi-post-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.petchi-post-card {
  background: var(--petchi-white);
  border: 1px solid var(--petchi-border);
  border-radius: var(--petchi-radius);
  overflow: hidden;
}

.petchi-post-card__image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.petchi-post-card__content {
  padding: 1.6rem;
}

.petchi-post-card h2 {
  font-size: 1.65rem;
}

.petchi-post-card h2 a {
  text-decoration: none;
}

.post-meta {
  color: rgba(16, 58, 51, 0.7);
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}

.pagination {
  margin-top: 3rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-numbers {
  align-items: center;
  border: 1px solid var(--petchi-border);
  border-radius: 999px;
  display: inline-flex;
  height: 2.8rem;
  justify-content: center;
  min-width: 2.8rem;
  padding-inline: 0.8rem;
  text-decoration: none;
}

.page-numbers.current {
  background: var(--petchi-forest);
  color: var(--petchi-white);
}

.search-form {
  display: flex;
  gap: 0.6rem;
  max-width: 36rem;
}

.search-field,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  background: var(--petchi-white);
  border: 1px solid rgba(0, 84, 71, 0.35);
  border-radius: var(--petchi-radius-sm);
  color: var(--petchi-ink);
  min-height: 3.2rem;
  padding: 0.75rem 0.9rem;
  width: 100%;
}

.search-submit,
input[type="submit"] {
  background: var(--petchi-forest);
  color: var(--petchi-white);
  min-height: 3.2rem;
  padding: 0.7rem 1.2rem;
}

.comments-area {
  border-top: 1px solid var(--petchi-border);
  margin-top: 4rem;
  max-width: var(--petchi-narrow);
  padding-top: 2rem;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-body {
  background: var(--petchi-white);
  border-radius: var(--petchi-radius);
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.site-footer {
  background: var(--petchi-forest);
  color: var(--petchi-white);
  padding-top: clamp(4rem, 8vw, 7rem);
}

.site-footer__grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(15rem, 1.2fr) repeat(2, minmax(10rem, 0.55fr));
}

.site-footer__brand img {
  height: 8rem;
  margin-bottom: 1.5rem;
  width: 8rem;
}

.site-footer__brand p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 24rem;
}

.site-footer h2 {
  color: var(--petchi-pink);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.7rem;
}

.site-footer a {
  color: var(--petchi-white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--petchi-lime);
}

.site-footer address {
  font-style: normal;
}

.site-footer__bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  display: flex;
  font-size: 0.85rem;
  justify-content: space-between;
  margin-top: 4rem;
  padding-block: 1.5rem;
}

.site-footer__bottom p {
  margin: 0;
}

.petchi-404 {
  text-align: center;
}

.petchi-404__mark {
  color: var(--petchi-pink);
  font-family: var(--petchi-font);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.85;
}

@media (max-width: 64rem) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-navigation {
    align-items: stretch;
    background: var(--petchi-forest);
    display: none;
    flex-direction: column;
    inset: 6.2rem 0 auto;
    min-height: calc(100vh - 6.2rem);
    overflow-y: auto;
    padding: 2rem clamp(1.2rem, 4vw, 3rem);
    position: absolute;
  }

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

  .site-navigation ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-navigation a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
    font-size: 1.2rem;
    padding: 1rem 0;
  }

  .site-navigation .sub-menu {
    background: transparent;
    box-shadow: none;
    display: flex;
    padding: 0 0 0 1rem;
    position: static;
  }

  .site-navigation .sub-menu a {
    color: var(--petchi-white);
  }

  .header-cta {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
  }

  .petchi-service-grid,
  .petchi-post-grid {
    grid-template-columns: 1fr;
  }

  .petchi-service-card {
    min-height: 20rem;
  }

  .petchi-service-card__number {
    margin-bottom: 3rem;
  }

  .petchi-location-card {
    grid-template-columns: 1fr;
  }

  .petchi-location-card__media {
    min-height: 28rem;
  }
}

@media (max-width: 48rem) {
  :root {
    --petchi-radius-lg: 2rem;
  }

  .site-header__inner {
    min-height: 5.4rem;
  }

  .site-branding img,
  .custom-logo {
    height: 4.4rem;
    width: 4.4rem;
  }

  .site-navigation {
    inset-block-start: 5.4rem;
    min-height: calc(100vh - 5.4rem);
  }

  .petchi-hero__grid,
  .petchi-split {
    grid-template-columns: 1fr;
  }

  .petchi-hero__content {
    padding-block: 4.5rem;
  }

  .petchi-hero__media {
    min-height: 31rem;
  }

  .petchi-hero__media::before {
    border-radius: 0;
  }

  .petchi-address-pill {
    bottom: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
  }

  .petchi-section-head {
    align-items: start;
    flex-direction: column;
  }

  .petchi-split__media {
    min-height: 27rem;
  }

  .petchi-split__content {
    padding: 4rem clamp(1.2rem, 6vw, 3rem);
  }

  .petchi-brand-gallery__grid {
    grid-template-columns: 1fr;
  }

  .petchi-brand-gallery__feature {
    aspect-ratio: 4 / 3;
  }

  .petchi-brand-gallery__stack {
    grid-template-rows: auto;
  }

  .petchi-brand-gallery__stack figure {
    aspect-ratio: 4 / 3;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .search-form {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .petchi-announcement,
  .site-header,
  .site-footer,
  .petchi-actions {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
