/* ============================================================
   Think Twice Redesign — design tokens
   Lifted from the ThinkTwice Redesign mockup (Main.dc.html)
   ============================================================ */
:root {
	--color-bg: #FBF7EF;
	--color-bg-alt: #F2EEE3;
	--color-white: #FFFFFF;
	--color-text: #2B2620;
	--color-text-muted: #4A423A;
	--color-text-secondary: #6E645A;
	--color-border: #E7DFD1;

	--color-accent: #333B14;   /* primary CTA / active states (moss green) */
	--color-forest: #3F5641;   /* utility bar, recognition strip */
	--color-forest-dark: #2E3E30; /* footer */
	--color-gold: #8F6A2C;     /* links — darkened from #BE8B3D, which failed WCAG AA (~3:1) on cream/white */
	--color-gold-hover: #6E5220;
	--color-gold-light: #E8C384; /* eyebrow text on dark backgrounds */

	--font-serif: 'Fraunces', serif;
	--font-sans: 'Manrope', sans-serif;

	--container-x: 80px;
	--radius-lg: 20px;
	--radius-md: 16px;
	--radius-sm: 12px;
}

@media (max-width: 782px) {
	:root { --container-x: 24px; }
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--color-bg);
	font-family: var(--font-sans);
	color: var(--color-text);
	line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--color-gold); text-decoration: none; }
