/* Pawberry pages: Stories list, pet hubs (cats / dogs / small pets) and About.
   Material: Liquid Glass (tokens + .glass in base.css) over a soft, slowly drifting colour field, same language as the home page.
   Scripts: js/pages.js (Stories filter). Every page reads fine without JS. Re-declares the home look (.seg, .ex-card, .pill-btn, .kicker)
   because home.css is not loaded here. */

.pg {
  --ease-out-soft: cubic-bezier(.16, 1, .3, 1);
  --spring-ui: cubic-bezier(.22, 1.2, .36, 1);
  --leaf-ink: #3f5239;   /* a step darker than --leaf: keeps 4.5:1 for small text on leaf-tinted glass */
  --pg-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .18 0 0 0 0 .14 0 0 0 0 .13 0 0 0 .5 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
.pg a { text-decoration: none; color: inherit; }
.pg h1, .pg h2, .pg h3 { text-wrap: balance; }
.pg p { text-wrap: pretty; margin: 0; }
.pg ul { list-style: none; margin: 0; padding: 0; }
.pg :where(a, button, input):focus-visible { outline: 2px solid var(--strawberry); outline-offset: 3px; }

/* ================= STAGE: one continuous colour field behind hero + glass ================= */
.pg-stage { position: relative; isolation: isolate; overflow: hidden; overflow: clip; background: var(--paper); }
.pg-stage::before {   /* blobs tile every 1200px so long pages keep colour behind the glass */
  content: ""; position: absolute; inset: -60px -6% -60px; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(360px 300px at 14% 300px, rgba(244, 150, 172, .46), transparent 72%),
    radial-gradient(380px 300px at 88% 220px, rgba(250, 206, 142, .58), transparent 72%),
    radial-gradient(360px 320px at 74% 700px, rgba(166, 198, 148, .48), transparent 72%),
    radial-gradient(340px 300px at 8% 820px, rgba(212, 190, 238, .42), transparent 72%),
    radial-gradient(320px 260px at 46% 520px, rgba(255, 212, 196, .50), transparent 72%),
    radial-gradient(320px 240px at 50% 1000px, rgba(250, 206, 142, .36), transparent 72%);
  background-size: 100% 1200px; background-repeat: repeat-y;
  animation: pg-drift 52s ease-in-out infinite alternate; will-change: transform;
}
.pg-stage::after {   /* extremely subtle grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--pg-grain); opacity: .05; mix-blend-mode: multiply;
}
@keyframes pg-drift {
  from { transform: translate3d(-1.5%, -10px, 0) scale(1); }
  to   { transform: translate3d(1.5%, 14px, 0) scale(1.04) rotate(.6deg); }
}
.pg-wrap { position: relative; max-width: var(--content-max); margin: 0 auto; padding-inline: var(--gutter); }

/* ================= SHARED TEXT PIECES ================= */
.kicker { font: 600 12px/16px var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: var(--jam); }
.pg-kicker { margin-bottom: 12px !important; font: 600 12.5px/16px var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: var(--jam); }
.pg h1 { font: 600 clamp(38px, 4.6vw, 58px) / 1.04 var(--font-display); letter-spacing: -.038em; color: var(--ink); }
.pg-lead { margin-top: 14px !important; max-width: 46ch; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.5; color: var(--ink-muted); }

.pill-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--font-display); color: #fff; cursor: pointer;
  background: linear-gradient(180deg, #c22648, #ab1c3d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 6px 14px -6px rgba(181, 31, 66, .55);
  transition: background .2s ease, transform .25s var(--ease-out-soft);
}
.pg a.pill-btn, .pg a.pill-btn:link, .pg a.pill-btn:visited, .pg a.pill-btn:hover, .pg a.pill-btn:active { color: #fff; }
.pg a.pill-btn:hover { background: linear-gradient(180deg, #a21f3f, var(--jam)); transform: translateY(-1px); }
.pill-btn span[aria-hidden] { display: inline-block; transition: transform .25s var(--ease-out-soft); }
.pill-btn:hover span[aria-hidden] { transform: translateX(3px); }

.pg-breadcrumb { margin-bottom: 22px; }
.pg-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; list-style: none; margin: 0; padding: 0; font: 560 14px/20px var(--font-display); color: var(--ink-muted); }
.pg-breadcrumb li + li::before { content: "/"; margin: 0 9px; color: rgba(46, 35, 34, .38); }
.pg-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--jam); border-radius: 6px; }
.pg-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pg-breadcrumb [aria-current] { color: var(--ink); }

/* one-time entrance */
.pg .rv { opacity: 0; translate: 0 14px; animation: pg-rv .6s var(--ease-out-soft) forwards; animation-delay: calc(var(--i, 0) * 80ms + 40ms); }
@keyframes pg-rv { to { opacity: 1; translate: 0 0; } }

/* ================= HEROES ================= */
.pg-hero { position: relative; padding: 138px 0 34px; }
.pg-hero-text { min-width: 0; }
.pg-hero-compact { padding-bottom: 26px; }

/* pet hub hero: text beside a framed cover */
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hub-hero .pb-icon { --s: 76px; margin-bottom: 20px; }
.hub-tagline { margin-top: 14px !important; font: 600 clamp(19px, 1.9vw, 23px) / 1.25 var(--font-display); letter-spacing: -.02em; color: var(--jam); }
.hub-hero .pg-lead { margin-top: 10px !important; }
.hub-hero .pill-btn { margin-top: 26px; }
.hub-hero .pill-btn-row { display: flex; }

/* ================= GLASS CARD (hero frame + story cards) =================
   Per-card variables: --tint (r, g, b), --tint-a / --tint-b, --tile-white, --glow (r, g, b). */
.gcard, .ex-card {
  --tile-white: .42;
  --sh: 0 0 0 .5px var(--lg-edge), var(--lg-inner),
    0 1px 2px rgba(var(--glow, 128, 28, 54), .08), 0 12px 30px -10px rgba(var(--glow, 128, 28, 54), .28), 0 26px 44px -26px rgba(43, 26, 16, .20);
  --sh-hover: 0 0 0 .5px rgba(46, 35, 34, .12), var(--lg-inner-hover),
    0 2px 4px rgba(var(--glow, 128, 28, 54), .10), 0 20px 44px -10px rgba(var(--glow, 128, 28, 54), .36), 0 36px 60px -28px rgba(43, 26, 16, .26);
  position: relative; isolation: isolate; overflow: hidden; border-radius: 26px;
  background:
    var(--lg-sheen),
    linear-gradient(160deg, rgba(var(--tint, 255, 255, 255), var(--tint-a, .2)), rgba(var(--tint, 255, 255, 255), var(--tint-b, .08))),
    rgba(255, 255, 255, var(--tile-white));
  -webkit-backdrop-filter: var(--lg-filter); backdrop-filter: var(--lg-filter);
  box-shadow: var(--sh);
  transition: transform .35s var(--ease-out-soft), box-shadow .35s var(--ease-out-soft), opacity .2s ease, scale .2s ease;
}
.gcard::after, .ex-card::after {   /* specular rim, brightest top-left */
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--lg-rim); opacity: .8;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .35s var(--ease-out-soft);
}
a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
a.stretch:focus-visible { outline: none; }
.ex-card:has(a.stretch:focus-visible) { outline: 2px solid var(--strawberry); outline-offset: 3px; }

