/* =========================================================
   TEXAS DOODLES — design system
   Palette: warm cream / antique gold / deep navy
   ========================================================= */

:root {
  /* color */
  --navy: #0b1e3f;
  --navy-deep: #061530;
  --navy-soft: #16386e;
  --gold: #b07a24;          /* decorative + large text */
  --gold-text: #835913;     /* small text on any light surface (>=4.7:1) */
  --gold-mid: #cf9c40;
  --gold-btn-1: #9d6c1f;    /* button gradient: white text clears 4.5:1 */
  --gold-btn-2: #7d5512;
  --gold-light: #e8c887;
  --gold-pale: #f6e8cc;
  --cream: #fcf9f2;
  --cream-2: #f5ebd9;
  --sand: #ece0c9;
  --ink: #141e2e;
  --body: #4a566a;
  --muted: #5a6373;
  --white: #fff;

  /* lines + surfaces */
  --line: rgba(11, 30, 63, .12);
  --line-strong: rgba(11, 30, 63, .2);
  --line-gold: rgba(176, 122, 36, .28);

  /* elevation — layered, not one blurry blob */
  --sh-sm: 0 1px 2px rgba(11, 30, 63, .06), 0 2px 6px rgba(11, 30, 63, .05);
  --sh-md: 0 2px 4px rgba(11, 30, 63, .05), 0 10px 24px rgba(11, 30, 63, .08);
  --sh-lg: 0 4px 8px rgba(11, 30, 63, .05), 0 18px 40px rgba(11, 30, 63, .10), 0 40px 80px rgba(11, 30, 63, .07);
  --sh-gold: 0 6px 16px rgba(176, 122, 36, .28), 0 1px 0 rgba(255, 255, 255, .35) inset;

  /* shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  /* type */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito Sans', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--body);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

/* height:auto is load-bearing: without it the HTML width/height attributes win
   over every CSS aspect-ratio below and photos render at their raw proportions. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold-light); color: var(--navy); }

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

.skip { position: fixed; left: 1rem; top: -6rem; z-index: 200; background: #fff; color: var(--navy); padding: .8rem 1.1rem; border-radius: 10px; font-weight: 700; box-shadow: var(--sh-md); text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: min(1200px, calc(100% - 44px)); margin-inline: auto; }
.wrap-narrow { width: min(900px, calc(100% - 44px)); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  color: var(--navy);
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  line-height: 1.06;
  margin-top: 0;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.9rem, 6vw, 5.4rem); letter-spacing: -.035em; margin-bottom: 1.1rem; }
h2 { font-size: clamp(2.05rem, 3.6vw, 3.5rem); letter-spacing: -.028em; margin-bottom: 1rem; }
h3 { font-size: clamp(1.28rem, 1.8vw, 1.55rem); letter-spacing: -.015em; margin-bottom: .6rem; }
h4 { font-size: 1.06rem; letter-spacing: -.01em; }
p { margin-top: 0; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1rem;
  color: var(--gold-text);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 700;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .6; }

.lead { font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.62; color: var(--body); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 54px; padding: .85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600; font-size: .97rem; letter-spacing: -.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .ic { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: linear-gradient(175deg, var(--gold-btn-1), var(--gold-btn-2)); color: #fff; box-shadow: var(--sh-gold); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(176, 122, 36, .36), 0 1px 0 rgba(255, 255, 255, .4) inset; }

.btn-secondary { background: rgba(255, 255, 255, .6); color: var(--navy); border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.btn-secondary:hover { background: #fff; border-color: var(--gold); color: var(--gold); }

.btn-light { background: #fff; color: var(--navy); box-shadow: var(--sh-md); }
.btn-light:hover { color: var(--gold); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line-gold); padding-bottom: .2rem; transition: .25s var(--ease); }
.link-arrow .ic { width: 17px; height: 17px; color: var(--gold); transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- icons ---------- */
.ic { width: 24px; height: 24px; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }

.icon-badge {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(232, 200, 135, .3), rgba(176, 122, 36, .14));
  border: 1px solid rgba(232, 200, 135, .42);
  color: var(--gold-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  margin-bottom: 1.6rem;
}
.icon-badge .ic { width: 27px; height: 27px; stroke-width: 1.5; }
.icon-badge.on-light { background: linear-gradient(160deg, #fff, var(--gold-pale)); border-color: var(--line-gold); color: var(--gold); box-shadow: var(--sh-sm); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 249, 242, .82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11, 30, 63, .07); background: rgba(252, 249, 242, .93); }

.nav { min-height: 140px; display: flex; align-items: center; gap: 1.25rem; transition: min-height .3s var(--ease); }
.nav-links { padding-right: .5rem; }
.site-header.stuck .nav { min-height: 108px; }

.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 124px; height: 124px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 10px 28px rgba(11, 30, 63, .16); transition: width .3s var(--ease), height .3s var(--ease); }
.site-header.stuck .brand img { width: 92px; height: 92px; }
.brand-text { display: none; }

.nav-links { display: flex; align-items: center; gap: clamp(.6rem, 1.5vw, 1.4rem); margin-left: auto; }
.nav-links a { text-decoration: none; font-size: .96rem; font-weight: 600; color: var(--navy); white-space: nowrap; position: relative; padding: .35rem 0; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); border-radius: 2px; transition: right .3s var(--ease); }
.nav-links a:not(.btn):hover::after { right: 0; }
.nav-links a:not(.btn):hover { color: var(--gold); }

/* Nav CTA — the anchor of the bar. Navy at rest, gold on hover. */
.nav-links .btn-primary {
  margin-left: 1.4rem;
  min-height: 50px;
  padding: .8rem 1.5rem;
  border-radius: 10px;
  background: var(--navy);
  color: var(--cream);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  box-shadow: 0 4px 14px rgba(11, 30, 63, .22);
}
.nav-links .btn-primary:hover {
  background: linear-gradient(175deg, var(--gold), #8f6115);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(176, 122, 36, .34);
}
.nav-links .btn-primary::after { display: none; }

.nav-toggle { display: none; margin-left: auto; align-items: center; gap: .5rem; border: 1px solid var(--line-strong); background: #fff; color: var(--navy); border-radius: 999px; padding: .65rem 1.05rem; font-weight: 600; box-shadow: var(--sh-sm); }
.nav-toggle .ic { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(232, 200, 135, .34), transparent 70%),
    radial-gradient(700px 500px at 4% 92%, rgba(176, 122, 36, .1), transparent 70%),
    linear-gradient(168deg, #fffdf8 0%, var(--cream) 46%, var(--cream-2) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
.hero h1 { max-width: 13ch; }
.hero .lead { max-width: 47ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.1rem 0 1.9rem; }

.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.trust-item { display: inline-flex; align-items: center; gap: .5rem; color: var(--navy); font-weight: 600; font-size: .92rem; }
.trust-item .ic { width: 19px; height: 19px; color: var(--gold); }

.hero-photo { position: relative; max-width: 520px; margin-left: auto; width: 100%; }
.hero-photo .frame { position: relative; border-radius: 200px 200px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.hero-photo .frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% center; }
.hero-photo::before { content: ''; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--line-gold); border-radius: 200px 200px var(--r-lg) var(--r-lg); }

.photo-note {
  position: absolute; left: -1.5rem; bottom: 2.2rem; max-width: 238px; z-index: 2;
  padding: 1.05rem 1.2rem; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  color: var(--navy); box-shadow: var(--sh-lg);
  border: 1px solid rgba(255, 255, 255, .8);
  font-weight: 600; font-size: .93rem; line-height: 1.45;
}
.photo-note small { display: flex; align-items: center; gap: .4rem; color: var(--gold-text); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; margin-bottom: .4rem; }
.photo-note small .ic { width: 14px; height: 14px; }

/* ---------- marquee ticker ---------- */
.ticker { background: var(--navy); color: #fff; overflow: hidden; border-block: 1px solid rgba(232, 200, 135, .2); }
.ticker-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker-inner { display: flex; align-items: center; gap: clamp(1.6rem, 4vw, 3.4rem); padding: 1rem clamp(.8rem, 2vw, 1.7rem); }
.ticker-inner span { display: inline-flex; align-items: center; gap: .55rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 600; color: rgba(255, 255, 255, .72); white-space: nowrap; }
.ticker-inner .ic { width: 17px; height: 17px; color: var(--gold-light); }
.ticker-inner b { color: #fff; font-weight: 700; }
@keyframes slide { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- sections ---------- */
.section, [id] { scroll-margin-top: 150px; }
@media (max-width: 980px) { .section, [id] { scroll-margin-top: 118px; } }
.section { padding: clamp(4rem, 7.5vw, 7.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: .8rem; }

.gold-panel { background: linear-gradient(170deg, var(--cream-2), var(--sand)); }
.navy-panel { background: linear-gradient(165deg, var(--navy), var(--navy-deep) 70%); color: rgba(255, 255, 255, .74); position: relative; overflow: hidden; }
.navy-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 420px at 82% 10%, rgba(232, 200, 135, .13), transparent 68%); pointer-events: none; }
.navy-panel .wrap { position: relative; z-index: 1; }
.navy-panel h2, .navy-panel h3, .navy-panel h4 { color: #fff; }
.navy-panel .lead { color: rgba(255, 255, 255, .72); }
.navy-panel .eyebrow,
.signup .eyebrow,
.service-card.dark .eyebrow,
.gooddog-band.on-dark .eyebrow,
.trust-card .eyebrow,
.feature .eyebrow { color: var(--gold-light); }

/* ---------- trust cards ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.trust-card {
  padding: 2.1rem 1.8rem 2.2rem;
  background: linear-gradient(168deg, var(--navy-soft) -10%, var(--navy) 55%);
  color: rgba(255, 255, 255, .74);
  border-radius: var(--r-lg);
  border: 1px solid rgba(232, 200, 135, .2);
  box-shadow: var(--sh-md);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.trust-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 220px at 78% -8%, rgba(232, 200, 135, .16), transparent 70%); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.trust-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(232, 200, 135, .42); }
.trust-card:hover::after { opacity: 1; }
.trust-card h3 { color: #fff; }
.trust-card p { font-size: .95rem; margin: 0; position: relative; z-index: 1; }
.trust-card .icon-badge { position: relative; z-index: 1; }

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.2rem, 5vw, 5rem); }

.image-frame { position: relative; }
.image-frame img { width: 100%; height: auto; aspect-ratio: 16 / 12; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.image-frame::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .5); pointer-events: none; }
.image-frame.offset::before { content: ''; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--line-gold); border-radius: var(--r-lg); }
.image-frame.portrait { max-width: 460px; margin-inline: auto; }
.image-frame.portrait img { aspect-ratio: 4 / 5; }
/* No-crop frames: the photo keeps its natural proportions inside the rounded frame,
   so nothing is ever cut off. Used for dog-page heroes and litter cover collages. */
.image-frame.natural { max-width: 520px; margin-inline: auto; }
.image-frame.natural img { aspect-ratio: auto; }
.image-frame.album-cover { max-width: 660px; margin-inline: auto; }
.image-frame.album-cover img { aspect-ratio: auto; }
.story-photo { max-width: 460px; margin-inline: auto; }
.story-photo img { aspect-ratio: 4 / 5; }

/* ---------- featured puppy card ---------- */
.puppy-card { display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); border: 1px solid rgba(255, 255, 255, .7); }
.puppy-card img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.puppy-copy { padding: clamp(2rem, 4.4vw, 4rem); align-self: center; }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: steps; }
.process-grid.three { grid-template-columns: repeat(3, 1fr); }
.step { counter-increment: steps; position: relative; padding: 2.2rem 1.6rem 1.9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden; }
.step::before { content: '0' counter(steps); display: block; margin-bottom: .9rem; color: var(--gold-text); font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.step::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); }
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step p { font-size: .95rem; margin: 0; }

/* ---------- detail list ---------- */
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; padding: 0; list-style: none; margin: 0; }
.detail-list li { display: flex; align-items: flex-start; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .97rem; }
.detail-list li .ic { flex: 0 0 auto; width: 19px; height: 19px; margin-top: .22rem; color: var(--gold-light); }
.content-card .detail-list li, .service-card .detail-list li, .gold-panel .detail-list li { border-bottom-color: var(--line); }
.content-card .detail-list li .ic, .service-card .detail-list li .ic, .gold-panel .detail-list li .ic { color: var(--gold); }
.service-card.dark .detail-list li { border-bottom-color: rgba(255, 255, 255, .12); }
.service-card.dark .detail-list li .ic { color: var(--gold-light); }

/* ---------- quote / signature ---------- */
.quote { font-family: var(--display); font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-style: italic; line-height: 1.5; color: var(--navy); padding-left: 1.4rem; border-left: 2px solid var(--gold-light); margin-bottom: 1.3rem; }
.signature { font-family: var(--display); font-style: italic; font-size: 1.7rem; color: var(--gold); margin: 1rem 0 1.6rem; }

/* ---------- service / boarding cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.service-grid.three { grid-template-columns: repeat(3, 1fr); }
.service-card { padding: clamp(1.9rem, 3.4vw, 2.8rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-gold); }
.service-card.dark { background: linear-gradient(168deg, var(--navy-soft) -20%, var(--navy) 60%); color: rgba(255, 255, 255, .74); border-color: rgba(232, 200, 135, .22); }
.service-card.dark h2, .service-card.dark h3 { color: #fff; }
.service-card p { font-size: .96rem; }

/* boarding */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feature {
  padding: 1.7rem 1.4rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); border-color: rgba(232, 200, 135, .4); }
.feature .ic { width: 30px; height: 30px; color: var(--gold-light); margin-bottom: 1rem; stroke-width: 1.4; }
.feature h3 { color: #fff; margin: 0 0 .4rem; font-family: var(--sans); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.feature p { margin: 0; font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .68); }
.feature.on-light { background: #fff; border-color: var(--line); box-shadow: var(--sh-sm); }
.feature.on-light .ic { color: var(--gold); }
.feature.on-light h3 { color: var(--navy); }
.feature.on-light p { color: var(--body); }

.boarding-band { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(2.4rem, 4vw, 3.4rem); }
.boarding-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem .75rem; border-radius: 999px; background: rgba(232, 200, 135, .14); border: 1px solid rgba(232, 200, 135, .34); color: var(--gold-light); font-size: .78rem; font-weight: 600; margin-bottom: 1.4rem; }
.boarding-badge .ic { width: 19px; height: 19px; }

.callout-card { padding: clamp(1.7rem, 3vw, 2.3rem); border-radius: var(--r-lg); background: rgba(255, 255, 255, .07); border: 1px solid rgba(232, 200, 135, .28); }
.callout-card h3 { margin-bottom: .7rem; }

/* ---------- CMS content: litters, puppies, galleries ---------- */
.litter-card, .puppy-tile, .dog-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.litter-card > *:not(.litter-thumb), .puppy-tile > *:not(.litter-thumb), .dog-card > *:not(.litter-thumb) { padding-inline: clamp(1.4rem, 2.4vw, 1.9rem); }
.litter-card > *:first-child:not(.litter-thumb), .puppy-tile > *:first-child:not(.litter-thumb), .dog-card > *:first-child:not(.litter-thumb) { padding-top: clamp(1.6rem, 2.6vw, 2.1rem); }
.litter-card > *:last-child, .puppy-tile > *:last-child, .dog-card > *:last-child { padding-bottom: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: auto; }
.litter-thumb { display: block; overflow: hidden; background: var(--cream-2); }
.litter-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.litter-card:hover .litter-thumb img, .puppy-tile:hover .litter-thumb img, .dog-card:hover .litter-thumb img { transform: scale(1.04); }
.litter-thumb + .eyebrow { margin-top: 1.5rem; }

/* Individual puppies and parent dogs get the circular treatment on their cards.
   object-position favors the top of the photo, where faces live in portrait shots. */
.puppy-tile .litter-thumb, .dog-card .litter-thumb { width: min(190px, 64%); margin: clamp(1.6rem, 2.6vw, 2.1rem) auto 0; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 0 0 2px var(--line-gold), var(--sh-sm); }
.puppy-tile .litter-thumb img, .dog-card .litter-thumb img { aspect-ratio: 1 / 1; border-radius: 50%; object-position: 50% 22%; }
.puppy-tile .litter-thumb + .eyebrow, .dog-card .litter-thumb + .eyebrow { margin-top: 1.3rem; }

/* Litter covers are collages: keep them square-ish in a rounded inset frame so
   whole collage rows are not sliced away. */
.litter-card .litter-thumb { margin: 1.25rem 1.25rem 0; border-radius: var(--r-md); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--line-gold), var(--sh-sm); }
.litter-card .litter-thumb img { aspect-ratio: auto; }
.litter-card > .litter-thumb:first-child { margin-top: 1.25rem; }
.dog-card .icon-badge { margin: clamp(1.6rem, 2.6vw, 2.1rem) clamp(1.4rem, 2.4vw, 1.9rem) 1.2rem; }
.litter-pair { display: flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--navy); margin-bottom: .6rem; }
.litter-pair .ic { width: 17px; height: 17px; color: var(--gold-text); }
.litter-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: 1rem; font-size: .87rem; }
.litter-meta span { display: inline-flex; align-items: center; gap: .35rem; color: var(--body); }
.litter-meta .ic { width: 15px; height: 15px; color: var(--gold-text); }