a:hover { color: var(--color-gold-hover); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; margin: 0; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 26px;
	border-radius: 999px;
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.02em;
	text-decoration: none;
	border: 1.5px solid transparent;
	cursor: pointer;
}
.btn--accent { background: var(--color-accent); color: var(--color-white); }
.btn--accent:hover { background: #2a3010; color: var(--color-white); }
.btn--outline-light { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.6); }
.btn--outline-light:hover { border-color: #fff; color: var(--color-white); }
.btn--outline { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.btn--outline-muted { background: transparent; color: var(--color-text); border-color: var(--color-border); }

.eyebrow {
	color: var(--color-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
/* The hero photo's crop shifts with viewport width (object-fit: cover
   with a fixed object-position), so the same text position can land
   over a light, busy patch of fur at some widths and a dark area at
   others — a fixed-opacity scrim alone doesn't guarantee contrast at
   every breakpoint. A text-shadow is aspect-ratio-independent, so it
   keeps this legible regardless of what's behind it. */
.eyebrow--on-dark { color: var(--color-gold-light); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); }

.text-link { font-weight: 700; font-size: 15px; }

/* ---------- Utility bar ---------- */
.utility-bar {
	height: 44px;
	background: var(--color-forest);
	color: #EFE9DA;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--container-x);
	font-size: 13px;
}
.utility-bar a { color: #EFE9DA; }
.utility-bar__left, .utility-bar__right { display: flex; align-items: center; gap: 20px; }
.utility-bar .dot { opacity: 0.5; }

/* ---------- Header ---------- */
.site-header {
	position: relative;
	height: 96px;
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--container-x);
	gap: 24px;
}
.site-logo img { height: 46px; }
.site-nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.site-nav a { color: var(--color-text); }

.nav-toggle { display: none; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0; background: none; border: none; cursor: pointer; }
.nav-toggle__bar { display: block; width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 620px; overflow: hidden; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,10,0.05) 0%, rgba(20,17,10,0.75) 100%); }
.hero__content { position: absolute; left: var(--container-x); right: var(--container-x); bottom: 64px; max-width: 720px; }
.hero__content h1 { font-size: 58px; line-height: 1.08; color: var(--color-white); margin: 0 0 20px; }
.hero__content p { font-size: 18px; line-height: 1.6; color: #F2EEE3; margin: 0 0 32px; max-width: 620px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 700px) {
	/* At the full 58px size, the heading (anchored to the bottom of a
	   fixed-height, overflow:hidden hero) ran taller than the hero
	   itself on phone widths, clipping its own first line off the top
	   — not just "too big," but actually unreadable. Matches
	   .dog-hero__content h1's mobile size for the same reason. */
	.hero__content h1 { font-size: 36px; line-height: 1.15; margin-bottom: 14px; }
	.hero__content p { font-size: 15px; margin-bottom: 20px; }
}

/* ---------- Story ---------- */
.story { display: flex; align-items: center; gap: 64px; padding: 80px var(--container-x); }
@media (max-width: 1100px) {
	/* The fixed 560px photo (flex-shrink: 0) + 64px gap alone need
	   624px, so anything narrower than ~1100px leaves the text column
	   under ~300px — too little room for the 38px heading's longest
	   word ("Temperament") to fit even a single line at, e.g., 900px
	   (161px column) or 960px, causing horizontal page scroll despite
	   .story__content being free to shrink (see min-width note below).
	   Stack instead, same as .about-profile / .dog-body__grid's
	   breakpoint elsewhere in this stylesheet. */
	.story { flex-direction: column; gap: 32px; }
	.story__image { width: 100%; height: auto; }
}
.story__image { width: 560px; max-width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 24px 48px -24px rgba(43,38,32,0.35); flex: 0 0 auto; }
/* Flex items default to min-width: auto, not 0 — without this, the
   column refuses to shrink below its content's min-content width and
   overflows past the fixed-width image instead of wrapping. Kept as a
   safety net alongside the 1100px breakpoint above: the breakpoint
   avoids the cramped column in normal use, this stops the bleeding if
   a future edit makes the copy (or a viewport in between) tighter than
   expected — overflow-wrap on the heading covers the same case for a
   single very long word specifically. */
.story__content { min-width: 0; }
.story__content p { font-size: 17px; line-height: 1.7; color: var(--color-text-muted); margin: 0 0 18px; max-width: 520px; }
.story__content h2 { font-size: 38px; line-height: 1.15; margin: 0 0 20px; overflow-wrap: break-word; }

/* ---------- Recognition strip ---------- */
.recognition {
	background: var(--color-forest);
	color: #F2EEE3;
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 40px var(--container-x);
	flex-wrap: wrap;
	gap: 24px;
}
.recognition__item { display: flex; align-items: center; gap: 16px; max-width: 320px; color: var(--color-gold-light); }
.recognition__item span { color: #F2EEE3; font-size: 15px; font-weight: 600; line-height: 1.4; }
.recognition__divider { width: 1px; height: 56px; background: rgba(255,255,255,0.18); }

/* ---------- Generic section ---------- */
.section { padding: 88px var(--container-x); }
.section--white { background: var(--color-white); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; gap: 24px; flex-wrap: wrap; }
.section__head--stacked { display: block; }
.section__head h2, .section__head--stacked h2 { font-size: 36px; margin: 0 0 8px; }
.section__subhead { font-size: 16px; color: var(--color-text-secondary); margin: 0; }

/* ---------- Litters ---------- */
.litters__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.litter-card { flex: 0 1 360px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 700px) { .litter-card { flex: 1 1 100%; } }
.litter-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: inherit; text-decoration: none; }
.litter-card__header:hover .litter-card__title { text-decoration: underline; }
.litter-card__title { font-weight: 700; font-size: 19px; }
.litter-card__status { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; background: var(--color-bg-alt); color: var(--color-text-secondary); }
.litter-card__status--current { background: var(--color-accent); color: var(--color-white); }
.litter-card__status--planned { background: var(--color-gold-light); color: var(--color-text); }
.litter-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; color: var(--color-text-muted); }
.litter-card__meta-sep { color: var(--color-border); }
.litter-card__parents-photos { display: flex; align-items: flex-start; justify-content: center; gap: 14px; }
.litter-card__parent { flex: 0 0 auto; width: 92px; display: block; color: inherit; text-align: center; }
.litter-card__parent-photo { width: 92px; border-radius: 50%; overflow: hidden; aspect-ratio: 1 / 1; background: var(--color-bg-alt); margin: 0 auto 8px; }
.litter-card__parent-photo img { width: 100%; height: 100%; object-fit: cover; }
.litter-card__parent-role { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-text-secondary); margin-bottom: 2px; }
.litter-card__parent-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.litter-card__parents-x { flex: 0 0 auto; height: 92px; display: flex; align-items: center; font-size: 20px; font-weight: 700; color: var(--color-text-secondary); }
.litter-card__links { display: flex; gap: 20px; font-size: 13px; font-weight: 700; margin-top: auto; padding-top: 4px; }
.litter-card__links a { display: inline-block; padding: 4px 0; }
.empty-state { color: var(--color-text-secondary); font-size: 15px; }

