/* ==========================================================================
   Cat site — cream paper, espresso ink, apricot, sage. Fraunces + Inter.
   The words and photos come from cat.js; this file owns the look.
   ========================================================================== */

:root {
  --paper: #f8f2e9;
  --paper-2: #f2e8da;
  --paper-3: #fbf7f1;
  --ink: #231c16;
  --ink-2: #4d4137;
  --ink-3: #6f6053;
  --apricot: #cf7444;
  --apricot-soft: #f0d3bf;
  --sage: #77865f;
  --sage-soft: #e3e9d8;
  --line: rgba(35, 28, 22, 0.14);
  --line-soft: rgba(35, 28, 22, 0.075);
  --shadow-sm: 0 1px 1px rgba(35, 28, 22, 0.04), 0 10px 30px -22px rgba(35, 28, 22, 0.4);
  --shadow-lg: 0 40px 80px -50px rgba(35, 28, 22, 0.55), 0 2px 6px rgba(35, 28, 22, 0.05);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 0.72, 0.28, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(120% 55% at 72% -5%, #fdf3e7 0%, rgba(253, 243, 231, 0) 62%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.16vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--apricot-soft);
  color: var(--ink);
}

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

/* The skip link moves focus here; no ring needed on a whole page region. */
main:focus {
  outline: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  margin: 0;
}

p {
  margin: 0 0 1.15rem;
  text-wrap: pretty;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.paw {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  color: currentColor;
}

/* Paper grain ------------------------------------------------------------ */

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

/* Skip link -------------------------------------------------------------- */

.skip {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}

.skip:focus-visible {
  top: 1rem;
}

/* Layout helpers --------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section__head {
  max-width: 46rem;
}

.section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: end;
  max-width: none;
}

.section__intro {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 26ch;
  margin: 0 0 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.label__num {
  color: var(--apricot);
  font-variant-numeric: tabular-nums;
}

h2 {
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
  text-wrap: balance;
  margin-bottom: 1.35rem;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.45rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -20px rgba(35, 28, 22, 0.85);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--paper-3);
  border-color: var(--ink-3);
}

.btn--light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.count {
  display: inline-grid;
  place-items: center;
  min-width: 1.65rem;
  height: 1.65rem;
  padding-inline: 0.3rem;
  border-radius: 999px;
  background: rgba(248, 242, 233, 0.16);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.btn--ghost .count {
  background: var(--apricot);
  color: #fff;
}

.btn--light .count {
  background: var(--ink);
  color: var(--paper);
}

.count.is-pop {
  animation: pop 0.45s var(--ease);
}

@keyframes pop {
  35% {
    transform: scale(1.28);
  }
  100% {
    transform: scale(1);
  }
}

/* Header ----------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.15rem var(--gutter);
  background: rgba(248, 242, 233, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: padding 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}

.site-head.is-stuck {
  padding-block: 0.72rem;
  border-bottom-color: var(--line-soft);
  background: rgba(248, 242, 233, 0.92);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-optical-sizing: auto;
  line-height: 1;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark__dot {
  color: var(--apricot);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.9rem);
}

.nav__link {
  position: relative;
  padding-block: 0.35rem;
  color: var(--ink-3);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.58rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-3);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--apricot);
  border-color: var(--apricot);
  color: #fff;
  transform: translateY(-1px);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) clamp(3.5rem, 8vw, 7rem);
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.6rem;
  margin: 0 0 1.6rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow__part {
  white-space: nowrap;
}

.eyebrow__part + .eyebrow__part::before {
  content: "·";
  margin-right: 0.55rem;
  color: var(--apricot);
}

.hero__title {
  font-size: clamp(4.2rem, 2rem + 9.4vw, 8.5rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
  margin-left: -0.04em;
  margin-bottom: 1.6rem;
}

.hero__lede {
  max-width: 24ch;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.05rem + 0.85vw, 1.72rem);
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.1rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero__note span {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.55rem;
}

.hero__note span::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--apricot);
}

.hero__art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 27rem;
}

.portrait {
  margin: 0;
  position: relative;
  z-index: 1;
}

.portrait__frame {
  --arch: 16rem;
  padding: clamp(0.6rem, 1.1vw, 0.8rem);
  border: 1px solid var(--line);
  border-radius: var(--arch) var(--arch) 1.4rem 1.4rem;
  background: linear-gradient(178deg, #fffdf9 0%, #f6ecdf 100%);
  box-shadow: var(--shadow-lg);
}

.portrait__frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: calc(var(--arch) - 0.9rem) calc(var(--arch) - 0.9rem) 0.9rem 0.9rem;
}

.portrait figcaption {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding-left: 0.25rem;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

.portrait__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--apricot);
}

.sticker {
  position: absolute;
  z-index: 2;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-3);
  box-shadow: var(--shadow-sm);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-2);
}

.sticker--a {
  top: 13%;
  left: -1.9rem;
  transform: rotate(-7deg);
}

.sticker--b {
  right: -1.2rem;
  bottom: 18%;
  transform: rotate(5deg);
}

/* Marquee ---------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-block: 1px solid rgba(35, 28, 22, 0.2);
}

.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee 44s linear infinite;
}

.marquee:hover .marquee__inner {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
  padding: 1rem clamp(0.7rem, 1.4vw, 1.4rem);
}

.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.4rem);
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.marquee .paw {
  width: 0.72rem;
  height: 0.72rem;
  color: var(--apricot);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

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

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about__copy h2 {
  max-width: 17ch;
}

.about__copy p:not(.label) {
  max-width: 52ch;
  color: var(--ink-2);
}

.about__copy .lead {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink);
}

.card {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-3);
  box-shadow: var(--shadow-sm);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  pointer-events: none;
}

.card__title {
  margin-bottom: 1.2rem;
  font-size: 1.22rem;
  letter-spacing: -0.015em;
}

.stats {
  margin: 0;
}

.stat {
  display: grid;
  grid-template-columns: 7.6rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.66rem 0;
  border-top: 1px solid var(--line-soft);
}

.stat:first-child {
  border-top: 0;
  padding-top: 0;
}

.stat dt {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--ink-3);
}

.stat dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

.card__foot {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.72rem;
  font-style: italic;
  color: var(--ink-3);
}

/* Tastes ----------------------------------------------------------------- */

.tastes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.taste {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(35, 28, 22, 0.1);
  border-radius: 24px;
}

.taste--like {
  background: var(--sage-soft);
}

.taste--no {
  background: #f6dfd1;
}

.taste h3 {
  font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.85rem);
  letter-spacing: -0.02em;
}

.taste__note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  opacity: 0.85;
}

