/* ============================================================
   Maine Coon Cafe — Site styles
   Premium, minimal, vintage-cosy. Built on tokens.css.
   ============================================================ */

@import url("./tokens.css");

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg1);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(rgba(49,47,44,0.6) 1px, transparent 1px),
    radial-gradient(rgba(49,47,44,0.3) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

/* ---------- container ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.container-wide   { max-width: 1480px; margin: 0 auto; padding: 0 32px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 360ms cubic-bezier(.2,.7,.2,1),
              backdrop-filter 360ms cubic-bezier(.2,.7,.2,1),
              border-color 360ms cubic-bezier(.2,.7,.2,1),
              padding 360ms cubic-bezier(.2,.7,.2,1);
  border-bottom: 1px solid transparent;
  padding: 22px 0;
}
.nav--scrolled {
  background: rgba(242, 232, 214, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav--hero-light { /* default state on transparent hero */ }
.nav--hero-light:not(.nav--scrolled) .nav__link,
.nav--hero-light:not(.nav--scrolled) .nav__brand-text { color: var(--bg); }
.nav--hero-light:not(.nav--scrolled) .nav__menu-btn span { background: var(--bg); }

.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.nav__brand img {
  height: 54px;
  width: auto;
  transition: height 360ms cubic-bezier(.2,.7,.2,1);
}
.nav--scrolled .nav__brand img { height: 40px; }

.nav__brand-text {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg1);
  line-height: 1;
}
.nav__brand-text small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.22em;
  margin-top: 4px;
  opacity: 0.6;
  font-family: var(--font-display);
}

.nav__menu {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav__link {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg1);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 150ms cubic-bezier(.2,.7,.2,1);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 220ms cubic-bezier(.2,.7,.2,1), left 220ms cubic-bezier(.2,.7,.2,1);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  width: 100%;
  left: 0;
}

.nav__menu-btn {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav__menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--fg1);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), opacity 150ms;
}
.nav__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 220ms cubic-bezier(.2,.7,.2,1);
  line-height: 1;
  white-space: nowrap;
}
.btn--primary {
  background: var(--mcc-burgundy);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--mcc-brick);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(74,19,33,0.5);
}
.btn--gold {
  background: var(--mcc-gold-300);
  color: var(--mcc-espresso);
  border-color: var(--mcc-gold-400);
}
.btn--gold:hover {
  background: var(--mcc-gold-200);
}
.btn--ghost {
  background: transparent;
  color: var(--fg1);
  border-color: currentColor;
}
.btn--ghost:hover {
  background: var(--mcc-espresso);
  color: var(--bg);
}
.btn--on-dark {
  background: var(--bg);
  color: var(--mcc-espresso);
}
.btn--on-dark:hover {
  background: var(--mcc-gold-200);
}
.btn--lg { padding: 18px 36px; font-size: 13px; }
.btn--sm { padding: 10px 18px; font-size: 11px; }

.btn--outline-gold {
  background: transparent;
  color: var(--mcc-gold-300);
  border-color: var(--mcc-gold-300);
}
.btn--outline-gold:hover {
  background: var(--mcc-gold-300);
  color: var(--mcc-espresso);
}

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mcc-gold-600);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--centered {
  justify-content: center;
}
.eyebrow--centered::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.02;
  color: var(--fg1);
  margin: 0;
  font-weight: 400;
}
.display--xl { font-size: clamp(48px, 8vw, 112px); }
.display--lg { font-size: clamp(40px, 6vw, 76px); }
.display--md { font-size: clamp(32px, 4.5vw, 56px); }
.display--sm { font-size: clamp(24px, 3vw, 36px); }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--mcc-gold-300);
}

.lede {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  font-style: italic;
  color: var(--fg2);
}

.body-md { font-size: var(--fs-lg); line-height: 1.7; color: var(--fg2); }
.body-sm { font-size: var(--fs-md); line-height: 1.65; color: var(--fg2); }

/* ---------- decorative divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--mcc-gold-400);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.divider__mark {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  position: relative;
}
.divider__mark::before, .divider__mark::after {
  content: "";
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px;
  border-radius: 999px;
  background: currentColor;
}
.divider__mark::before { left: -16px; }
.divider__mark::after { right: -16px; }

/* ---------- sections ---------- */
.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }
.section--dark {
  background: var(--mcc-espresso);
  color: var(--fg-inverse);
}
.section--dark .display,
.section--dark .body-md,
.section--dark .lede { color: var(--bg); }
.section--dark .body-md,
.section--dark .lede { color: rgba(242,232,214,0.78); }
.section--dark .eyebrow { color: var(--mcc-gold-300); }