/* ---------- Tiles (Meet Our Goldens) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-bottom: 28px; }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20,17,10,0.65) 100%); }
.tile span { position: absolute; left: 20px; bottom: 18px; color: #FFF; font-family: var(--font-serif); font-size: 22px; font-weight: 600; z-index: 1; }
.tiles__links { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--color-text-secondary); flex-wrap: wrap; gap: 12px; }
.tiles__links-left { display: flex; gap: 24px; font-weight: 600; flex-wrap: wrap; }
.tiles__links-left a, .tiles__links span { color: var(--color-text-secondary); }

/* ---------- Pull quote ---------- */
.pull-quote { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px var(--container-x); }
.pull-quote__mark { fill: var(--color-accent); margin-bottom: 20px; }
.pull-quote p { font-family: var(--font-serif); font-style: italic; font-size: 26px; line-height: 1.5; max-width: 720px; margin: 0 0 20px; }
.pull-quote__attribution { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-secondary); margin-bottom: 28px; }

/* ---------- Media teaser ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-bottom: 8px; }
@media (max-width: 700px) { .media-grid { grid-template-columns: 1fr; } }
.media-tile { position: relative; display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 9; }
.media-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.media-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,10,0.1) 0%, rgba(20,17,10,0.55) 100%); }
.media-tile:hover img { transform: scale(1.05); }
.media-tile__btn { position: absolute; left: 20px; bottom: 20px; z-index: 1; }
.media-tile--cider img { object-position: center 60%; }
.media-tile--dave img { object-position: center 25%; }
.media-tile--trial img { object-position: center 35%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-forest-dark); color: #EFE9DA; padding: 72px var(--container-x) 40px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
@media (max-width: 700px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__logo { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1) opacity(0.9); }
.site-footer p { font-size: 14px; line-height: 1.7; color: #C9C2B4; max-width: 320px; margin: 0 0 20px; }
.site-footer a { color: #EFE9DA; }
.site-footer__contact-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__heading { font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; color: var(--color-gold-light); }
.site-footer__social { display: flex; gap: 14px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: #9AA495; flex-wrap: wrap; gap: 8px; }
.site-footer__cookie-link { background: none; border: none; padding: 0; font: inherit; color: #9AA495; text-decoration: underline; cursor: pointer; }
.site-footer__cookie-link:hover { color: #EFE9DA; }

/* ---------- Cookie consent banner (GDPR / Google Consent Mode v2) ---------- */
.cookie-banner {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	background: var(--color-forest-dark);
	color: var(--color-white);
	padding: 20px 24px;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner__text { margin: 0; max-width: 640px; font-size: 14px; line-height: 1.5; color: var(--color-white); }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner__actions .btn { height: 40px; padding: 0 20px; font-size: 13px; }
@media (max-width: 600px) {
	.cookie-banner { padding: 16px; }
	.cookie-banner__actions { width: 100%; }
	.cookie-banner__actions .btn { flex: 1; }
}

/* ---------- Gallery (breed archive) ---------- */
.gallery-hero { padding: 56px var(--container-x) 32px; }
.gallery-hero h1 { font-size: 42px; margin: 0 0 14px; }
.gallery-hero p { font-size: 16px; color: var(--color-text-secondary); margin: 0; max-width: 620px; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 28px 0; }
.gallery-tabs { display: flex; gap: 12px; flex-wrap: wrap; }
.tab {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 20px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	border: 1.5px solid var(--color-border);
	background: var(--color-white);
	color: var(--color-text);
	text-decoration: none;
	cursor: pointer;
}
.tab.is-active { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.gallery-tabs--years { margin-top: 12px; }
.tab--small { height: 32px; padding: 0 14px; font-size: 13px; }
.gallery-links { font-size: 13px; font-weight: 600; color: var(--color-text-secondary); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gallery-links a { color: var(--color-text-secondary); }
.gallery-links .dot { opacity: 0.5; }
/* Used outside .gallery-hero (which normally supplies this inset), e.g. below the Media page's video grid. */
.gallery-links--inset { padding: 0 var(--container-x); margin: -8px 0 24px; }

.dog-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; padding: 0 var(--container-x) 88px; }
@media (max-width: 1100px) { .dog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .dog-grid { grid-template-columns: 1fr; } }
.dog-card { display: block; color: inherit; }
.dog-card__photo { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 14px; background: var(--color-bg-alt); }
.dog-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.dog-card__badge { position: absolute; left: 12px; top: 12px; background: rgba(20,17,10,0.55); color: #FFF; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.dog-card__name { font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.dog-card__full-name { font-size: 12px; color: var(--color-text-secondary); font-style: italic; }
.gallery-empty { padding: 64px var(--container-x) 96px; text-align: center; color: var(--color-text-secondary); font-size: 15px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; padding: 0 var(--container-x) 88px; }
@media (max-width: 1100px) { .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px) { .news-grid { grid-template-columns: 1fr; } }
/* Homepage teaser: no baked-in page padding (lives inside .section). Most
   source photos are portrait, so the square photo box (needed to avoid
   cropping them badly) gets very tall if stretched to fill a 2-column
   row — cap each card's width instead of letting it stretch full-bleed. */
.news-grid--home { display: grid; grid-template-columns: repeat(4, minmax(0, 280px)); gap: 32px; justify-content: center; }
@media (max-width: 1300px) { .news-grid--home { grid-template-columns: repeat(2, minmax(0, 280px)); } }
@media (max-width: 700px) { .news-grid--home { grid-template-columns: minmax(0, 280px); } }
.news-card { display: block; color: inherit; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
/* Square, not landscape: most of these photos come in portrait (phone
   snapshots of puppies/people), and a wide box would crop away most of
   the subject. Square keeps ~75% of the frame regardless of source
   orientation instead of ~50-56% for a landscape box. */
.news-card__photo { aspect-ratio: 1 / 1; background: var(--color-bg-alt); }
.news-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 20px 22px 24px; }
.news-card__date { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 8px; }
.news-card__title { font-weight: 700; font-size: 17px; line-height: 1.3; margin-bottom: 8px; }
.news-card__excerpt { font-size: 14px; color: var(--color-text-secondary); line-height: 1.5; }
.news-pagination { display: flex; justify-content: center; gap: 16px; padding: 0 var(--container-x) 88px; font-size: 14px; font-weight: 700; }

.articles-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; padding: 0 var(--container-x) 88px; }
@media (max-width: 1100px) { .articles-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .articles-grid { grid-template-columns: 1fr; } }
.article-card { display: block; color: inherit; text-align: center; }
.article-card__thumb { max-width: 160px; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; margin: 0 auto 12px; background: var(--color-bg-alt); }
.article-card__thumb img { width: 100%; display: block; }
.article-card__title { font-size: 14px; font-weight: 700; }

.podcast-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; padding: 0 var(--container-x) 88px; max-width: 920px; margin: 0 auto; }
.podcast-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.podcast-card__header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.podcast-card__logo { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; flex: 0 0 auto; box-shadow: 0 6px 14px -6px rgba(43,38,32,0.35); }
.podcast-card__show { color: var(--color-accent); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.podcast-card__title { font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
.podcast-card__excerpt { font-size: 14.5px; color: var(--color-text-muted); line-height: 1.6; margin: 0 0 14px; }
.podcast-card__meta { font-size: 13px; color: var(--color-text-secondary); margin-bottom: 20px; }
.podcast-card__links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; padding: 0 var(--container-x) 88px; }
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr; } }
.video-card__thumb { position: relative; display: block; width: 100%; padding: 0; border: none; cursor: pointer; border-radius: var(--radius-md); overflow: hidden; background: var(--color-bg-alt); aspect-ratio: 16 / 9; }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-card__play svg { width: 56px; height: 56px; padding: 16px; border-radius: 50%; background: rgba(20,17,10,0.55); color: #FFF; }
.video-card__thumb:hover .video-card__play svg { background: var(--color-accent); }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-md); display: block; }
.video-card__title { font-weight: 700; font-size: 15px; line-height: 1.3; margin-top: 12px; }
.video-card__date { font-size: 13px; color: var(--color-text-secondary); margin-top: 4px; }

