/* ==========================================================================
   Pages: homepage sections, profiles (puppy / litter / dog), listing pages
   ========================================================================== */

/* ---------- Hero ---------- */
.tdr-hero { position: relative; background: var(--color-bg); overflow: hidden; }
.tdr-hero__media { position: relative; aspect-ratio: 5 / 4; max-height: 62vh; overflow: hidden; }
.tdr-hero__media picture { display: block; height: 100%; }
.tdr-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.tdr-hero__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 34%;
	background: linear-gradient(to bottom, rgba(248, 244, 236, 0), var(--color-bg));
	pointer-events: none;
}
.tdr-hero__inner { position: relative; z-index: 1; margin-top: -48px; padding-bottom: 56px; }
.tdr-hero__title { font-size: var(--fs-h1); font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 20px; }
.tdr-hero__text { max-width: 38ch; font-size: 1.0625rem; line-height: 1.7; color: var(--color-text); margin-bottom: 28px; }

/* ---------- Home: puppies ---------- */
.tdr-home-puppies { padding-top: clamp(40px, 2rem + 3vw, 72px); }

/* ---------- Lifestyle banner ---------- */
.tdr-lifestyle { position: relative; min-height: 340px; display: grid; align-items: end; overflow: hidden; background: #e9e6df; }
.tdr-lifestyle__media { position: absolute; inset: 0; }
.tdr-lifestyle__img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.tdr-lifestyle__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(255, 253, 248, 0.92) 0%, rgba(255, 253, 248, 0.55) 38%, rgba(255, 253, 248, 0) 70%);
}
.tdr-lifestyle__inner { position: relative; z-index: 1; padding-block: 32px; }
.tdr-lifestyle__text {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.25rem);
	line-height: 1.15;
	color: var(--color-heading);
	letter-spacing: -0.015em;
}
.tdr-lifestyle__text span, .tdr-lifestyle__text em { display: block; }
.tdr-lifestyle__text em { font-style: italic; }
.tdr-lifestyle__text::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 22px; background: var(--color-accent); }

/* ---------- Values ---------- */
.tdr-values { background: var(--color-bg-alt); }
.tdr-values__list { display: grid; gap: 28px; }
.tdr-value { display: flex; gap: 18px; align-items: flex-start; }
.tdr-value__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--color-accent-soft);
	color: var(--color-heading);
}
.tdr-value__title { font-size: 1.3rem; margin: 4px 0 6px; }
.tdr-value__text { margin: 0; font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.65; max-width: 40ch; }

/* ---------- Home: parents ---------- */
.tdr-home-parents { padding-bottom: calc(var(--section-y) * 0.85); }

/* ---------- Ranch life strip ---------- */
.tdr-ranch-life { background: var(--color-bg-alt); padding-bottom: clamp(48px, 2rem + 3vw, 72px); }
.tdr-strip { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-inline: var(--gutter); }
.tdr-strip::-webkit-scrollbar { display: none; }
.tdr-strip:focus-visible { outline-offset: -2px; }
.tdr-strip__list { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; }
.tdr-strip__item { scroll-snap-align: start; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--color-bg); }
.tdr-strip__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.6s var(--ease); }
.tdr-strip__item:hover .tdr-strip__img { transform: scale(1.04); }

/* ---------- Upcoming litter band ---------- */
.tdr-upcoming { position: relative; background: var(--color-bg-sage); overflow: hidden; }
.tdr-upcoming__inner { position: relative; display: grid; gap: 24px; padding-block: 56px; }
.tdr-upcoming__content .tdr-section-title { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); margin-bottom: 12px; }
.tdr-upcoming__content .tdr-section-title a { color: inherit; text-decoration: none; }
.tdr-upcoming__content .tdr-section-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.tdr-upcoming__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 12px; font-size: var(--fs-small); color: var(--color-accent-text); font-weight: 500; }
.tdr-upcoming__meta span { display: inline-flex; gap: 7px; align-items: center; }
.tdr-upcoming__text { max-width: 46ch; color: var(--color-text-muted); font-size: var(--fs-small); line-height: 1.7; }
.tdr-upcoming__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-card); overflow: hidden; }
.tdr-upcoming__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.tdr-upcoming__cta { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; }
.tdr-upcoming__note { margin: 0; max-width: 34ch; font-size: var(--fs-xs); line-height: 1.6; color: var(--color-text-muted); }
.tdr-upcoming__sprig { display: none; position: absolute; right: -10px; bottom: -14px; width: 150px; height: auto; color: var(--color-primary); opacity: 0.22; pointer-events: none; }

/* ---------- Home extra content ---------- */
.tdr-home-extra .entry-content { margin-inline: auto; }

