/*
Theme Name: TOLLINKEN
Theme URI: https://tollinken.com.au/
Description: Lightweight custom theme for TOLLINKEN Nova Scotia Duck Tolling Retrievers. Content types and components come from the tollinken-core must-use plugin. No page builder, no jQuery on the front end.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Author: TOLLINKEN
Text Domain: tollinken
License: GPL-2.0-or-later
*/

/* ---------------------------------------------------------------------------
   Fonts (self-hosted, SIL Open Font License: see assets/fonts/OFL-*.txt)
   ------------------------------------------------------------------------ */
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/libre-baskerville-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/libre-baskerville-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); }

/* ---------------------------------------------------------------------------
   Tokens (brand palette from the design spec)
   --copper is the spec's Toller Copper, used for decorative lines/icons.
   --copper-text is a slightly deeper copper used wherever copper carries text
   (buttons, links on hover), because #B85E3B does not meet WCAG AA contrast
   for small text on ivory or with white text.
   ------------------------------------------------------------------------ */
:root {
	--spruce: #183D35;
	--spruce-soft: #24524a;
	--copper: #B85E3B;
	--copper-text: #A4502D;
	--ivory: #F6F2EA;
	--stone: #D8C9B7;
	--stone-soft: #EBE2D6;
	--charcoal: #282725;
	--white: #FFFFFF;
	--muted: #5b5750;

	--font-heading: "Libre Baskerville", "Cormorant Garamond", Georgia, serif;
	--font-body: "Inter", "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

	--max: 1200px;
	--measure: 68ch;
	--gutter: clamp(16px, 4vw, 40px);
	--space: clamp(56px, 8vw, 104px);
	--radius: 4px;
	--shadow: 0 1px 2px rgba(40, 39, 37, .08), 0 8px 24px rgba(40, 39, 37, .06);
}

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--ivory);
	color: var(--charcoal);
	font-family: var(--font-body);
	font-size: 1.0625rem; /* 17px */
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } } /* 18px on desktop */

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; color: var(--spruce); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .02em; }
p, ul, ol, dl, table { margin: 0 0 1.1em; }

a { color: var(--spruce); text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--copper-text); }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 2px; }
.tk-hero :focus-visible, .site-footer :focus-visible, .tk-dark :focus-visible { outline-color: var(--ivory); }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 1000; top: 8px; left: 8px; padding: 12px 18px; background: var(--white); color: var(--spruce); }

.tk-container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.tk-narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.tk-section { padding: var(--space) 0; }
.tk-section--stone { background: var(--stone-soft); }

/* Content placeholders: impossible to miss, removed before launch */
.tk-placeholder, .tk-to-confirm {
	background: #fff3b0; color: #5a4200; padding: 0 .3em; border: 1px dashed #b08a00; border-radius: 2px;
	font-family: var(--font-body); font-size: .85em; font-style: normal; letter-spacing: 0; text-transform: none;
}
.tk-to-confirm { background: #ffe0d6; color: #6d1f00; border-color: #b3441e; }
.tk-draft-banner { background: #ffe0d6; border: 2px dashed #b3441e; color: #6d1f00; padding: 12px 16px; margin: 0 0 2em; font-size: .95rem; }

/* ---------------------------------------------------------------------------
   Buttons, eyebrows, links
   ------------------------------------------------------------------------ */
.tk-button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
	padding: .7em 1.4em; border: 2px solid var(--copper-text); border-radius: var(--radius);
	background: var(--copper-text); color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 1rem;
	letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.tk-button:hover, .wp-block-button__link:hover { background: var(--spruce); border-color: var(--spruce); color: var(--white); }
.tk-button--secondary, .is-style-outline .wp-block-button__link { background: transparent; color: var(--spruce); border-color: var(--spruce); }
.tk-button--secondary:hover, .is-style-outline .wp-block-button__link:hover { background: var(--spruce); color: var(--white); }
.tk-buttons { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

.tk-eyebrow { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-text); margin: 0 0 .9em; }
.tk-eyebrow::after { content: ""; display: block; width: 40px; height: 2px; background: var(--copper); margin-top: .7em; }
.tk-link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35em; min-height: 44px; align-items: center; }
.tk-link-arrow span { transition: transform .2s; }
.tk-link-arrow:hover span { transform: translateX(3px); }
.tk-titles { display: block; font-size: .55em; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; color: var(--muted); margin-bottom: .4em; }

/* ---------------------------------------------------------------------------
   Header + navigation
   ------------------------------------------------------------------------ */
.site-header { background: var(--spruce); color: var(--ivory); position: relative; z-index: 50; }
@media (min-width: 960px) { .site-header { position: sticky; top: 0; } .admin-bar .site-header { top: 32px; } }
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(0, 0, 0, .18); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }

.site-brand { color: var(--ivory); text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; padding: 8px 0; }
.site-brand__name { font-family: var(--font-heading); font-size: 1.55rem; letter-spacing: .14em; }
.site-brand__sub { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin-top: 5px; }
.site-brand:hover { color: var(--white); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ivory); text-decoration: none; font-size: .95rem; font-weight: 500; display: flex; align-items: center; min-height: 44px; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--white); text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.tk-cta { background: var(--copper-text); border-color: var(--copper-text); min-height: 44px; padding: .45em 1em; font-size: .92rem; }
.tk-cta:hover { background: var(--ivory); border-color: var(--ivory); color: var(--spruce); }

.nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 10px; background: transparent; color: var(--ivory); border: 1px solid rgba(246, 242, 234, .5); border-radius: var(--radius); font: inherit; font-size: .9rem; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959px) {
	.site-nav { display: none; border-top: 1px solid rgba(246, 242, 234, .2); padding: 8px 0 16px; }
	.site-nav.is-open { display: block; }
	.site-nav a { padding: 6px 0; font-size: 1.05rem; }
}
@media (min-width: 960px) {
	.nav-toggle { display: none; }
	.site-header__inner { flex-wrap: nowrap; }
	.site-nav { display: block !important; margin-left: auto; }
	.site-nav ul { display: flex; gap: 26px; }
}

/* ---------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------ */
.tk-hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; background: var(--spruce); color: var(--ivory); overflow: hidden; }
.tk-hero__media, .tk-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tk-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 22, .05) 20%, rgba(10, 26, 22, .72) 100%); }
.tk-hero__content { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(40px, 8vh, 88px); max-width: 760px; }
.tk-hero h1 { color: var(--white); font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: .12em; margin: 0 0 .15em; }
.tk-hero__sub { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 1.4em; }
.tk-hero__tagline { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0 0 .3em; }
.tk-hero__location { opacity: .9; margin: 0 0 1.6em; }
.tk-hero .tk-link-arrow { color: var(--ivory); }
.tk-hero .tk-link-arrow:hover { color: var(--white); }
.tk-hero .tk-button:hover { background: var(--ivory); border-color: var(--ivory); color: var(--spruce); }

/* ---------------------------------------------------------------------------
   Page layout + content
   ------------------------------------------------------------------------ */
.tk-page-header { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 3vw, 40px); }
.tk-page-header .tk-lede { font-size: 1.15em; color: var(--muted); max-width: var(--measure); }
.entry-content > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--max); }
.entry-content > .alignfull { max-width: none; }
.entry-content { padding-bottom: var(--space); }
.entry-content .wp-block-group.has-background { padding: clamp(32px, 5vw, 64px) var(--gutter); }
.entry-content .wp-block-image img { border-radius: var(--radius); }
.has-spruce-background-color { background: var(--spruce); color: var(--ivory); }
.has-spruce-background-color h2, .has-spruce-background-color h3 { color: var(--white); }
.has-spruce-background-color a { color: var(--ivory); }
.has-stone-background-color { background: var(--stone-soft); }

/* Front page sections produced by patterns/shortcodes */
.home .entry-content > * { max-width: var(--max); }
.home .entry-content > .tk-home-narrow { max-width: var(--measure); }
.home .entry-content { padding-bottom: 0; }
.home .entry-content > * + * { margin-top: var(--space); }