/* ---------- Single dog / litter ---------- */
.entry-hero { position: relative; height: 420px; overflow: hidden; }
.entry-hero img { width: 100%; height: 100%; object-fit: cover; }
.entry-body { padding: 56px var(--container-x) 96px; max-width: 760px; margin: 0 auto; }

/* Dog profile body: wider than the plain prose column above, so
   Competition Results and Health Results can sit side by side instead
   of stacking in a narrow left-aligned strip with dead space to the
   right. Falls back to the standard single-column stack below 900px. */
.dog-body { max-width: 1040px; }
@media (min-width: 900px) {
	.dog-body__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
	.dog-body__grid .health-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.entry-body h1 { font-size: 40px; margin: 0 0 6px; }
.entry-body h2 { font-size: 24px; margin: 40px 0 16px; }
.entry-body .entry-subtitle { font-size: 16px; font-style: italic; color: var(--color-text-secondary); margin: 0 0 8px; }
.entry-body .entry-subtitle:last-of-type { margin-bottom: 24px; }
.entry-body .entry-content { font-size: 17px; line-height: 1.7; color: var(--color-text-muted); }
.entry-body .entry-content ul { padding-left: 20px; }
.entry-body .entry-content li { margin-bottom: 6px; }
.entry-back { display: inline-block; margin-bottom: 24px; }
.entry-meta-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--color-text-muted); }
.entry-meta-list strong { color: var(--color-text); }

