@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,600;6..72,700&family=Nunito+Sans:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --color-canvas: #fff9f0;
  --color-surface: #ffffff;
  --color-surface-warm: #f5e7d2;
  --color-text: #2b211b;
  --color-text-muted: #5c4b3f;
  --color-brand: #3b2a22;
  --color-accent: #a94f1c;
  --color-accent-hover: #8f4318;
  --color-sage: #dde8d5;
  --color-sage-strong: #3f6847;
  --color-sun: #f4c95d;
  --color-border: #e7d8c4;
  --color-danger: #b42318;

  /* Compatibility aliases used by the existing components. */
  --cream: var(--color-canvas);
  --cream-soft: #fffdf8;
  --beige: var(--color-surface-warm);
  --beige-strong: #dfc49d;
  --caramel: var(--color-accent);
  --caramel-dark: #7d3b17;
  --brown: var(--color-brand);
  --brown-soft: var(--color-text-muted);
  --ink: var(--color-text);
  --muted: var(--color-text-muted);
  --sage: var(--color-sage);
  --sage-strong: var(--color-sage-strong);
  --yellow: var(--color-sun);
  --white: var(--color-surface);
  --line: var(--color-border);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 10px 30px rgba(59, 42, 34, 0.08);
  --shadow: 0 18px 44px rgba(59, 42, 34, 0.12);
  --shadow-hover: 0 22px 50px rgba(59, 42, 34, 0.15);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.18, 0.89, 0.32, 1.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 238, 0.94);
  border-bottom: 1px solid rgba(234, 220, 200, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--brown);
  font-weight: 800;
  font-size: 1.22rem;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--caramel-dark);
  font-size: 1rem;
  box-shadow: inset 0 0 0 1px rgba(143, 79, 39, 0.18);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--brown-soft);
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  background: var(--beige);
  color: var(--brown);
}

.nav-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-weight: 750;
  line-height: 1.15;
}

.nav-cta {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(76, 53, 40, 0.18);
}

.button-primary {
  background: var(--caramel);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(143, 79, 39, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.button-light {
  background: var(--white);
  color: var(--brown);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brown);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 96px 0 78px;
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(33, 29, 26, 0.82), rgba(33, 29, 26, 0.42) 58%, rgba(33, 29, 26, 0.12)),
    linear-gradient(0deg, rgba(33, 29, 26, 0.35), rgba(33, 29, 26, 0.08));
}

.hero-home {
  background-image: url("https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?auto=format&fit=crop&w=1600&q=80");
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--caramel-dark);
  font-size: 0.85rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-brown .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brown);
  font-family: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.14;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
  max-width: 780px;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
}

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

.section {
  padding: clamp(48px, 7vw, 96px) 0;
}

.section-light {
  background: var(--cream);
}

.section-green {
  background: linear-gradient(180deg, #eef6e9, var(--sage));
}

.section-brown {
  background: var(--brown);
  color: var(--white);
}

.section-brown h2,
.section-brown p {
  color: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: 2.1rem;
}

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.post-grid,
.category-grid,
.value-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.post-card,
.category-card,
.value-card,
.contact-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.post-card {
  overflow: hidden;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.post-card[hidden] {
  display: none;
}

.post-image-link {
  display: block;
  background: var(--beige);
}

.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.post-card:hover img {
  transform: scale(1.03);
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.tag {
  align-self: flex-start;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--beige);
  color: var(--caramel-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.tag-green {
  background: var(--sage);
  color: #405d3e;
}

.tag-yellow {
  background: var(--yellow);
  color: #684812;
}

.post-card h3 {
  font-size: 1.17rem;
}

.post-card h3 a:hover,
.post-card h3 a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.post-meta a:hover,
.post-meta a:focus-visible,
.crumb:hover,
.crumb:focus-visible {
  color: var(--caramel-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.post-card p {
  flex: 1;
  margin: 10px 0 18px;
  color: var(--muted);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

.post-meta a,
.text-link {
  color: var(--caramel-dark);
  font-weight: 800;
}

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

.category-card,
.value-card {
  min-height: 190px;
  padding: 22px;
}

.category-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(76, 53, 40, 0.16);
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--caramel-dark);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px var(--line);
}

.category-card h3,
.value-card h3 {
  font-size: 1.12rem;
}

.category-card p,
.value-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.quick-tip {
  padding: 30px;
  border-left: 6px solid var(--caramel);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-tip h2 {
  font-size: 1.8rem;
}

.quick-tip p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.quick-tip .text-link {
  display: inline-flex;
  margin-top: 18px;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.cta-band {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.cta-band div {
  max-width: 720px;
}

.cta-band h2 {
  font-size: 2rem;
}

.cta-band p:not(.eyebrow) {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  position: relative;
  padding: 86px 0 70px;
  background: var(--beige);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(137, 173, 121, 0.28);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero h1,
.article-header h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.page-hero p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--brown-soft);
  font-size: 1.08rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 28px;
}

.filter-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--brown-soft);
  padding: 8px 14px;
  font-weight: 750;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--caramel);
  background: var(--caramel);
  color: var(--white);
}

.empty-state {
  margin: 28px 0 0;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  border: 1px solid var(--line);
}

.article-shell {
  padding: 64px 0 0;
}

.article-header {
  max-width: 900px;
}

.crumb {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--caramel-dark);
  font-weight: 800;
}

.article-header h1 {
  margin-top: 6px;
}

.article-summary {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--brown-soft);
  font-size: 1.1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
}

.article-main-image {
  width: 100%;
  max-height: 560px;
  margin: 34px 0 0;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article-content {
  max-width: 68ch;
  padding: 42px 0 72px;
}

.article-content p {
  margin: 0 0 20px;
  color: var(--brown-soft);
  font-size: inherit;
  line-height: inherit;
}

.article-content h2 {
  margin: 48px 0 16px;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.article-tip {
  margin: 34px 0;
}

.article-tip h2 {
  margin: 0;
}

.care-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.care-list li {
  position: relative;
  margin-bottom: 12px;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brown-soft);
}

.care-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--sage-strong);
  font-weight: 900;
}

.vet-note {
  padding: 18px;
  border-radius: var(--radius);
  background: #fff3d2;
  border: 1px solid #ead09b;
  color: #604820;
  font-weight: 700;
}

.rich-text {
  color: var(--brown-soft);
  font-size: 1.04rem;
}

.rich-text p {
  margin: 0 0 18px;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.contact-form,
.contact-card {
  padding: 26px;
}

.field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field-group label {
  color: var(--brown);
  font-weight: 800;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
  color: var(--ink);
  padding: 12px 14px;
}

.field-group textarea {
  resize: vertical;
  min-height: 160px;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 3px solid rgba(199, 119, 58, 0.22);
  border-color: var(--caramel);
}

.form-message {
  margin: 16px 0 0;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--sage);
  color: #405d3e;
  font-weight: 700;
}

.contact-card h2 {
  font-size: 1.45rem;
}

.contact-card p {
  margin: 10px 0 18px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--brown-soft);
  font-weight: 760;
}