.section--sand {
  background: var(--mcc-cream-2);
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1),
              transform 900ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--left  { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--left.is-visible,
.reveal--right.is-visible { transform: translateX(0); }
.reveal--scale { transform: scale(0.92); }
.reveal--scale.is-visible { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero (full-screen video) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  isolation: isolate;
}
.hero__media,
.hero__media video,
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(49,47,44,0.55) 0%, rgba(49,47,44,0.35) 40%, rgba(49,47,44,0.75) 100%),
    radial-gradient(ellipse at center, rgba(49,47,44,0) 0%, rgba(49,47,44,0.4) 80%);
}
.hero__content {
  text-align: center;
  padding: 120px 32px 96px;
  max-width: 1100px;
  position: relative;
}
.hero__logo {
  height: clamp(110px, 14vw, 180px);
  width: auto;
  margin: 0 auto 36px;
  display: block;
  opacity: 0;
  animation: heroFade 1200ms cubic-bezier(.2,.7,.2,1) 200ms forwards;
}
.hero__eyebrow {
  color: var(--mcc-gold-200);
  margin-bottom: 28px;
  justify-content: center;
  opacity: 0;
  animation: heroFade 900ms cubic-bezier(.2,.7,.2,1) 600ms forwards;
}
.hero__eyebrow::before { background: var(--mcc-gold-200); }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.02;
  color: var(--bg);
  margin: 0 0 28px;
  opacity: 0;
  animation: heroFade 1200ms cubic-bezier(.2,.7,.2,1) 800ms forwards;
}
.hero__title em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.15em;
  color: var(--mcc-gold-200);
  letter-spacing: 0;
  text-transform: none;
  display: inline-block;
  transform: translateY(0.1em);
  font-weight: 400;
}
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
  font-style: italic;
  color: rgba(242,232,214,0.92);
  max-width: 620px;
  margin: 0 auto 44px;
  opacity: 0;
  animation: heroFade 1000ms cubic-bezier(.2,.7,.2,1) 1100ms forwards;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFade 1000ms cubic-bezier(.2,.7,.2,1) 1300ms forwards;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroFade 1000ms cubic-bezier(.2,.7,.2,1) 1600ms forwards;
}
.hero__scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  overflow: hidden;
  position: relative;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 100%; height: 40%;
  background: linear-gradient(to bottom, transparent, var(--mcc-gold-200));
  animation: scrollPulse 2200ms ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { top: -40%; }
  100% { top: 100%; }
}

@keyframes heroFade {
  to { opacity: 1; }
}

/* ---------- inner page hero ---------- */
.page-hero {
  padding: 200px 0 80px;
  text-align: center;
  position: relative;
}
.page-hero--with-image {
  padding: 0;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  color: var(--bg);
  position: relative;
  isolation: isolate;
}
.page-hero--with-image .page-hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
}
.page-hero--with-image .page-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero--with-image::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(49,47,44,0.3) 0%, rgba(49,47,44,0.85) 100%);
}
.page-hero--with-image .container { padding-bottom: 64px; }
.page-hero--with-image h1 { color: var(--bg); }
.page-hero--with-image .lede { color: rgba(242,232,214,0.85); }

/* ---------- cards & tiles ---------- */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1),
              box-shadow 360ms cubic-bezier(.2,.7,.2,1),
              border-color 220ms;
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

/* ---------- cat tile ---------- */
.cat-tile {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.cat-tile__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}
.cat-tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1200ms cubic-bezier(.2,.7,.2,1), filter 600ms;
  filter: saturate(0.92);
}
.cat-tile:hover .cat-tile__media img {
  transform: scale(1.06);
  filter: saturate(1.05);
}
.cat-tile__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(49,47,44,0.85) 100%);
}
.cat-tile__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(242,232,214,0.92);
  backdrop-filter: blur(8px);
  color: var(--mcc-espresso);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
}
.cat-tile__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 22px;
  color: var(--bg);
  z-index: 2;
}
.cat-tile__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.cat-tile__age {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  color: var(--mcc-gold-200);
  letter-spacing: 0.04em;
  text-transform: none;
}
.cat-tile__line {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  margin-top: 6px;
  color: rgba(242,232,214,0.85);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 500ms cubic-bezier(.2,.7,.2,1), opacity 400ms, margin-top 300ms;
}
.cat-tile:hover .cat-tile__line {
  max-height: 80px;
  opacity: 1;
}

