/**
 * uxneuron — base.css
 *
 * Reset, design tokens, typography, global animations, and the components
 * shared across every page (header/nav + mobile drawer, footer, buttons,
 * the CTA band, the stats grid, and the various hover micro-interactions).
 * Page-specific layout lives in layout.css + the per-page stylesheets;
 * breakpoints live in responsive.css, loaded last so it always wins.
 *
 * @package uxneuron
 */

/* ----------------------------------------------------------------------
   Reset & document defaults
   -------------------------------------------------------------------- */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var( --color-bg, #FFF7F0 );
	color: var( --color-text, #2C2C2C );
	font-family: var( --font-body, 'Plus Jakarta Sans', sans-serif );
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

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

a {
	text-decoration: none;
	color: inherit;
}

button {
	font-family: inherit;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var( --font-heading, 'Sora', sans-serif );
	margin: 0;
}

/* Screen-reader-only utility, used for the skip link and a few labels
   that exist for accessibility but have no visible counterpart in the
   original design. */
.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;
	background: var( --color-primary, #DE6C09 );
	color: #fff;
	padding: 14px 22px;
	font-family: var( --font-heading, 'Sora', sans-serif );
	font-weight: 600;
	border-radius: 0 0 10px 0;
}

.skip-link:focus {
	left: 0;
}

/* ----------------------------------------------------------------------
   Design tokens — fallback values only. The authoritative values come
   from Theme Options via the small inline <style id="uxneuron-dynamic-css">
   block in wp_head (see inc/enqueue.php); these exist so the page never
   looks unstyled in the rare case that block is removed or runs late.
   -------------------------------------------------------------------- */

:root {
	--color-primary: #DE6C09;
	--color-primary-dark: #C85E05;
	--color-primary-light: #F6A45B;
	--color-bg: #FFF7F0;
	--color-text: #2C2C2C;
	--color-text-muted: #6B6B72;
	--color-dark: #26262A;
	--font-heading: 'Sora', sans-serif;
	--font-logo: 'Quicksand', sans-serif;
	--font-body: 'Plus Jakarta Sans', sans-serif;

	/* Non-themeable design-system constants. */
	--color-text-soft: #5C5C63;
	--color-text-faint: #9A9AA2;
	--color-text-faint-2: #71717A;
	--color-border: rgba(0,0,0,.07);
	--color-border-soft: rgba(0,0,0,.06);
	--color-input-bg: #FFFDFB;
	--container-max: 1200px;
	--container-max-narrow: 1100px;
	--container-max-prose: 1000px;
	--section-x: 56px;
	--radius-sm: 12px;
	--radius-md: 14px;
	--radius-lg: 18px;
	--radius-xl: 22px;
	--radius-2xl: 26px;
	--radius-3xl: 32px;
	--radius-pill: 999px;
	--shadow-badge: 0 8px 22px -12px rgba(0,0,0,.3);
	--shadow-card: 0 18px 44px -38px rgba(0,0,0,.5);
	--shadow-cta-btn: 0 18px 40px -16px rgba(0,0,0,.5);
	--shadow-form: 0 30px 70px -44px rgba(60,30,0,.45);
}

/* ----------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------- */

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes floatY2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
@keyframes pulseGlow { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: .8; transform: scale(1.08); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.rise,
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}

.rise.in,
.reveal.in {
	opacity: 1;
	transform: none;
}

/* No-JS fallback: if main.js fails to load, content must still be visible. */
.no-js .rise,
.no-js .reveal {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal, .rise {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.decor-blob, .decor-triangle, .decor-dot, .decor-orbit {
		animation: none !important;
	}
}

/* ----------------------------------------------------------------------
   Decorative elements (floating triangles / glows / orbit rings)
   Purely cosmetic, non-interactive — position is supplied per-instance via
   inline custom properties (--top/--right/--bottom/--left/--size) since
   every occurrence sits at a unique spot; all visual styling (color,
   blur, animation) lives here.
   -------------------------------------------------------------------- */

.decor-blob {
	position: absolute;
	width: var(--size, 560px);
	height: var(--size, 560px);
	top: var(--top, auto);
	right: var(--right, auto);
	bottom: var(--bottom, auto);
	left: var(--left, auto);
	border-radius: 50%;
	background: radial-gradient(circle, var(--blob-color, rgba(222,108,9,.22)), transparent 65%);
	animation: pulseGlow 8s ease-in-out infinite;
	pointer-events: none;
}

.decor-triangle {
	position: absolute;
	top: var(--top, auto);
	right: var(--right, auto);
	bottom: var(--bottom, auto);
	left: var(--left, auto);
	opacity: var(--opacity, 1);
	animation: var(--float-anim, floatY) var(--float-duration, 6s) ease-in-out infinite;
	pointer-events: none;
}

.decor-dot {
	position: absolute;
	top: var(--top, auto);
	right: var(--right, auto);
	bottom: var(--bottom, auto);
	left: var(--left, auto);
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--color-primary);
	opacity: .6;
	animation: floatY2 5s ease-in-out infinite;
	pointer-events: none;
}

.decor-orbit {
	position: absolute;
	width: var(--size, 300px);
	height: var(--size, 300px);
	border-radius: 50%;
	border: 1px solid var(--orbit-color, rgba(222,108,9,.35));
	animation: spinSlow var(--orbit-duration, 28s) linear infinite var(--orbit-direction, normal);
}

/* ----------------------------------------------------------------------
   Eyebrows
   -------------------------------------------------------------------- */

.eyebrow {
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var( --color-primary );
	margin-bottom: 16px;
}

.text-accent {
	color: var( --color-primary );
}

.is-hidden {
	display: none !important;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: #fff;
	padding: 9px 17px;
	border-radius: var( --radius-pill );
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 13px;
	color: var( --color-primary );
	box-shadow: var( --shadow-badge );
	margin-bottom: 28px;
}

.hero-badge__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var( --color-primary );
	flex-shrink: 0;
}

/* ----------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 16px;
	border-radius: var( --radius-md );
	padding: 17px 32px;
	border: none;
	cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: var( --color-primary );
	color: #fff;
	box-shadow: 0 16px 34px -14px rgba(222,108,9,.8);
}

.btn-primary:hover {
	box-shadow: 0 22px 40px -14px rgba(222,108,9,.85);
}

.btn-white {
	background: #fff;
	color: var( --color-primary );
	box-shadow: var( --shadow-cta-btn );
}

.btn-white:hover {
	box-shadow: 0 22px 46px -16px rgba(0,0,0,.55);
}

.btn-text {
	background: none;
	padding: 17px 8px;
	color: var( --color-text );
	border-bottom: 2px solid var( --color-text );
	border-radius: 0;
	box-shadow: none;
}

.btn-text:hover {
	transform: none;
	color: var( --color-primary );
	border-color: var( --color-primary );
}

.btn-pill {
	display: inline-flex;
	align-items: center;
	background: var( --color-primary );
	color: #fff;
	padding: 11px 22px;
	border-radius: var( --radius-pill );
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 15px;
	box-shadow: 0 10px 24px -10px rgba(222,108,9,.7);
	transition: transform .25s ease, box-shadow .25s ease;
}

.btn-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 30px -10px rgba(222,108,9,.85);
}

/* ----------------------------------------------------------------------
   Site header / primary nav
   -------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px var( --section-x );
	background: rgba(255,247,240,.82);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(0,0,0,.05);
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 8px;
}

.topbar,
.announcement-bar {
	background: var( --color-dark );
	color: #fff;
	text-align: center;
	font-size: 13.5px;
	font-family: var( --font-heading );
	font-weight: 500;
	padding: 9px var( --section-x );
}

.announcement-bar a {
	color: var( --color-primary-light );
	text-decoration: underline;
}

.brand {
	display: inline-flex;
	align-items: center;
	font-family: var( --font-logo );
	font-weight: 600;
	font-size: 27px;
	color: #333;
	line-height: 1;
}

.brand img {
	max-height: 44px;
	max-width: 200px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.brand__mark {
	margin: 0 1px;
}

.brand__logo--mobile {
	display: none;
}

.site-header__nav {
	display: flex;
	align-items: center;
	gap: 32px;
	font-family: var( --font-heading );
	font-weight: 500;
	font-size: 15px;
	color: #3a3a3a;
	margin-right: 16px;
}

.navlink {
	transition: color .25s ease;
}

.navlink:hover,
.navlink.is-current {
	color: var( --color-primary ) !important;
	font-weight: 600;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: none;
	background: #fff;
	border-radius: var( --radius-sm );
	box-shadow: var( --shadow-badge );
	color: var( --color-text );
	cursor: pointer;
}

.nav-toggle__icon-close {
	display: none;
}

.nav-toggle.is-active .nav-toggle__icon-open {
	display: none;
}

.nav-toggle.is-active .nav-toggle__icon-close {
	display: block;
}

/* ----------------------------------------------------------------------
   Mobile nav drawer — not present in the original supplied design (which
   simply hides nav links below 960px with no replacement); added so every
   page remains fully navigable on small screens. See header.php.
   -------------------------------------------------------------------- */

.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 100;
	visibility: hidden;
	pointer-events: none;
}