.contact-list li > span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--caramel-dark);
}

.contact-list svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--caramel-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}

.site-footer {
  padding: 38px 0;
  background: #271f1a;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto minmax(220px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.footer-logo {
  color: var(--white);
}

.site-footer p {
  margin: 12px 0 0;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--yellow);
}

.footer-note {
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .post-grid,
  .blog-grid,
  .category-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    max-width: 560px;
  }

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

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .nav-shell {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 66px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav a {
    min-height: 44px;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 68vh;
    padding: 78px 0 58px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .page-hero h1,
  .article-header h1 {
    font-size: 2.25rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading h2,
  .cta-band h2 {
    font-size: 1.78rem;
  }

  .quick-tip h2 {
    font-size: 1.5rem;
  }

  .cta-band {
    display: grid;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .post-grid,
  .blog-grid,
  .related-grid,
  .category-grid,
  .value-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .hero p:not(.eyebrow),
  .page-hero p:not(.eyebrow),
  .article-summary {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .button,
  .nav-cta {
    padding-inline: 16px;
  }

  .quick-tip,
  .contact-form,
  .contact-card {
    padding: 22px;
  }

  .article-shell {
    padding-top: 46px;
  }

  .article-content {
    padding-bottom: 54px;
  }

  .article-content h2 {
    font-size: 1.45rem;
  }

  .image-panel img {
    min-height: 280px;
  }
}

/* Component polish layer */

body {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 248, 238, 0.98) 42%, rgba(255, 253, 248, 0.96)),
    repeating-linear-gradient(135deg, rgba(143, 79, 39, 0.025) 0 1px, transparent 1px 16px);
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(255, 228, 163, 0.82);
  color: var(--brown);
}

a,
button,
.post-card,
.category-card,
.value-card,
.contact-card,
.contact-form {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--color-sage-strong);
  outline-offset: 3px;
}

.site-header {
  background: rgba(255, 248, 238, 0.78);
  box-shadow: 0 8px 30px rgba(76, 53, 40, 0.06);
  transition: background-color 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  -webkit-backdrop-filter: saturate(145%) blur(18px);
  backdrop-filter: saturate(145%) blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.9);
  border-bottom-color: rgba(199, 119, 58, 0.18);
  box-shadow: 0 14px 36px rgba(76, 53, 40, 0.1);
}

.logo,
.logo-mark,
.main-nav a,
.nav-toggle span:not(.sr-only) {
  transition: transform 220ms var(--ease), color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.logo:hover .logo-mark,
.logo:focus-visible .logo-mark {
  transform: translateY(-1px) rotate(-6deg);
}

.logo-mark {
  background: linear-gradient(145deg, #ffeab6, #f6c873);
  box-shadow:
    inset 0 0 0 1px rgba(143, 79, 39, 0.15),
    0 10px 22px rgba(143, 79, 39, 0.12);
}

.main-nav a {
  position: relative;
  overflow: hidden;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--caramel), var(--sage-strong));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(241, 223, 196, 0.62);
  color: var(--brown);
  transform: translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.main-nav a[aria-current="page"] {
  background: rgba(255, 228, 163, 0.58);
  color: var(--brown);
  box-shadow: inset 0 0 0 1px rgba(199, 119, 58, 0.14);
}

.button,
.nav-cta,
.filter-button {
  position: relative;
  overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.button::before,
.nav-cta::before,
.filter-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, 0.26) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 520ms var(--ease);
  pointer-events: none;
}

.button:hover::before,
.button:focus-visible::before,
.nav-cta:hover::before,
.nav-cta:focus-visible::before,
.filter-button:hover::before,
.filter-button:focus-visible::before {
  transform: translateX(120%);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
}

.button:active,
.nav-cta:active,
.filter-button:active {
  transform: translateY(0) scale(0.98);
}

.button-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  box-shadow: 0 14px 30px rgba(125, 59, 23, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.17);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.button-light {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.hero {
  overflow: hidden;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(33, 29, 26, 0.86), rgba(33, 29, 26, 0.48) 58%, rgba(33, 29, 26, 0.18)),
    linear-gradient(0deg, rgba(73, 50, 36, 0.5), rgba(33, 29, 26, 0.05)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 18px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content > *,
.page-hero-content > * {
  animation: heroRise 560ms var(--ease) both;
}

.hero-content > :nth-child(2),
.page-hero-content > :nth-child(2) {
  animation-delay: 60ms;
}

.hero-content > :nth-child(3),
.page-hero-content > :nth-child(3) {
  animation-delay: 110ms;
}

.hero-content > :nth-child(4),
.page-hero-content > :nth-child(4) {
  animation-delay: 160ms;
}

.hero-decor,
.hero-cat-silhouette {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-paw-trail {
  --float-rotate: -12deg;
  --float-scale: 1;
  right: clamp(22px, 7vw, 120px);
  top: 19%;
  width: 148px;
  height: 220px;
  opacity: 0.34;
  transform: scale(var(--float-scale)) rotate(var(--float-rotate));
  animation: floatSoft 6.5s ease-in-out infinite;
}

.hero-paw-trail span {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 68%, rgba(255, 248, 238, 0.92) 0 24%, transparent 25%),
    radial-gradient(circle at 24% 32%, rgba(255, 248, 238, 0.82) 0 12%, transparent 13%),
    radial-gradient(circle at 48% 20%, rgba(255, 248, 238, 0.82) 0 12%, transparent 13%),
    radial-gradient(circle at 72% 32%, rgba(255, 248, 238, 0.82) 0 12%, transparent 13%);
  filter: drop-shadow(0 12px 20px rgba(33, 29, 26, 0.14));
}

.hero-paw-trail span:nth-child(1) {
  left: 0;
  top: 18px;
}

.hero-paw-trail span:nth-child(2) {
  right: 12px;
  top: 92px;
  transform: rotate(16deg) scale(0.82);
}

.hero-paw-trail span:nth-child(3) {
  left: 22px;
  bottom: 10px;
  transform: rotate(-18deg) scale(0.68);
}

.hero-cat-silhouette {
  --float-rotate: 0deg;
  --float-scale: 1;
  right: max(18px, calc((100vw - 1120px) / 2));
  bottom: -16px;
  width: clamp(124px, 17vw, 210px);
  height: clamp(128px, 17vw, 218px);
  border-radius: 48% 52% 42% 45% / 58% 52% 42% 38%;
  background: linear-gradient(145deg, rgba(255, 248, 238, 0.2), rgba(255, 228, 163, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 38px rgba(255, 255, 255, 0.05);
  animation: floatSoft 7.5s ease-in-out infinite 600ms;
}

.hero-cat-silhouette::before,
.hero-cat-silhouette::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 54px;
  height: 54px;
  background: rgba(255, 248, 238, 0.18);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hero-cat-silhouette::before {
  left: 26px;
  transform: rotate(-16deg);
}

.hero-cat-silhouette::after {
  right: 26px;
  transform: rotate(16deg);
}

.section-light {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(255, 248, 238, 0.92)),
    var(--cream);
}

.section-green {
  background:
    linear-gradient(180deg, rgba(238, 246, 233, 0.94), rgba(217, 234, 208, 0.96)),
    repeating-linear-gradient(135deg, rgba(64, 93, 62, 0.035) 0 1px, transparent 1px 18px);
}

.section-brown {
  background:
    linear-gradient(135deg, #493224, #312219 78%),
    var(--brown);
}

.section-heading {
  position: relative;
}

.section-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--caramel), var(--yellow), var(--sage-strong));
}

.post-card,
.category-card,
.value-card,
.contact-form,
.contact-card {
  border-color: rgba(234, 220, 200, 0.86);
  box-shadow: var(--shadow-soft);
}

.post-card {
  position: relative;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 260ms var(--ease), box-shadow 260ms ease, border-color 260ms ease;
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--caramel), var(--yellow), var(--sage-strong));
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 1;
}