/* Feature: two columns */
.tk-feature { display: grid; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (min-width: 820px) { .tk-feature { grid-template-columns: 5fr 6fr; } }
.tk-feature__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* Panel (planned litter) */
.tk-panel { background: var(--spruce); color: var(--ivory); padding: clamp(32px, 6vw, 72px); border-radius: var(--radius); border-top: 4px solid var(--copper); }
.tk-panel h2 { color: var(--white); }
.tk-panel .tk-eyebrow { color: var(--stone); }
.tk-panel .tk-eyebrow::after { background: var(--copper); }
.tk-panel a:not(.tk-button) { color: var(--ivory); }
.tk-panel .tk-button:hover { background: var(--ivory); border-color: var(--ivory); color: var(--spruce); }
.tk-status { display: inline-block; background: rgba(246, 242, 234, .12); padding: .35em .8em; border-radius: 999px; font-size: .92rem; }
.tk-status__label { opacity: .8; }

/* Cards + grids */
.tk-grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.tk-grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.tk-grid--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.tk-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tk-card__media { display: block; overflow: hidden; background: var(--stone); }
.tk-card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.tk-card:hover .tk-card__media img { transform: scale(1.03); }
.tk-update-card .tk-card__media img { aspect-ratio: 3 / 2; }
.tk-card__body { padding: 22px 24px 20px; display: flex; flex-direction: column; flex: 1; }
.tk-card__body > :last-child { margin-bottom: 0; margin-top: auto; }
.tk-card__title { font-size: 1.25rem; }
.tk-card__title a { text-decoration: none; }
.tk-card__meta { color: var(--muted); font-size: .9rem; margin-bottom: .5em; }
.tk-card__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.tk-image-missing { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; background: var(--stone-soft); }

/* Image cards pattern (three-way navigation) */
.tk-image-cards { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tk-image-cards .wp-block-column { background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.tk-image-cards .wp-block-image { margin: 0; }
.tk-image-cards .wp-block-image img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.tk-image-cards .wp-block-column > :not(.wp-block-image) { padding-left: 24px; padding-right: 24px; }
.tk-image-cards .wp-block-column > :last-child { padding-bottom: 20px; }

/* Facts (definition lists) */
.tk-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.tk-facts dt { font-weight: 600; color: var(--muted); }
.tk-facts dd { margin: 0; }
@media (max-width: 480px) { .tk-facts { grid-template-columns: 1fr; } .tk-facts dd { margin-bottom: 8px; } }

/* Health results */
.tk-health-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.tk-health-table th, .tk-health-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--stone-soft); vertical-align: top; }
.tk-health-table thead th { background: var(--spruce); color: var(--ivory); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.tk-health-table tbody th { font-weight: 600; }
.tk-health-sub { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
.tk-tag { display: inline-block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: var(--stone-soft); color: var(--spruce); padding: 1px 6px; border-radius: 2px; vertical-align: middle; }
@media (max-width: 640px) {
	.tk-health-table thead { position: absolute; left: -10000px; }
	.tk-health-table, .tk-health-table tbody, .tk-health-table tr, .tk-health-table th, .tk-health-table td { display: block; width: 100%; }
	.tk-health-table tr { border-bottom: 1px solid var(--stone); padding: 10px 0; }
	.tk-health-table th, .tk-health-table td { border: 0; padding: 4px 16px; }
	.tk-health-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--muted); }
}
.tk-health-summary { list-style: none; padding: 0; font-size: .95rem; }
.tk-health-summary li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--stone-soft); padding: 6px 0; }

/* Timeline */
.tk-timeline { list-style: none; padding: 0; margin: 0 0 1.5em; position: relative; max-width: var(--measure); }
.tk-timeline::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--stone); }
.tk-timeline li { position: relative; padding: 0 0 22px 40px; }
.tk-timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--stone); }
.tk-timeline li.is-done::before { background: var(--spruce); border-color: var(--spruce); }
.tk-timeline li.is-current::before { border: 5px solid var(--copper); }
.tk-timeline__label { font-weight: 600; }
.tk-timeline__date { display: block; color: var(--muted); font-size: .92rem; }