.chip { display: inline-flex; align-items: center; padding: .28rem .7rem; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; background: var(--cream-2); color: #4a4436; border: 1px solid var(--line); }
.chip-available { background: #e4f1e4; color: #29562c; border-color: #b9d9bb; }
.chip-pending, .chip-reserved { background: var(--gold-pale); color: #5f4a14; border-color: var(--line-gold); }
.chip-placed, .chip-sold { background: #e8eaef; color: #3d465a; border-color: #cdd2dc; }
.chip-planned, .chip-expecting { background: #e6edf7; color: #24456f; border-color: #c2d3e9; }
.chip-born { background: #f3e8f3; color: #5a2c58; border-color: #ddc4dc; }

/* Circular photo treatment — echoes the round logo mark. White ring + thin gold
   halo + soft shadow, on every gallery and strip photo. */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: clamp(1.1rem, 2.5vw, 1.9rem); align-items: start; padding-bottom: 16px; }
.photo-tile { margin: 0; border-radius: 50%; overflow: hidden; background: var(--cream-2); border: 5px solid #fff; box-shadow: 0 0 0 2px var(--line-gold), var(--sh-md); }
.photo-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; border-radius: 50%; transition: transform .5s var(--ease); }
.photo-tile:hover img { transform: scale(1.07); }
@media (min-width: 700px) {
  .photo-grid .photo-tile:nth-child(even) { transform: translateY(14px); }
}

/* homepage strip of the newest photos, beside the Good Dog call to action */
.band-actions { display: flex; flex-direction: column; align-items: stretch; gap: .65rem; flex: 0 0 auto; }
.band-actions .btn { justify-content: center; }

.photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 1.1rem; overflow-x: auto; padding: .4rem .3rem 1rem; scroll-snap-type: x mandatory; }
.photo-strip figure { margin: 0; border-radius: 50%; overflow: hidden; scroll-snap-align: start; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--line-gold), var(--sh-sm); }
.photo-strip figure:nth-child(even) { transform: translateY(8px); }
.photo-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; border-radius: 50%; }

/* uploader page */
.upload-drop { display: grid; gap: .5rem; padding: 1.6rem 1.2rem; border: 2px dashed var(--line-gold); border-radius: var(--r-md); background: var(--gold-pale); text-align: center; cursor: pointer; }
.upload-drop .ic { width: 32px; height: 32px; color: var(--gold-text); justify-self: center; }
.upload-drop b { color: var(--navy); font-size: 1.05rem; }
.upload-drop small { color: #5f4a14; }
.upload-drop input[type="file"] { justify-self: center; margin-top: .5rem; max-width: 100%; font-size: .88rem; }
.upload-drop { overflow: hidden; }

@media (max-width: 680px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-auto-columns: minmax(130px, 1fr); }
}

/* ---------- reviews ---------- */
.review-band { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.rating-block { text-align: center; padding: 2.2rem 1.5rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, .07); border: 1px solid rgba(232, 200, 135, .28); }
.rating { color: var(--gold-light); font-family: var(--display); font-size: 4.4rem; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.stars { display: flex; justify-content: center; gap: .22rem; color: var(--gold); margin: .7rem 0 .5rem; }
.stars .ic { width: 22px; height: 22px; }
.rating-block p { margin: 0; font-size: .88rem; letter-spacing: .04em; }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.quote-card { padding: 1.9rem 1.7rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-sm); }
.quote-card .stars { justify-content: flex-start; margin: 0 0 .9rem; }
.quote-card .stars .ic { width: 17px; height: 17px; }
.quote-card p { font-size: .97rem; color: var(--ink); }
.quote-card cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; font-size: .86rem; color: var(--gold-text); }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: .7rem; max-width: 920px; margin-inline: auto; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.15rem 1.4rem; box-shadow: var(--sh-sm); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq-list details[open] { border-color: var(--line-gold); box-shadow: var(--sh-md); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; color: var(--navy); font-weight: 600; font-size: 1.02rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-list details p { margin: .95rem 0 0; font-size: .97rem; }

/* ---------- forms ---------- */
.field { display: grid; gap: .4rem; margin-bottom: 1.05rem; }
.field > span { font-size: .84rem; font-weight: 600; color: var(--navy); letter-spacing: .01em; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem;
  background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: .98rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 122, 36, .16); }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.1rem; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
.check { display: flex; align-items: flex-start; gap: .7rem; padding: .95rem 1.05rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--cream); font-size: .93rem; color: var(--ink); cursor: pointer; margin-bottom: 1.05rem; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--gold-text); flex: 0 0 auto; }
.form-note { margin: .85rem 0 0; font-size: .82rem; color: var(--muted); }
.signup .form-note { color: rgba(255, 255, 255, .6); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-legend { font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--navy); letter-spacing: -.015em; padding: 0 0 .3rem; margin: 1.8rem 0 1rem; border-bottom: 1px solid var(--line-gold); width: 100%; }
.form-legend:first-of-type { margin-top: 0; }