.post-card:hover,
.post-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(199, 119, 58, 0.28);
  box-shadow: var(--shadow-hover);
}

.post-card:hover::before,
.post-card:focus-within::before {
  opacity: 1;
}

.post-image-link {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.post-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.post-card .post-meta a {
  position: relative;
  z-index: 2;
}

.post-card img {
  transition: transform 240ms var(--ease), filter 240ms ease;
}

.post-card:hover img,
.post-card:focus-within img {
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}

.post-meta a,
.text-link {
  position: relative;
  transition: color 200ms ease;
}

.post-meta a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.post-meta a:hover,
.post-meta a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  text-decoration: none;
}

.post-meta a:hover::after,
.post-meta a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.tag {
  box-shadow: inset 0 0 0 1px rgba(143, 79, 39, 0.07);
}

.category-card,
.value-card {
  position: relative;
  overflow: hidden;
  transition: transform 240ms var(--ease), box-shadow 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.category-card::after,
.value-card::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -34px;
  width: 104px;
  height: 118px;
  border-radius: 42% 58% 52% 48% / 44% 42% 58% 56%;
  background: linear-gradient(145deg, rgba(255, 228, 163, 0.48), rgba(217, 234, 208, 0.3));
  opacity: 0;
  transform: rotate(18deg) scale(0.86);
  transition: opacity 240ms ease, transform 300ms var(--ease);
  pointer-events: none;
}

.category-card:hover,
.category-card:focus-visible,
.value-card:hover,
.value-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(137, 173, 121, 0.42);
  box-shadow: var(--shadow-hover);
  background: #fffefb;
}

.category-card:hover::after,
.category-card:focus-visible::after,
.value-card:hover::after,
.value-card:focus-within::after {
  opacity: 1;
  transform: rotate(10deg) scale(1);
}

.category-icon {
  background: linear-gradient(145deg, #fff8ee, #f2dfc2);
  transition: transform 240ms var(--ease-spring), box-shadow 240ms ease, background-color 240ms ease;
}

.category-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-card:hover .category-icon,
.category-card:focus-visible .category-icon,
.value-card:hover .category-icon,
.value-card:focus-within .category-icon {
  transform: translateY(-1px) rotate(-2deg) scale(1.03);
  box-shadow:
    inset 0 0 0 1px rgba(199, 119, 58, 0.12),
    0 12px 24px rgba(76, 53, 40, 0.12);
}

.split-layout {
  position: relative;
}

.quick-tip {
  position: relative;
  overflow: hidden;
  border-left-color: var(--caramel);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 238, 0.9)),
    var(--white);
}

.quick-tip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--caramel), var(--yellow), var(--sage-strong));
}

.image-panel {
  position: relative;
  transform: translateZ(0);
  transition: transform 260ms var(--ease), box-shadow 260ms ease;
}

.image-panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.image-panel img {
  transition: transform 260ms var(--ease), filter 260ms ease;
}

.image-panel:hover img {
  transform: scale(1.02);
  filter: saturate(1.05);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(242, 223, 194, 0.96), rgba(255, 248, 238, 0.9) 62%, rgba(217, 234, 208, 0.72)),
    var(--beige);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(143, 79, 39, 0.04) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.2), transparent);
  pointer-events: none;
}

.page-hero::after {
  border-radius: 42% 58% 50% 48% / 44% 40% 60% 56%;
  background: linear-gradient(145deg, rgba(137, 173, 121, 0.26), rgba(255, 228, 163, 0.22));
}

.filter-bar {
  width: fit-content;
  max-width: 100%;
  padding: 8px;
  border: 1px solid rgba(234, 220, 200, 0.82);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.filter-button {
  border-color: transparent;
  background: transparent;
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: rgba(199, 119, 58, 0.2);
  background: rgba(242, 223, 194, 0.64);
  color: var(--brown);
  transform: translateY(-1px);
}

.filter-button.is-active {
  border-color: rgba(199, 119, 58, 0.24);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(143, 79, 39, 0.2);
}

[data-post-list] .post-card.is-filtering {
  animation: filterCardIn 330ms var(--ease) both;
  animation-delay: var(--filter-delay, 0ms);
}

.empty-state {
  border-style: dashed;
  box-shadow: var(--shadow-soft);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 3px;
  background: rgba(255, 248, 238, 0.5);
  pointer-events: none;
}

.reading-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--caramel), var(--yellow), var(--sage-strong));
  box-shadow: 0 0 18px rgba(199, 119, 58, 0.32);
}