/* ---------- KPI strip ---------- */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.kpi {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.kpi:last-child { border-right: none; }
.kpi__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  color: var(--mcc-gold-600);
  line-height: 1;
  letter-spacing: 0.04em;
}
.kpi__num em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 0.7em;
  color: var(--mcc-gold-400);
}
.kpi__label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg2);
  margin-top: 12px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--mcc-espresso);
  color: var(--bg);
  padding: 96px 0 32px;
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer__brand img {
  height: 80px; width: auto;
  margin-bottom: 20px;
}
.footer__brand p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(242,232,214,0.72);
  font-style: italic;
  max-width: 340px;
}
.footer__col-title {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mcc-gold-300);
  margin-bottom: 20px;
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__list a, .footer__list span {
  color: rgba(242,232,214,0.85);
  font-family: var(--font-body);
  font-size: 15px;
  text-decoration: none;
  transition: color 150ms;
}
.footer__list a:hover { color: var(--mcc-gold-300); }
.footer__hours {
  color: var(--mcc-gold-300);
  font-style: italic;
  margin-top: 14px;
  display: inline-block;
}
.footer__bottom {
  border-top: 1px solid rgba(242,232,214,0.14);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(242,232,214,0.5);
  gap: 24px;
  flex-wrap: wrap;
}
.footer__social {
  display: flex;
  gap: 20px;
}
.footer__social a {
  color: rgba(242,232,214,0.6);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer__social a:hover { color: var(--mcc-gold-300); }

/* ---------- image grid ---------- */
.image-grid {
  display: grid;
  gap: 16px;
}
.image-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 1000ms cubic-bezier(.2,.7,.2,1), filter 600ms;
  filter: saturate(0.95);
}
.image-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.image-grid figure:hover img { transform: scale(1.04); filter: saturate(1.05); }

/* ---------- parallax + scroll utilities ---------- */
.parallax {
  --p: 0;
  transform: translateY(calc(var(--p) * 1px));
  will-change: transform;
}
.fade-in { opacity: 0; }
.fade-in.is-visible { opacity: 1; transition: opacity 1000ms cubic-bezier(.2,.7,.2,1); }

/* ---------- mobile menu drawer ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--mcc-espresso);
  color: var(--bg);
  z-index: 49;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms cubic-bezier(.2,.7,.2,1);
}
.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  text-decoration: none;
  position: relative;
}
.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -8px;
  width: 0; height: 1px;
  background: var(--mcc-gold-300);
  transition: width 300ms, left 300ms;
}
.mobile-menu a:hover::after,
.mobile-menu a[aria-current="page"]::after { width: 100%; left: 0; }
.mobile-menu__bottom {
  position: absolute;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* ============================================================
   RESPONSIVE — tablets & phones
   ============================================================ */