/* tone by pet */
[data-tone="cat"]   { --tint: 244, 150, 172; --tint-a: .26; --tint-b: .12; --glow: 181, 31, 66; }
[data-tone="dog"]   { --tint: 247, 190, 110; --tint-a: .34; --tint-b: .16; --glow: 201, 140, 60; }
[data-tone="small"] { --tint: 160, 196, 142; --tint-a: .34; --tint-b: .16; --glow: 83, 103, 77; }
.ex-card[data-tone="small"] .kicker, .ex-card[data-tone="small"] .ex-more { color: var(--leaf-ink); }

/* cover: a photo / illustration, or the "Image coming soon" placeholder */
.pg-cover {
  position: relative; flex: none; align-self: stretch; display: flex; align-items: center; justify-content: center; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: 14px; background: var(--oat);
  box-shadow: inset 0 0 0 .5px rgba(46, 35, 34, .10), 0 6px 14px -10px rgba(var(--glow, 128, 28, 54), .45);
}
.pg-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out-soft); }
.pg-cover.is-soon {   /* decorative placeholder: tinted gradient, fine diagonal stripes, soft light */
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .34) 0 1px, rgba(255, 255, 255, 0) 1px 9px),
    linear-gradient(135deg, rgba(var(--tint, 255, 255, 255), .58), rgba(var(--tint, 255, 255, 255), .22)),
    #fff7ed;
  box-shadow: inset 0 0 0 .5px rgba(46, 35, 34, .10), inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 14px -10px rgba(var(--glow, 128, 28, 54), .45);
}
.pg-cover.is-soon span { font: 600 11px/16px var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-muted); }