.article-main-image {
  border: 1px solid rgba(234, 220, 200, 0.82);
}

.article-content {
  max-width: 68ch;
  font-size: 1.125rem;
  line-height: 1.75;
}

.article-content h2 {
  position: relative;
  padding-top: 4px;
  scroll-margin-top: 104px;
}

.article-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--caramel), var(--sage-strong));
}

.article-toc {
  margin: 32px 0 40px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-surface), var(--color-surface-warm));
  box-shadow: var(--shadow-soft);
}

.article-toc-title {
  margin-bottom: 12px !important;
  color: var(--color-brand) !important;
  font-family: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  font-weight: 600;
}

.article-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding-left: 22px;
}

.article-toc a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--color-accent-hover);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--color-brand);
  text-decoration-thickness: 2px;
}

.article-tip {
  border-left: 0;
  box-shadow: 0 18px 48px rgba(76, 53, 40, 0.12);
}

.care-list {
  display: grid;
  gap: 12px;
}

.care-list li {
  margin-bottom: 0;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(255, 248, 238, 0.9)),
    var(--white);
  box-shadow: 0 10px 24px rgba(76, 53, 40, 0.07);
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}

.care-list li:hover {
  transform: translateX(2px);
  border-color: rgba(137, 173, 121, 0.42);
  box-shadow: 0 14px 30px rgba(76, 53, 40, 0.1);
}

.care-list li::before {
  content: "";
  top: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sage), #eef6e9);
  box-shadow: inset 0 0 0 1px rgba(64, 93, 62, 0.12);
}

.care-list li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #405d3e;
  border-bottom: 2px solid #405d3e;
  transform: rotate(-45deg);
}

.vet-note {
  position: relative;
  border-color: rgba(234, 208, 155, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 243, 210, 0.96), rgba(255, 248, 238, 0.9)),
    #fff3d2;
  box-shadow: 0 12px 30px rgba(116, 85, 29, 0.09);
}

.field-group input,
.field-group textarea {
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field-group input:hover,
.field-group textarea:hover {
  border-color: rgba(199, 119, 58, 0.36);
  background: var(--white);
}

.form-message {
  animation: messageIn 280ms var(--ease) both;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal-left {
  transform: translate3d(-24px, 0, 0);
}

.js .reveal-right {
  transform: translate3d(24px, 0, 0);
}

.js .reveal-scale {
  transform: scale(0.96);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.post-grid .reveal:nth-child(2),
.category-grid .reveal:nth-child(2),
.value-grid .reveal:nth-child(2) {
  --reveal-delay: 70ms;
}

.post-grid .reveal:nth-child(3),
.category-grid .reveal:nth-child(3),
.value-grid .reveal:nth-child(3) {
  --reveal-delay: 80ms;
}

.post-grid .reveal:nth-child(4),
.category-grid .reveal:nth-child(4),
.value-grid .reveal:nth-child(4) {
  --reveal-delay: 70ms;
}

.post-grid .reveal:nth-child(5),
.category-grid .reveal:nth-child(5),
.value-grid .reveal:nth-child(5) {
  --reveal-delay: 80ms;
}

.post-grid .reveal:nth-child(6),
.category-grid .reveal:nth-child(6),
.value-grid .reveal:nth-child(6) {
  --reveal-delay: 80ms;
}

.category-grid .reveal:nth-child(n + 7) {
  --reveal-delay: 80ms;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(var(--float-scale, 1)) rotate(var(--float-rotate, 0deg));
  }

  50% {
    transform: translate3d(0, -10px, 0) scale(var(--float-scale, 1)) rotate(calc(var(--float-rotate, 0deg) + 3deg));
  }
}

@keyframes filterCardIn {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 920px) {
  .hero-cat-silhouette {
    opacity: 0.45;
  }
}

@media (max-width: 780px) {
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 66px 0 0;
    z-index: 8;
    background: rgba(33, 29, 26, 0.2);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: messageIn 180ms ease both;
  }

  .main-nav {
    z-index: 12;
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: opacity 240ms ease, transform 240ms var(--ease), visibility 240ms ease;
  }

  body.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open .main-nav a {
    animation: heroRise 360ms var(--ease) both;
  }

  body.nav-open .main-nav a:nth-child(2) {
    animation-delay: 40ms;
  }

  body.nav-open .main-nav a:nth-child(3) {
    animation-delay: 80ms;
  }

  body.nav-open .main-nav a:nth-child(4) {
    animation-delay: 120ms;
  }

  body.nav-open .main-nav a:nth-child(5) {
    animation-delay: 160ms;
  }

  body.nav-open .nav-toggle span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-of-type(3) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-paw-trail {
    --float-scale: 0.76;
    right: 8px;
    top: 16%;
    opacity: 0.2;
  }

  .hero-cat-silhouette {
    right: -18px;
    opacity: 0.28;
  }

  .js .reveal-left,
  .js .reveal-right {
    transform: translate3d(0, 20px, 0);
  }

  .filter-bar {
    width: 100%;
    max-width: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
    border-radius: 18px;
  }

  .filter-button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .post-card h3 a,
  .post-meta a,
  .text-link,
  .site-footer nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 620px) {
  .section-heading::after {
    width: 54px;
    margin-top: 14px;
  }

  .post-card:hover,
  .post-card:focus-within,
  .category-card:hover,
  .category-card:focus-visible,
  .value-card:hover,
  .value-card:focus-within,
  .image-panel:hover {
    transform: translateY(-1px);
  }

  .article-content {
    padding-top: 34px;
  }

  .article-toc {
    padding: 20px;
  }

  .article-toc ol {
    grid-template-columns: 1fr;
  }

  .care-list li {
    padding-right: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js .reveal-left,
  .js .reveal-right,
  .js .reveal-scale,
  .js .reveal.is-visible,
  .hero-content > *,
  .page-hero-content > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-decor,
  .hero-cat-silhouette {
    animation: none !important;
  }

  .button:hover,
  .button:focus-visible,
  .nav-cta:hover,
  .nav-cta:focus-visible,
  .post-card:hover,
  .post-card:focus-within,
  .category-card:hover,
  .category-card:focus-visible,
  .value-card:hover,
  .value-card:focus-within,
  .image-panel:hover,
  .care-list li:hover,
  .filter-button:hover,
  .filter-button:focus-visible {
    transform: none;
  }
}

/* Papa Gato brand assets */
.nav-shell {
  min-height: 80px;
}

.logo {
  position: relative;
  justify-content: center;
  min-width: max-content;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(199, 119, 58, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 228, 163, 0.48), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 241, 218, 0.88));
  box-shadow:
    0 14px 30px rgba(76, 53, 40, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  line-height: 1;
  overflow: hidden;
}

.logo::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 170, 25, 0.14);
  pointer-events: none;
}

