/* ==========================================================================
   OCS Header — floating pill navigation (creativeans.com-style)
   Namespace: .ocs-hdr  ·  Desktop ≥ 1200px, mobile below.
   ========================================================================== */

.ocs-hdr {
	--ocs-text: #ebebe6;
	--ocs-hover: #5de6ff;
	--ocs-g1: #27fcf2;   /* gradient: cyan  */
	--ocs-g2: #3064d0;   /*           blue  */
	--ocs-g3: #8739d5;   /*           violet */
	--ocs-gradient: linear-gradient(90deg, var(--ocs-g1) 0%, var(--ocs-g2) 50%, var(--ocs-g3) 100%);
	--ocs-pill-bg: rgba(0, 0, 0, .85);
	--ocs-panel-bg: rgba(0, 0, 0, .9);
	--ocs-dropdown-bg: rgba(0, 0, 0, .5);   /* pop-out submenu panels: 50% transparent (Brad, 2026-09-15) */
	--ocs-font: "Inter", "Roboto", ui-sans-serif, system-ui, sans-serif;
	--ocs-serif: "Instrument Serif", "Cardo", Georgia, serif;
	--ocs-top: 16px;
	--ocs-z: 9990;
	font-family: var(--ocs-font);
	color: var(--ocs-text);
	line-height: 1.2;
	-webkit-font-smoothing: antialiased;
}
.ocs-hdr.has-marquee { --ocs-top: 48px; }

/* resets scoped to the header so theme/bootstrap rules don't leak in
   (:where() keeps them at element specificity so the component classes below always win) */
.ocs-hdr *, .ocs-hdr *::before, .ocs-hdr *::after { box-sizing: border-box; }
:where(.ocs-hdr) ul { list-style: none; margin: 0; padding: 0; }
:where(.ocs-hdr) a { color: inherit; text-decoration: none; }
:where(.ocs-hdr) a:hover, :where(.ocs-hdr) a:focus { text-decoration: none; }
:where(.ocs-hdr) button { appearance: none; -webkit-appearance: none; background: none; border: 0; margin: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; line-height: inherit; text-transform: none; letter-spacing: inherit; }
:where(.ocs-hdr) img { display: block; max-width: none; }
.ocs-hdr [hidden] { display: none !important; }