/* hub hero frame */
.hub-frame { padding: 10px; --tile-white: .50; --tint-a: .24; --tint-b: .12; }
.hub-frame .pg-cover { aspect-ratio: 5 / 3; border-radius: 18px; box-shadow: 0 0 0 .5px rgba(46, 35, 34, .12), 0 8px 18px -10px rgba(43, 26, 16, .35); }

/* ================= STORY CARDS + GRID ================= */
.pg-list { position: relative; padding: 8px 0 56px; }
.pg-list .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.pg-list h2 { font: 600 clamp(26px, 3vw, 34px) / 1.1 var(--font-display); letter-spacing: -.03em; color: var(--ink); }

.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 22px; }
.ex-card { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 12px 18px; min-width: 0; }
.ex-card[hidden] { display: none; }
.ex-card .kicker { margin: 18px 10px 0; }
.ex-card h3 { margin: 6px 10px 0; font: 600 20px/1.2 var(--font-display); letter-spacing: -.022em; color: var(--ink); }
.ex-sum { margin: 8px 10px 0 !important; font-size: 15px; line-height: 1.45; color: var(--ink-muted); }
.ex-foot { align-self: stretch; margin: auto 10px 0; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ex-date { font: 560 13px/1.2 var(--font-display); color: var(--ink-muted); }
.ex-more { font: 600 14.5px/1.2 var(--font-display); color: var(--jam); display: inline-flex; gap: 6px; align-items: center; }
.ex-card[data-tone="small"] .ex-more { color: var(--leaf-ink); }
.ex-more span { display: inline-block; transition: transform .25s var(--ease-out-soft); }
.ex-card:hover { transform: translateY(-5px); box-shadow: var(--sh-hover); }
.ex-card:hover::after { opacity: 1; }
.ex-card:hover .ex-more span { transform: translateX(4px); }
.ex-card:hover .pg-cover img { transform: scale(1.04); }
.ex-card.is-leave { opacity: 0; scale: .95; transition: opacity .14s ease, scale .14s ease; }
.ex-card.is-enter { animation: ex-in .42s var(--ease-out-soft) both; animation-delay: calc(var(--k, 0) * 45ms); }
@keyframes ex-in { from { opacity: 0; scale: .94; translate: 0 10px; } to { opacity: 1; scale: 1; translate: 0 0; } }

/* a lone card (dog and small-pet hubs): wide and horizontal, so the row never looks half empty */
.ex-grid.is-single { grid-template-columns: minmax(0, 880px); }
.ex-grid.is-single .ex-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 12px; align-items: stretch; padding: 12px; }
.ex-grid.is-single .pg-cover { grid-row: 1 / span 4; aspect-ratio: auto; min-height: 250px; }
.ex-grid.is-single .kicker { margin: 22px 14px 0; align-self: end; }
.ex-grid.is-single h3 { margin: 6px 14px 0; font-size: clamp(22px, 2.4vw, 28px); }
.ex-grid.is-single .ex-sum { margin: 10px 14px 0 !important; font-size: 16px; }
.ex-grid.is-single .ex-foot { margin: 0 14px 12px; padding-top: 18px; align-self: end; }