.logo-img {
  position: relative;
  z-index: 1;
  width: 132px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(76, 53, 40, 0.1));
  transition: transform 220ms var(--ease), filter 220ms ease;
}

.logo:hover .logo-img,
.logo:focus-visible .logo-img {
  transform: translateY(-1px) scale(1.018);
  filter: drop-shadow(0 8px 16px rgba(76, 53, 40, 0.16));
}

.page-hero::before {
  inset: 0;
  background:
    url("../img/papa-gato-logo-transparent.webp") calc(100% - 40px) center / min(420px, 48vw) auto no-repeat,
    repeating-linear-gradient(135deg, rgba(143, 79, 39, 0.04) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.2), transparent);
  opacity: 0.1;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  padding: 10px 15px;
  border-color: rgba(255, 228, 163, 0.24);
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 228, 163, 0.24), transparent 38%),
    linear-gradient(135deg, #fff8ee, #f1dfc4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.footer-logo .logo-img {
  width: 152px;
}

@media (max-width: 780px) {
  .nav-shell {
    min-height: 72px;
  }

  .site-header .logo {
    padding: 6px 11px 6px 10px;
  }

  .site-header .logo-img {
    width: 118px;
  }

  .main-nav {
    top: 72px;
  }

  body.nav-open::before {
    inset: 72px 0 0;
  }

  .page-hero::before {
    background-position: calc(100% + 80px) center, 0 0, 0 0;
    background-size: 330px auto, auto, auto;
    opacity: 0.075;
  }
}

@media (max-width: 620px) {
  .site-header .logo-img {
    width: 106px;
  }

  .site-header .logo {
    padding: 5px 9px 5px 8px;
  }

  .footer-logo .logo-img {
    width: 134px;
  }
}

/* Home editorial experience */
.home-editorial {
  background: var(--color-canvas);
  overflow-x: hidden;
  overflow-x: clip;
}

.home-editorial h1,
.home-editorial .editorial-heading h2,
.home-editorial .trust-intro h2,
.home-editorial .interactive-tip h2,
.home-editorial .editorial-cta h2,
.home-editorial .bento-card h3,
.home-editorial .bento-insight h3 {
  font-family: "Newsreader", Georgia, serif;
}

.editorial-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 7vw, 104px) 0 clamp(78px, 8vw, 116px);
  background:
    radial-gradient(circle at 82% 24%, rgba(221, 232, 213, 0.88), transparent 28rem),
    linear-gradient(135deg, #fffaf2 0%, #f7ead8 62%, #edf3e9 100%);
}

.editorial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(135deg, rgba(59, 42, 34, 0.022) 0 1px, transparent 1px 24px),
    linear-gradient(90deg, transparent 0 52%, rgba(255, 255, 255, 0.24) 52% 52.08%, transparent 52.08%);
}

.editorial-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
  grid-template-areas:
    "copy visual"
    "shortcuts visual"
    "facts visual";
  column-gap: clamp(52px, 7vw, 88px);
  row-gap: 0;
  align-items: center;
}

.editorial-hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
}

.editorial-hero-copy > *,
.hero-shortcuts,
.hero-facts {
  animation: heroRise 560ms var(--ease) both;
}

.editorial-hero-copy > :nth-child(2) { animation-delay: 60ms; }
.editorial-hero-copy > :nth-child(3) { animation-delay: 110ms; }
.editorial-hero-copy > :nth-child(4) { animation-delay: 160ms; }
.hero-shortcuts { animation-delay: 210ms; }
.hero-facts { animation-delay: 260ms; }

.editorial-hero .eyebrow {
  margin-bottom: 18px;
}

.editorial-hero h1 {
  max-width: 740px;
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  font-weight: 600;
  line-height: 0.97;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.editorial-hero-lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.button-quiet {
  color: var(--color-brand);
  border-color: rgba(59, 42, 34, 0.22);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: var(--color-accent);
  background: var(--color-surface);
}

.hero-shortcuts {
  grid-area: shortcuts;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
}

.hero-shortcuts > span {
  margin-right: 4px;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-shortcuts a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(59, 42, 34, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--color-brand);
  font-size: 0.85rem;
  font-weight: 750;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.hero-shortcuts a:hover,
.hero-shortcuts a:focus-visible {
  border-color: rgba(169, 79, 28, 0.34);
  background: var(--color-surface);
  color: var(--color-accent-hover);
}

.hero-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 650px;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(59, 42, 34, 0.16);
}

.hero-facts div {
  display: grid;
  gap: 2px;
}

.hero-facts dt {
  color: var(--color-brand);
  font-family: "Newsreader", Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}

.hero-facts dd {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.editorial-hero-visual {
  grid-area: visual;
  position: relative;
  min-width: 0;
  min-height: 580px;
}

.editorial-hero-visual::before,
.editorial-hero-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.editorial-hero-visual::before {
  inset: 32px 6px -24px 32px;
  border-radius: 45% 55% 40% 60% / 55% 42% 58% 45%;
  background: linear-gradient(145deg, rgba(221, 232, 213, 0.92), rgba(244, 201, 93, 0.26));
  transform: rotate(3deg);
}

.editorial-hero-visual::after {
  display: none;
}

.hero-photo-card {
  position: absolute;
  inset: 0 8px 0 24px;
  overflow: hidden;
  margin: 0;
  border: 7px solid rgba(255, 255, 255, 0.8);
  border-radius: 40% 40% 30px 30px / 25% 25% 30px 30px;
  background: var(--color-surface-warm);
  box-shadow: 0 30px 72px rgba(59, 42, 34, 0.17);
  transform: rotate(0.8deg);
  transition: transform 280ms var(--ease), box-shadow 280ms ease;
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.76) contrast(1.03) sepia(0.04);
}

.editorial-hero-visual:hover .hero-photo-card {
  box-shadow: 0 34px 80px rgba(59, 42, 34, 0.2);
  transform: translateY(-4px) rotate(0.25deg);
}

.hero-trust-chip > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-sage);
  color: var(--color-sage-strong);
}

.hero-trust-chip svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-trust-chip {
  position: absolute;
  z-index: 3;
  top: 28px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  background: var(--color-brand);
  color: var(--color-surface);
  box-shadow: 0 20px 50px rgba(59, 42, 34, 0.22);
  font-size: 0.82rem;
  font-weight: 800;
}