.mobile-nav.is-open {
	visibility: visible;
	pointer-events: auto;
}

.mobile-nav__overlay {
	position: absolute;
	inset: 0;
	background: rgba(38,38,42,.5);
	opacity: 0;
	transition: opacity .3s ease;
}

.mobile-nav.is-open .mobile-nav__overlay {
	opacity: 1;
}

.mobile-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(320px, 84vw);
	background: var( --color-bg );
	box-shadow: -20px 0 50px -20px rgba(0,0,0,.4);
	padding: 26px 28px 40px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	transform: translateX(100%);
	transition: transform .35s cubic-bezier(.2,.7,.2,1);
	overflow-y: auto;
}

.mobile-nav.is-open .mobile-nav__panel {
	transform: translateX(0);
}

.mobile-nav__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mobile-nav__close {
	border: none;
	background: #fff;
	width: 38px;
	height: 38px;
	border-radius: var( --radius-sm );
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.mobile-nav__links {
	display: flex;
	flex-direction: column;
	gap: 22px;
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 21px;
}

.mobile-nav__links .navlink {
	color: var( --color-text );
}

.mobile-nav__links .navlink.is-current,
.mobile-nav__links .navlink:hover {
	color: var( --color-primary ) !important;
}

.mobile-nav__links .btn-pill {
	align-self: stretch;
	justify-content: center;
}

body.nav-is-open {
	overflow: hidden;
}

/* ----------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */

.site-footer {
	background: var( --color-dark );
	color: #fff;
	padding: 70px var( --section-x ) 36px;
}

.footer-grid {
	max-width: var( --container-max );
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
}

.footer-brand .brand {
	color: #fff;
	font-size: 28px;
}

.footer-about {
	font-size: 15.5px;
	line-height: 1.6;
	color: var( --color-text-faint );
	max-width: 300px;
	margin: 18px 0 0;
}

.footer-col__title {
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var( --color-text-faint-2 );
	margin-bottom: 18px;
}

.footer-col__links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 15px;
	color: #c9c9cf;
}