/* ---------- Profile pages (puppy / litter / dog) ---------- */
.tdr-profile { padding-top: clamp(20px, 1rem + 1.5vw, 40px); }
.tdr-profile__top { display: grid; gap: 28px; align-items: start; }
.tdr-profile__media { min-width: 0; }
.tdr-profile__summary { min-width: 0; }
.tdr-profile__badges { margin-bottom: 14px; }
.tdr-profile__name { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.25rem); line-height: 1.02; margin-bottom: 10px; }
.tdr-profile__sub { margin: 0 0 16px; color: var(--color-text-muted); font-size: var(--fs-small); }
.tdr-profile__sub a { color: var(--color-heading); }
.tdr-profile__lead { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem); line-height: 1.5; color: var(--color-heading); margin-bottom: 24px; }
.tdr-profile__price { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; font-size: var(--fs-small); color: var(--color-text-muted); }
.tdr-profile__price strong { color: var(--color-heading); font-size: 1.05rem; margin-left: 4px; }
.tdr-profile__cta { display: grid; gap: 14px; justify-items: start; margin-top: 26px; }
.tdr-profile__status-note { margin: 0; padding: 14px 16px; border-radius: var(--radius); background: var(--color-bg-alt); font-size: var(--fs-small); color: var(--color-text-muted); }
.tdr-profile__status-note strong { color: var(--color-heading); }
.tdr-profile__body { display: grid; gap: 28px; padding-block: clamp(40px, 2rem + 2vw, 72px); }
.tdr-profile__section h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); }
.tdr-notes { display: grid; gap: 18px; }
.tdr-note-card { padding: 24px; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.tdr-note-card .tdr-value__icon { width: 48px; height: 48px; margin-bottom: 14px; }
.tdr-note-card h2 { font-size: 1.35rem; margin-bottom: 8px; }
.tdr-note-card p { font-size: var(--fs-small); color: var(--color-text-muted); }

/* Inquiry / interest areas */
.tdr-inquiry-band { background: var(--color-bg-sage); }
.tdr-interest__inner { display: grid; gap: 32px; align-items: start; }
.tdr-interest__intro .tdr-section-title { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); }
.tdr-interest__intro > p { color: var(--color-text-muted); max-width: 46ch; }

/* ---------- Listing pages ---------- */
.tdr-listing-intro { margin-bottom: 8px; }
.tdr-listing-intro p { color: var(--color-text-muted); font-size: 1.0625rem; }

/* ---------- Generic page ---------- */
.tdr-page { padding-bottom: var(--section-y); }
.tdr-page .entry-content { margin-inline: auto; }
.tdr-page-feature { margin: 8px 0 clamp(32px, 2rem + 2vw, 64px); border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 16 / 9; max-height: 640px; }
.tdr-page-feature img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.tdr-contact__inner { display: grid; gap: 36px; align-items: start; }
.tdr-contact__info .entry-content { margin-bottom: 28px; }
.tdr-contact-list { display: grid; gap: 4px; margin-bottom: 28px; }
.tdr-contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.tdr-contact-list .tdr-icon { flex: none; margin-top: 3px; color: var(--color-primary); }
.tdr-contact-list li > span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.tdr-contact-list__label { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.tdr-contact-list a { color: var(--color-heading); font-weight: 500; text-decoration: none; }
.tdr-contact-list a:hover { text-decoration: underline; }
.tdr-contact__photo { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3; }
.tdr-contact__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 404 / search / posts ---------- */
.tdr-404__inner { max-width: 720px; text-align: center; }
.tdr-404 .tdr-page-intro { margin-inline: auto; }
.tdr-404__search { max-width: 460px; margin: 40px auto 0; }
.tdr-search-results { display: grid; gap: 4px; margin-top: 28px; }
.tdr-search-results li { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.tdr-search-results__type { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent-text); }
.tdr-search-results a { font-family: var(--font-serif); font-size: 1.35rem; color: var(--color-heading); text-decoration: none; }
.tdr-post-list { display: grid; gap: 22px; }
.tdr-post-card { display: grid; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.tdr-post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tdr-post-card__body { padding: 22px; }
.tdr-post-card__date { font-size: var(--fs-xs); color: var(--color-text-muted); margin-bottom: 6px; }
.tdr-post-card__title { font-size: 1.5rem; }
.tdr-post-card__title a { color: var(--color-heading); text-decoration: none; }

/* Default pages: header and feature photo line up with wide blocks */
.tdr-page-header--page .tdr-container,
.tdr-page > .tdr-container:has(.tdr-page-feature) { max-width: calc(1200px + var(--gutter) * 2); }