.editorial-posts {
  background: var(--color-canvas);
}

.editorial-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.editorial-heading h2,
.trust-intro h2,
.editorial-cta h2 {
  max-width: 820px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.editorial-heading > p,
.trust-intro > p:not(.eyebrow) {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.editorial-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr);
  grid-template-rows: repeat(2, minmax(285px, auto)) auto;
  gap: 20px;
}

.bento-card,
.bento-insight {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.bento-card {
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.2), transparent 30%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.bento-card.is-pointer-active::after {
  opacity: 1;
}

.bento-card:hover,
.bento-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(169, 79, 28, 0.28);
  box-shadow: var(--shadow-hover);
}

.bento-featured {
  grid-row: 1 / span 2;
  min-height: 590px;
}

.bento-image {
  display: block;
  overflow: hidden;
  background: var(--color-surface-warm);
}

.bento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms var(--ease), filter 260ms ease;
}

.bento-card:hover .bento-image img,
.bento-card:focus-within .bento-image img {
  transform: scale(1.02);
  filter: saturate(1.04);
}

.bento-featured .bento-image {
  position: absolute;
  inset: 0;
}

.bento-featured::before {
  content: "";
  position: absolute;
  inset: 28% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(33, 25, 20, 0.92));
  pointer-events: none;
}

.bento-content {
  position: relative;
  z-index: 3;
  padding: 24px;
}

.bento-featured .bento-content {
  position: absolute;
  inset: auto 0 0;
  padding: 34px;
  color: var(--color-surface);
}

.bento-featured h3 {
  max-width: 680px;
  margin-top: 8px;
  color: var(--color-surface);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.bento-featured .bento-content > p {
  max-width: 620px;
  margin: 14px 0 22px;
  color: rgba(255, 255, 255, 0.84);
}

.bento-featured .post-meta,
.bento-featured .post-meta a {
  color: rgba(255, 255, 255, 0.86);
}

.bento-content h3 a:hover,
.bento-content h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.bento-compact {
  display: grid;
  grid-template-columns: minmax(140px, 0.78fr) minmax(0, 1fr);
  min-height: 285px;
}

.bento-compact .bento-image {
  min-height: 100%;
}

.bento-compact .bento-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-compact h3 {
  margin: 10px 0 18px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.bento-compact .post-meta {
  margin-top: auto;
}

.bento-insight {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 100px minmax(180px, 0.65fr) minmax(240px, 1fr) auto;
  gap: 26px;
  align-items: center;
  min-height: 220px;
  padding: 30px;
  border: 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(244, 201, 93, 0.22), transparent 22%),
    linear-gradient(135deg, var(--color-brand), #241914);
  color: var(--color-surface);
}

.bento-insight .insight-number {
  color: var(--color-sun);
  font-family: "Newsreader", Georgia, serif;
  font-size: 4.4rem;
  font-weight: 600;
  line-height: 1;
}

.bento-insight .eyebrow {
  margin: 0;
  color: var(--color-sun);
}

.bento-insight h3 {
  color: var(--color-surface);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.06;
}

.bento-insight > p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.bento-insight > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--color-sun);
  font-weight: 800;
  white-space: nowrap;
}