.footer-col__links a:hover {
	color: var( --color-primary-light );
}

.footer-newsletter {
	margin-top: 18px;
}

.footer-extra {
	max-width: var( --container-max );
	margin: 30px auto 0;
}

.footer-bottom {
	max-width: var( --container-max );
	margin: 48px auto 0;
	padding-top: 26px;
	border-top: 1px solid rgba(255,255,255,.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: var( --color-text-faint-2 );
	flex-wrap: wrap;
	gap: 12px;
}

.footer-bottom__links {
	display: flex;
	gap: 24px;
}

/* ----------------------------------------------------------------------
   CTA band (shared across Home / Services / Work / About)
   -------------------------------------------------------------------- */

.cta-band-wrap {
	padding: 0 var( --section-x ) 100px;
}

.cta-band {
	max-width: var( --container-max );
	margin: 0 auto;
	background: linear-gradient(120deg, var( --color-primary ), var( --color-primary-dark ));
	border-radius: var( --radius-3xl );
	padding: 72px 64px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-band--home {
	padding: 80px 64px;
}

.cta-band__content {
	position: relative;
}

.cta-band__heading {
	font-weight: 800;
	font-size: 48px;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: #fff;
	margin: 0 0 16px;
}

.cta-band--home .cta-band__heading {
	font-size: 54px;
	line-height: 1.08;
	margin-bottom: 18px;
}

.cta-band__description {
	font-size: 19px;
	color: rgba(255,255,255,.9);
	margin: 0 auto 34px;
	max-width: 500px;
}

.cta-band--home .cta-band__description {
	font-size: 20px;
	margin-bottom: 38px;
	max-width: 520px;
}

/* ----------------------------------------------------------------------
   Stats grid (shared between Work and About)
   -------------------------------------------------------------------- */

.stats-section {
	background: #fff;
	border-top: 1px solid var( --color-border-soft );
	border-bottom: 1px solid var( --color-border-soft );
	padding: 70px var( --section-x );
}

.stats-grid {
	max-width: var( --container-max-narrow );
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	text-align: center;
}

.stat__number {
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 48px;
	color: var( --color-primary );
}

.stat__label {
	font-size: 15px;
	color: var( --color-text-muted );
	margin-top: 4px;
}

/* ----------------------------------------------------------------------
   Card / chip hover micro-interactions (shared classnames across pages)
   -------------------------------------------------------------------- */

.svccard {
	transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}

.svccard:hover {
	transform: translateY(-8px);
	box-shadow: 0 30px 60px -30px rgba(120,60,0,.35);
	border-color: rgba(222,108,9,.45);
}

.svccard:hover .svcarrow {
	transform: translateX(5px);
	opacity: 1;
}

.svcarrow {
	transition: transform .3s ease, opacity .3s ease;
	opacity: .5;
}

.workcard {
	transition: transform .4s cubic-bezier(.2,.7,.2,1);
	display: block;
}

.workcard:hover {
	transform: translateY(-6px);
}

.workcard:hover .workimg {
	transform: scale(1.05);
}

.workimg {
	transition: transform .7s cubic-bezier(.2,.7,.2,1);
	position: absolute;
	inset: 0;
}

.chip {
	transition: transform .3s ease, background .3s ease, color .3s ease;
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid var( --color-border );
	border-radius: var( --radius-lg );
	padding: 26px 28px;
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 19px;
}

.chip:hover {
	transform: translateY(-4px);
	background: var( --color-primary );
	color: #fff;
}

.chip:hover .chipdot {
	background: #fff;
}

.chipdot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var( --color-primary );
	flex-shrink: 0;
	transition: background .3s ease;
}

.valcard {
	background: var( --color-bg );
	border: 1px solid var( --color-border );
	border-radius: var( --radius-xl );
	padding: 30px;
	transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}

.valcard:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 60px -34px rgba(120,60,0,.35);
	border-color: rgba(222,108,9,.4);
}