.taste ul {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.taste li {
  display: flex;
  gap: 0.8rem;
  padding: 0.62rem 0;
  border-top: 1px solid rgba(35, 28, 22, 0.12);
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.taste--like li::before,
.taste--no li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.6rem;
  border-radius: 50%;
}

.taste--like li::before {
  background: var(--sage);
}

.taste--no li::before {
  background: var(--apricot);
}

/* Routine ---------------------------------------------------------------- */

.routine {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.routine li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3.5rem);
  padding: clamp(1.15rem, 2vw, 1.6rem) 0;
  border-bottom: 1px solid var(--line);
}

.routine time {
  padding-top: 0.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  color: var(--apricot);
  font-variant-numeric: tabular-nums;
}

.routine h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  letter-spacing: -0.012em;
  transition: transform 0.4s var(--ease);
}

.routine li:hover h3 {
  transform: translateX(5px);
}

.routine p {
  max-width: 56ch;
  margin: 0.2rem 0 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-3);
}

/* Gallery ---------------------------------------------------------------- */

.section--gallery {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.gallery {
  columns: 3;
  column-gap: clamp(0.9rem, 1.8vw, 1.4rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.shot {
  margin: 0 0 clamp(1.5rem, 2.6vw, 2.2rem);
  break-inside: avoid;
}

.shot__media {
  overflow: hidden;
  border-radius: 16px;
  background: var(--paper-2);
}

.shot img {
  width: 100%;
  transition: transform 1.1s var(--ease);
}

.shot:hover img {
  transform: scale(1.035);
}

.shot figcaption {
  padding: 0.7rem 0.2rem 0;
  font-size: 0.76rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}

/* Quote ------------------------------------------------------------------ */

.quote {
  padding: clamp(4rem, 9vw, 7.5rem) var(--gutter);
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  text-align: center;
}

.paw--quote {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0 auto 1.8rem;
  color: var(--apricot);
}

.quote blockquote {
  max-width: 21ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.85rem, 1.1rem + 3.1vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.quote cite {
  display: block;
  margin-top: 1.9rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Treats ----------------------------------------------------------------- */

.treat-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: 28px;
  background: radial-gradient(130% 120% at 50% 0%, #3b2f26 0%, var(--ink) 58%);
  color: var(--paper);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.treat-card::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(248, 242, 233, 0.12);
  border-radius: 22px;
  pointer-events: none;
}

.label--center {
  justify-content: center;
  color: rgba(248, 242, 233, 0.55);
}

.label--center::after {
  display: none;
}

.treat-card h2 {
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 1.1rem;
  color: var(--paper);
}

.treat-card__copy {
  max-width: 46ch;
  margin: 0 auto 2rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(248, 242, 233, 0.66);
}

.treat-card__note {
  margin: 1.4rem 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 242, 233, 0.5);
  transition: color 0.4s var(--ease);
}

.treat-card__note.is-fresh {
  color: var(--apricot-soft);
}

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

.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  max-width: var(--max);
  margin-inline: auto;
  padding: 2.2rem var(--gutter) 2.6rem;
  border-top: 1px solid var(--line);
}

.site-foot p {
  margin: 0;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.foot__brand .paw {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--apricot);
}

.foot__note {
  font-size: 0.76rem;
  color: var(--ink-3);
  text-align: center;
}

.foot__legal {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* Floating paw when a treat is given ------------------------------------- */

.paw-float {
  position: fixed;
  z-index: 120;
  width: 20px;
  height: 20px;
  color: var(--apricot);
  pointer-events: none;
  animation: treat-float 1.5s var(--ease) forwards;
}

@keyframes treat-float {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.5) rotate(-14deg);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -110px) scale(1.15) rotate(16deg);
  }
}

/* Scroll reveal ---------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 980px) {
  .about {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__copy h2 {
    max-width: 20ch;
  }

  .card {
    max-width: 34rem;
  }

  .section__head--split {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    align-items: start;
  }

  .section__intro {
    max-width: 38ch;
    padding-top: 0.9rem;
  }

  .gallery {
    columns: 2;
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 6vw, 3.5rem);
    padding-top: clamp(2rem, 4vw, 3.5rem);
  }

  .hero__art {
    justify-self: center;
    max-width: min(100%, 24rem);
  }

  .hero__title {
    font-size: clamp(4.2rem, 15vw, 7.5rem);
  }
}

@media (max-width: 760px) {
  .nav__link--tastes,
  .nav__link--routine {
    display: none;
  }

  .tastes {
    grid-template-columns: 1fr;
  }

  .routine li {
    grid-template-columns: 5.2rem minmax(0, 1fr);
    gap: 1.1rem;
  }

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

@media (max-width: 560px) {
  .hero__note {
    display: grid;
    gap: 0.3rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
  }

  .nav {
    gap: 0.9rem;
  }

  .nav-cta {
    font-size: 0.62rem;
    padding: 0.5rem 0.75rem;
  }

  .sticker--a {
    left: -0.4rem;
    top: 8%;
  }

  .sticker--b {
    right: -0.3rem;
    bottom: 15%;
  }

  .gallery {
    columns: 1;
  }

  .site-foot {
    justify-content: flex-start;
    gap: 0.5rem 1.5rem;
  }

  .foot__note {
    order: 3;
    text-align: left;
  }
}

@media (max-width: 460px) {
  .nav__link--about {
    display: none;
  }
}

@media (max-width: 400px) {
  .hero__actions {
    gap: 0.6rem;
  }

  .hero__actions .btn {
    padding: 0.85rem 1.15rem;
    font-size: 0.72rem;
  }

  .site-head {
    gap: 1rem;
  }

  .wordmark {
    font-size: 1.24rem;
  }

  .nav {
    gap: 0.55rem;
  }

  .nav-cta {
    padding: 0.45rem 0.65rem;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    gap: 0.2rem 0.5rem;
  }
}

/* Reduced motion --------------------------------------------------------- */

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

  .marquee__inner {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .shot img,
  .routine h3,
  .btn,
  .paw-float {
    transition: none;
    animation: none;
  }
}