.bento-insight > a:hover,
.bento-insight > a:focus-visible {
  color: var(--color-surface);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.editorial-categories {
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 0%, rgba(244, 201, 93, 0.3), transparent 24%),
    linear-gradient(180deg, #e9f0e4, var(--color-sage));
}

.category-editorial-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.category-editorial-grid .category-card {
  grid-column: span 4;
  min-height: 185px;
  border: 1px solid rgba(59, 42, 34, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(59, 42, 34, 0.07);
}

.category-editorial-grid .category-card:nth-child(n + 4):nth-child(-n + 7) {
  grid-column: span 3;
}

.category-editorial-grid .category-card:nth-child(n + 8) {
  grid-column: span 6;
}

.category-editorial-grid .category-card:nth-child(3n + 1) { background: #fff9ee; }
.category-editorial-grid .category-card:nth-child(3n + 2) { background: #f9e8bd; }
.category-editorial-grid .category-card:nth-child(3n) { background: #f6f0e8; }

.category-editorial-grid .category-card:hover,
.category-editorial-grid .category-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(169, 79, 28, 0.26);
}

.category-editorial-grid .category-card-soon {
  cursor: default;
  border-style: dashed;
}

.category-editorial-grid .category-card-soon:hover {
  transform: none;
  border-color: rgba(59, 42, 34, 0.1);
  box-shadow: 0 10px 30px rgba(59, 42, 34, 0.07);
}

.soon-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(59, 42, 34, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.category-editorial-grid .category-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  background: var(--color-surface);
}

.editorial-tip-section {
  background: linear-gradient(135deg, #2f211a, #1f1713);
}

.editorial-tip-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.tip-visual {
  position: relative;
  min-height: 560px;
}

.tip-visual::before {
  content: "";
  position: absolute;
  inset: 28px -22px -20px 26px;
  border: 1px solid rgba(244, 201, 93, 0.42);
  border-radius: var(--radius-lg);
  transform: rotate(3deg);
}

.tip-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.tip-visual-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--color-brand);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.05;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.interactive-tip {
  position: relative;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 201, 93, 0.12), transparent 26%),
    rgba(255, 255, 255, 0.055);
  color: var(--color-surface);
}

.interactive-tip.is-changing {
  animation: tipChange 300ms var(--ease) both;
}

.interactive-tip-topline {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.interactive-tip .eyebrow {
  margin: 0;
  color: var(--color-sun);
}

.interactive-tip-topline > span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.interactive-tip h2 {
  margin-top: 28px;
  color: var(--color-surface);
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.interactive-tip > p:not(.eyebrow),
.tip-announcement > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.interactive-tip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
}

.interactive-tip .text-link {
  color: var(--color-sun);
}

.editorial-trust {
  background: var(--color-surface);
}

.trust-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.6fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.trust-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -28px;
}

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

.trust-card {
  min-height: 250px;
  padding: 28px;
  border-top: 4px solid var(--color-accent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: linear-gradient(180deg, #fffdf8, #f8eddd);
}

.trust-card:nth-child(2) { border-top-color: var(--color-sage-strong); }
.trust-card:nth-child(3) { border-top-color: #c49b2e; }

.trust-card > span {
  color: var(--color-accent);
  font-family: "Newsreader", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
}

.trust-card h3 {
  margin-top: 34px;
  font-size: 1.4rem;
}

.trust-card p {
  margin: 10px 0 0;
  color: var(--color-text-muted);
}

.editorial-cta {
  padding-top: 0;
  background: var(--color-surface);
}

.editorial-cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: clamp(34px, 6vw, 68px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 10%, rgba(244, 201, 93, 0.24), transparent 26%),
    linear-gradient(135deg, var(--color-sage-strong), #294c34);
  box-shadow: 0 30px 80px rgba(41, 76, 52, 0.22);
  color: var(--color-surface);
}

.editorial-cta-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.editorial-cta .eyebrow {
  color: var(--color-sun);
}

.editorial-cta h2 {
  max-width: 850px;
  color: var(--color-surface);
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
}

.editorial-cta p:not(.eyebrow) {
  max-width: 750px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.editorial-cta .button {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

@keyframes tipChange {
  from { opacity: 0.55; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .editorial-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: 42px;
  }

  .editorial-hero h1 {
    font-size: clamp(3.2rem, 6.8vw, 4.8rem);
  }

  .bento-compact {
    grid-template-columns: 1fr;
  }

  .bento-compact .bento-image {
    min-height: 150px;
  }

  .bento-insight {
    grid-template-columns: 80px minmax(180px, 0.7fr) minmax(220px, 1fr);
  }

  .bento-insight > a {
    grid-column: 2 / -1;
  }
}

@media (max-width: 920px) {
  .editorial-tip-layout {
    grid-template-columns: 1fr;
  }

  .editorial-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    column-gap: 32px;
    row-gap: 0;
  }

  .editorial-hero h1 {
    font-size: clamp(2.9rem, 6vw, 3.55rem);
  }

  .editorial-hero-copy {
    max-width: 620px;
  }

  .editorial-hero-visual {
    width: 100%;
    min-height: 520px;
    margin-inline: 0;
  }

  .editorial-heading,
  .trust-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .trust-intro .eyebrow {
    margin-bottom: 0;
  }

  .editorial-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .bento-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 600px;
  }

  .bento-insight {
    grid-template-columns: 70px 1fr;
  }

  .bento-insight > p:not(.eyebrow),
  .bento-insight > a {
    grid-column: 2;
  }

  .category-editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-editorial-grid .category-card,
  .category-editorial-grid .category-card:nth-child(n) {
    grid-column: auto;
  }

  .tip-visual {
    width: min(650px, 94%);
    min-height: 520px;
    margin-inline: auto;
  }

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

  .trust-card:last-child {
    grid-column: 1 / -1;
  }

  .editorial-cta-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .editorial-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "shortcuts"
      "facts";
  }

  .editorial-hero-copy {
    max-width: 700px;
  }

  .editorial-hero-visual {
    width: min(600px, 100%);
    min-height: 520px;
    margin-top: 36px;
    margin-inline: auto;
  }

  .hero-shortcuts {
    margin-top: 32px;
  }
}

@media (max-width: 620px) {
  .editorial-hero {
    padding-top: 48px;
  }

  .editorial-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
    line-height: 0.96;
  }

  .editorial-hero-lead {
    margin-top: 22px;
  }

  .editorial-hero .hero-actions,
  .editorial-hero .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    gap: 12px;
    margin-top: 28px;
  }

  .hero-facts dt {
    font-size: 1.7rem;
  }

  .hero-facts dd {
    font-size: 0.72rem;
  }

  .editorial-hero-visual {
    width: 100%;
    min-height: 430px;
  }

  .hero-photo-card {
    inset-inline: 8px;
  }

  .hero-trust-chip {
    top: 16px;
    right: 16px;
  }

  .hero-shortcuts {
    gap: 6px;
  }

  .hero-shortcuts > span {
    flex-basis: 100%;
    margin: 0 0 2px;
  }

  .editorial-heading h2,
  .trust-intro h2 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .editorial-bento {
    grid-template-columns: 1fr;
  }

  .bento-featured,
  .bento-compact,
  .bento-insight {
    grid-column: auto;
  }

  .bento-featured {
    min-height: 540px;
  }

  .bento-featured .bento-content {
    padding: 24px;
  }

  .bento-featured h3 {
    font-size: 2.35rem;
  }

  .bento-compact {
    grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1fr);
    min-height: 230px;
  }

  .bento-compact h3 {
    font-size: 1.45rem;
  }

  .bento-insight {
    display: block;
    padding: 26px;
  }

  .bento-insight h3 {
    margin-top: 18px;
  }

  .bento-insight > p:not(.eyebrow) {
    margin-top: 14px;
  }

  .bento-insight > a {
    margin-top: 18px;
  }

  .category-editorial-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }

  .category-editorial-grid .category-card,
  .category-editorial-grid .category-card:nth-child(n) {
    flex: 0 0 min(82vw, 310px);
    min-height: 180px;
    scroll-snap-align: start;
  }

  .tip-visual {
    width: 100%;
    min-height: 420px;
  }

  .interactive-tip h2 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .interactive-tip-actions,
  .interactive-tip-actions .button {
    width: 100%;
  }

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

  .trust-card:last-child {
    grid-column: auto;
  }

  .editorial-cta-card {
    border-radius: var(--radius-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-hero-copy > *,
  .hero-shortcuts,
  .hero-facts,
  .interactive-tip.is-changing {
    animation: none !important;
  }

  .hero-photo-card {
    transition: none !important;
  }

  .editorial-hero-visual:hover .hero-photo-card {
    transform: rotate(0.8deg);
  }
}

@media (max-width: 420px) {
  .editorial-hero h1 {
    font-size: 2.65rem;
  }
}

/* Hero refresh — 13/07/2026 */
.hero-refresh {
  min-height: 690px;
  display: flex;
  align-items: center;
  padding: clamp(64px, 6.5vw, 92px) 0 clamp(72px, 7vw, 104px);
  background:
    radial-gradient(circle at 88% 18%, rgba(221, 232, 213, 0.96) 0, rgba(221, 232, 213, 0.46) 18rem, transparent 32rem),
    radial-gradient(circle at 8% 88%, rgba(244, 201, 93, 0.2) 0, transparent 24rem),
    linear-gradient(135deg, #fffaf2 0%, #f9eddd 54%, #eef4eb 100%);
}

.hero-refresh::before {
  background:
    radial-gradient(circle, rgba(59, 42, 34, 0.065) 1.2px, transparent 1.4px) 0 0 / 24px 24px,
    linear-gradient(90deg, transparent 0 56%, rgba(255, 255, 255, 0.32) 56% 56.08%, transparent 56.08%);
  opacity: 0.48;
  mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
}

.hero-refresh::after {
  content: "";
  position: absolute;
  right: clamp(-110px, -4vw, -54px);
  bottom: -150px;
  z-index: -1;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(63, 104, 71, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(255, 255, 255, 0.12),
    0 0 0 68px rgba(63, 104, 71, 0.035);
}

.hero-refresh .editorial-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.78fr);
  grid-template-areas: "copy visual";
  column-gap: clamp(56px, 7vw, 96px);
  align-items: center;
}

.hero-refresh .editorial-hero-copy {
  max-width: 680px;
}

.hero-refresh .hero-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 8px 13px;
  border: 1px solid rgba(169, 79, 28, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 24px rgba(59, 42, 34, 0.06);
  color: var(--color-accent-hover);
  letter-spacing: 0.075em;
}

.hero-refresh .hero-kicker > span {
  color: var(--color-sage-strong);
  font-size: 0.72rem;
}

.hero-refresh h1 {
  max-width: 680px;
  font-size: clamp(3.7rem, 5.35vw, 5.65rem);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.052em;
}

.hero-refresh h1 em {
  color: var(--color-accent);
  font-weight: 600;
}

.hero-refresh .editorial-hero-lead {
  max-width: 610px;
  margin-top: 28px;
  color: #58483d;
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  line-height: 1.68;
}

.hero-refresh .hero-actions {
  gap: 12px;
  margin-top: 32px;
}

.hero-refresh .hero-actions .button {
  min-height: 50px;
  padding-inline: 21px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 30px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(59, 42, 34, 0.14);
  list-style: none;
}

.hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.hero-benefits li > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-sage);
  color: var(--color-sage-strong);
  font-size: 0.72rem;
  font-weight: 900;
}