/* the stock Nimo bar (still rendered because its builder template also holds the home hero) */
body.ocs-header-on .nm-header-1-area,
body.ocs-header-on .nm-header-2-area,
body.ocs-header-on .nm-header-3-area,
body.ocs-header-on .nm-header-4-area,
body.ocs-header-on .nm-header-5-area,
body.ocs-header-on .wa-offcanvas-area { display: none !important; }
.ocs-hdr :focus-visible { outline: 2px solid var(--ocs-hover); outline-offset: 2px; border-radius: 999px; }
.ocs-i { width: 16px; height: 16px; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Marquee (optional announcement bar)
   -------------------------------------------------------------------------- */
.ocs-marquee {
	position: fixed; top: 0; left: 0; right: 0; z-index: calc(var(--ocs-z) - 1);
	height: 32px; overflow: hidden;
	background: rgba(40, 40, 40, .62);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	font-size: 11px; letter-spacing: .025em; line-height: 32px;
}
.ocs-marquee__track { display: flex; width: max-content; animation: ocs-marquee 60s linear infinite; }
.ocs-marquee__group { display: flex; flex: 0 0 auto; }
.ocs-marquee__item { white-space: nowrap; padding-right: 8px; }
.ocs-marquee__item::after { content: "\2022"; margin-left: 8px; opacity: .6; }
.ocs-marquee__item p { display: inline; margin: 0; }
.ocs-marquee__item a { color: #22d3ee; text-decoration: underline; text-underline-offset: 2px; }
@keyframes ocs-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ocs-marquee__track { animation: none; } }

/* --------------------------------------------------------------------------
   Bar: logo + actions
   -------------------------------------------------------------------------- */
.ocs-bar {
	position: fixed; top: var(--ocs-top); left: 0; right: 0; z-index: var(--ocs-z);
	pointer-events: none;
	transition: top .3s ease;
}
.ocs-bar__in {
	position: relative;
	max-width: 1440px; margin: 0 auto; padding: 0 28px;
	height: 64px;
	display: flex; align-items: center; justify-content: space-between;
}
.ocs-logo {
	pointer-events: auto;
	display: inline-flex; align-items: center; gap: 14px;
	transition: opacity .3s;
}
.ocs-logo:hover { opacity: .85; }
/* extra specificity: WooCommerce's `.woocommerce-page img { height:auto }` otherwise blows the mark up on shop pages */
body .ocs-hdr .ocs-logo .ocs-logo__mark { height: 53px; width: auto; max-width: none; }
.ocs-logo__word {
	font-size: 25px; font-weight: 600; letter-spacing: -.01em; color: #fff; line-height: 1;
	transform: translateY(1px);
}

.ocs-actions { pointer-events: auto; display: flex; align-items: center; gap: 8px; }

.ocs-round {
	display: inline-flex; align-items: center; justify-content: center;
	width: 41px; height: 41px; border-radius: 999px;
	color: #fff; background: rgba(255, 255, 255, .15);
	border: 1px solid transparent;
	transition: transform .3s ease-out, background .3s;
}
.ocs-round .ocs-i { width: 21px; height: 21px; }
.ocs-round:hover { transform: translateY(-2px); }
.ocs-round--wa { background: #10b981; }
.ocs-round--wa .ocs-i { width: 23px; height: 23px; }
.ocs-round--search { background: #2f6cf0; }
.ocs-round--top { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ocs-round--top:hover { background: rgba(255, 255, 255, .18); }
.ocs-round--burger { display: none; }
.ocs-round--burger .ocs-i--x { display: none; }
.ocs-round--burger[aria-expanded="true"] .ocs-i--menu { display: none; }
.ocs-round--burger[aria-expanded="true"] .ocs-i--x { display: block; }

.ocs-cta {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; gap: 8px;
	height: 41px; padding: 0 7px 0 18px; border-radius: 999px;
	border: 1px solid #fff; color: #fff;
	font-size: 16px; font-weight: 400; white-space: nowrap;
	transition: color .3s;
}
.ocs-cta::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: #fff; transform: translateY(101%); transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.ocs-cta:hover { color: #050505; }
.ocs-cta:hover::before { transform: translateY(0); }
.ocs-cta__dot {
	display: inline-flex; align-items: center; justify-content: center;
	width: 25px; height: 25px; border-radius: 999px; background: #fff; color: #050505;
	transition: background .3s, color .3s;
}
.ocs-cta__dot .ocs-i { width: 16px; height: 16px; }
.ocs-cta:hover .ocs-cta__dot { background: #050505; color: #fff; }

/* search pop-under (desktop) */
.ocs-search {
	position: absolute; top: calc(100% + 8px); right: 28px; z-index: 2;
	pointer-events: auto; margin: 0;
	padding: 1px; border-radius: 999px; background: var(--ocs-gradient);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35);
}
.ocs-search__in {
	display: flex; align-items: center; gap: 6px;
	border-radius: 999px; background: var(--ocs-panel-bg); padding: 4px 4px 4px 16px;
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.ocs-search__input {
	width: 260px; border: 0; background: transparent; color: #fff; font: 500 14px/1 var(--ocs-font);
	outline: none; padding: 8px 0;
}
.ocs-search__input::placeholder { color: rgba(235, 235, 230, .5); }
.ocs-search__input::-webkit-search-cancel-button { display: none; }
.ocs-search__go {
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: 999px; background: #fff; color: #050505;
}
.ocs-search__go .ocs-i { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Nav layer + pill
   -------------------------------------------------------------------------- */
.ocs-navlayer {
	position: fixed; top: var(--ocs-top); left: 0; right: 0; z-index: calc(var(--ocs-z) + 1);
	display: flex; justify-content: center; align-items: flex-start;
	height: 64px; pointer-events: none;
	transition: top .3s ease, transform .3s ease, opacity .3s ease;
}
.ocs-navwrap {
	position: relative; pointer-events: auto;
	display: flex; flex-direction: column; align-items: center;
	margin-top: 7px;
}
.ocs-pill {
	padding: 1px; border-radius: 999px; background: var(--ocs-gradient);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .3);
	min-width: 644px;
}
.ocs-pill__in {
	position: relative; z-index: 1;
	border-radius: 999px; background: var(--ocs-pill-bg); padding: 5px;
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.ocs-nav { display: flex; align-items: center; justify-content: space-evenly; width: 100%; }
.ocs-nav__item { position: relative; }
.ocs-nav__link {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 9px 21px; border-radius: 999px;
	font-size: 16px; font-weight: 500; letter-spacing: .025em; line-height: 1.2;
	color: var(--ocs-text); white-space: nowrap;
	transition: background .2s, color .2s;
}
.ocs-nav__link:hover,
.ocs-nav__item.is-open > .ocs-nav__link,
.ocs-nav__item.is-current > .ocs-nav__link { background: rgba(255, 255, 255, .1); color: var(--ocs-text); }
.ocs-nav__link--more { text-transform: uppercase; }
.ocs-nav__link .ocs-i--menu { width: 18px; height: 18px; }

/* invisible strip that keeps the panel open while the cursor travels down to it */
.ocs-bridge { position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.ocs-navwrap--up .ocs-bridge { top: auto; bottom: 100%; }

/* --------------------------------------------------------------------------
   Dropdown panels
   -------------------------------------------------------------------------- */
.ocs-panel {
	position: absolute; left: 50%; top: 100%; margin-top: 8px;
	width: min(48vw, 640px);
	padding: 2px; border-radius: 24px; background: transparent;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .3);
	-webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
	opacity: 0; visibility: hidden; pointer-events: none;
	transform: translate(-50%, 8px);
	transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
/* gradient ring only (masked), so the 50%-transparent panel shows the page, not the gradient */
.ocs-panel::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
	background: linear-gradient(270deg, var(--ocs-g3) 0%, var(--ocs-g2) 50%, var(--ocs-g1) 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
}
.ocs-panel--wide { width: min(64vw, 860px); }
.ocs-panel--cols-1 { width: min(36vw, 440px); }
.ocs-panel--cols-2 { width: min(52vw, 660px); }
.ocs-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.ocs-navwrap--up .ocs-panel { top: auto; bottom: 100%; margin-top: 0; margin-bottom: 8px; transform: translate(-50%, -8px); }
.ocs-navwrap--up .ocs-panel.is-open { transform: translate(-50%, 0); }
.ocs-panel__in {
	border-radius: 22px; background: var(--ocs-dropdown-bg); padding: 20px;
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.ocs-panel__grid--simple { display: grid; grid-template-columns: 150px 1fr; gap: 32px; }
.ocs-panel__grid--sections { display: grid; grid-template-columns: repeat(var(--ocs-cols, 3), minmax(0, 1fr)); justify-items: start; gap: 8px 24px; }
.ocs-panel__title {
	display: block;
	font-family: var(--ocs-serif); font-weight: 400; font-size: 20px; line-height: 1;
	text-transform: uppercase; letter-spacing: .01em; color: var(--ocs-text);
	transition: color .3s;
}
.ocs-panel__title--lead { padding-top: 8px; }
a.ocs-panel__title:hover { color: var(--ocs-hover); }
.ocs-panel__links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.ocs-panel__col { display: flex; flex-direction: column; margin-top: 8px; }
.ocs-panel__link {
	display: flex; align-items: center; gap: 5px;
	font-size: 14px; line-height: 1.75; color: var(--ocs-text);
	transition: color .5s;
}
.ocs-panel__link .ocs-i { width: 14px; height: 14px; opacity: 0; transition: opacity .5s; }
.ocs-panel__link:hover { color: var(--ocs-hover); }
.ocs-panel__link:hover .ocs-i { opacity: 1; }
.ocs-panel__link--static { opacity: .55; }

/* --------------------------------------------------------------------------
   Dock (pill moves to the bottom once scrolled)
   -------------------------------------------------------------------------- */
.ocs-dock {
	position: fixed; left: 0; right: 0; bottom: 32px; z-index: calc(var(--ocs-z) + 1);
	display: flex; align-items: center; justify-content: center; gap: 8px;
	pointer-events: none;
	transform: translateY(96px); opacity: 0;
	transition: transform .3s ease, opacity .3s ease;
}
.ocs-dock > * { pointer-events: auto; }
.ocs-dock .ocs-navwrap { margin-top: 0; }
.ocs-dock .ocs-round { width: 46px; height: 46px; }
.ocs-hdr.is-docked .ocs-dock { transform: translateY(0); opacity: 1; }
.ocs-hdr.is-docked .ocs-navlayer { transform: translateY(-24px); opacity: 0; pointer-events: none; }
.ocs-hdr:not(.is-docked) .ocs-dock { pointer-events: none; }
.ocs-hdr:not(.is-docked) .ocs-dock > * { pointer-events: none; }

/* --------------------------------------------------------------------------
   Mobile sheet
   -------------------------------------------------------------------------- */
.ocs-sheet {
	position: fixed; inset: 0; z-index: calc(var(--ocs-z) - 2);
	background: rgba(0, 0, 0, .75);
	-webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
	opacity: 0; transition: opacity .25s ease;
}
.ocs-sheet.is-open { opacity: 1; }
.ocs-sheet__nav {
	display: flex; flex-direction: column; gap: 12px;
	height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch;
	padding: calc(var(--ocs-top) + 72px) 16px 24px;
	padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
.ocs-card { padding: 1px; border-radius: 32px; background: var(--ocs-gradient); }
.ocs-card__in {
	border-radius: 31px; background: var(--ocs-panel-bg); padding: 12px;
	-webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
	display: flex; flex-direction: column; gap: 4px;
}
.ocs-sheet__link {
	display: flex; align-items: center; justify-content: space-between; width: 100%;
	padding: 12px 16px; border-radius: 16px; text-align: left;
	font-size: 18px; font-weight: 500; letter-spacing: .025em; color: var(--ocs-text);
	transition: background .2s;
}
.ocs-sheet__link:hover, .ocs-sheet__link:focus-visible { background: rgba(255, 255, 255, .1); }
.ocs-sheet__link:focus-visible { outline-offset: -2px; border-radius: 16px; }
.ocs-acc__btn .ocs-i { transition: transform .25s; }
.ocs-acc__btn[aria-expanded="true"] { background: rgba(255, 255, 255, .06); }
.ocs-acc__btn[aria-expanded="true"] .ocs-i { transform: rotate(180deg); }
.ocs-acc__body { display: flex; flex-direction: column; gap: 2px; padding: 6px 8px 10px 16px; }
.ocs-acc__group { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.ocs-acc__label {
	display: block; padding: 6px 8px 2px;
	font-family: var(--ocs-serif); font-size: 18px; line-height: 1; text-transform: uppercase; letter-spacing: .01em;
	color: var(--ocs-text);
}
.ocs-acc__link {
	display: flex; align-items: center; padding: 8px 8px; border-radius: 10px;
	font-size: 15px; color: rgba(235, 235, 230, .9); transition: color .3s, background .2s;
}
.ocs-acc__link:hover { color: var(--ocs-hover); background: rgba(255, 255, 255, .06); }
.ocs-acc__link--overview { color: var(--ocs-text); font-weight: 500; }
.ocs-sheet__foot { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.ocs-sheet__cta, .ocs-sheet__top {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	height: 48px; width: 100%; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .1);
	font-size: 14px; font-weight: 500; color: var(--ocs-text);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	transition: background .2s;
}
.ocs-sheet__cta:hover, .ocs-sheet__top:hover { background: rgba(255, 255, 255, .15); }
.ocs-sheet__cta .ocs-cta__dot { width: 22px; height: 22px; }
html.ocs-lock, html.ocs-lock body { overflow: hidden !important; }

/* --------------------------------------------------------------------------
   Page tweaks while the new header is active
   -------------------------------------------------------------------------- */
/* Home hero: the rotating typed headline box. Phones: just below the bar. Tablet/desktop: at the
   bottom of the banner, where the old menu bar sat (it rises into place with the theme's own fade). */
body.ocs-header-on.home .nm-hero-2-area .nm-hero-2-writing-text,
body.ocs-header-on.home .nm-hero-2-area:is(.active) .nm-hero-2-writing-text { top: 100px !important; }
@media (min-width: 768px) {
	body.ocs-header-on.home .nm-hero-2-area .nm-hero-2-writing-text { top: auto !important; bottom: 60px; }
	body.ocs-header-on.home .nm-hero-2-area:is(.active) .nm-hero-2-writing-text { top: auto !important; bottom: 100px; }
}
/* the theme's own back-to-top pip would fight the dock */
body.ocs-header-on .wa-back-to-top { display: none !important; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
	.ocs-pill { min-width: 575px; }
	.ocs-nav__link { padding: 9px 16px; }
	.ocs-bar__in { padding: 0 20px; }
	.ocs-search { right: 20px; }
}

@media (max-width: 1199px) {
	.ocs-navlayer, .ocs-dock, .ocs-desktop { display: none !important; }
	.ocs-hdr { --ocs-top: 12px; }
	.ocs-hdr.has-marquee { --ocs-top: 44px; }
	.ocs-bar { padding: 0 16px; z-index: calc(var(--ocs-z) + 3); }
	.ocs-bar__in {
		height: auto; padding: 8px 12px; max-width: none;
		border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
		background: rgba(5, 5, 5, .85);
		-webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
		box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .3);
		pointer-events: auto;
	}
	.ocs-logo { gap: 8px; }
	body .ocs-hdr .ocs-logo .ocs-logo__mark { height: 46px; }
	.ocs-logo__word { font-size: 22px; }
	.ocs-round { width: 46px; height: 46px; }
	.ocs-round--burger { display: inline-flex; }
	.ocs-search { display: none !important; }
	.ocs-sheet { z-index: calc(var(--ocs-z) + 2); }
	.ocs-marquee { font-size: 10px; }
}

@media (max-width: 480px) {
	.ocs-hdr { --ocs-top: 10px; }
	.ocs-bar { padding: 0 10px; }
	.ocs-sheet__nav { padding-left: 10px; padding-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.ocs-hdr *, .ocs-hdr *::before, .ocs-hdr *::after { transition-duration: .01ms !important; }
}