/* ================= STORIES: FILTER BAR ================= */
.pg-filters { --lg-white: .5; padding: 16px; border-radius: 26px; margin-bottom: 28px; display: grid; gap: 16px; }
.pg-filters[hidden] { display: none; }
.pf-top { display: flex; align-items: center; gap: 12px; }
.pf-search { position: relative; flex: 1; min-width: 0; }
.pf-search svg { position: absolute; left: 15px; top: 50%; width: 19px; height: 19px; translate: 0 -50%; color: var(--ink-muted); pointer-events: none; }
.pf-search input {
  display: block; width: 100%; height: 46px; padding: 0 14px 0 44px; border: 0; border-radius: 16px;
  background: rgba(255, 255, 255, .74); color: var(--ink); font: 500 16px/1.2 var(--font-display);
  box-shadow: inset 0 0 0 .5px rgba(46, 35, 34, .20), inset 0 1px 3px rgba(46, 35, 34, .07), 0 1px 0 rgba(255, 255, 255, .8);
  transition: background .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.pf-search input::placeholder { color: #75625b; opacity: 1; }
.pf-search input:hover { background: rgba(255, 255, 255, .86); }
.pf-search input:focus-visible { outline: 2px solid var(--strawberry); outline-offset: 2px; background: #fff; }

.pf-reset, .pf-topic button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--touch); padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 14.5px/1 var(--font-display); color: var(--jam); white-space: nowrap;
  background: var(--lg-sheen), rgba(255, 255, 255, .62);
  box-shadow: 0 0 0 .5px var(--lg-edge), inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 14px -8px rgba(128, 28, 54, .30);
  transition: transform .25s var(--ease-out-soft), background .2s ease, box-shadow .25s var(--ease-out-soft), opacity .2s ease;
}
.pf-reset:hover:not(:disabled), .pf-topic button:hover { transform: translateY(-1px); background: var(--lg-sheen), rgba(255, 255, 255, .86); }
.pf-reset:disabled { cursor: default; color: #7a6760; opacity: .6; box-shadow: 0 0 0 .5px var(--lg-edge), inset 0 1px 0 rgba(255, 255, 255, .7); }

.pf-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 30px; }
.pf-group { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pf-label { padding-left: 4px; font: 600 12px/16px var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-muted); }
.pf-topic { display: flex; flex-direction: column; gap: 7px; }
.pf-topic[hidden] { display: none; }
.pf-count { margin-left: auto; padding-bottom: 12px; font: 560 14.5px/1.3 var(--font-display); color: var(--ink-muted); text-align: right; }

/* segmented control: the header's navigation bar in miniature (frosted bar, plain-text tabs, gliding hover pill, white selected pill) */
.seg {
  --seg-x: 0px; --seg-y: 4px; --seg-w: 0px; --seg-h: 36px; --hx: 0px; --hy: 4px; --hw: 0px; --hh: 36px;
  position: relative; isolation: isolate; display: inline-flex; flex: none; align-items: center; min-height: 44px; padding: 4px; border-radius: 16px; max-width: 100%;
  background: var(--lg-sheen), linear-gradient(165deg, rgba(255, 214, 222, .18), rgba(255, 255, 255, 0) 70%), var(--lg-fill-bar);
  -webkit-backdrop-filter: var(--lg-filter); backdrop-filter: var(--lg-filter);
  box-shadow: 0 0 0 .5px var(--lg-edge), var(--lg-inner), var(--lg-drop);
}
.seg::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--lg-rim); opacity: .85;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.seg-hover, .seg-thumb { position: absolute; z-index: 0; top: 0; left: 0; border-radius: 9px; pointer-events: none; }
.seg-hover {
  width: var(--hw); height: var(--hh); transform: translate(var(--hx), var(--hy)); background: rgba(46, 35, 34, .075); opacity: 0;
  transition: transform 380ms var(--spring-ui), width 380ms var(--spring-ui), height 380ms var(--spring-ui), opacity 160ms ease;
}
.seg.has-hover .seg-hover { opacity: 1; }
.seg.is-fresh .seg-hover { transition: opacity 160ms ease; }
.seg-thumb {
  width: var(--seg-w); height: var(--seg-h); transform: translate(var(--seg-x), var(--seg-y));
  background: var(--lg-sheen), linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 251, 246, .88));
  box-shadow: 0 0 0 .5px rgba(46, 35, 34, .14), inset 0 1px 0 #fff, 0 3px 8px -2px rgba(128, 28, 54, .24), 0 1px 2px rgba(43, 26, 16, .12);
}
.seg.is-ready .seg-thumb { transition: transform 420ms var(--spring-ui), width 420ms var(--spring-ui), height 420ms var(--spring-ui); }
.seg-btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; min-width: 0; padding: 0 13px;
  border: 0; border-radius: 9px; background: transparent; cursor: pointer; white-space: nowrap;
  font: 560 14.5px/20px var(--font-display); color: var(--ink);
}
.seg-btn:focus-visible { outline: 2px solid var(--strawberry); outline-offset: 1px; }
.seg-btn .pb-icon { --s: 22px; flex: none; }