.signup { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; padding: clamp(2rem, 4.5vw, 3.6rem); border-radius: var(--r-xl); background: linear-gradient(150deg, var(--navy-soft) -20%, var(--navy) 55%, var(--navy-deep) 100%); color: rgba(255, 255, 255, .74); box-shadow: var(--sh-lg); position: relative; overflow: hidden; }
.signup::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 340px at 85% 0%, rgba(232, 200, 135, .17), transparent 70%); pointer-events: none; }
.signup > div { position: relative; z-index: 1; }
.signup h2 { color: #fff; }
.signup-form { display: flex; gap: .55rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: .5rem; border-radius: 999px; }
.signup-form input { min-width: 0; flex: 1; border: 0; outline: 0; border-radius: 999px; padding: 0 1.1rem; background: #fff; color: var(--navy); min-height: 50px; }

/* ---------- inner pages ---------- */
.inner-hero { position: relative; overflow: hidden; padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2.6rem, 4vw, 4rem); background: radial-gradient(760px 420px at 88% 6%, rgba(232, 200, 135, .3), transparent 70%), linear-gradient(168deg, #fffdf8, var(--cream-2)); border-bottom: 1px solid var(--line); }
.inner-hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); max-width: 18ch; }
.crumbs { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .84rem; margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

.content-card { padding: clamp(1.9rem, 4vw, 3.2rem); background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-md); }
.content-card > h2:first-child, .content-card > h3:first-child { margin-top: 0; }

.size-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.size-table th, .size-table td { padding: 1rem .9rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
.size-table thead th { font-family: var(--sans); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-text); border-bottom: 1px solid var(--line-gold); padding-bottom: .7rem; }
.size-table tbody th { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--navy); letter-spacing: -.015em; width: 26%; }
.size-table tbody tr:last-child th, .size-table tbody tr:last-child td { border-bottom: 0; }
.size-table tbody tr:hover td, .size-table tbody tr:hover th { background: var(--gold-pale); }
.size-table .metric { color: var(--muted); font-size: .88em; white-space: nowrap; }

