/*
Theme Name: Gottabe Merle & Ribbon
Theme URI: https://gottabeminiamericans.com/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: Block theme for Gottabe Miniature American Shepherds (Lori McClelland, Reno–Sparks NV). A blue show rosette, merle-coat patches that never settle, a judge's agility course map, a pedigree that draws itself. Loops are pausable keyframes; entrances are transitions.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: gbm-ribbon
*/

:root {
	--ink: #18191D; --slate: #2D3742; --merle: #5C6A77; --mist: #A7B3BD; --fog: #E4E8EB;
	--cream: #FAF6EF; --paper: #FFFDF9; --copper: #94491A; --copper-hi: #C8743A;
	--ribbon: #1F4E9C; --ribbon-hi: #3769BD; --ribbon-deep: #163B78; --gold: #D7A93A; --lime: #A9D23B; --eye: #8CCBEE;
	--f-d: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
	--f-b: Mulish, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-l: Oswald, 'Arial Narrow', system-ui, sans-serif;
	--wide: 1200px; --gut: clamp(16px, 4vw, 40px); --r: 18px;
	--shadow: 0 1px 2px rgba(24, 25, 29, .06), 0 14px 34px -14px rgba(24, 25, 29, .28);
	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--cream); color: var(--ink); font-family: var(--f-b); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--ribbon); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ribbon-deep); }
:focus-visible { outline: 3px solid var(--ribbon-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-d); font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--copper); }
p { text-wrap: pretty; }
.gbm-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.gbm-skip:focus { top: 12px; color: var(--paper); }
.gbm-main { margin-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.gbm-main > .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gbm-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.gbm-kicker { font-family: var(--f-l); font-weight: 600; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); display: flex; align-items: center; gap: .6em; flex-wrap: wrap; margin: 0 0 .9rem; }
.gbm-kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--gold); flex: none; }
.gbm-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--slate); }
.gbm-sub { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: clamp(48px, 6vw, 80px) 0 .4rem; }
.gbm-subl { color: var(--merle); margin: 0 0 1.4rem; }
.gbm-more { font-weight: 800; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.gbm-more:hover { text-decoration: underline; }
.gbm-link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--ribbon); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* ---------- buttons ---------- */
.gbm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.6rem; }
.gbm-btn, .gbm-nf input[type=submit], .gbm-nf button[type=submit] {
	display: inline-flex; align-items: center; gap: .5em; padding: 14px 24px; border-radius: 999px; border: 2px solid var(--ribbon);
	background: var(--ribbon); color: #fff; font-family: var(--f-b); font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none;
	box-shadow: 0 8px 20px -10px rgba(31, 78, 156, .7); cursor: pointer; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s;
}
.gbm-btn:hover, .gbm-nf input[type=submit]:hover { background: var(--ribbon-deep); border-color: var(--ribbon-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(31, 78, 156, .8); }
.gbm-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.gbm-btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gbm-btn--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); box-shadow: 0 8px 22px -10px rgba(169, 210, 59, .8); }
.gbm-btn--lime:hover { background: #BFE45A; border-color: #BFE45A; color: var(--ink); }

/* ---------- top strip + header ---------- */
header.wp-block-template-part { position: sticky; top: -40px; z-index: 60; }
.gbm-strip { background: var(--ink); color: var(--mist); font-size: .84rem; height: 40px; overflow: hidden; }
.gbm-strip__in { max-width: var(--wide); margin: 0 auto; height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; white-space: nowrap; }
.gbm-strip p { margin: 0; }
.gbm-strip a { color: var(--paper); text-decoration: none; font-weight: 700; }
.gbm-strip a:hover { color: var(--lime); }
.gbm-strip__creds { font-family: var(--f-l); letter-spacing: .14em; text-transform: uppercase; font-size: .74rem; }
.gbm-strip__call { display: flex; align-items: center; gap: 6px; }
.gbm-strip__call .gbm-ico { color: var(--lime); }
.gbm-strip__litter a { display: inline-flex; align-items: center; gap: 8px; }
.gbm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(215, 169, 58, .6); animation: gbm-ping 2.2s ease-out infinite; flex: none; }
.gbm-dot--open { background: var(--lime); box-shadow: 0 0 0 0 rgba(169, 210, 59, .6); }
@keyframes gbm-ping { 0% { box-shadow: 0 0 0 0 rgba(215, 169, 58, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(215, 169, 58, 0); } }

.gbm-header { background: rgba(250, 246, 239, .97); border-bottom: 1px solid rgba(24, 25, 29, .08); transition: box-shadow .3s; }
.gbm-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(24, 25, 29, .35); }
.gbm-header__row { min-height: 76px; gap: 20px; transition: min-height .3s; }
.gbm-header.is-scrolled .gbm-header__row { min-height: 64px; }
.gbm-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.gbm-brand:hover { color: var(--ink); }
.gbm-brand .gbm-mark { width: 38px; height: 48px; transition: transform .6s var(--ease); }
.gbm-brand:hover .gbm-mark { transform: rotate(-12deg) scale(1.06); }
.gbm-brand__txt { display: flex; flex-direction: column; line-height: 1; }
.gbm-brand__name { font-family: var(--f-d); font-style: italic; font-weight: 800; font-size: 1.85rem; letter-spacing: -.01em; }
.gbm-brand__sub { font-family: var(--f-l); font-size: .68rem; letter-spacing: .17em; text-transform: uppercase; color: var(--merle); margin-top: 4px; }

.gbm-nav { font-weight: 800; font-size: .98rem; }
.gbm-nav .wp-block-navigation__container { gap: clamp(14px, 2.2vw, 30px); }
.gbm-nav .wp-block-navigation-item__content { color: var(--ink); padding: 8px 0; text-decoration: none; position: relative; }
.gbm-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gbm-nav .wp-block-navigation-item__content:hover::after, .gbm-nav .is-current > .wp-block-navigation-item__content::after, .gbm-nav .is-section > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.gbm-nav .wp-block-navigation__submenu-icon { margin-left: 4px; width: 10px; height: 10px; }
/* Dropdowns: text under the parent's text, opens to the right, with a hover bridge. */
.gbm-nav .has-child .wp-block-navigation__submenu-container {
	left: -18px !important; top: 100% !important; min-width: 230px !important; padding: 10px 0 !important; border: 0 !important; border-radius: 14px;
	background: var(--paper) !important; box-shadow: var(--shadow), 0 0 0 1px rgba(24, 25, 29, .06); margin-top: 8px;
}
.gbm-nav .has-child .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.gbm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 18px !important; font-weight: 700; color: var(--ink); }
.gbm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.gbm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--cream); color: var(--ribbon); }
.gbm-nav .wp-block-navigation__submenu-container .is-current > .wp-block-navigation-item__content { color: var(--copper); }
.gbm-head-btn { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px; background: var(--ribbon); color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap; flex: none; transition: background-color .2s, transform .25s var(--ease); }
.gbm-head-btn:hover { background: var(--ribbon-deep); color: #fff; transform: translateY(-1px); }
.gbm-head-btn__short { display: none; }
/* Phone overlay menu */
.gbm-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--cream) !important; color: var(--ink) !important; padding: 24px var(--gut) !important; }
.gbm-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px !important; }
.gbm-nav .is-menu-open .wp-block-navigation__container { gap: 6px !important; }
.gbm-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--f-d); font-size: 1.6rem !important; padding: 4px 0 !important; }
.gbm-nav .is-menu-open .wp-block-navigation__submenu-container { padding: 4px 0 10px 16px !important; box-shadow: none; background: transparent !important; margin: 0; min-width: 0 !important; }
.gbm-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-family: var(--f-b); font-size: 1.05rem !important; padding: 6px 0 !important; }
.gbm-nav .wp-block-navigation__responsive-container-open, .gbm-nav .wp-block-navigation__responsive-container-close { color: var(--ink); }
.gbm-nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }

/* ---------- bands (page sections) ---------- */
.gbm-band { padding: clamp(64px, 8vw, 116px) var(--gut); position: relative; }
.gbm-band__in { max-width: var(--wide); margin: 0 auto; }
.gbm-band__in > p, .gbm-band__in > .wp-block-list { max-width: 70ch; }
.gbm-band__in > h2 { margin: 0 0 1rem; max-width: 22ch; }
.gbm-band__in > * + * { margin-top: 1.1rem; }
.gbm-band__in > .gbm-kicker + h2 { margin-top: 0; }
.gbm-band--tight { padding-block: clamp(40px, 5vw, 64px); }
.gbm-band--paper { background: var(--paper); }
.gbm-band--fog { background: var(--fog); }
.gbm-band--ink, .gbm-band--slate { background: var(--ink); color: #E9EDF0; }
.gbm-band--slate { background: var(--slate); }
.gbm-band--ink h2, .gbm-band--ink h3, .gbm-band--slate h2, .gbm-band--slate h3 { color: var(--paper); }
.gbm-band--ink h2 em, .gbm-band--slate h2 em { color: var(--gold); }
.gbm-band--ink .gbm-kicker, .gbm-band--slate .gbm-kicker { color: var(--lime); }
.gbm-band--ink a:not(.gbm-btn), .gbm-band--slate a:not(.gbm-btn) { color: var(--eye); }
.gbm-band--ink .gbm-btn--ghost, .gbm-band--slate .gbm-btn--ghost { color: var(--paper); border-color: var(--paper); }
.gbm-band--ink .gbm-btn--ghost:hover, .gbm-band--slate .gbm-btn--ghost:hover { background: var(--paper); color: var(--ink); }
.gbm-2col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.gbm-2col--flip > :first-child { order: 2; }
.gbm-col > * + * { margin-top: 1rem; }
.gbm-col > h2 { margin-top: 0; }

/* ---------- reveal (entrances are transitions so the pause pill never hides content) ---------- */
.gbm-js [data-gbm-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.gbm-js [data-gbm-reveal].is-in { opacity: 1; transform: none; }

/* ---------- photos ---------- */
.gbm-ph { margin: 0; position: relative; }
.gbm-ph img { display: block; width: 100%; border-radius: var(--r); box-shadow: var(--shadow); object-fit: cover; }
.gbm-ph figcaption { font-size: .86rem; color: var(--merle); margin-top: .6rem; }
.gbm-ph--tall img { aspect-ratio: 4 / 5; }
.gbm-ph--wide img { aspect-ratio: 3 / 2; }
.gbm-ph--tilt { transform: rotate(-1.6deg); }
.gbm-js .gbm-ph--tilt[data-gbm-reveal].is-in { transform: rotate(-1.6deg); }
.gbm-ph--tilt::after { content: ""; position: absolute; top: -14px; left: 50%; width: 90px; height: 26px; margin-left: -45px; background: rgba(215, 169, 58, .75); transform: rotate(3deg); border-radius: 3px; }

/* ---------- merle coat swatches (hero, page heads, CTA, breed) ---------- */
.gbm-merle { display: block; overflow: visible; }
.gbm-merle__base { fill: var(--m-base, #A7B3BD); transition: fill .6s; }
.gbm-merle__p { transform-box: fill-box; transform-origin: center; animation: gbm-drift calc(8s + var(--i) * .6s) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.3s); transition: fill .6s, d .7s var(--ease); }
.gbm-merle__p--a { fill: var(--m-a, #2D3742); }
.gbm-merle__p--b { fill: var(--m-b, #18191D); opacity: .92; }
.gbm-merle__p--c { fill: var(--m-c, #66737F); }
.gbm-merle__p--d { fill: var(--m-d, #93A0AB); opacity: .55; }
.gbm-merle__p--cu { fill: var(--m-cu, #C8743A); opacity: var(--m-cuo, .6); }
.gbm-merle__shade { pointer-events: none; mix-blend-mode: multiply; }
.gbm-merle__patches { transition: transform .9s var(--ease); transform: translate(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 12px)); }
@keyframes gbm-drift { from { transform: translate(-7px, 5px) scale(.93) rotate(-5deg); } to { transform: translate(9px, -7px) scale(1.08) rotate(6deg); } }

/* ---------- hero ---------- */
.gbm-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) var(--gut) clamp(56px, 7vw, 100px); background: radial-gradient(120% 90% at 85% 40%, var(--paper) 0%, var(--cream) 60%); }
.gbm-hero__in { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.gbm-hero__title { font-size: clamp(2.5rem, 5.4vw, 4.7rem); line-height: 1.02; margin: 0; letter-spacing: -.02em; }
.gbm-hero__l1, .gbm-hero__l2 { display: block; transition: opacity .9s var(--ease), transform 1s var(--ease); }
.gbm-hero__l2 { transition-delay: .18s; }
.gbm-js .gbm-hero:not(.is-in) .gbm-hero__l1, .gbm-js .gbm-hero:not(.is-in) .gbm-hero__l2 { opacity: 0; transform: translateY(40px); }
.gbm-hero__title em { position: relative; white-space: nowrap; }
.gbm-hero__title em::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: .02em; height: .14em; background: var(--lime); border-radius: 99px; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .9s; }
.gbm-hero.is-in .gbm-hero__title em::after { transform: scaleX(1); }
.gbm-hero__lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--slate); max-width: 34em; margin: 1.4rem 0 0; }
.gbm-status { display: inline-flex; align-items: center; gap: 10px; margin: 1.4rem 0 0; padding: 8px 14px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px rgba(24, 25, 29, .08); font-weight: 700; font-size: .92rem; }
.gbm-hero__art { position: relative; display: grid; place-items: center; min-height: 420px; }
.gbm-hero__merle { position: absolute; left: -8%; top: -6%; width: 124%; height: 112%; }
.gbm-rosette { position: relative; width: min(100%, 400px); aspect-ratio: 420 / 620; z-index: 1; filter: drop-shadow(0 22px 26px rgba(24, 25, 29, .32)); transition: transform 1.1s var(--ease), opacity .8s; }
.gbm-js .gbm-hero:not(.is-in) .gbm-rosette { opacity: 0; transform: scale(.7) rotate(-25deg); }
.gbm-rosette__art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gbm-pleats { transform-box: view-box; }
.gbm-pleats--out { animation: gbm-spin 38s linear infinite; }
.gbm-pleats--in { animation: gbm-spin 26s linear infinite reverse; }
@keyframes gbm-spin { to { transform: rotate(360deg); } }
.gbm-tail { transform-box: fill-box; transform-origin: 50% 0; animation: gbm-flutter 2.6s ease-in-out infinite alternate; }
.gbm-tail--r { animation-duration: 3.1s; animation-delay: -1.2s; }
@keyframes gbm-flutter { from { transform: rotate(-3.5deg) skewY(1.5deg); } to { transform: rotate(3deg) skewY(-1.5deg); } }
.gbm-tail__txt { font-family: var(--f-l); font-weight: 600; font-size: 14px; letter-spacing: .16em; fill: var(--gold); dominant-baseline: middle; }
.gbm-rosette__face { display: block; position: absolute; left: 50%; top: 33.87%; width: 59%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; background: var(--slate); box-shadow: inset 0 0 0 4px var(--paper), 0 0 0 2px rgba(24, 25, 29, .2); }
.gbm-rosette__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1s ease, transform 4.2s ease-out; }
.gbm-rosette__img.is-on { opacity: 1; transform: scale(1); }
.gbm-rosette__name { position: absolute; left: 50%; top: 55.5%; transform: translateX(-50%) rotate(-3deg); margin: 0; background: var(--gold); color: var(--ink); font-family: var(--f-d); font-style: italic; font-weight: 800; font-size: clamp(1rem, 1.9vw, 1.35rem); padding: 4px 18px 6px; border-radius: 6px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); white-space: nowrap; perspective: 400px; }
.gbm-rosette__name span { display: inline-block; transition: transform .45s var(--ease), opacity .3s; }
.gbm-rosette__name b { font-family: var(--f-b); font-weight: 900; }
.gbm-rosette:has(.gbm-rosette__face:hover) .gbm-rosette__name, .gbm-rosette:has(.gbm-rosette__face:focus-visible) .gbm-rosette__name { background: var(--lime); transform: translateX(-50%) rotate(0deg) scale(1.08); }
.gbm-rosette__name { transition: transform .35s var(--ease), background-color .25s; }
.gbm-rosette__face:focus-visible { outline: 4px solid var(--lime); outline-offset: 4px; }
.gbm-rosette--small { width: 100%; filter: drop-shadow(0 14px 16px rgba(24, 25, 29, .3)); transition: transform 1.2s var(--ease), opacity .8s; }
.gbm-rosette--small .gbm-pleats--out { animation-duration: 60s; }
.gbm-rosette--small .gbm-pleats--in { animation-duration: 42s; }
.gbm-rosette__name.is-flip span { transform: rotateX(90deg); opacity: 0; }

/* ---------- credentials + stats ---------- */
.gbm-creds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gbm-creds__i { background: var(--paper); border-radius: var(--r); padding: 22px 20px 20px; box-shadow: 0 0 0 1px rgba(24, 25, 29, .07); }
.gbm-creds__ico { display: block; width: 50px; height: 62px; margin-bottom: 12px; transition: transform .6s var(--ease); transform-origin: 50% 37%; }
.gbm-creds__mark { width: 50px; height: 62px; }
.gbm-creds__i:hover .gbm-creds__ico { transform: rotate(-14deg) scale(1.08); }
.gbm-creds__i h3 { font-size: 1.12rem; margin: 0 0 .35rem; }
.gbm-creds__i p { margin: 0; font-size: .94rem; color: var(--merle); line-height: 1.5; }
.gbm-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.gbm-stats li { border-top: 3px solid var(--gold); padding-top: 18px; }
.gbm-stats__n { display: block; font-family: var(--f-d); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.gbm-stats__n small { font-family: var(--f-l); font-size: .95rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.gbm-stats__t { display: block; margin-top: 10px; color: var(--mist); font-size: .98rem; }

/* ---------- catalog cards (with ring armbands) ---------- */
.gbm-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.gbm-filter button, .gbm-swatch__tabs button, .gbm-dec__btns button { font: inherit; font-weight: 800; font-size: .92rem; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.gbm-filter button:hover, .gbm-swatch__tabs button:hover, .gbm-dec__btns button:hover { transform: translateY(-1px); }
.gbm-filter button[aria-pressed=true], .gbm-swatch__tabs button[aria-pressed=true], .gbm-dec__btns button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.gbm-catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.gbm-card { position: relative; background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s, opacity .4s; }
.gbm-card:hover, .gbm-card:focus-within { transform: translateY(-6px); box-shadow: 0 24px 44px -20px rgba(24, 25, 29, .45); }
.gbm-card.is-hidden { display: none; }
.gbm-card__ph { aspect-ratio: 4 / 4.3; overflow: hidden; background: var(--fog); }
.gbm-card__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.gbm-card:hover .gbm-card__ph img { transform: scale(1.07); }
.gbm-arm { position: absolute; top: 14px; left: 14px; margin: 0; z-index: 1; transform: rotate(-4deg); transition: transform .5s var(--ease); }
.gbm-arm span { display: inline-block; background: var(--paper); color: var(--ink); font-family: var(--f-l); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 4px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45); position: relative; }
.gbm-arm span::before, .gbm-arm span::after { content: ""; position: absolute; top: -3px; bottom: -3px; width: 5px; background: var(--ink); border-radius: 2px; }
.gbm-arm span::before { left: -2px; } .gbm-arm span::after { right: -2px; }
.gbm-card:hover .gbm-arm { transform: rotate(0deg) translateY(-2px); }
.gbm-card__body { padding: 18px 20px 22px; }
.gbm-card__reg { margin: 0 0 4px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--merle); line-height: 1.45; }
.gbm-card__name { font-size: 2rem; font-style: italic; margin: 0; line-height: 1.1; }
.gbm-card__name a { color: var(--ink); text-decoration: none; }
.gbm-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.gbm-card__name a:hover { color: var(--ribbon); }
.gbm-card__line { margin: .45rem 0 0; color: var(--slate); font-size: .96rem; line-height: 1.5; }

/* ---------- "do it all": sports + agility course map ---------- */
.gbm-course { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 2rem; }
.gbm-sports { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gbm-sports li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.gbm-sports h3 { font-size: 1.08rem; margin: 2px 0 2px; color: var(--paper); }
.gbm-sports p { margin: 0; font-size: .93rem; line-height: 1.5; color: #C9D1D8; }
.gbm-sports__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(169, 210, 59, .14); color: var(--lime); font-size: 1.25rem; }
.gbm-course__panel { margin: 0; position: sticky; top: 104px; background: #1F262E; border-radius: 26px; padding: 18px 18px 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.gbm-course__top { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px 12px; font-family: var(--f-l); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--mist); }
.gbm-course__clock { font-size: 1.3rem; letter-spacing: .04em; color: var(--lime); font-variant-numeric: tabular-nums; font-weight: 600; }
.gbm-course__svg { display: block; width: 100%; height: auto; }
.gbm-course__ring { fill: #26313B; stroke: rgba(255, 255, 255, .14); stroke-width: 2; }
.gbm-course__dot { fill: rgba(255, 255, 255, .16); }
.gbm-course__plan { fill: none; stroke: rgba(167, 179, 189, .45); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.gbm-course__tunnel { fill: none; stroke: #435160; stroke-width: 22; stroke-linecap: round; }
.gbm-course__ribs { fill: none; stroke: #5C6C7B; stroke-width: 22; stroke-dasharray: 3 9; }
.gbm-course__poles circle { fill: var(--paper); transition: fill .3s, transform .3s; transform-box: fill-box; transform-origin: center; }
.gbm-ob.is-hit .gbm-course__poles circle { fill: var(--lime); }
.gbm-ob__wing { fill: var(--gold); }
.gbm-ob__bar { stroke: var(--paper); stroke-width: 4; stroke-linecap: round; transition: stroke .3s; }
.gbm-ob__frame { fill: #8C98A4; }
.gbm-ob__zone { fill: var(--copper-hi); }
.gbm-ob__apex { stroke: #26313B; stroke-width: 2; }
.gbm-ob__tire { fill: none; stroke: var(--copper-hi); stroke-width: 6; }
.gbm-ob__num circle { fill: var(--ink); stroke: var(--mist); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.gbm-ob__num text { fill: var(--paper); font-family: var(--f-l); font-size: 12px; font-weight: 600; text-anchor: middle; transition: fill .3s; }
.gbm-ob.is-hit .gbm-ob__num circle { fill: var(--lime); stroke: var(--lime); }
.gbm-ob.is-hit .gbm-ob__num text { fill: var(--ink); }
.gbm-ob.is-hit .gbm-ob__bar { stroke: var(--lime); }
.gbm-course__lbl { fill: var(--mist); font-family: var(--f-l); font-size: 12px; letter-spacing: .16em; }
.gbm-course__trail { fill: none; stroke: var(--lime); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(169, 210, 59, .7)); }
.gbm-course__dog { fill: var(--lime); stroke: var(--ink); stroke-width: 2; }
.gbm-course__halo { fill: rgba(169, 210, 59, .28); animation: gbm-halo 1s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes gbm-halo { from { transform: scale(.7); } to { transform: scale(1.25); } }
.gbm-course__clean { position: absolute; left: 50%; top: 52%; margin: 0; transform: translate(-50%, -50%) scale(.4); opacity: 0; background: var(--lime); color: var(--ink); font-family: var(--f-d); font-style: italic; font-weight: 800; font-size: 1.7rem; padding: 8px 22px 10px; border-radius: 12px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; pointer-events: none; }
.gbm-course__panel.is-clean .gbm-course__clean { transform: translate(-50%, -50%) scale(1) rotate(-4deg); opacity: 1; }
.gbm-course__panel figcaption { color: var(--mist); font-size: .88rem; padding: 12px 6px 0; }

/* ---------- the breed: facts, merle swatch, wicket ---------- */
.gbm-breed { display: grid; grid-template-columns: 1.15fr .95fr .9fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; margin-top: 2rem; }
.gbm-breed__facts dl { margin: 0; display: grid; gap: 0; }
.gbm-breed__facts dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(24, 25, 29, .1); }
.gbm-breed__facts dt { font-family: var(--f-l); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--copper); padding-top: 3px; }
.gbm-breed__facts dd { margin: 0; line-height: 1.55; }
.gbm-swatch { margin: 0; background: var(--paper); border-radius: 24px; padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.gbm-swatch__coat { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--fog); }
.gbm-swatch__svg { width: 100%; height: 100%; }
.gbm-swatch .gbm-merle__p { animation-duration: calc(5s + var(--i) * .4s); }
.gbm-swatch[data-coat=red] { --m-base: #D9B7A0; --m-a: #7A3A21; --m-b: #5A2615; --m-c: #A8673F; --m-d: #C49A80; --m-cu: #E2A06E; }
.gbm-swatch[data-coat=black] { --m-base: #1C1D21; --m-a: #1C1D21; --m-b: #121316; --m-c: #26282D; --m-d: #222328; --m-cu: #C8743A; --m-cuo: .95; }
.gbm-swatch[data-coat=redtri] { --m-base: #7B3B23; --m-a: #7B3B23; --m-b: #63301C; --m-c: #8A4529; --m-d: #74371F; --m-cu: #E0A06A; --m-cuo: .95; }
.gbm-swatch.is-shuffle .gbm-merle__p { animation: gbm-pop .7s var(--ease) both; animation-delay: calc(var(--i) * 25ms); }
@keyframes gbm-pop { from { transform: scale(0) rotate(-40deg); } to { transform: scale(1); } }
.gbm-swatch__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.gbm-swatch__tabs button { padding: 6px 12px; font-size: .84rem; }
.gbm-swatch figcaption { font-size: .95rem; }
.gbm-wk { margin: 0; background: var(--paper); border-radius: 24px; padding: 18px 16px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.gbm-wk__svg { width: 100%; height: auto; max-height: 360px; }
.gbm-wk figcaption { font-size: .9rem; color: var(--merle); margin-top: 8px; }
.gbm-wk__rule { stroke: var(--ink); stroke-width: 2; }
.gbm-wk__tick { stroke: var(--ink); stroke-width: 2; }
.gbm-wk__tick--half { stroke-width: 1; opacity: .6; }
.gbm-wk__num { font-family: var(--f-l); font-size: 13px; fill: var(--merle); text-anchor: end; }
.gbm-wk__band--f { fill: rgba(200, 116, 58, .35); }
.gbm-wk__band--m { fill: rgba(31, 78, 156, .3); }
.gbm-wk__cap { font-size: 16px; fill: var(--slate); text-anchor: middle; }
.gbm-wk__arm { stroke: var(--gold); stroke-width: 6; stroke-linecap: round; fill: none; }
.gbm-wk__level { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 6 5; }
.gbm-wk__lbl { font-family: var(--f-l); font-weight: 600; font-size: 14px; fill: var(--ink); text-anchor: end; }
.gbm-wk.is-in .gbm-wk__wicket { animation: gbm-measure 6.5s cubic-bezier(.4, 0, .2, 1) .4s infinite; }
@keyframes gbm-measure { 0% { transform: translateY(0); } 28% { transform: translateY(calc(var(--to) + 8px)); } 34%, 82% { transform: translateY(var(--to)); } 100% { transform: translateY(0); } }

/* ---------- pedigree ---------- */
.gbm-ped { margin-top: 2rem; }
.gbm-ped__scroll { overflow-x: auto; padding: 8px 2px 14px; scrollbar-width: thin; }
.gbm-ped__grid { --g: 44px; display: grid; grid-template-columns: repeat(4, minmax(190px, 1fr)); grid-template-rows: repeat(4, minmax(78px, auto)) repeat(4, 30px); column-gap: var(--g); row-gap: 10px; min-width: 900px; }
.gbm-ped__c { position: relative; display: flex; flex-direction: column; justify-content: center; }
.gbm-ped__card { background: var(--paper); border-radius: 14px; padding: 12px 14px; box-shadow: 0 0 0 1px rgba(24, 25, 29, .08), 0 8px 18px -12px rgba(24, 25, 29, .4); transition: opacity .6s var(--ease), transform .7s var(--ease), box-shadow .3s; }
.gbm-ped__card:hover { box-shadow: 0 0 0 2px var(--gold), 0 12px 24px -12px rgba(24, 25, 29, .5); }
.gbm-ped__role { display: block; font-family: var(--f-l); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.gbm-ped__card strong { display: block; font-family: var(--f-d); font-style: italic; font-size: 1.35rem; line-height: 1.15; margin: 2px 0 2px; }
.gbm-ped__card strong a { color: var(--ink); }
.gbm-ped__card strong a:hover { color: var(--ribbon); }
.gbm-ped__reg { display: block; font-size: .78rem; line-height: 1.4; color: var(--merle); }
.gbm-ped__c--me { grid-column: 1; grid-row: 1 / 9; }
.gbm-ped__c--me .gbm-ped__card { background: var(--ink); color: var(--paper); }
.gbm-ped__c--me .gbm-ped__card strong a { color: var(--paper); font-size: 1.9rem; }
.gbm-ped__c--me .gbm-ped__role { color: var(--lime); }
.gbm-ped__c--me .gbm-ped__reg { color: var(--mist); }
.gbm-ped__c--s { grid-column: 2; grid-row: 1 / 5; }
.gbm-ped__c--d { grid-column: 2; grid-row: 5 / 9; }
.gbm-ped__c--ss { grid-column: 3; grid-row: 1 / 3; }
.gbm-ped__c--sd { grid-column: 3; grid-row: 3 / 5; }
.gbm-ped__c--dx { grid-column: 3; grid-row: 5 / 9; }
.gbm-ped__c--dx .gbm-ped__card { background: transparent; box-shadow: inset 0 0 0 2px rgba(24, 25, 29, .15); }
.gbm-ped__c--sdd1 { grid-column: 4; grid-row: 3; }
.gbm-ped__c--sdd2 { grid-column: 4; grid-row: 4; }
/* connectors: child stub right; parents an elbow to the shared mid-line */
.gbm-ped__c.has::after { content: ""; position: absolute; right: calc(var(--g) / -2); top: 50%; width: calc(var(--g) / 2); border-top: 2px solid var(--gold); transform-origin: left; }
.gbm-ped__c.up::before, .gbm-ped__c.dn::before, .gbm-ped__c.solo::before { content: ""; position: absolute; left: calc(var(--g) / -2); width: calc(var(--g) / 2); border-left: 2px solid var(--gold); border-top: 2px solid var(--gold); }
.gbm-ped__c.up::before { top: 50%; bottom: -6px; border-radius: 8px 0 0 0; }
.gbm-ped__c.dn::before { top: -6px; height: calc(50% + 6px); border-top: 0; border-bottom: 2px solid var(--gold); border-radius: 0 0 0 8px; }
.gbm-ped__c.solo::before { top: 50%; border-left: 0; }
.gbm-ped__c::before, .gbm-ped__c::after { transition: transform .7s var(--ease); }
.gbm-js .gbm-ped:not(.is-in) .gbm-ped__c::before { transform: scaleY(0); }
.gbm-js .gbm-ped:not(.is-in) .gbm-ped__c::after { transform: scaleX(0); }
.gbm-js .gbm-ped:not(.is-in) .gbm-ped__card { opacity: 0; transform: translateX(-24px); }
.gbm-ped__c--s .gbm-ped__card, .gbm-ped__c--d .gbm-ped__card, .gbm-ped__c--s::before, .gbm-ped__c--d::before { transition-delay: .25s; }
.gbm-ped__c--ss .gbm-ped__card, .gbm-ped__c--sd .gbm-ped__card, .gbm-ped__c--dx .gbm-ped__card, .gbm-ped__c--ss::before, .gbm-ped__c--sd::before, .gbm-ped__c--dx::before, .gbm-ped__c--s::after, .gbm-ped__c--d::after { transition-delay: .55s; }
.gbm-ped__c--sdd1 .gbm-ped__card, .gbm-ped__c--sdd2 .gbm-ped__card, .gbm-ped__c--sdd1::before, .gbm-ped__c--sdd2::before, .gbm-ped__c--sd::after { transition-delay: .85s; }
.gbm-ped__hint { display: none; font-size: .86rem; color: var(--merle); margin: 4px 0 0; }
.gbm-ped__card { outline-offset: 3px; }
.gbm-ped__c.is-src .gbm-ped__card { box-shadow: 0 0 0 3px var(--lime), 0 12px 24px -12px rgba(24, 25, 29, .5); }
.gbm-ped__c.is-line .gbm-ped__card { box-shadow: 0 0 0 3px var(--gold), 0 12px 24px -12px rgba(24, 25, 29, .5); }
.gbm-ped.is-tracing .gbm-ped__c:not(.is-line):not(.is-src) .gbm-ped__card { opacity: .4; }
.gbm-ped.is-tracing .gbm-ped__c:not(.is-line):not(.is-src)::before, .gbm-ped.is-tracing .gbm-ped__c:not(.is-line)::after { opacity: .25; }
.gbm-ped__c::before, .gbm-ped__c::after { transition: transform .7s var(--ease), opacity .3s; }
.gbm-ped__card { transition: opacity .3s, transform .7s var(--ease), box-shadow .3s; }
.gbm-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.gbm-pager a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px rgba(24, 25, 29, .1); font-weight: 800; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.gbm-pager a:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ribbon); }
.gbm-pager__next { margin-left: auto; }

/* ---------- marquee ---------- */
.gbm-marquee { overflow: hidden; padding: 6px 0 10px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gbm-marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; width: max-content; animation: gbm-slide 70s linear infinite; }
.gbm-marquee:hover .gbm-marquee__track { animation-play-state: paused; }
.gbm-marquee li { flex: none; }
.gbm-marquee img { display: block; height: clamp(180px, 22vw, 260px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.gbm-marquee li:nth-child(odd) img { transform: rotate(-1.5deg); }
.gbm-marquee li:nth-child(even) img { transform: rotate(1.2deg) translateY(8px); }
@keyframes gbm-slide { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- page heads ---------- */
.gbm-head { position: relative; overflow: hidden; background: var(--paper); padding: clamp(44px, 6vw, 86px) var(--gut) clamp(48px, 6vw, 84px); border-bottom: 1px solid rgba(24, 25, 29, .06); }
.gbm-head__in { position: relative; z-index: 1; max-width: var(--wide); margin: 0 auto; padding-right: min(36%, 420px); }
.gbm-head__merle { position: absolute; right: -90px; top: 50%; width: min(560px, 46vw); transform: translateY(-50%); }
.gbm-head__mark { position: absolute; z-index: 1; right: clamp(40px, 15vw, 260px); top: 50%; width: clamp(70px, 9vw, 120px); transform: translateY(-50%); }
.gbm-head__mark--photo { width: clamp(150px, 17vw, 236px); right: clamp(32px, 11vw, 190px); }
.gbm-js .gbm-head:not(.is-in) .gbm-rosette--small { transform: scale(.4) rotate(-120deg); opacity: 0; }
.gbm-head__rosette { width: 100%; height: auto; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .35)); transition: transform 1.2s var(--ease), opacity .8s; }
.gbm-js .gbm-head:not(.is-in) .gbm-head__rosette { transform: scale(.4) rotate(-120deg); opacity: 0; }
.gbm-head__rosette .gbm-mark__pleats { animation: gbm-spin 30s linear infinite; transform-box: view-box; }
.gbm-head__title { font-size: clamp(2.3rem, 5vw, 4rem); margin: 0; line-height: 1.04; }
.gbm-head__lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--slate); max-width: 36em; margin: 1.1rem 0 0; }
.gbm-crumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--merle); }
.gbm-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--mist); }
.gbm-crumbs a { color: var(--merle); }

/* ---------- CTA band ---------- */
.gbm-cta { position: relative; overflow: hidden; background: var(--ink); color: #E9EDF0; padding: clamp(64px, 8vw, 110px) var(--gut); }
.gbm-cta__merle { position: absolute; right: -120px; top: 50%; width: min(600px, 58vw); transform: translateY(-50%); opacity: .55; }
.gbm-cta__in { position: relative; z-index: 1; max-width: var(--wide); margin: 0 auto; }
.gbm-cta h2 { color: var(--paper); font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; max-width: 16ch; }
.gbm-cta p { max-width: 38em; font-size: 1.12rem; color: #C9D1D8; }
.gbm-cta__or { color: var(--mist); }
.gbm-cta__or a { color: var(--paper); font-weight: 800; }

/* ---------- dog entries (boys, girls, reference dams) ---------- */
.gbm-entries { display: grid; gap: clamp(56px, 7vw, 96px); }
.gbm-entry { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; scroll-margin-top: 110px; }
.gbm-entry:nth-child(even) .gbm-entry__ph { order: 2; }
.gbm-entry__ph { margin: 0; position: sticky; top: 110px; }
.gbm-entry__ph img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.gbm-entry__ph figcaption { font-size: .86rem; color: var(--merle); margin-top: .6rem; }
.gbm-entry__ph .gbm-arm { top: 18px; left: 18px; }
.gbm-entry__name { font-size: clamp(2.6rem, 5vw, 3.8rem); font-style: italic; margin: 0; line-height: 1; }
.gbm-entry__reg { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .86rem; color: var(--merle); margin: .7rem 0 0; line-height: 1.5; }
.gbm-entry__body > p { max-width: 62ch; }
.gbm-facts { margin: 1.4rem 0 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.gbm-facts > div { padding: 10px 0; border-bottom: 1px solid rgba(24, 25, 29, .1); }
.gbm-facts dt { font-family: var(--f-l); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--copper); }
.gbm-facts dd { margin: 2px 0 0; font-size: .96rem; line-height: 1.45; }
.gbm-chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gbm-chip { position: static; }
.gbm-chips { position: relative; }
.gbm-chip:not([open]) .gbm-chip__pop { display: none; }
.gbm-chip summary { list-style: none; cursor: pointer; font-family: var(--f-l); font-weight: 600; letter-spacing: .08em; font-size: .86rem; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); transition: background-color .2s, transform .2s; }
.gbm-chip summary::-webkit-details-marker { display: none; }
.gbm-chip summary::after { content: " ?"; color: var(--lime); }
.gbm-chip summary:hover { background: var(--ribbon); transform: translateY(-1px); }
.gbm-chip[open] summary { background: var(--ribbon); }
.gbm-chip__pop { position: absolute; z-index: 5; left: 0; top: calc(100% + 8px); width: min(340px, 100%); background: var(--paper); color: var(--ink); font-size: .9rem; line-height: 1.45; padding: 12px 14px; border-radius: 12px; box-shadow: var(--shadow), 0 0 0 1px rgba(24, 25, 29, .08); }
.gbm-dams { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gbm-dams li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: var(--paper); padding: 16px 18px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(24, 25, 29, .07); }
.gbm-dams__mark { grid-row: 1 / 3; width: 40px; height: 50px; }
.gbm-dams strong { font-family: var(--f-d); font-style: italic; font-size: 1.3rem; }
.gbm-dams span { font-size: .86rem; color: var(--merle); line-height: 1.4; }

/* ---------- title decoder ---------- */
.gbm-dec { margin-top: 1.6rem; }
.gbm-dec__try { background: var(--ink); color: var(--paper); border-radius: 22px; padding: 22px 24px; display: grid; gap: 12px; }
.gbm-dec__ask { margin: 0; font-family: var(--f-l); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--lime); }
.gbm-dec__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.gbm-dec__btns button { border-color: var(--paper); color: var(--paper); }
.gbm-dec__btns button[aria-pressed=true] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.gbm-dec__name { margin: 0; font-family: var(--f-d); font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.4; min-height: 2.8em; }
.gbm-dec__name mark { background: var(--lime); color: var(--ink); padding: 0 4px; border-radius: 4px; animation: gbm-mark-in .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 120ms); display: inline-block; }
@keyframes gbm-mark-in { from { transform: translateY(-10px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.gbm-dec__list { margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gbm-dec__i { background: var(--paper); border-radius: 14px; padding: 14px 16px; box-shadow: 0 0 0 1px rgba(24, 25, 29, .08); transition: box-shadow .3s, transform .4s var(--ease), background-color .3s; }
.gbm-dec__i dt { font-family: var(--f-l); font-weight: 600; font-size: 1.15rem; letter-spacing: .06em; color: var(--ribbon); }
.gbm-dec__i dd { margin: 4px 0 0; font-size: .9rem; line-height: 1.45; }
.gbm-dec__i.is-hit { box-shadow: 0 0 0 3px var(--lime), 0 12px 24px -12px rgba(24, 25, 29, .4); transform: translateY(-3px); }
.gbm-dec.is-filtered .gbm-dec__i:not(.is-hit) { opacity: .45; }

/* ---------- about: timeline + goals ---------- */
.gbm-tl { list-style: none; margin: 2rem 0 0; padding: 0 0 0 34px; position: relative; max-width: 780px; }
.gbm-tl::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--fog); }
.gbm-tl::after { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: linear-gradient(var(--gold), var(--copper-hi)); transform: scaleY(var(--p, 0)); transform-origin: top; transition: transform .2s linear; }
.gbm-tl__i { position: relative; padding: 0 0 26px; }
.gbm-tl__i::before { content: ""; position: absolute; left: -31px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 3px solid var(--gold); z-index: 1; }
.gbm-tl__y { font-family: var(--f-l); font-weight: 600; font-size: 1.05rem; letter-spacing: .1em; color: var(--copper); }
.gbm-tl__i p { margin: 2px 0 0; }
.gbm-goals { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gbm-goals li { text-align: center; padding: 8px 10px; }
.gbm-goals__n { position: relative; display: inline-block; width: 86px; }
.gbm-goals__mark { width: 86px; height: 108px; transition: transform .8s var(--ease); }
.gbm-goals li:hover .gbm-goals__mark { transform: rotate(-12deg); }
.gbm-goals__n b { position: absolute; left: 50%; top: 37.5%; transform: translate(-50%, -50%); font-family: var(--f-d); font-size: 1.15rem; color: var(--ink); background: var(--paper); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.gbm-goals h3 { margin: .4rem 0 .3rem; font-size: 1.2rem; }
.gbm-goals p { margin: 0; color: var(--merle); }

/* ---------- performance ---------- */
.gbm-sportcards { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gbm-sportcards li { background: var(--paper); border-radius: 18px; padding: 20px; box-shadow: 0 0 0 1px rgba(24, 25, 29, .07); transition: transform .4s var(--ease), box-shadow .4s; }
.gbm-sportcards li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gbm-sportcards .gbm-sports__ico { background: var(--fog); color: var(--ribbon); margin-bottom: 10px; }
.gbm-sportcards h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.gbm-sportcards p { margin: 0; font-size: .92rem; color: var(--slate); line-height: 1.5; }
.gbm-honors { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gbm-honors__i { position: relative; background: var(--paper); border-radius: 20px; padding: 22px 22px 22px 96px; min-height: 120px; box-shadow: 0 0 0 1px rgba(24, 25, 29, .07); }
.gbm-honors__ros { position: absolute; left: 20px; top: 18px; width: 58px; }
.gbm-honors__mark { width: 58px; height: 72px; transform-origin: 50% 37%; animation: gbm-sway 3.6s ease-in-out infinite alternate; animation-delay: calc(var(--d, 0ms) * -4); }
@keyframes gbm-sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
.gbm-honors__i h3 { margin: 0 0 .3rem; font-size: 1.14rem; }
.gbm-honors__i p { margin: 0; color: var(--slate); font-size: .94rem; line-height: 1.5; }
.gbm-honors__i--purple { --ra: #5E2D84; --rb: #7B48A6; --rt: #47206A; }
.gbm-honors__i--red { --ra: #B4232F; --rb: #D24452; --rt: #8E1B25; }
.gbm-honors__i--gold { --ra: #C9962A; --rb: #E2B850; --rt: #A57A1B; }
.gbm-mark__pleats path:nth-child(odd) { fill: var(--ra, #1F4E9C); }
.gbm-mark__pleats path:nth-child(even) { fill: var(--rb, #3769BD); }
.gbm-mark__tl { fill: var(--ra, #1F4E9C); } .gbm-mark__tr { fill: var(--rt, #163B78); }

/* ---------- gallery + lightbox ---------- */
.gbm-gal { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.gbm-gal__b { display: block; width: 100%; padding: 0; border: 0; background: var(--fog); border-radius: 16px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; box-shadow: var(--shadow); }
.gbm-gal__b img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.gbm-gal__b:hover img { transform: scale(1.08) rotate(.6deg); }
.gbm-gal__cap { display: block; font-size: .84rem; color: var(--merle); margin-top: 6px; line-height: 1.35; }
.gbm-lb { position: fixed; inset: 0; z-index: 200; background: rgba(18, 19, 22, .95); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 16px 20px; }
.gbm-lb[hidden] { display: none; }
.gbm-lb img { max-width: min(92vw, 1400px); max-height: 78vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.gbm-lb p { color: var(--paper); margin: 12px 0 0; text-align: center; }
.gbm-lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; font-size: 1.4rem; }
.gbm-lb button:hover { background: rgba(255, 255, 255, .25); }
.gbm-lb__x { top: 12px; right: 12px; } .gbm-lb__p { left: 12px; top: 50%; } .gbm-lb__n { right: 12px; top: 50%; }

/* ---------- Gottabe Stars ---------- */
.gbm-pumpkin { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--paper); border-radius: 30px; padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.gbm-pumpkin figure { margin: 0; }
.gbm-pumpkin img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 22px; }
.gbm-pumpkin h2 { font-size: clamp(2.6rem, 5vw, 4rem); font-style: italic; margin: 0; }
.gbm-pumpkin__age { margin: .2rem 0 .6rem; font-family: var(--f-d); font-weight: 900; font-size: clamp(4rem, 9vw, 7.5rem); line-height: .9; color: #B8741C; }
.gbm-pumpkin__age small { font-family: var(--f-l); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); -webkit-text-stroke: 0; font-weight: 500; }
.gbm-first { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gbm-first li { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.gbm-first__t { justify-self: start; font-family: var(--f-l); font-weight: 600; letter-spacing: .1em; font-size: .82rem; background: var(--gold); color: var(--ink); padding: 3px 10px; border-radius: 6px; }
.gbm-first strong { font-family: var(--f-d); font-style: italic; font-size: 1.25rem; line-height: 1.25; }
.gbm-bill { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.gbm-bill figure { margin: 0; }
.gbm-bill img { display: block; width: 100%; border-radius: 22px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.gbm-bill h2 { margin: 0 0 .6rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* ---------- puppies ---------- */
.gbm-board { background: var(--ink); color: #E9EDF0; border-radius: 28px; padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.gbm-board::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(215, 169, 58, .14); }
.gbm-board__head { display: flex; align-items: center; gap: 12px; font-family: var(--f-l); letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; color: var(--gold); flex-wrap: wrap; }
.gbm-board__date { margin-left: auto; color: var(--mist); }
.gbm-board__title { color: var(--paper); font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: .8rem 0 .6rem; max-width: 20ch; }
.gbm-board p { max-width: 44em; color: #C9D1D8; font-size: 1.06rem; }
.gbm-board .gbm-btn--ghost { color: var(--paper); border-color: var(--paper); }
.gbm-board .gbm-btn--ghost:hover { background: var(--paper); color: var(--ink); }
.gbm-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.gbm-steps li { position: relative; }
.gbm-steps li:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: 74px; right: -14px; border-top: 3px dotted var(--mist); }
.gbm-steps__n { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ribbon); color: #fff; margin-bottom: 14px; }
.gbm-steps__n .gbm-paw { position: absolute; width: 30px; height: 30px; fill: rgba(255, 255, 255, .25); }
.gbm-steps__n b { position: relative; font-family: var(--f-d); font-size: 1.4rem; }
.gbm-steps li:hover .gbm-steps__n { animation: gbm-hop .6s var(--ease); }
@keyframes gbm-hop { 40% { transform: translateY(-8px) rotate(-8deg); } }
.gbm-steps h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.gbm-steps p { margin: 0; color: var(--slate); font-size: .95rem; }
.gbm-formwrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.gbm-formwrap > .gbm-ccard { position: sticky; top: 110px; }

/* ---------- contact card ---------- */
.gbm-ccard { background: var(--ink); color: #E9EDF0; border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.gbm-ccard__hi { display: flex; gap: 12px; align-items: center; margin: 0 0 14px; font-family: var(--f-d); font-style: italic; font-weight: 800; font-size: 1.3rem; color: var(--paper); line-height: 1.2; }
.gbm-ccard__hi small { font-family: var(--f-b); font-style: normal; font-weight: 600; font-size: .86rem; color: var(--mist); }
.gbm-ccard__mark { width: 44px; height: 56px; flex: none; }
.gbm-ccard__big { font-size: 1.6rem; font-weight: 900; margin: 0 0 12px; display: flex; gap: 10px; align-items: center; }
.gbm-ccard__big .gbm-ico { color: var(--lime); }
.gbm-ccard a { color: var(--paper); }
.gbm-ccard a:hover { color: var(--lime); }
.gbm-ccard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gbm-ccard li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.gbm-ccard li .gbm-ico { color: var(--lime); margin-top: 3px; }

/* ---------- Ninja Forms ---------- */
.gbm-form { background: var(--paper); border-radius: 26px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.gbm-nf .nf-form-fields-required { font-size: .88rem; color: var(--merle); margin-bottom: 14px; }
.gbm-nf nf-fields-wrap { display: flex; flex-wrap: wrap; gap: 0 16px; }
.gbm-nf nf-field { flex: 1 1 100%; min-width: 0; }
.gbm-nf nf-field:has(.gbm-half) { flex-basis: calc(50% - 8px); }
.gbm-nf .nf-field-container { margin-bottom: 18px; }
.gbm-nf .nf-field-label label, .gbm-nf .nf-field-label .nf-label-span { font-weight: 800; font-size: .96rem; color: var(--ink); }
.gbm-nf .ninja-forms-req-symbol { color: var(--copper); }
.gbm-nf input[type=text], .gbm-nf input[type=email], .gbm-nf input[type=tel], .gbm-nf textarea, .gbm-nf select {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid #C6CED5; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.gbm-nf textarea { min-height: 140px; }
.gbm-nf input:focus, .gbm-nf textarea:focus, .gbm-nf select:focus { outline: none; border-color: var(--ribbon); box-shadow: 0 0 0 4px rgba(31, 78, 156, .18); }
.gbm-nf .nf-field-description { font-size: .86rem; color: var(--merle); margin-top: 4px; }
.gbm-nf .list-radio-wrap ul, .gbm-nf .list-checkbox-wrap ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gbm-nf .list-radio-wrap li, .gbm-nf .list-checkbox-wrap li { margin: 0 !important; position: relative; }
.gbm-nf .list-radio-wrap input, .gbm-nf .list-checkbox-wrap input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gbm-nf .list-radio-wrap label, .gbm-nf .list-checkbox-wrap label { display: inline-block; margin: 0 !important; padding: 8px 16px; border-radius: 999px; border: 2px solid #C6CED5; background: #fff; font-weight: 700; font-size: .94rem; cursor: pointer; transition: all .2s; }
.gbm-nf .list-radio-wrap label:hover, .gbm-nf .list-checkbox-wrap label:hover { border-color: var(--ribbon); }
.gbm-nf .list-radio-wrap input:checked + label, .gbm-nf .list-checkbox-wrap input:checked + label { background: var(--ribbon); border-color: var(--ribbon); color: #fff; }
.gbm-nf .list-radio-wrap input:focus-visible + label, .gbm-nf .list-checkbox-wrap input:focus-visible + label { outline: 3px solid var(--ribbon-hi); outline-offset: 2px; }
.gbm-nf .nf-error-msg, .gbm-nf .nf-error .nf-error-msg { color: #A3290E; font-weight: 700; font-size: .88rem; margin-top: 4px; }
.gbm-nf .nf-error.field-wrap .nf-field-element input, .gbm-nf .nf-error.field-wrap .nf-field-element textarea { border-color: #A3290E; }
.gbm-nf .nf-form-errors .nf-error-msg { background: #FBE9E4; padding: 10px 14px; border-radius: 10px; }
.gbm-nf .submit-container { margin-top: 6px; }
.gbm-nf input[type=submit] { font-size: 1.05rem; padding: 15px 30px; }
.gbm-nf .nf-response-msg { font-size: 1.05rem; }

/* happy thank-you screen */
.gbm-thanks { text-align: center; padding: clamp(18px, 4vw, 40px) 10px; }
.gbm-thanks__ros { width: 108px; height: 135px; margin: 0 auto 6px; display: block; animation: gbm-thanks-in 1s cubic-bezier(.3, 1.5, .5, 1) both; }
.gbm-thanks__ros .gbm-mark__pleats { animation: gbm-spin 6s linear infinite; transform-box: view-box; }
@keyframes gbm-thanks-in { from { transform: scale(0) rotate(-200deg); } to { transform: none; } }
.gbm-thanks h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-style: italic; margin: 0; }
.gbm-thanks p { font-size: 1.1rem; max-width: 30em; margin: .8rem auto 0; color: var(--slate); }
.gbm-thanks .gbm-actions { justify-content: center; }
.gbm-thanks:focus { outline: none; }
.gbm-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 150; }

/* ---------- footer ---------- */
.gbm-foot { background: var(--ink); color: #C9D1D8; position: relative; padding: 0 var(--gut) 96px; margin-top: 0; }
.gbm-trail { height: 46px; position: relative; max-width: var(--wide); margin: 0 auto; overflow: hidden; }
.gbm-trail__p { position: absolute; top: calc(6px + var(--o) * 18px); left: calc(var(--i) * 7.1%); width: 26px; height: 26px; opacity: 0; animation: gbm-step 7s linear infinite; animation-delay: calc(var(--i) * .32s); }
.gbm-trail__p .gbm-paw { width: 26px; height: 26px; fill: var(--lime); transform: rotate(90deg); }
@keyframes gbm-step { 0% { opacity: 0; transform: scale(.4); } 4% { opacity: .85; transform: scale(1.1); } 8% { transform: scale(1); } 46% { opacity: .55; } 64%, 100% { opacity: 0; } }
.gbm-foot__in { max-width: var(--wide); margin: 0 auto; padding-top: 34px; display: grid; grid-template-columns: 1.3fr .9fr 1fr; gap: clamp(28px, 5vw, 72px); }
.gbm-foot .gbm-brand { color: var(--paper); }
.gbm-foot .gbm-brand__sub { color: var(--mist); }
.gbm-foot__brand p { margin: 14px 0 0; max-width: 32em; }
.gbm-foot__creds { display: flex; flex-wrap: wrap; gap: 8px; }
.gbm-foot__creds span { font-family: var(--f-l); letter-spacing: .1em; text-transform: uppercase; font-size: .74rem; padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(215, 169, 58, .5); color: var(--gold); }
.gbm-foot__h { font-family: var(--f-l); font-weight: 500; font-size: .84rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin: 6px 0 14px; }
.gbm-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.gbm-foot a:not(.gbm-btn) { color: var(--paper); text-decoration: none; }
.gbm-foot a:not(.gbm-btn):hover { color: var(--lime); text-decoration: underline; }
.gbm-foot__contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.gbm-foot__contact .gbm-ico { color: var(--lime); margin-top: 3px; }
.gbm-foot__contact .gbm-btn { margin-top: 18px; }
.gbm-foot__base { max-width: var(--wide); margin: 44px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--mist); }
.gbm-foot__base p { margin: 0; }
.gbm-pause { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(24, 25, 29, .92); color: var(--paper); font: inherit; font-weight: 800; font-size: .88rem; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); transition: transform .25s var(--ease), background-color .2s; }
.gbm-pause:hover { transform: translateY(-2px); background: var(--ink); }
.gbm-pause__i { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: .85rem; }
.gbm-pause__i--play { display: none; }
.gbm-paused .gbm-pause__i--pause { display: none; }
.gbm-paused .gbm-pause__i--play { display: inline-grid; }

/* ---------- 404 ---------- */
.gbm-detour { padding: clamp(36px, 5vw, 64px) var(--gut) clamp(64px, 8vw, 110px); }
.gbm-detour__list { list-style: none; max-width: var(--wide); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gbm-detour__list a { display: flex; justify-content: space-between; padding: 18px 20px; background: var(--paper); border-radius: 16px; font-weight: 800; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px rgba(24, 25, 29, .08); transition: transform .3s var(--ease), box-shadow .3s; }
.gbm-detour__list a:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ribbon); }

/* ---------- paused: every loop freezes where it is ---------- */
.gbm-paused *, .gbm-paused *::before, .gbm-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
	.gbm-js [data-gbm-reveal], .gbm-js .gbm-hero .gbm-hero__l1, .gbm-js .gbm-hero .gbm-hero__l2, .gbm-js .gbm-hero .gbm-rosette, .gbm-js .gbm-ped .gbm-ped__card { opacity: 1 !important; transform: none !important; }
	html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.gbm-creds { grid-template-columns: repeat(2, 1fr); }
	.gbm-sportcards { grid-template-columns: repeat(2, 1fr); }
	.gbm-breed { grid-template-columns: 1fr 1fr; }
	.gbm-breed__facts { grid-column: 1 / -1; }
	.gbm-ped__hint { display: block; }
	.gbm-head-btn__long { display: none; } .gbm-head-btn__short { display: inline; }
}
@media (max-width: 960px) {
	.gbm-hero__in { grid-template-columns: 1fr; }
	.gbm-hero__art { min-height: 0; max-width: 460px; width: 100%; margin: 8px auto 0; }
	.gbm-rosette { width: min(76%, 340px); }
	.gbm-course { grid-template-columns: 1fr; }
	.gbm-course__panel { position: relative; top: 0; order: -1; }
	.gbm-2col, .gbm-entry, .gbm-formwrap, .gbm-pumpkin, .gbm-bill { grid-template-columns: 1fr; }
	.gbm-2col--flip > :first-child { order: 0; }
	.gbm-entry:nth-child(even) .gbm-entry__ph { order: 0; }
	.gbm-entry__ph, .gbm-formwrap > .gbm-ccard { position: relative; top: 0; }
	.gbm-entry__ph img { aspect-ratio: 4 / 3.4; }
	.gbm-stats { grid-template-columns: repeat(2, 1fr); }
	.gbm-honors, .gbm-dams, .gbm-dec__list { grid-template-columns: repeat(2, 1fr); }
	.gbm-first, .gbm-steps { grid-template-columns: repeat(2, 1fr); }
	.gbm-steps li:not(:last-child)::after { display: none; }
	.gbm-goals { grid-template-columns: 1fr; max-width: 520px; }
	.gbm-foot__in { grid-template-columns: 1fr 1fr; }
	.gbm-foot__brand { grid-column: 1 / -1; }
	.gbm-head__in { padding-right: min(30%, 260px); }
	.gbm-brand__sub { display: none; }
}
@media (max-width: 700px) {
	.gbm-strip__creds { display: none; }
	.gbm-strip__in { justify-content: space-between; }
	.gbm-strip { font-size: .8rem; }
	.gbm-head-btn { padding: 9px 14px; font-size: .9rem; }
	.gbm-header__row { gap: 10px; }
	.gbm-brand__sub { display: none; }
	.gbm-brand__name { font-size: 1.6rem; }
	.gbm-brand .gbm-mark { width: 32px; height: 40px; }
	.gbm-head__in { padding-right: 0; }
	.gbm-head__merle { right: -140px; top: -120px; width: 270px; transform: none; opacity: .9; }
	.gbm-head__mark { right: 18px; top: 14px; width: 50px; transform: none; }
	.gbm-head__mark--photo { right: 10px; top: 6px; width: 104px; }
	.gbm-gal { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.gbm-ph--tilt, .gbm-js .gbm-ph--tilt[data-gbm-reveal].is-in { transform: none; }
	.gbm-ccard li, .gbm-foot__contact li { font-size: .94rem; }
	.gbm-head__in .gbm-crumbs, .gbm-head__in .gbm-kicker { padding-right: 96px; }
	.gbm-head__title { padding-right: 40px; }
	.gbm-cta__merle { opacity: .25; }
	.gbm-breed, .gbm-creds, .gbm-sportcards, .gbm-honors, .gbm-dams, .gbm-dec__list, .gbm-first, .gbm-steps, .gbm-detour__list { grid-template-columns: 1fr; }
	.gbm-facts { grid-template-columns: 1fr; }
	.gbm-foot__in { grid-template-columns: 1fr; }
	.gbm-nf nf-field:has(.gbm-half) { flex-basis: 100%; }
	.gbm-pause { right: 10px; bottom: 10px; padding: 8px 12px 8px 8px; font-size: .8rem; }
	.gbm-breed__facts dl > div { grid-template-columns: 1fr; gap: 2px; }
	.gbm-honors__i { padding-left: 88px; }
	.gbm-board__date { margin-left: 0; width: 100%; }
}
.gbm-course--solo { display: block; margin-top: 0; }
.gbm-course--solo .gbm-course__panel { position: relative; top: 0; }
.gbm-quote { border-left: 4px solid var(--gold); padding: 4px 0 4px 22px; margin: 1.6rem 0; }
.gbm-quote p { font-family: var(--f-d); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.4; margin: 0; }
.gbm-quote cite { display: block; margin-top: .6rem; font-family: var(--f-l); font-style: normal; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.gbm-ph--banner img { box-sizing: border-box; background: #fff; padding: 14px; max-width: 460px; margin-inline: auto; }
.gbm-nf .gbm-nf-section { font-size: 1.3rem; margin: 6px 0 2px; }
.gbm-band__in > .gbm-sub { margin-top: clamp(48px, 6vw, 80px); }
.gbm-band__in > .gbm-sub + .gbm-subl { margin-top: .3rem; }
.gbm-nav .is-menu-open .wp-block-navigation__container, .gbm-nav .is-menu-open .wp-block-navigation-item, .gbm-nav .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; text-align: left; }