/* ---------- Dog profile: hero with overlaid title ---------- */
.dog-hero { position: relative; height: clamp(420px, 35vw, 720px); overflow: hidden; }
.dog-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.dog-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,10,0.05) 0%, rgba(20,17,10,0.8) 100%); }
.dog-hero__content { position: absolute; left: var(--container-x); right: var(--container-x); bottom: 48px; z-index: 1; }
.dog-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,195,132,0.16); border: 1px solid var(--color-gold-light); color: var(--color-gold-light); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.dog-hero__content h1 { font-size: 56px; color: var(--color-white); margin: 0 0 8px; }
.dog-hero__content .entry-subtitle { font-size: 18px; color: #F2EEE3; margin: 0; }

/* ---------- Dog profile: meta bar ---------- */
.dog-meta-bar { padding: 32px var(--container-x) 36px; border-bottom: 1px solid var(--color-border); background: var(--color-white); }
.dog-meta-bar__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.dog-meta-bar__parents { font-size: 15px; color: var(--color-text-secondary); font-style: italic; margin-bottom: 14px; }
.dog-meta-bar__vitals { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--color-text-muted); flex-wrap: wrap; }
.dog-meta-bar__vitals .sep { opacity: 0.4; }
.dog-meta-bar__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--color-accent); color: var(--color-accent); font-weight: 700; font-size: 13.5px; }
.chip:hover { background: var(--color-accent); color: var(--color-white); }

/* ---------- Stud service callout ---------- */
.stud-callout { display: flex; align-items: flex-start; gap: 16px; background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 16px; padding: 24px 28px; margin-bottom: 48px; }
.stud-callout svg { flex: 0 0 22px; margin-top: 2px; }
.stud-callout__title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.stud-callout__text { font-size: 15px; color: var(--color-text-muted); line-height: 1.6; }

