/* =========================================================================
 * Quiet Point — compiled stylesheet (enqueued by inc/enqueue.php).
 *
 * This is a hand-authored stand-in for the Tailwind build output, covering
 * exactly the utility classes used by the PHP templates plus the theme's
 * design tokens and components. It is a real, self-contained stylesheet — the
 * theme renders correctly with it as-is.
 *
 * To switch to the full Tailwind pipeline (recommended once you have Node):
 *     npm install && npm run build        (regenerates THIS file)
 * Source of truth for tokens/components: assets/src/main.css
 * ===================================================================== */

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Design tokens (ported from the export's globals.css) ------------- */
:root {
	--background: 240 5% 4%;
	--foreground: 0 0% 96%;
	--card: 223 17% 8%;
	--card-foreground: 0 0% 97%;
	--popover: 240 5% 4%;
	--popover-foreground: 0 0% 96%;
	--primary: 0 72% 51%;
	--primary-foreground: 0 0% 100%;
	--secondary: 30 72% 51%;
	--secondary-foreground: 0 0% 100%;
	--muted: 222 16% 12%;
	--muted-foreground: 218 11% 65%;
	--accent: 180 72% 51%;
	--accent-foreground: 0 0% 29%;
	--destructive: 0 84% 60%;
	--destructive-foreground: 0 0% 100%;
	--border: 226 22% 15%;
	--input: 226 22% 15%;
	--ring: 0 72% 51%;
	--radius: 0.5rem;
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	--font-heading: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
	--font-serif: ui-serif, Georgia, "Times New Roman", serif;
	--font-mono: ui-monospace, "SF Mono", Monaco, "Cascadia Code", Consolas, monospace;
}

/* ---- Base --------------------------------------------------------------- */
body {
	background: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-sans);
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
:target { scroll-margin-top: 120px; }

/* =========================================================================
 * Utilities (Tailwind-equivalent, base / unprefixed)
 * ===================================================================== */

/* Display & box */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.container { width: 100%; margin-inline: auto; padding-inline: 2rem; }
@media (min-width: 1400px) { .container { max-width: 1400px; } }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.top-6 { top: 1.5rem; }
.top-14 { top: 3.5rem; }
.bottom-6 { bottom: 1.5rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Flex / grid */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.shrink-0 { flex-shrink: 0; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-0 { gap: 0; }
.gap-px { gap: 1px; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-16 { gap: 4rem; }
.gap-x-16 { column-gap: 4rem; }
.gap-y-10 { row-gap: 2.5rem; }
.gap-y-12 { row-gap: 3rem; }
.divide-y > * + * { border-top-width: 1px; }
.divide-border > * + * { border-color: hsl(var(--border)); }

/* Sizing */
.w-full { width: 100%; }
.w-0\.5 { width: 0.125rem; }
.w-1 { width: 0.25rem; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-5 { width: 1.25rem; }
.w-10 { width: 2.5rem; }
.w-40 { width: 10rem; }
.h-full { height: 100%; }
.h-px { height: 1px; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-20 { height: 5rem; }
.min-h-screen { min-height: 100vh; }
.min-w-0 { min-width: 0; }
.aspect-square { aspect-ratio: 1 / 1; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-7xl { max-width: 80rem; }

/* Margin / padding */
.mx-auto { margin-inline: auto; }
.ml-4 { margin-left: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.last\:mb-0:last-child { margin-bottom: 0; }
.p-2 { padding: 0.5rem; }
.p-8 { padding: 2rem; }
.px-3\.5 { padding-inline: 0.875rem; }
.px-4 { padding-inline: 1rem; }
.px-6 { padding-inline: 1.5rem; }
.px-7 { padding-inline: 1.75rem; }
.px-8 { padding-inline: 2rem; }
.py-2 { padding-block: 0.5rem; }
.py-2\.5 { padding-block: 0.625rem; }
.py-3 { padding-block: 0.75rem; }
.py-3\.5 { padding-block: 0.875rem; }
.py-4 { padding-block: 1rem; }
.py-10 { padding-block: 2.5rem; }
.py-12 { padding-block: 3rem; }
.py-14 { padding-block: 3.5rem; }
.py-16 { padding-block: 4rem; }
.py-20 { padding-block: 5rem; }
.py-24 { padding-block: 6rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-4 { padding-left: 1rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-normal { font-weight: 400; }
.uppercase { text-transform: uppercase; }
.normal-case { text-transform: none; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.05\] { line-height: 1.05; }
.text-center { text-align: center; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.break-all { word-break: break-all; }
.select-none { user-select: none; }

/* Colours — text */
.text-foreground { color: hsl(var(--foreground)); }
.text-foreground\/80 { color: hsl(var(--foreground) / 0.8); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-muted-foreground\/30 { color: hsl(var(--muted-foreground) / 0.3); }
.text-muted-foreground\/40 { color: hsl(var(--muted-foreground) / 0.4); }
.text-muted-foreground\/50 { color: hsl(var(--muted-foreground) / 0.5); }
.text-muted-foreground\/70 { color: hsl(var(--muted-foreground) / 0.7); }
.text-muted\/30 { color: hsl(var(--muted) / 0.3); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-white\/90 { color: rgb(255 255 255 / 0.9); }

/* Colours — background */
.bg-background { background-color: hsl(var(--background)); }
.bg-background\/85 { background-color: hsl(var(--background) / 0.85); }
.bg-border { background-color: hsl(var(--border)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-card\/40 { background-color: hsl(var(--card) / 0.4); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-primary\/30 { background-color: hsl(var(--primary) / 0.3); }
.bg-primary\/40 { background-color: hsl(var(--primary) / 0.4); }
.bg-primary\/50 { background-color: hsl(var(--primary) / 0.5); }
.bg-primary\/60 { background-color: hsl(var(--primary) / 0.6); }
.bg-white { background-color: #fff; }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-style: solid; }
.border-border { border-color: hsl(var(--border)); }
.border-primary { border-color: hsl(var(--primary)); }
.border-primary\/40 { border-color: hsl(var(--primary) / 0.4); }
.border-transparent { border-color: transparent; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }

/* Effects & misc */
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3); }
.opacity-30 { opacity: 0.3; }
.opacity-60 { opacity: 0.6; }
.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }
.resize-none { resize: none; }
.cursor-not-allowed { cursor: not-allowed; }
.rotate-45 { transform: rotate(45deg); }

/* Transitions */
.transition-colors { transition-property: color, background-color, border-color, fill, stroke; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-all { transition-property: all; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-150 { transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* States */
.hover\:bg-muted:hover { background-color: hsl(var(--muted)); }
.hover\:bg-primary\/90:hover { background-color: hsl(var(--primary) / 0.9); }
.hover\:border-primary\/50:hover { border-color: hsl(var(--primary) / 0.5); }
.hover\:text-foreground:hover { color: hsl(var(--foreground)); }
.hover\:text-primary:hover { color: hsl(var(--primary)); }
.hover\:text-primary\/80:hover { color: hsl(var(--primary) / 0.8); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.35), 0 8px 10px -6px rgb(0 0 0 / 0.35); }
.group:hover .group-hover\:bg-primary { background-color: hsl(var(--primary)); }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-primary\/60:focus { border-color: hsl(var(--primary) / 0.6); }
.placeholder\:text-muted-foreground\/40::placeholder { color: hsl(var(--muted-foreground) / 0.4); }

/* =========================================================================
 * Responsive — sm (>=640px)
 * ===================================================================== */
@media (min-width: 640px) {
	.sm\:flex-row { flex-direction: row; }
	.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================================
 * Responsive — md (>=768px)
 * ===================================================================== */
@media (min-width: 768px) {
	.md\:flex { display: flex; }
	.md\:inline-flex { display: inline-flex; }
	.md\:hidden { display: none; }
	.md\:flex-row { flex-direction: row; }
	.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.md\:items-end { align-items: flex-end; }
	.md\:h-\[120px\] { height: 120px; }
	.md\:p-10 { padding: 2.5rem; }
	.md\:gap-8 { gap: 2rem; }
	.md\:text-right { text-align: right; }
	.md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
	.md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
	.md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
	.md\:text-5xl { font-size: 3rem; line-height: 1; }
	.md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* =========================================================================
 * Responsive — lg (>=1024px)
 * ===================================================================== */
@media (min-width: 1024px) {
	.lg\:block { display: block; }
	.lg\:flex { display: flex; }
	.lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.lg\:col-span-2 { grid-column: span 2 / span 2; }
	.lg\:col-span-3 { grid-column: span 3 / span 3; }
	.lg\:gap-20 { gap: 5rem; }
	.lg\:px-8 { padding-inline: 2rem; }
	.lg\:pt-14 { padding-top: 3.5rem; }
	.lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
	.lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* =========================================================================
 * Components
 * ===================================================================== */

.qp-skip-link:focus {
	position: fixed; left: 1rem; top: 1rem; z-index: 100;
	padding: 0.625rem 1rem; border-radius: var(--radius);
	background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
}

.qp-site-header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.qp-site-header.is-scrolled {
	background-color: hsl(var(--background) / 0.97);
	border-bottom-color: hsl(var(--border));
}
.qp-wordmark {
	font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem;
	letter-spacing: -0.01em; color: hsl(var(--foreground));
}
.qp-menu { display: flex; gap: 2rem; }
.qp-site-header nav a, .qp-site-footer nav a {
	font-size: 0.875rem; font-weight: 500; color: hsl(var(--muted-foreground));
	transition: color 0.15s ease;
}
.qp-site-header nav a:hover, .qp-site-footer nav a:hover { color: hsl(var(--foreground)); }
.qp-mobile-menu nav a { padding-block: 0.25rem; }

.qp-glow--hero   { background: radial-gradient(ellipse 60% 50% at 70% 50%, hsl(var(--primary) / 0.06) 0%, transparent 70%); }
.qp-glow--top    { background: radial-gradient(ellipse 70% 60% at 50% 0%,  hsl(var(--primary) / 0.07) 0%, transparent 70%); }
.qp-glow--left   { background: radial-gradient(ellipse 80% 60% at 20% 50%, hsl(var(--primary) / 0.04) 0%, transparent 70%); }
.qp-glow--center { background: radial-gradient(ellipse 60% 80% at 50% 50%, hsl(var(--primary) / 0.05) 0%, transparent 70%); }

.qp-404-bg  { background: linear-gradient(to bottom right, hsl(var(--primary)), hsl(var(--secondary))); }
.qp-404-btn { color: hsl(var(--primary)); }

.qp-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; will-change: opacity, transform; }
.qp-reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .qp-reveal { transition: none; } }

/* Contact form — scopes the fallback markup and a plugin's output alike */
.qp-form input[type="text"],
.qp-form input[type="email"],
.qp-form input[type="tel"],
.qp-form input[type="url"],
.qp-form input[type="number"],
.qp-form select,
.qp-form textarea {
	width: 100%; padding: 0.75rem 0.875rem; border-radius: 0.25rem;
	font-size: 0.875rem; color: hsl(var(--foreground));
	background: hsl(var(--background)); border: 1px solid hsl(var(--border));
	transition: border-color 0.15s ease;
}
.qp-form textarea { resize: vertical; min-height: 8rem; }
.qp-form input:focus, .qp-form select:focus, .qp-form textarea:focus {
	outline: none; border-color: hsl(var(--primary) / 0.6);
}
.qp-form input[type="submit"],
.qp-form button[type="submit"] {
	margin-top: 0.25rem; width: 100%; padding: 0.875rem 1.5rem;
	font-size: 0.875rem; font-weight: 600;
	color: hsl(var(--primary-foreground)); background: hsl(var(--primary));
	border: 0; border-radius: 0.25rem; cursor: pointer;
	transition: background-color 0.15s ease;
}
.qp-form input[type="submit"]:hover,
.qp-form button[type="submit"]:hover { background: hsl(var(--primary) / 0.9); }
.qp-form .wpcf7-not-valid-tip { color: hsl(var(--destructive)); font-size: 0.8125rem; }
.qp-form .wpcf7-response-output {
	margin: 1rem 0 0; padding: 0.75rem 1rem; border-radius: 0.25rem;
	border: 1px solid hsl(var(--border)); font-size: 0.875rem;
}

/* Long-form / editor content */
.page-title { font-size: clamp(1.875rem, 2vw + 1rem, 2.25rem); font-weight: 700; line-height: 1.15; color: hsl(var(--foreground)); }
.rich-text { color: hsl(var(--muted-foreground)); font-size: 1rem; line-height: 1.75; }
.rich-text h1, .rich-text h2 { font-size: clamp(1.5rem, 1.5vw + 1rem, 1.875rem); font-weight: 700; line-height: 1.3; color: hsl(var(--foreground)); margin-top: 2.5rem; margin-bottom: 1rem; }
.rich-text h3 { font-size: clamp(1.25rem, 1vw + 0.9rem, 1.5rem); font-weight: 700; color: hsl(var(--foreground)); margin-top: 2rem; margin-bottom: 0.75rem; }
.rich-text h4 { font-size: 1.125rem; font-weight: 600; color: hsl(var(--foreground)); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.rich-text p { margin-bottom: 1.25rem; }
.rich-text a { color: hsl(var(--primary)); text-decoration: underline; }
.rich-text ul, .rich-text ol { margin: 1.25rem 0; padding-left: 1.5rem; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin-bottom: 0.5rem; }
.rich-text blockquote { border-left: 3px solid hsl(var(--primary)); padding-left: 1rem; font-style: italic; margin: 1.5rem 0; color: hsl(var(--foreground)); }
.rich-text code { font-family: var(--font-mono); font-size: 0.9em; background: hsl(var(--muted)); padding: 0.15rem 0.35rem; border-radius: 0.25rem; }
.rich-text pre { background: hsl(var(--muted)); padding: 1rem; border-radius: 0.5rem; overflow-x: auto; margin: 1.5rem 0; }
.rich-text pre code { background: transparent; padding: 0; }
.rich-text img { border-radius: 0.5rem; margin: 1.5rem 0; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.rich-text th, .rich-text td { border: 1px solid hsl(var(--border)); padding: 0.5rem 0.75rem; text-align: left; }

/* Accessibility */
.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; }
.focus\:not-sr-only:focus { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }

/* WordPress core alignment / caption classes for editor content */
.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: hsl(var(--muted-foreground)); text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); word-wrap: normal !important; }