/* Tablet & below */
@media (max-width: 900px) {
  .container, .container-wide { padding: 0 22px; }
  .container-narrow { padding: 0 22px; }

  /* Nav */
  .nav { padding: 16px 0; }
  .nav--scrolled { padding: 10px 0; }
  .nav__menu { display: none; }
  .nav__menu-btn { display: flex; }
  .nav__brand-text { display: none; }
  .nav__brand img { height: 44px; }
  .nav--scrolled .nav__brand img { height: 36px; }
  .nav__cta { display: none !important; }

  /* Footer */
  .footer { padding: 72px 0 24px; }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand img { height: 64px; }

  /* KPI strip — 2 columns on tablet */
  .kpi-strip {
    grid-template-columns: 1fr 1fr;
  }
  .kpi:nth-child(2) { border-right: none; }
  .kpi:nth-child(1), .kpi:nth-child(2) { border-bottom: 1px solid var(--border); }
  .kpi { padding: 28px 16px; }

  /* Sections */
  .section { padding: 72px 0; }
  .section--tight { padding: 48px 0; }

  /* Hero */
  .hero__content { padding: 110px 22px 80px; }
  .hero__logo { height: clamp(80px, 22vw, 130px); margin-bottom: 24px; }
  .hero__title { font-size: clamp(36px, 9vw, 64px); letter-spacing: 0.04em; }
  .hero__sub { font-size: 15px; margin-bottom: 36px; }

  /* Page hero with image */
  .page-hero--with-image { min-height: 56vh; }
  .page-hero--with-image .container { padding-bottom: 48px; }
  .page-hero { padding: 130px 0 56px; }

  /* Image grids fallback */
  .image-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }

  /* Display sizes */
  .display--xl { font-size: clamp(40px, 9vw, 72px); }
  .display--lg { font-size: clamp(32px, 7vw, 56px); }
  .display--md { font-size: clamp(26px, 5vw, 40px); }

  /* Hover-only details — show always on touch devices */
  .cat-tile__line {
    max-height: 80px;
    opacity: 1;
  }
  .cat-tile__name { font-size: 18px; }

  /* Mobile menu — better spacing */
  .mobile-menu { gap: 28px; }
  .mobile-menu a { font-size: 20px; }

  /* Bigger tap targets on mobile */
  .btn { padding: 16px 24px; min-height: 48px; }
  .btn--lg { padding: 18px 28px; min-height: 52px; }
  .btn--sm { padding: 12px 18px; min-height: 42px; }
}

/* Phone */
@media (max-width: 640px) {
  .container, .container-wide, .container-narrow { padding: 0 18px; }

  /* Footer to single column */
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__social { flex-wrap: wrap; gap: 16px; }

  /* Hero CTAs stack */
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; margin-inline: auto; }
  .hero__ctas .btn { width: 100%; }

  /* KPI to 1 column-strip but compact */
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 22px 12px; }
  .kpi__num { font-size: 32px; }
  .kpi__label { font-size: 10px; margin-top: 8px; }

  /* Image grid to 1 col on small phones (overrideable per-page) */
  .image-grid { grid-template-columns: 1fr !important; }

  /* Sections more compact */
  .section { padding: 56px 0; }
  .section--tight { padding: 36px 0; }

  /* Hero scroll cue hidden on small */
  .hero__scroll { bottom: 16px; font-size: 9px; }
  .hero__scroll-line { height: 36px; }

  /* Display sizes more aggressive */
  .display--xl { font-size: clamp(34px, 10vw, 56px); }
  .display--lg { font-size: clamp(28px, 8vw, 44px); }
  .display--md { font-size: clamp(22px, 6vw, 32px); }

  /* Eyebrow */
  .eyebrow { font-size: 11px; gap: 10px; }
  .eyebrow::before { width: 20px; }
  .eyebrow--centered::after { width: 20px; }

  /* Lede */
  .lede { font-size: 16px; line-height: 1.6; }

  /* Body */
  .body-md { font-size: 16px; line-height: 1.65; }

  /* Mobile menu — even more compact */
  .mobile-menu { gap: 22px; padding: 0 22px; }
  .mobile-menu a { font-size: 18px; }
  .mobile-menu__bottom { bottom: 36px; gap: 14px; }

  /* Nav padding */
  .nav { padding: 14px 0; }
  .nav__brand img { height: 38px; }
  .nav--scrolled .nav__brand img { height: 32px; }

  /* Page hero */
  .page-hero { padding: 110px 0 40px; }
  .page-hero--with-image { min-height: 50vh; }
  .page-hero--with-image .container { padding-bottom: 36px; }

  /* Divider smaller */
  .divider::before, .divider::after { max-width: 60px; }
}

@media (max-width: 380px) {
  .container, .container-wide, .container-narrow { padding: 0 14px; }
  .display--xl { font-size: 32px; }
  .display--lg { font-size: 26px; }
  .hero__title { font-size: 32px; }
}

/* Touch device hover-state fix — apply revealed hover state on touch */
@media (hover: none) {
  .cat-tile__line { max-height: 80px; opacity: 1; }
  .cat-tile__media img { transform: none; }
}

/* ---------- accent ornaments ---------- */
.ornament-paw {
  display: inline-block;
  width: 28px; height: 28px;
  background: currentColor;
  mask: url(./paw.svg) center/contain no-repeat;
  -webkit-mask: url(./paw.svg) center/contain no-repeat;
  color: var(--mcc-gold-400);
}