/* friendly empty state */
.pg-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; max-width: 520px; margin: 8px auto 0; padding: 40px 28px 34px; --tint: 212, 190, 238; --tint-a: .26; --tint-b: .12; --glow: 120, 100, 160; }
.pg-empty[hidden] { display: none; }
.pg-empty .pb-icon { --s: 56px; margin-bottom: 12px; }
.pg-empty h3 { font: 600 22px/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.pg-empty p { font-size: 15.5px; line-height: 1.5; color: var(--ink-muted); }
.pg-empty .pill-btn { margin-top: 16px; border: 0; }

/* ================= OTHER PETS ================= */
.pg-others { position: relative; padding: 4px 0 64px; }
.pg-others h2 { font: 600 20px/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px; }
.op-row { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 16px; }
.op-link {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 18px 12px 12px; border-radius: 22px;
  --tile-white: .42;
}
.op-link .pb-icon { --s: 52px; flex: none; }
.op-link strong { display: block; font: 600 17.5px/1.2 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.op-link small { display: block; margin-top: 2px; font: 500 14px/1.35 var(--font-display); color: var(--ink-muted); }
.op-link .op-go { margin-left: auto; color: var(--jam); font-weight: 600; transition: transform .25s var(--ease-out-soft); }
.op-link[data-tone="small"] .op-go { color: var(--leaf-ink); }
.op-link:hover { transform: translateY(-3px); box-shadow: var(--sh-hover); }
.op-link:hover::after { opacity: 1; }
.op-link:hover .op-go { transform: translateX(3px); }
.op-link:has(a:focus-visible) { outline: 2px solid var(--strawberry); outline-offset: 3px; }
.op-link a { position: static; }
.op-link a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.op-link a:focus-visible { outline: none; }

/* ================= ABOUT ================= */
.about-hero h1 { max-width: 14em; }
.about-hero .pg-lead { max-width: 40ch; font-size: clamp(18px, 1.8vw, 22px); }
.about-body { position: relative; padding: 18px 0 72px; }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.about-card { scroll-margin-top: 120px; padding: clamp(24px, 3vw, 36px); border-radius: 30px; --tile-white: .46; }
.about-card .pb-icon { --s: 56px; margin-bottom: 20px; }
.about-card h2 { font: 600 clamp(22px, 2.2vw, 27px) / 1.15 var(--font-display); letter-spacing: -.028em; color: var(--ink); }
.about-card p { margin-top: 12px; max-width: 54ch; font-size: 17px; line-height: 1.62; color: var(--ink-muted); }
.about-card:target { box-shadow: var(--sh-hover), 0 0 0 2px rgba(181, 31, 66, .35); }
.about-card.is-lead { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(20px, 3vw, 40px); align-items: start; --tint: 244, 150, 172; --tint-a: .24; --tint-b: .12; --glow: 181, 31, 66; --tile-white: .52; }
.about-card.is-lead .pb-icon { --s: 84px; margin: 0; grid-row: 1 / span 2; }
.about-card.is-lead h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.034em; }
.about-card.is-lead p { max-width: 58ch; font-size: clamp(17.5px, 1.7vw, 20px); line-height: 1.58; color: #54433d; }
.about-card.is-sources { --tint: 160, 196, 142; --tint-a: .30; --tint-b: .14; --glow: 83, 103, 77; }
.about-card.is-gear { --tint: 215, 154, 184; --tint-a: .26; --tint-b: .13; --glow: 138, 53, 96; }

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-grid.is-single { grid-template-columns: minmax(0, 1fr); }
  .hub-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hub-frame { max-width: 640px; }
}
@media (max-width: 680px) {
  .pg-hero { padding-top: 126px; padding-bottom: 22px; }
  .pg-list { padding-bottom: 40px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .about-card.is-lead { grid-template-columns: minmax(0, 1fr); }
  .about-card.is-lead .pb-icon { --s: 64px; margin-bottom: 18px; grid-row: auto; }
  .op-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hub-hero .pb-icon { --s: 68px; }
}
@media (max-width: 620px) {
  .ex-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; grid-auto-rows: auto; }
  .ex-grid.is-single .ex-card { display: flex; padding: 12px 12px 18px; }
  .ex-grid.is-single .pg-cover { grid-row: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .ex-grid.is-single .kicker { margin: 18px 10px 0; align-self: flex-start; }
  .ex-grid.is-single h3 { margin: 6px 10px 0; font-size: 20px; }
  .ex-grid.is-single .ex-sum { margin: 8px 10px 0 !important; font-size: 15px; }
  .ex-grid.is-single .ex-foot { margin: auto 10px 0; padding-top: 16px; align-self: stretch; }
  .pg-filters { padding: 12px; gap: 14px; border-radius: 24px; }
  .pf-row { gap: 14px; }
  .pf-group { width: 100%; }
  .pf-group .seg { width: 100%; }
  .seg-fmt { flex-wrap: wrap; }
  .seg-fmt .seg-btn { flex: 1 1 auto; }
  .seg-pet { display: grid; grid-template-columns: .85fr .8fr .8fr 1.2fr; }
  .seg-pet .seg-btn { padding: 0 4px; gap: 5px; }
  .seg-pet .pb-icon { --s: 20px; }
  .pf-count { margin-left: 0; padding-bottom: 0; text-align: left; }
}
@media (max-width: 400px) {
  .pf-reset { padding: 0 14px; }
  .seg-pet .seg-btn { font-size: 13.5px; }
}

/* ================= MOTION / FALLBACKS ================= */
@media (prefers-reduced-motion: reduce) {
  .pg-stage::before { animation: none; will-change: auto; }
  .pg .rv { animation: none; opacity: 1; translate: none; }
  .gcard, .ex-card, .gcard::after, .ex-card::after, .pg-cover img, .pill-btn, .seg-thumb, .seg-hover, .pf-reset, .op-link, .op-go { transition: none !important; }
  .ex-card:hover, .op-link:hover { transform: none; }
  .ex-card:hover .pg-cover img { transform: none; }
  .ex-card.is-enter { animation: none; }
  .ex-card.is-leave { transition: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .gcard, .ex-card { --tile-white: .90; }
  .seg { background: rgba(255, 255, 255, .85); }
}
@media (prefers-reduced-transparency: reduce) {
  .gcard, .ex-card, .seg { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .gcard, .ex-card { --tile-white: .92; }
  .seg { background: rgba(255, 255, 255, .88); }
  .pf-search input { background: #fff; }
}