.hero-refresh .editorial-hero-visual {
  min-height: 600px;
}

.hero-refresh .editorial-hero-visual::before {
  inset: 28px -16px -26px 28px;
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(221, 232, 213, 0.98), rgba(244, 201, 93, 0.32));
  transform: rotate(3.5deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.hero-refresh .hero-photo-card {
  inset: 0;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 38px;
  box-shadow: 0 32px 82px rgba(59, 42, 34, 0.2);
  transform: rotate(-0.7deg);
}

.hero-refresh .hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(33, 24, 19, 0.14) 100%);
}

.hero-refresh .hero-photo-card img {
  filter: saturate(0.9) contrast(1.03);
  object-position: center 44%;
}

.hero-refresh .editorial-hero-visual:hover .hero-photo-card {
  transform: translateY(-5px) rotate(-0.2deg);
}

.hero-featured-guide {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(43, 33, 27, 0.86);
  color: var(--color-surface);
  box-shadow: 0 18px 46px rgba(25, 18, 14, 0.24);
  backdrop-filter: blur(14px);
}

.hero-featured-guide > span {
  color: #f7d57d;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-featured-guide strong {
  max-width: 360px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.18;
}

.hero-featured-guide a {
  width: fit-content;
  margin-top: 5px;
  color: #fff4dc;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-featured-guide a:hover,
.hero-featured-guide a:focus-visible {
  color: var(--color-sun);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-refresh .hero-trust-chip {
  top: 22px;
  right: -22px;
  padding: 10px 15px 10px 10px;
  border: 1px solid rgba(59, 42, 34, 0.09);
  background: rgba(255, 253, 248, 0.94);
  color: var(--color-brand);
  box-shadow: 0 18px 46px rgba(59, 42, 34, 0.16);
  backdrop-filter: blur(12px);
}

.hero-refresh .hero-trust-chip > span {
  background: var(--color-sage);
  color: var(--color-sage-strong);
}

@media (max-width: 1080px) {
  .hero-refresh .editorial-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(355px, 0.76fr);
    column-gap: 48px;
  }

  .hero-refresh h1 {
    font-size: clamp(3.4rem, 6vw, 4.75rem);
  }

  .hero-refresh .editorial-hero-visual {
    min-height: 560px;
  }
}

@media (max-width: 820px) {
  .hero-refresh {
    min-height: 0;
    padding-top: 58px;
  }

  .hero-refresh::before {
    mask-image: linear-gradient(180deg, transparent, #000 44%, #000);
  }

  .hero-refresh .editorial-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    gap: 46px;
  }

  .hero-refresh .editorial-hero-copy {
    max-width: 720px;
  }

  .hero-refresh h1 {
    max-width: 720px;
    font-size: clamp(3.45rem, 10vw, 5rem);
  }

  .hero-refresh .editorial-hero-visual {
    width: min(620px, 100%);
    min-height: 570px;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .hero-refresh {
    padding: 44px 0 66px;
  }

  .hero-refresh .hero-kicker {
    max-width: 100%;
    margin-bottom: 18px;
    padding: 7px 11px;
    font-size: 0.7rem;
  }

  .hero-refresh h1 {
    font-size: clamp(2.75rem, 13vw, 3.7rem);
    line-height: 0.94;
  }

  .hero-refresh .editorial-hero-lead {
    margin-top: 22px;
    font-size: 1.02rem;
  }

  .hero-refresh .hero-actions,
  .hero-refresh .hero-actions .button {
    width: 100%;
  }

  .hero-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 26px;
    padding-top: 22px;
  }

  .hero-benefits li:last-child {
    grid-column: 1 / -1;
  }

  .hero-refresh .editorial-hero-visual {
    min-height: 455px;
  }

  .hero-refresh .editorial-hero-visual::before {
    inset: 20px -4px -16px 16px;
    border-radius: 30px;
  }

  .hero-refresh .hero-photo-card {
    border-width: 6px;
    border-radius: 28px;
  }

  .hero-featured-guide {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 15px 16px;
    border-radius: 16px;
  }

  .hero-featured-guide strong {
    font-size: 1.1rem;
  }

  .hero-refresh .hero-trust-chip {
    top: 14px;
    right: 10px;
    font-size: 0.75rem;
  }
}

@media (max-width: 410px) {
  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .hero-benefits li:last-child {
    grid-column: auto;
  }

  .hero-refresh .editorial-hero-visual {
    min-height: 420px;
  }

  .hero-refresh .hero-trust-chip {
    padding-right: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-refresh .hero-photo-card,
  .hero-refresh .editorial-hero-visual:hover .hero-photo-card {
    transform: none;
  }
}
