/**
 * Dog Father Pro — Base reset, typography, accessibility.
 * Modern CSS reset + brand-tuned typography baseline.
 */

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: var(--df-font-body);
	font-size: var(--df-fs-body);
	line-height: var(--df-lh-normal);
	color: var(--df-fg);
	background: var(--df-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: 'cv11', 'ss01';
	overflow-x: hidden;
	min-height: 100vh;
}

/* Lenis smooth scroll hook */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--df-font-display);
	font-weight: 700;
	line-height: var(--df-lh-tight);
	letter-spacing: var(--df-ls-tight);
	color: var(--df-fg);
}

h1 { font-size: var(--df-fs-h1); }
h2 { font-size: var(--df-fs-h2); line-height: var(--df-lh-snug); }
h3 { font-size: var(--df-fs-h3); line-height: var(--df-lh-snug); }
h4 { font-size: var(--df-fs-h4); }

p { line-height: var(--df-lh-normal); }

a {
	color: var(--df-gold);
	text-decoration: none;
	transition: color var(--df-dur-fast) var(--df-ease-out);
}
a:hover { color: var(--df-gold-soft); }

img, video, svg {
	display: block;
	max-width: 100%;
	height: auto;
}

button, input, textarea, select {
	font: inherit;
	color: inherit;
}

ul, ol { list-style: none; }

/* Accessibility — visible focus */
:focus-visible {
	outline: 2px solid var(--df-gold);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Screen reader text */
.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 9999;
	padding: var(--df-sp-3) var(--df-sp-5);
	background: var(--df-gold);
	color: var(--df-bg);
	font-weight: 700;
	border-radius: 0 0 var(--df-radius-sm) 0;
}
.skip-link:focus {
	left: 0;
}

/* Selection */
::selection {
	background: var(--df-gold);
	color: var(--df-bg);
}

/* Scrollbar (webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--df-bg); }
::-webkit-scrollbar-thumb { background: var(--df-bg-line); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--df-gold-deep); }

/* Container helper */
.df-container {
	width: 100%;
	max-width: var(--df-container);
	margin-inline: auto;
	padding-inline: var(--df-gutter);
}

.df-container-narrow {
	max-width: var(--df-container-narrow);
}

/* Section block */
.df-section {
	padding-block: var(--df-sp-11);
	position: relative;
}
.df-section--tight { padding-block: var(--df-sp-9); }

/* Eyebrow label (small uppercase tag above headings) */
.df-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--df-sp-2);
	font-size: var(--df-fs-small);
	font-weight: 600;
	letter-spacing: var(--df-ls-wider);
	text-transform: uppercase;
	color: var(--df-gold);
	margin-bottom: var(--df-sp-4);
}

.df-eyebrow::before {
	content: '';
	width: 32px;
	height: 1px;
	background: var(--df-gold);
}

/* Buttons */
.df-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--df-sp-2);
	padding: var(--df-sp-4) var(--df-sp-6);
	font-family: var(--df-font-body);
	font-size: var(--df-fs-body);
	font-weight: 600;
	letter-spacing: var(--df-ls-wide);
	border-radius: var(--df-radius-full);
	border: none;
	cursor: pointer;
	transition: transform var(--df-dur-fast) var(--df-ease-out),
	            box-shadow var(--df-dur-base) var(--df-ease-out),
	            background var(--df-dur-fast) var(--df-ease-out);
	will-change: transform;
}

.df-btn--primary {
	background: var(--df-gold-gradient);
	color: var(--df-bg);
	box-shadow: var(--df-shadow-gold);
}
.df-btn--primary:hover {
	color: var(--df-bg);
	transform: translateY(-2px);
	box-shadow: 0 12px 48px rgba(254, 194, 8, 0.4);
}

.df-btn--ghost {
	background: transparent;
	color: var(--df-fg);
	border: 1px solid var(--df-bg-line);
}
.df-btn--ghost:hover {
	color: var(--df-gold);
	border-color: var(--df-gold);
	transform: translateY(-2px);
}

/* Visually-hidden helper for screen readers */
.df-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Reduced motion: kill all transitions + animations globally */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