/* ---------- Competition results ---------- */
.results-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 16px; padding: 24px 28px; }
.results-card + .results-card { margin-top: 20px; }
.results-card__heading { color: var(--color-accent); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.results-card__row { display: flex; font-size: 14.5px; line-height: 1.5; padding: 10px 0; border-bottom: 1px solid var(--color-bg-alt); color: var(--color-text); }
.results-card__row:last-child { border-bottom: none; padding-bottom: 0; }
.results-card details summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--color-gold); margin-top: 14px; list-style: none; }
.results-card details summary::-webkit-details-marker { display: none; }
.results-card details[open] summary { margin-bottom: 6px; }

/* ---------- Health results ---------- */
.health-legend { font-size: 14px; color: var(--color-text-secondary); margin: 0 0 20px; display: flex; gap: 20px; align-items: center; }
.health-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 56px; }
@media (max-width: 700px) { .health-grid { grid-template-columns: 1fr 1fr; } }
.health-chip { display: flex; align-items: center; gap: 10px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 10px; padding: 12px 16px; font-size: 14px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; display: inline-block; }
.status-dot--clear { background: var(--color-forest); }
.status-dot--carrier { background: var(--color-gold); }
.status-dot--neutral { background: #C9C2B4; }

/* ---------- Photo gallery: masonry, no cropping ---------- */
.dog-photo-grid { column-count: 4; column-gap: 20px; padding: 0 var(--container-x) 32px; }
@media (max-width: 1100px) { .dog-photo-grid { column-count: 3; } }
@media (max-width: 700px) { .dog-photo-grid { column-count: 2; } }
.dog-photo-grid button { display: block; width: 100%; margin: 0 0 20px; padding: 0; border: none; background: none; cursor: pointer; break-inside: avoid; }
.dog-photo-grid img { width: 100%; height: auto; display: block; border-radius: 14px; }
.photo-section-head { padding: 0 var(--container-x); }
.photo-section-head h2 { margin-bottom: 8px; }
.photo-section-head p { font-size: 14px; color: var(--color-text-secondary); margin: 0 0 24px; }

/* Distinct, full-bleed bands for a page made of several media sections
   (e.g. /media/'s Photos / Videos / Articles) — alternating tint plus a
   divider make each one read as its own section, not one long scroll. */
.media-section { padding-top: 64px; }
.media-section + .media-section { border-top: 1px solid var(--color-border); }
.media-section--tint { background: var(--color-bg-alt); }
.photo-section-head--lg h2 { font-size: 32px; }
.photo-section-head--lg p { font-size: 16px; }

/* ---------- Lightbox ---------- */
.tt-lightbox { display: none; position: fixed; inset: 0; background: rgba(20,17,10,0.92); z-index: 100; align-items: center; justify-content: center; flex-direction: column; }
.tt-lightbox.is-open { display: flex; }
.tt-lightbox__image { max-width: 78vw; max-height: 76vh; object-fit: contain; border-radius: 6px; }
.tt-lightbox__counter { color: #EFE9DA; font-size: 14px; margin-top: 18px; letter-spacing: 0.04em; }
.tt-lightbox__close, .tt-lightbox__prev, .tt-lightbox__next { position: absolute; background: none; border: none; cursor: pointer; padding: 8px; color: #FFF; }
.tt-lightbox__close { top: 28px; right: 36px; }
.tt-lightbox__prev { left: 36px; top: 50%; transform: translateY(-50%); }
.tt-lightbox__next { right: 36px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
	.dog-hero { height: 420px; }
	.dog-hero__content h1 { font-size: 36px; }
	.tt-lightbox__prev, .tt-lightbox__next { padding: 6px; }
}

/* ---------- Prev / next dog nav ---------- */
.entry-adjacent { border-top: 1px solid var(--color-border); padding: 28px var(--container-x); display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; }

/* ---------- Responsive header/utility bar ----------
   The nine top-level nav items (two of them long breed names) need
   ~1470px to sit on one line without wrapping, so the hamburger has to
   engage well above the usual tablet breakpoint — it covers all the
   common laptop widths (1280/1366/1440), not just phones/tablets. */
@media (max-width: 1500px) {
	.utility-bar__left span:nth-child(3) { display: none; }
	.site-header { height: auto; padding: 16px var(--container-x); }
	.nav-toggle { display: flex; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--color-white);
		border-bottom: 1px solid var(--color-border);
		padding: 8px var(--container-x) 16px;
		box-shadow: 0 12px 24px -12px rgba(43,38,32,0.18);
		z-index: 20;
	}
	.site-nav.is-open { display: flex; }
	.site-nav a { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
	.site-nav a:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
	/* The right-hand group (email, phone, social icons) had no mobile
	   handling at all and overflowed ~80px past the viewport edge,
	   contributing to horizontal page scroll on every page. Email and
	   phone are already repeated in the footer, so hide this group
	   rather than trying to cram it onto one line. */
	.utility-bar__right { display: none; }
}

/* ---------- About Us page ---------- */

/* Milestone timeline — a graphic summary of the joint story, readable
   without scrolling through the prose below it. */
.about-timeline { display: flex; justify-content: space-between; gap: 8px; max-width: 1100px; margin: 0 auto; padding: 64px var(--container-x) 8px; }
.about-timeline__item { position: relative; flex: 1; text-align: center; padding-top: 30px; }
.about-timeline__item::before { content: ""; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); transform: translateX(-50%); }
.about-timeline__item::after { content: ""; position: absolute; top: 5px; left: calc(50% + 10px); width: calc(100% - 10px); height: 1.5px; background: var(--color-border); }
.about-timeline__item:last-child::after { display: none; }
.about-timeline__year { font-family: var(--font-serif); font-weight: 700; font-size: 20px; color: var(--color-accent); margin-bottom: 6px; }
.about-timeline__label { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.4; max-width: 170px; margin: 0 auto; }
@media (max-width: 800px) {
	.about-timeline { flex-direction: column; gap: 28px; padding: 48px var(--container-x) 8px; }
	.about-timeline__item { text-align: left; padding-top: 0; padding-left: 28px; }
	.about-timeline__item::before { top: 4px; left: 0; transform: none; }
	.about-timeline__item::after { top: 0; left: 5px; width: 1.5px; height: 100%; }
	.about-timeline__label { margin: 0; max-width: none; }
}

/* Stat cards — big numbers as the "graphic", reused for the joint
   achievements band (dark) and each person's quick-facts row (light). */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 20px; }
.stat-card__num { display: block; font-family: var(--font-serif); font-weight: 700; font-size: 42px; line-height: 1; color: var(--color-accent); }
.stat-card__label { display: block; font-size: 13.5px; color: var(--color-text-secondary); margin-top: 8px; line-height: 1.4; }
.stat-grid--dark .stat-card__num { color: var(--color-gold-light); }
.stat-grid--dark .stat-card__label { color: #E3DECF; }
.stat-grid--tight { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 16px; margin-bottom: 32px; }
.stat-grid--tight .stat-card__num { font-size: 30px; }

/* Person profile bands — photo duo + bio column, alternating sides. */
.about-profile { display: grid; grid-template-columns: minmax(0,420px) 1fr; gap: 40px 64px; align-items: start; padding: 88px var(--container-x); }
/* Explicit grid-column placement, not `order` — `order` alone would move
   the photos into the auto-placement slot vacated in the *1fr* track
   (since grid auto-placement follows order-modified document order into
   the column list), stretching the photo column to full width instead of
   just moving it to the other side of a still-narrow 420px column. */
.about-profile--reverse { grid-template-columns: 1fr minmax(0,420px); }
.about-profile--reverse .about-profile__photos { grid-column: 2; }
.about-profile--reverse .about-profile__content { grid-column: 1; grid-row: 1; }
.about-profile__photos { position: relative; margin-bottom: 24px; }
.about-profile__photo-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 24px 48px -24px rgba(43,38,32,0.35); }
.about-profile__photo-sub { position: absolute; width: 48%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); border: 5px solid var(--color-bg); box-shadow: 0 16px 32px -16px rgba(43,38,32,0.4); right: -6%; bottom: -8%; }
/* The trophy photo is a tall portrait (people + dog + trophies stacked
   vertically) — the default 4:3 landscape crop was cutting off the
   trophies entirely. A taller box keeps almost the full frame. */