/* Gallery + lightbox */
.tk-gallery { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.tk-gallery a { display: block; overflow: hidden; border-radius: var(--radius); }
.tk-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.tk-gallery a:hover img { transform: scale(1.04); }
.tk-lightbox-dialog { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.tk-lightbox-dialog::backdrop { background: rgba(10, 20, 18, .9); }
.tk-lightbox-dialog img { max-width: 94vw; max-height: 84vh; object-fit: contain; margin: 0 auto; }
.tk-lightbox-dialog figcaption { color: var(--ivory); text-align: center; padding: 8px; }
.tk-lightbox-dialog__bar { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; }
.tk-lightbox-dialog button { min-width: 48px; min-height: 48px; background: rgba(246, 242, 234, .15); color: var(--ivory); border: 1px solid rgba(246, 242, 234, .4); border-radius: var(--radius); font: inherit; cursor: pointer; }

/* Dog profile */
.tk-profile-hero { display: grid; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; }
@media (min-width: 820px) { .tk-profile-hero { grid-template-columns: 5fr 6fr; } }
.tk-profile-hero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.tk-profile-hero .tk-call { font-family: var(--font-heading); font-style: italic; font-size: 1.4rem; color: var(--copper-text); margin: -.2em 0 1em; }
.tk-profile-section { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--stone); }
.tk-profile-section:nth-of-type(even) { background: var(--stone-soft); border-top: 0; }
.tk-achievements { padding-left: 1.2em; }

/* Litter page */
.tk-parents { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.tk-parent-card .tk-card__media img { aspect-ratio: 4 / 5; }

/* Registration / trust */
.tk-trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.tk-trust li { display: flex; align-items: center; gap: 10px; }
.tk-trust li::before { content: ""; width: 10px; height: 10px; background: var(--copper); transform: rotate(45deg); flex: none; }
.tk-breeder-numbers { font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.tk-breeder-numbers--form { background: var(--stone-soft); padding: 12px 16px; border-radius: var(--radius); }

/* ---------------------------------------------------------------------------
   Enquiry form
   ------------------------------------------------------------------------ */
.tk-form fieldset { border: 0; border-top: 1px solid var(--stone); padding: 28px 0 8px; margin: 0; }
.tk-form legend { font-family: var(--font-heading); font-size: 1.35rem; color: var(--spruce); padding: 0 12px 0 0; }
.tk-form-field { margin: 0 0 20px; }
.tk-form-field > label { display: block; font-weight: 600; margin-bottom: 6px; }
.tk-form input[type="text"], .tk-form input[type="email"], .tk-form input[type="tel"], .tk-form select, .tk-form textarea {
	width: 100%; max-width: 40em; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--charcoal);
	background: var(--white); border: 1px solid #8c8378; border-radius: var(--radius);
}
.tk-form textarea { min-height: 120px; resize: vertical; }
.tk-form input:focus-visible, .tk-form select:focus-visible, .tk-form textarea:focus-visible { outline: 3px solid var(--copper); outline-offset: 1px; border-color: var(--spruce); }
.tk-check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.tk-check input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--spruce); }
.tk-req { color: var(--copper-text); }
.tk-form-note { color: var(--muted); }
.tk-form-field.has-error input, .tk-form-field.has-error select, .tk-form-field.has-error textarea { border: 2px solid #a0271b; }
.tk-field-error { color: #a0271b; font-weight: 600; margin: 0 0 6px; }
.tk-field-error::before { content: "⚠ "; }
.tk-form-errors, .tk-form-success { padding: 20px 24px; border-radius: var(--radius); margin: 0 0 28px; }
.tk-form-errors { border: 2px solid #a0271b; background: #fbeceb; }
.tk-form-errors h2, .tk-form-success h2 { font-size: 1.3rem; }
.tk-form-errors a { color: #a0271b; }
.tk-form-success { background: var(--white); border-left: 4px solid var(--spruce); box-shadow: var(--shadow); }
.tk-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------ */
.site-footer { background: var(--spruce); color: var(--ivory); padding: clamp(48px, 7vw, 80px) 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: var(--ivory); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer h2 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer .site-brand { padding: 0; margin-bottom: 1em; }
.site-footer__bottom { border-top: 1px solid rgba(246, 242, 234, .2); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .88rem; }
.site-footer .tk-breeder-numbers { flex-direction: column; font-size: .95rem; }

/* ---------------------------------------------------------------------------
   Restrained motion: sections fade in as they enter the viewport (JS adds .tk-reveal)
   ------------------------------------------------------------------------ */
.tk-reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.tk-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tk-reveal { opacity: 1; transform: none; } }
