/**
 * Nutro7 Child Theme — Base Reset & Foundation Styles
 *
 * @package Nutro7
 * @version 1.0.0
 */

/* ==========================================================================
   Modern CSS Box-Sizing & Reset
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

body {
	font-family: var(--n7-font-sans);
	font-size: var(--n7-text-base);
	font-weight: var(--n7-font-weight-regular);
	line-height: var(--n7-leading-normal);
	color: var(--n7-color-text-primary);
	background-color: var(--n7-color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

/* ==========================================================================
   Typography Defaults
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--n7-font-sans);
	color: var(--n7-color-text-primary);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: normal;
}

h1 { font-size: 24px; margin-bottom: 10px; }
h2 { font-size: 19px; margin-bottom: 8px; }
h3 { font-size: 16px; margin-bottom: 6px; }
h4 { font-size: 14.5px; margin-bottom: 6px; }
h5 { font-size: 13.5px; margin-bottom: 4px; }
h6 { font-size: 12.5px; margin-bottom: 4px; }

p {
	margin-bottom: var(--n7-space-3);
	color: var(--n7-color-text-secondary);
	font-size: 14px;
	line-height: 1.6;
}

p:last-child {
	margin-bottom: 0;
}

small {
	font-size: var(--n7-text-xs);
	color: var(--n7-color-text-muted);
}

/* ==========================================================================
   Media Elements
   ========================================================================== */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Links & Buttons
   ========================================================================== */
a {
	color: inherit;
	text-decoration: none;
	transition: color var(--n7-transition-fast);
}

a:hover {
	color: var(--n7-color-accent);
}

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}

/* ==========================================================================
   Accessibility & Focus Outlines
   ========================================================================== */
:focus-visible {
	outline: 2px solid var(--n7-color-accent);
	outline-offset: 3px;
	border-radius: var(--n7-radius-xs);
}

.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;
}

/* ==========================================================================
   Reusable Global Layout Helpers
   ========================================================================== */
.n7-container {
	width: 100%;
	max-width: var(--n7-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--n7-container-pad);
	padding-right: var(--n7-container-pad);
}

.n7-container-narrow {
	width: 100%;
	max-width: var(--n7-container-narrow);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--n7-container-pad);
	padding-right: var(--n7-container-pad);
}

/* ==========================================================================
   Global Section Headers & Typographic Foundation (Calm Normal Scale)
   ========================================================================== */
.n7-section {
	padding-block: clamp(60px, 8vw, 100px);
	position: relative;
}

.n7-section-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto clamp(36px, 5vw, 60px);
}

.n7-section-header--left {
	text-align: left;
	margin-left: 0;
}

.n7-section-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--n7-font-sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--n7-color-accent, #4E7C59);
	margin-bottom: 8px;
}

.n7-section-title {
	font-family: var(--n7-font-sans);
	font-size: clamp(19px, 1.4vw + 4px, 22px);
	font-weight: 600;
	line-height: 1.35;
	color: var(--n7-color-primary, #1A3026);
	margin: 0 0 10px;
	letter-spacing: normal;
}

.n7-section-subtitle {
	font-family: var(--n7-font-sans);
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--n7-color-text-secondary, #4A524C);
	margin: 0 auto;
	max-width: 580px;
}