.about-profile__photo-sub--tall { aspect-ratio: 3 / 4; }
.about-profile__eyebrow { color: var(--color-accent); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.about-profile__name { font-size: 34px; margin: 0 0 4px; }
.about-profile__role { font-size: 15px; color: var(--color-text-secondary); font-style: italic; margin: 0 0 24px; }
.about-profile__lede { font-size: 17px; line-height: 1.7; color: var(--color-text-muted); margin: 0 0 28px; max-width: 560px; }
@media (max-width: 900px) {
	.about-profile, .about-profile--reverse { grid-template-columns: 1fr; padding: 56px var(--container-x); }
	.about-profile--reverse .about-profile__photos, .about-profile--reverse .about-profile__content { grid-column: 1; grid-row: auto; }
	.about-profile__photos { max-width: 420px; }
}

/* Full-text reveal — keeps the page skimmable while preserving every
   word of the original bios/achievements for anyone who wants them. */
.prose-reveal { margin-top: 8px; }
.prose-reveal summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--color-accent); color: var(--color-accent); font-weight: 700; font-size: 14px; }
.prose-reveal summary::-webkit-details-marker { display: none; }
.prose-reveal summary:hover { background: var(--color-accent); color: var(--color-white); }
.prose-reveal[open] summary { background: var(--color-accent); color: var(--color-white); }
.prose-reveal__chev { transition: transform 0.2s ease; flex: 0 0 auto; }
.prose-reveal[open] .prose-reveal__chev { transform: rotate(180deg); }
.prose-reveal__body { margin-top: 32px; font-size: 16px; line-height: 1.75; color: var(--color-text-muted); max-width: 760px; }
.prose-reveal__body p { margin: 0 0 18px; }
.prose-reveal__body ul { padding-left: 20px; margin: 0 0 18px; }
.prose-reveal__body li { margin-bottom: 6px; }
.prose-reveal__body img { border-radius: var(--radius-md); margin-bottom: 18px; }
.prose-reveal--on-dark summary { border-color: var(--color-gold-light); color: var(--color-gold-light); }
.prose-reveal--on-dark summary:hover, .prose-reveal--on-dark[open] summary { background: var(--color-gold-light); color: var(--color-forest-dark); }
.prose-reveal--on-dark .prose-reveal__body { color: #E3DECF; }
.prose-reveal--on-dark .prose-reveal__body a { color: var(--color-gold-light); }

.about-achievements { background: var(--color-forest); color: #F2EEE3; padding: 88px var(--container-x); }
.about-achievements .section__head h2 { color: var(--color-white); }
.about-achievements .section__subhead { color: #C9C2B4; }
.about-achievements .stat-grid { margin-bottom: 40px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0,480px) 1fr; gap: 40px; padding: 0 var(--container-x) 96px; align-items: stretch; }
.contact-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 40px; }
.contact-card__kennel { font-size: 26px; margin: 0 0 4px; }
.contact-card__owners { font-size: 15px; color: var(--color-text-secondary); font-style: italic; margin: 0 0 32px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-row:last-of-type { margin-bottom: 0; }
.contact-row__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center; color: var(--color-accent); }
.contact-row__label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-secondary); margin-bottom: 4px; }
.contact-row__value { font-size: 16px; font-weight: 600; color: var(--color-text); line-height: 1.5; overflow-wrap: anywhere; }
.contact-row__value a { color: var(--color-text); }
.contact-row__value a:hover { color: var(--color-gold-hover); }
.contact-row__note { font-size: 13px; font-weight: 400; color: var(--color-text-secondary); margin-top: 2px; }
.contact-card__social { display: flex; gap: 12px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--color-border); }
.contact-card__social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--color-border); color: var(--color-text); }
.contact-card__social a:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); min-height: 480px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 480px; display: block; border: 0; }
@media (max-width: 900px) {
	.contact-grid { grid-template-columns: 1fr; }
	.contact-map, .contact-map iframe { min-height: 320px; }
}