.size-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1080px) { .size-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .size-row { grid-template-columns: 1fr; } }
.size-card { padding: 1.8rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); border-top: 3px solid var(--gold); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.size-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.size-card h3 { margin-bottom: .8rem; }
.size-card > p:last-child { font-size: .93rem; margin: 0; }
.size-card .size-spec span em { font-style: normal; opacity: .75; }

.size-spec { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.size-spec span { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .75rem; border-radius: 999px; background: var(--gold-pale); border: 1px solid var(--line-gold); color: #5f4a14; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.size-spec .ic { width: 15px; height: 15px; color: var(--gold); }

.dog-facts { width: 100%; border-collapse: collapse; }
.dog-facts th, .dog-facts td { padding: .95rem 0; border-bottom: 1px solid var(--line); text-align: left; font-size: .97rem; }
.dog-facts th { color: var(--navy); font-weight: 600; width: 42%; }

.notice { display: flex; gap: .8rem; padding: 1.05rem 1.25rem; border-left: 3px solid var(--gold); background: var(--gold-pale); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .93rem; color: #6b5320; }
.notice .ic { flex: 0 0 auto; width: 20px; height: 20px; color: var(--gold); margin-top: .18rem; }

/* ---------- footer ---------- */
.site-footer { padding: clamp(3.5rem, 6vw, 5.5rem) 0 6.5rem; background: linear-gradient(180deg, var(--navy-deep), #04101f); color: rgba(255, 255, 255, .62); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .82fr .82fr .95fr; gap: 2.5rem; }
.footer-brand img { width: 168px; height: 168px; border-radius: 50%; background: #fff; margin-bottom: 1.3rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.footer-brand p { max-width: 34ch; line-height: 1.85; }
.footer-brand a { color: var(--gold-light); }
.footer-links { display: grid; gap: .6rem; align-content: start; }
.footer-links a { text-decoration: none; transition: color .2s var(--ease); display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a .ic { width: 17px; height: 17px; color: rgba(232, 200, 135, .8); }
.footer-links a:hover { color: var(--gold-light); }
.footer-title { color: #fff; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: .35rem; }
.social-row { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social-row a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .78); transition: .25s var(--ease); }
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.legal { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding-top: 2rem; margin-top: 2.6rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .45); }

/* ---------- floating actions ---------- */
.float-actions { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 35; display: grid; gap: .55rem; }
.float-actions a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; text-decoration: none; background: #fff; color: var(--navy); box-shadow: var(--sh-md); border: 1px solid var(--line); transition: .25s var(--ease); }
.float-actions a .ic { width: 21px; height: 21px; }
.float-actions a:hover { transform: translateY(-3px) scale(1.04); color: var(--gold); border-color: var(--line-gold); }
.float-actions a.accent { background: linear-gradient(175deg, var(--gold-btn-1), var(--gold-btn-2)); color: #fff; border-color: transparent; box-shadow: var(--sh-gold); }
.float-actions a.accent:hover { color: #fff; }

.mobile-actions { display: none; }

/* ---------- Good Dog band ---------- */
.gooddog-band {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.5rem, 3.5vw, 3rem);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #fffdf8, var(--gold-pale) 55%, #f0dcb4);
  border: 1px solid var(--line-gold);
  box-shadow: var(--sh-lg);
  position: relative; overflow: hidden;
}
.gooddog-band::after { content: ''; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(176, 122, 36, .18); border-radius: 50%; right: -120px; bottom: -160px; pointer-events: none; }
.gooddog-band > * { position: relative; z-index: 1; }
.gooddog-mark { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(160deg, var(--gold-btn-1), var(--gold-btn-2)); color: #fff; box-shadow: var(--sh-gold); flex: 0 0 auto; }
.gooddog-mark .ic { width: 36px; height: 36px; stroke-width: 1.5; }
.gooddog-band h3 { margin: 0 0 .35rem; font-size: clamp(1.35rem, 2.3vw, 1.95rem); }
.gooddog-band p { margin: 0; font-size: .99rem; color: #5c5232; max-width: 62ch; }
.gooddog-band .btn { white-space: nowrap; }
.gooddog-band.on-dark { background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(232, 200, 135, .08)); border-color: rgba(232, 200, 135, .35); box-shadow: none; }
.gooddog-band.on-dark h3 { color: #fff; }
.gooddog-band.on-dark p { color: rgba(255, 255, 255, .74); }

.gooddog-note { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.1rem; padding: .6rem 1.05rem; border-radius: 999px; background: var(--gold-pale); border: 1px solid var(--line-gold); color: #5f4a14; font-size: .88rem; font-weight: 600; text-decoration: none; transition: .25s var(--ease); }
.gooddog-note .ic { width: 18px; height: 18px; color: var(--gold); }
.gooddog-note:hover { background: #fff; border-color: var(--gold); }

/* ---------- Facebook nudge ---------- */
.fb-dock { position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 38; display: grid; gap: .7rem; justify-items: start; }
.fb-tab { box-shadow: 0 8px 22px rgba(21, 82, 189, .38), 0 0 0 3px rgba(252, 249, 242, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.fb-tab {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(170deg, #2c6ae0, #1552bd);
  box-shadow: 0 8px 22px rgba(21, 82, 189, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.fb-tab .ic { width: 24px; height: 24px; }
.fb-tab:hover { transform: translateY(-3px) scale(1.05); }
.fb-tab::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(44, 106, 224, .45); opacity: 0; }
.fb-tab.pulse::after { animation: fb-pulse 2.2s var(--ease) 3; }
@keyframes fb-pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }

.fb-card {
  position: relative;
  width: min(320px, calc(100vw - 2.4rem));
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  opacity: 0; transform: translateY(14px) scale(.97); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.fb-card.show { opacity: 1; transform: none; pointer-events: auto; }
.fb-card-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.fb-card-head .ic { width: 22px; height: 22px; color: #1552bd; }
.fb-card-head strong { font-family: var(--display); font-size: 1.08rem; font-weight: 600; color: var(--navy); letter-spacing: -.015em; }
.fb-card p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; color: var(--body); }
.fb-card .btn { width: 100%; min-height: 46px; font-size: .92rem; background: linear-gradient(170deg, #2c6ae0, #1552bd); color: #fff; box-shadow: 0 6px 16px rgba(21, 82, 189, .3); }
.fb-close {
  position: absolute; top: .3rem; right: .3rem; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); cursor: pointer;
}
.fb-close .ic { width: 15px; height: 15px; }
.fb-close:hover { background: var(--cream-2); color: var(--navy); }

@media (max-width: 980px) {
  /* touch targets: these measured 26-32px tall. Apple asks for 44. */
  .footer-links a { min-height: 44px; align-items: center; }
  .faq-list summary { min-height: 44px; padding-block: .35rem; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 40px; padding-inline: .3rem; margin-inline: -.2rem; }
  .quote-card cite, .form-note a { display: inline-block; padding-block: .35rem; }
  .link-arrow { min-height: 44px; }
  .detail-list li a { display: inline-flex; align-items: center; min-height: 40px; padding-inline: .35rem; margin-inline: -.2rem; }
  .social-row a { width: 46px; height: 46px; }
  /* inline links inside sentences: keep them in the text flow but pad the tap area */
  .content-card p a, .service-card p a, .site-footer .footer-brand p a, .legal a, .dog-facts a, .faq-list p a {
    display: inline-block; padding: .55rem .25rem; margin: -.45rem -.1rem;
  }
}

@media (max-width: 680px) {
  .fb-dock { left: .8rem; bottom: 5.2rem; }
  /* keep the first screen clean — the tab appears once they start reading */
  .fb-dock .fb-tab { opacity: 0; pointer-events: none; transform: scale(.85); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  body.scrolled .fb-dock .fb-tab, .fb-card.show + .fb-tab { opacity: 1; pointer-events: auto; transform: none; }
  .fb-tab { width: 50px; height: 50px; }
  .fb-tab .ic { width: 21px; height: 21px; }
}

/* ---------- splash ---------- */
#td-splash {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center; gap: 0;
  background: radial-gradient(700px 520px at 50% 38%, #fffdf8, var(--cream) 55%, var(--cream-2) 100%);
  opacity: 1; transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
#td-splash.out { opacity: 0; visibility: hidden; }
.splash-inner { display: grid; justify-items: center; text-align: center; padding: 1.5rem; }
.splash-inner img { width: min(430px, 66vw); height: auto; border-radius: 50%; filter: drop-shadow(0 24px 50px rgba(11, 30, 63, .18)); animation: splash-in .8s var(--ease) both; }
.splash-word { margin: 1.8rem 0 0; font-family: var(--sans); font-size: clamp(.92rem, 1.6vw, 1.06rem); font-weight: 600; color: var(--navy); letter-spacing: .01em; animation: splash-fade .7s var(--ease) .25s both; }
.splash-bar { width: 190px; height: 3px; margin-top: 1.1rem; border-radius: 3px; background: rgba(176, 122, 36, .2); overflow: hidden; }
.splash-bar span { display: block; height: 100%; width: 40%; border-radius: 3px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); animation: splash-slide 1.15s var(--ease) infinite; }
@keyframes splash-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes splash-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes splash-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(360%); } }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .trust-grid, .feature-row { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .nav { min-height: 104px; }
  .site-header.stuck .nav { min-height: 92px; }
  .brand img { width: 88px; height: 88px; }
  .site-header.stuck .brand img { width: 76px; height: 76px; }
  .nav-toggle { display: inline-flex; }
  /* backdrop-filter would make the header a containing block for the fixed menu
     panel, collapsing it to the header's own height — so drop it on mobile. */
  .site-header, .site-header.stuck { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .nav-links { display: none; position: fixed; top: 104px; left: 0; right: 0; bottom: 0; height: auto; padding: 1.6rem 1.4rem 6rem; background: var(--cream); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; padding-right: 1.4rem; }
  .site-header.stuck .nav-links { top: 92px; }
  .gooddog-band { grid-template-columns: auto 1fr; }
  .gooddog-band .btn { grid-column: 1 / -1; justify-self: start; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.18rem; padding: 1rem .3rem; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn-primary { order: -1; margin: 0 0 1.2rem; width: 100%; min-height: 56px; font-size: .88rem; border-bottom: 0; }
  .hero-grid, .split, .signup, .puppy-card, .boarding-band, .review-band { grid-template-columns: 1fr; }
  .hero-photo { max-width: 620px; margin-inline: auto; }
  .hero-photo::before, .image-frame.offset::before { display: none; }
  .process-grid, .process-grid.three, .service-grid.three { grid-template-columns: repeat(2, 1fr); }
  .puppy-card img { min-height: 300px; }
}

@media (max-width: 680px) {
  .wrap, .wrap-narrow { width: min(100% - 32px, 1200px); }
  h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .hero { padding-top: 2.6rem; }
  .hero-grid { gap: 2.4rem; }
  .hero-photo .frame { border-radius: 150px 150px var(--r-md) var(--r-md); }
  .photo-note { left: .8rem; right: .8rem; bottom: .8rem; max-width: none; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 1.4rem; }
  .trust-grid, .process-grid, .process-grid.three, .service-grid, .service-grid.three, .feature-row, .footer-grid { grid-template-columns: 1fr; }
  .detail-list, .field-row, .field-row.three { grid-template-columns: 1fr; }
  .signup-form { border-radius: var(--r-md); flex-direction: column; }
  .float-actions { display: none; }
  .site-footer { padding-bottom: 7rem; }
  .gooddog-band { grid-template-columns: 1fr; text-align: left; }
  .gooddog-band .btn { width: 100%; }
  .mobile-actions {
    position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 22px rgba(11, 30, 63, .12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-actions a { display: grid; justify-items: center; align-content: center; gap: .2rem; min-height: 56px; padding: .5rem .1rem .55rem; text-decoration: none; color: var(--navy); font-size: .72rem; font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
  .mobile-actions a .ic { width: 20px; height: 20px; }
  .mobile-actions a.accent { color: var(--gold-text); }
  .mobile-actions a.hot { color: #fff; background: linear-gradient(175deg, var(--gold-btn-1), var(--gold-btn-2)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .float-actions, .mobile-actions, .ticker, .signup { display: none !important; }
  body { background: #fff; }
}