.valcard__icon,
.svccard__icon,
.svcrow__icon {
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: rgba(222,108,9,.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	flex-shrink: 0;
}

.member {
	text-align: center;
}

.member:hover .avatar {
	transform: scale(1.05) rotate(-2deg);
}

.avatar {
	transition: transform .4s cubic-bezier(.2,.7,.2,1);
	height: 240px;
	border-radius: var( --radius-xl );
	margin-bottom: 18px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.infocard {
	transition: transform .3s ease, border-color .3s ease;
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: var( --radius-lg );
	padding: 20px 22px;
}

.infocard:hover {
	border-color: rgba(222,108,9,.4);
	transform: translateY(-4px);
}

.infocard__icon {
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: rgba(222,108,9,.1);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.infocard__label {
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 13px;
	color: var( --color-text-faint );
}

.infocard__value {
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 16px;
	color: var( --color-text );
}

/* Gradient placeholder backgrounds, cycled across CPT cards that have no
   featured image set (Portfolio / Team), so a freshly-seeded site never
   shows a blank gray box. */
.is-grad-1 { background: linear-gradient(135deg,#2c2c2c,#4a3a30); }
.is-grad-2 { background: linear-gradient(135deg,#DE6C09,#F6A45B); }
.is-grad-3 { background: linear-gradient(135deg,#f3e3d2,#e7c9a8); }
.is-grad-4 { background: linear-gradient(135deg,#3a3a42,#5a4a3a); }
.is-grad-5 { background: linear-gradient(135deg,#e8a86a,#DE6C09); }
.is-grad-6 { background: linear-gradient(135deg,#c85e05,#DE6C09); }
.is-grad-7 { background: linear-gradient(135deg,#5c4a3a,#2c2c2c); }
.is-grad-8 { background: linear-gradient(135deg,#F6A45B,#e7c9a8); }
