/*=============================================
= MASTER CSS FILE FOR PB2025_V2 AND PORTAL_V1 THEMES
=============================================*/

/*
 * This file contains consolidated CSS from both themes:
 * - pb2025_v2: Base styling, animations, and components
 * - portal_v1: Dashboard interfaces, Claude chat interfaces, and universe visualization
 *
 * Organization:
 * 1. Core/shared styles (typography, layout, reset) 
 * 2. PB2025 theme specific styles
 * 3. Portal v1 theme specific styles
 * 4. Component-specific styles (forms, chat interfaces, etc.)
 */

/*=============================================
= FONTS
=============================================*/


/* Webfont: Nohemi-Regular */
@font-face {
  font-family: 'Nohemi';
  src: url('../fonts/Nohemi-Regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/Nohemi-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/Nohemi-Regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/Nohemi-Regular.woff2') format('woff2'), /* Modern Browsers */
       url('../fonts/Nohemi-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}
@font-face {
  font-family: 'Indelible';
  src: url('../fonts/Indelible.eot'); /* IE9 Compat Modes */
  src: url('../fonts/Indelible.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/Indelible.woff') format('woff'), /* Modern Browsers */
       url('../fonts/Indelible.woff2') format('woff2'), /* Modern Browsers */
       url('../fonts/Indelible.ttf') format('truetype'); /* Safari, Android, iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}


.pace {

  display:none !important;

}


/*=============================================
= HOME PAGE CAREERS BUTTON
=============================================*/

.home-careers-btn {
  display: inline-block; 
  background-color: transparent; /* No background */
  color: white;
  text-align: center;
  padding: 10px 20px; /* Adjusted padding for better appearance */
  border: solid 1px rgba(255, 255, 255, 1); /* Outline to 1 opacity */
  border-radius: 35px; 
  text-decoration: none;
  font-size: 13px; 
  font-weight: 500;
  text-transform: uppercase; /* All caps */
  transition: all .3s ease-in-out;
  /* position: absolute; */ /* Removed absolute positioning */ 
  /* top: 20px; */
  /* right: 20px; */
  opacity:.7;
  width: auto; 
  min-width: 80px; 
  line-height: 1.3; /* Adjusted line-height */
  letter-spacing: 0.5px; /* Added letter-spacing for clarity */
  margin-top: 10vh;
  margin-bottom: 0;
}

.home-careers-btn:hover {
  opacity:1;
  color: #fff;
  
  /* background-color: rgba(0, 0, 0, 1); */ /* Removed as background is transparent */
}


/*=============================================
= ROOT VARIABLES
=============================================*/

:root {
  --unitW: 8.33%;
  --unitH: 8.33%;
  --unitW_quarter: calc(var(--unitW) * .25);
  --unitW_half: calc(var(--unitW) * .5);
  --unitW_1: var(--unitW);
  --unitW_2: calc(var(--unitW) * 2);
  --unitW_3: calc(var(--unitW) * 3);
  --unitW_4: calc(var(--unitW) * 4);
  --unitW_5: calc(var(--unitW) * 5);
  --unitW_6: calc(var(--unitW) * 6);
  --unitW_7: calc(var(--unitW) * 7);
  --unitW_8: calc(var(--unitW) * 8);
  --unitW_9: calc(var(--unitW) * 9);
  --unitW_10: calc(var(--unitW) * 10);
  --unitW_11: calc(var(--unitW) * 11);
  --unitH_quarter: calc(var(--unitH) * .25);
  --unitH_half: calc(var(--unitH) * .5);
  --unitH_1: var(--unitH);
  --unitH_2: calc(var(--unitH) * 2);
  --unitH_3: calc(var(--unitH) * 3);
  --unitH_4: calc(var(--unitH) * 4);
  --unitH_5: calc(var(--unitH) * 5);
  --unitH_6: calc(var(--unitH) * 6);
  --unitH_7: calc(var(--unitH) * 7);
  --unitH_8: calc(var(--unitH) * 8);
  --unitH_9: calc(var(--unitH) * 9);
  --unitH_10: calc(var(--unitH) * 10);
  --unitH_11: calc(var(--unitH) * 11);
  --marginW: calc(var(--unitW) * .5);
  --marginH: calc(var(--unitH) * .5);
  --margin: var(--unitW_half);
  --margin_small: 15px;
  --transition: all 0.2s ease-in-out;
  --plus: 12px;
  --matte: #111;
  --grey: #aaa;
  --dark: #555;
  --indigo: #0400FF;
  --teal: #00FFEE;
  --red: #FF0000;
  --neongreen: #E2FF00;
  --menu_width: 30vw;
  --claude-purple: #7747FF;
}

/*=============================================
= HTML5 RESET (from style.css)
=============================================*/

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}

/*=============================================
= UTILITIES: UNIT-BASED PADDING (Width)
=============================================*/

.unitW_1  { padding-left: var(--unitW); }
.unitW_2  { padding-left: calc(var(--unitW) * 2); }
.unitW_3  { padding-left: calc(var(--unitW) * 3); }
.unitW_4  { padding-left: calc(var(--unitW) * 4); }
.unitW_5  { padding-left: calc(var(--unitW) * 5); }
.unitW_6  { padding-left: calc(var(--unitW) * 6); }
.unitW_7  { padding-left: calc(var(--unitW) * 7); }
.unitW_8  { padding-left: calc(var(--unitW) * 8); }
.unitW_9  { padding-left: calc(var(--unitW) * 9); }
.unitW_10 { padding-left: calc(var(--unitW) * 10); }
.unitW_11 { padding-left: calc(var(--unitW) * 11); }

/*=============================================
= UTILITIES: UNIT-BASED PADDING (Height)
=============================================*/

.unitH_1  { padding-top: var(--unitH); }
.unitH_2  { padding-top: calc(var(--unitH) * 2); }
.unitH_3  { padding-top: calc(var(--unitH) * 3); }
.unitH_4  { padding-top: calc(var(--unitH) * 4); }
.unitH_5  { padding-top: calc(var(--unitH) * 5); }
.unitH_6  { padding-top: calc(var(--unitH) * 6); }
.unitH_7  { padding-top: calc(var(--unitH) * 7); }
.unitH_8  { padding-top: calc(var(--unitH) * 8); }
.unitH_9  { padding-top: calc(var(--unitH) * 9); }
.unitH_10 { padding-top: calc(var(--unitH) * 10); }
.unitH_11 { padding-top: calc(var(--unitH) * 11); }

/*=============================================
= UTILITIES: UNIT-BASED MARGINS (Width)
=============================================*/

.unitW_m1  { margin-left: var(--unitW); }
.unitW_m2  { margin-left: calc(var(--unitW) * 2); }
.unitW_m3  { margin-left: calc(var(--unitW) * 3); }
.unitW_m4  { margin-left: calc(var(--unitW) * 4); }
.unitW_m5  { margin-left: calc(var(--unitW) * 5); }
.unitW_m6  { margin-left: calc(var(--unitW) * 6); }
.unitW_m7  { margin-left: calc(var(--unitW) * 7); }
.unitW_m8  { margin-left: calc(var(--unitW) * 8); }
.unitW_m9  { margin-left: calc(var(--unitW) * 9); }
.unitW_m10 { margin-left: calc(var(--unitW) * 10); }
.unitW_m11 { margin-left: calc(var(--unitW) * 11); }

.unitW_mr1  { margin-right: var(--unitW); }
.unitW_mr2  { margin-right: calc(var(--unitW) * 2); }
.unitW_mr3  { margin-right: calc(var(--unitW) * 3); }
.unitW_mr4  { margin-right: calc(var(--unitW) * 4); }
.unitW_mr5  { margin-right: calc(var(--unitW) * 5); }
.unitW_mr6  { margin-right: calc(var(--unitW) * 6); }
.unitW_mr7  { margin-right: calc(var(--unitW) * 7); }
.unitW_mr8  { margin-right: calc(var(--unitW) * 8); }
.unitW_mr9  { margin-right: calc(var(--unitW) * 9); }
.unitW_mr10 { margin-right: calc(var(--unitW) * 10); }
.unitW_mr11 { margin-right: calc(var(--unitW) * 11); }

/*=============================================
= UTILITIES: SCREEN SIZE MIXINS
=============================================*/

/* Usage in code: @media screen and (--screen-sm) { ... } */
@custom-media --screen-sm (max-width: 600px);
@custom-media --screen-md (max-width: 960px);
@custom-media --screen-lg (max-width: 1280px);
@custom-media --screen-xl (max-width: 1920px);

/*=============================================
= CORE ELEMENTS
=============================================*/

html, body {
  font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.85;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  background-color: var(--matte);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  overflow-y: auto;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.overflow-hidden {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nohemi', Helvetica, Arial, sans-serif;
  line-height: 1.2;
  /* margin: 1.5em 0 0.5em; */
  margin: 0;
  letter-spacing: -0.02em;
  color:#fff;
  text-transform: uppercase;
  font-weight: 300;
}

h1, .h1 {
  font-size: clamp(32px, 6vw, 120px);
  font-weight: 400;
}

h1.page_title {

  font-size: clamp(32px, 16vw, 420px);
}

h2, .h2 {
  font-size: clamp(28px, 5vw, 60px);

}

h3, .h3 {
  font-size: clamp(24px, 4vw, 48px);

}

h4, .h4 {
  font-size: clamp(20px, 3vw, 36px);

}

p {
  margin-bottom: 1.5em;
  font-size: 1rem;
}

a {
  color: var(--indigo);
  text-decoration: none;
  transition: color 0.2s;
  outline:none !important
}

a:hover {
  color: var(--teal);
}

.mono {
  font-family: "JetBrains Mono", monospace;
}

.label {

  display: block; /* Ensure it takes its own line */
  font-size: 1rem;

  text-transform: uppercase; /* Optional: style label */

  font-weight: 500;
}


h2.label, h3.label {

  font-size: 1rem;
  font-weight:600;
  font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.content {
  /* padding: 0 var(--marginW) var(--margin_big) var(--marginW); */
}

.nowrap {
  white-space: nowrap;
}

.strong {
  font-weight: 600;
}

.light {
  font-weight: 300;
}

.center {
  text-align: center;
}


.bigintro p, p.bigintro {
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.3;
  max-width:1200px;
}



.site-inner {
  overflow: visible;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 5;
}






#pb_logo_subpage {

  width:200px;
  margin:30px auto 0 auto;
}



.subpage .content {

  padding: var(--margin);
  max-width:1200px;
  margin:0 auto;
}



.subpage.careers .content {

  padding: var(--margin);
  max-width:1000px;
  margin:0 auto;
}


.subpage.careers .entry-content p {

text-align:center;
text-transform: uppercase;
font-weight: 500;
font-size:1rem;
margin-top:0;

}

.subpage #section1 {

  min-height:30vh;
}
.subpage h2, .subpage h3 {
  font-family: 'Inter Tight', Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.subpage h2 {
  line-height: 1.1;
  text-transform: none;
  text-align: left;
  font-size: 28px;
  max-width: 800px;
  margin: 0 auto 0 0;
}
.subpage .accordion-content h3 {

margin-top:60px;
  font-size: 20px;
  margin-bottom: 30px;
}

.subpage .bottom-gradient {
  background: linear-gradient(to top, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0) 100%);
  height: 150vh;
  opacity: 1;
  z-index: 999;
  position: absolute;
  /* display: none; */
  width: 100%;
}


.subpage ul {
  padding:0;

}
.subpage ul li {

  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  line-height: 1.5;
  opacity: .9;
  font-size: .9rem;
  padding-right: 40px;
}

a.careers_apply {

  display: block; 
  width: 100%; 
  /* background-color:#df3000;  */
  color: white; 
  text-align: center; 
  padding: 15px 0; 
  border:solid 2px rgba(255, 255, 255, .5);
  border-radius: 50px; 
  text-decoration: none;
   font-size: 18px; 
   font-weight: 500;
   margin: 80px auto 150px auto;
   transition: all .3s ease-in-out;
   color:#fff;
   text-decoration: none;
}

.careers_apply:hover {
  /* background-color:#ff1e00;  */
color:#fff;
border:solid 2px rgba(255, 255, 255,1);
}



@media (max-width: 900px) {
  .subpage #section1 {
    min-height: 20vh;
}
.subpage h2 {

  font-size: 32px;

  }
}



.subpage .control-dashboard {

  display:none !important;
}







/* Simple reset for ScrollSmoother */
html.has-scroll-smooth {
  overflow: hidden;
}

html.has-scroll-dragging {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.title-area {
display: none;
}


/************* SHADER ****************/

.blackout {
  position: fixed;
  left: 0;
  width: 100%;
  height:100%;
  background:rgba(0, 0, 0, 1);
  opacity:0;
  z-index: 2;
  pointer-events: none;
}
#blackout_mobile {
  display:none;
};
/* Gradient overlay base styles */
.gradient-overlay {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Top gradient - black at top fading to transparent */
.top-gradient {
  top: 0;
  height: 100%;
  transform-origin: top;
  background: linear-gradient(to bottom, 
      rgba(17, 17, 17,1) 0%,
      rgba(17, 17, 17,0) 100%);

}

/* Bottom gradient - black at bottom fading to transparent */
.bottom-gradient {
  bottom: 0;
  height: 0; /* Starts at 0 height */
  opacity: 0; /* Start with zero opacity */
  transform-origin: bottom;
  background: linear-gradient(to top, 
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 30%, 
      rgba(0,0,0,0) 100%);
}

/* Canvas element styling */
canvas#videoCanvas {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 1 !important;
  background-color: transparent !important;
  pointer-events: none; /* Allow clicking through canvas */
}

/* Video element for WebGL texture */
.fullscreen-video-container video {
  position: absolute;
  object-fit: cover;
  width: 100vw;
  height: 100vh;
  z-index: 9;
  opacity: 0; /* Hide but keep loaded */
  pointer-events: none;
}

/* Text overlay directly on canvas for better blending */
.canvas-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2; /* Above canvas, below gradients */
  pointer-events: none;
}

.canvas-text {
  font-family: 'Nohemi', Helvetica, Arial, sans-serif;
  font-size: clamp(80px, 15vw, 200px);
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  text-align: center;
  mix-blend-mode: difference;
  opacity: 1;
  /* Enforce hardware acceleration */
  transform: translateZ(0);
  will-change: transform, opacity;
}










/*=============================================
= HEADER
=============================================*/

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.hamburger-icon {
  width: 28px;
  height: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
  cursor: pointer;
}

.hamburger-icon span {
  display: block;
  height: 1px;
  width: 100%;
  background-color: white;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/*=============================================
= GRID SYSTEM - FLEXBOX IMPLEMENTATION
=============================================*/

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}

.col {
  flex: 1 0 0%;
  padding-right: 1rem;
  padding-left: 1rem;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/*=============================================
= CONTAINERS AND SECTIONS
=============================================*/

.site-container {

  z-index: 1;
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;

}


.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}


/* Section base styles */
.section {
  min-height: 100vh; /* Start at 100vh minimum but allow growth */
  width: 100%;
  position: relative;
  text-align: center;
  overflow: visible; /* Allow content to determine height */
  padding: 0; /* Remove section padding */
  box-sizing: border-box;
  z-index: 10;
  margin-bottom: 0;
  height: auto; /* Allow height to adjust to content */


  display: flex;
      justify-content: center;
      align-items: center;
}

.entry-content .section {


  background:var(--matte);
}

/* Clean ScrollSmoother base styles */
/* ScrollSmoother base styles - applied dynamically in JS only for templates that need it */
.site-inner {
  width: 100%;
  height: auto;
  position: static;
}

.content-sidebar-wrap {
  width: 100%;
  height: auto;
  position: static;
  transform-origin: top;
  will-change: transform;
}

/* Make sure content is full-width and flows naturally */
.content {
  width: 100%;
  height: auto; /* Let content flow naturally */
}


/* Handle inner content properly for all sections */
.inner {
  position: relative; /* Changed from absolute to relative for proper height calculation */
  top: 0;
  left: 0;
  width: 100%;
  height: auto; /* Allow height to adjust to content */
  min-height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
 
}

.inner.fullheight {

  min-height:100vh;
}

.inner, .entry-content {

  /* padding: 0 var(--margin); */
}

.entry-content {

}

.entry-header {

  display:none;
}

.fullscreen {

  position:fixed;
  width:100%;
  height:100%;
  z-index:0;
  left:0;
  top:0;
}
.fullscreen video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
}
/* Fullscreen WebGL container */
.fullscreen-video-container {
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	overflow: hidden;
	z-index: 1;
	background-color: #000;
	display: flex;
	justify-content: center;
	align-items: center;
}



/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--indigo);
  z-index: 1000;
  transition: opacity 0.3s;
  opacity: 0;
  display:none !important;
}

/* Pixel sort styles from pixel-sort.css */
.pixel-sort-wrapper {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
color: #333;
}

.canvas-container {
width: 100%;
max-width: 1280px;
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
position: relative;
background-color: #000;
border-radius: 5px;
overflow: hidden;
}

.pixel-sort-canvas {
max-width: 100%;
max-height: 80vh;
aspect-ratio: 16/9;
display: block;
}



/* Plus sign positioning */
.plus-sign {
  position: absolute;
  font-size: var(--plus);
  font-weight: 300;
  color: var(--grey);
  line-height: 1;
  width: var(--plus);
  height: var(--plus);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease-in-out;
  transform: translateZ(0);
}

.plus-sign.top-left {
  top: 0;
  left: 0;
}

.plus-sign.top-right {
  top: 0;
  right: 0;
}

.plus-sign.bottom-left {
  bottom: 0;
  left: 0;
}

.plus-sign.bottom-right {
  bottom: 0;
  right: 0;
}


/*=============================================
= FORM ELEMENTS - UNIVERSAL STYLES
=============================================*/

/* Remove all browser default styling */
input, textarea, select, button {

  border-radius: 0;
  box-shadow: none;
  outline: none;


  line-height: 1.5;
  transition: all 0.2s;
}

body input, body textarea {
  outline: none !important;
}

body input, body textarea, body .button {
  border-radius: 0;
}

/* Style single line text fields with grey underline that transitions to white on focus */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="date"] {
  background-color: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #aaa;
  padding: 20px 0;
  color: #fff;
  transition: border-color 0.3s ease;
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="date"]:focus {
  outline: none;
  border-bottom: 1px solid #fff;
}

/* Style text areas with black background and white text */
textarea {
  background-color: #000;
  color: #fff;
  border: 0 solid #333;
  padding: 20px;
  width: 100%;
}

/* Style placeholder text to be grey and clear on focus */
input::placeholder,
textarea::placeholder {
  color: #aaa;
  opacity: 1;
  transition: opacity 0.2s ease;
}

input:focus::placeholder,
textarea:focus::placeholder {
  opacity: 0;
}

/* Button styles */
.button,
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  border-radius: 30px !important; /* Pill appearance */
  padding: 10px 30px !important;
  font-weight: 500 ;
  text-transform: uppercase !important;
  font-size: 16px ;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  border: none !important; /* No borders */
  cursor: pointer !important;
  box-shadow: none !important;
  background-color: var(--neongreen) ;
  color: #000 ;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  opacity: 0.9 !important; /* Slight opacity change on hover */
}

/* Button focus states */
.button:focus,
button:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="reset"]:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Secondary button */
.button-secondary,
button.secondary {
  background-color: #000 !important;
  color: #999 !important;
}

.button-secondary:hover,
button.secondary:hover {
  color: #fff !important;
}

/* Select element styles */
select {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  color: #fff;
  appearance: none;
}

/* Gravity Forms specific styles */
.gform_wrapper.gravity-theme,
.gform_wrapper.gravity-theme input[type=color],
.gform_wrapper.gravity-theme input[type=date],
.gform_wrapper.gravity-theme input[type=datetime-local],
.gform_wrapper.gravity-theme input[type=datetime],
.gform_wrapper.gravity-theme input[type=email],
.gform_wrapper.gravity-theme input[type=month],
.gform_wrapper.gravity-theme input[type=number],
.gform_wrapper.gravity-theme input[type=password],
.gform_wrapper.gravity-theme input[type=search],
.gform_wrapper.gravity-theme input[type=tel],
.gform_wrapper.gravity-theme input[type=text],
.gform_wrapper.gravity-theme input[type=time],
.gform_wrapper.gravity-theme input[type=url],
.gform_wrapper.gravity-theme input[type=week],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea,
.gform_wrapper.gravity-theme .gfield_checkbox label,
.gform_wrapper.gravity-theme .gfield_radio label {
  font-size: 18px;
  font-weight: 300;
}

.gform_wrapper.gravity-theme fieldset,
.ginput_container {
  border: none;
  display: block;
  margin-bottom: var(--unitH_half);
}

.gform_wrapper.gravity-theme .gfield_label {
  text-transform: uppercase;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.gform_wrapper.gravity-theme .gfield_required {
  color: #ff0000;
}

.gform_wrapper.gravity-theme .gfield_description {
  color: var(--grey);
}

/* Gravity Forms multi-choice field styling */
.gform_wrapper.gravity-theme .gfield--type-multi_choice.multi_big legend.gfield_label,
h3.gsection_title {
  margin-left: 0;
  margin-right: 0;
  padding-bottom: 10px;
  margin-bottom: 40px;
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: 500;
  width: 100%;
  border-bottom: solid 1px #333;
  line-height: 1.3;
}

.gform_wrapper.gravity-theme .gsection {
  border-bottom: 0;
}

.gform_wrapper hr {
  border: 0;
  border-bottom: solid 1px #333;
  margin: 0 0 40px 0;
}

/* Progress bar */
.gform_wrapper.gravity-theme .gf_progressbar_percentage {
  height: 5px;
}

.gform_wrapper.gravity-theme .gf_progressbar_percentage span {
  display: none;
}

.gform_wrapper.gravity-theme .gf_progressbar_blue {
  background: #000;
}

.gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_blue {
  background-color: var(--neongreen);
  color: #fff;
}

/* Gravity Forms validation */
.gform_wrapper.gravity-theme .gfield_error label,
.gform_wrapper.gravity-theme .gform_validation_errors > h2 {
  color: #ff0000;
}

.gform_wrapper.gravity-theme .gform_validation_errors {
  background: none;
  border-radius: 5px;
  border: 0;
  box-shadow: none;
  font-family: "Inter Tight", Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  margin-block-end: 8px;
  margin-block-start: 8px;
  padding-block: 16px;
  color: #ff0000;
  position: relative;
  width: 100%;
}

.gform_wrapper.gravity-theme .gform_validation_errors h2 {
  letter-spacing: 0;
}

.gform_wrapper.gravity-theme .gfield_error [aria-invalid=true] {
  border: 0;
  border-bottom: 1px solid #ff0000;
}

.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message,
.gform_wrapper.gravity-theme .gfield_description.validation_message {
  background: none;
  border: 0;
  font-size: 14.992px;
  margin-block-start: 8px;
  padding: 0;
  margin-top: -20px;
  color: #ff0000;
}

/* Multi-column layout for checkboxes */
.gfield_checkbox {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px; /* Negative margin to counter the padding on columns */
}

.gfield_checkbox .gchoice {
  flex: 0 0 33.333%; /* 3 columns by default */
  padding: 0 10px;
  margin-bottom: 18px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Styling for checkbox labels */
.gfield_checkbox label {
  display: inline-block;
  padding: 5px 40px 5px 20px;
  background-color: transparent;
  border-radius: 30px;
  color: #aaa;
  font-weight: normal;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 30px;
  box-sizing: border-box;
  line-height: 1.3;
  transition: all .3s ease-in-out;
}

.gfield_checkbox label:hover {
  color: #fff;
}

/* Hide the default checkbox */
.gfield_checkbox input[type="checkbox"] {
  opacity: 0.001;
  margin: 0;
  cursor: pointer;
  position: static;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Custom checkmark */
.gfield_checkbox label:after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 30px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Style when checkbox is checked */
.gfield_checkbox input[type="checkbox"]:checked + label {
  background-color: #000;
  color: white;
  box-shadow: none;
}

/* Custom checkmark when selected */
.gfield_checkbox input[type="checkbox"]:checked + label:after {
  content: "✓";
  opacity: 1;
  color: var(--neongreen);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

/* Style radio buttons */
.gform_wrapper.gravity-theme .gfield_radio input[type="radio"] {
  display: none;
  border: 0;
}

.gform_wrapper.gravity-theme .gfield_radio label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  color: #fff;
  display: inline-block;
  line-height: 1.5;
}

.gform_wrapper.gravity-theme .gfield_radio label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #000;
  border: 1px solid #aaa;
  outline: none;
}

.gform_wrapper.gravity-theme .gfield_radio input[type="radio"]:checked + label:after {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--neongreen);
  outline: none;
}

.gform_wrapper.gravity-theme .gfield_radio input[type="radio"]:checked + label {
  color: #fff;
}

/* Form layout */
.gform_wrapper form {
  margin-bottom: 0;
}

.gform_wrapper ul.gform_fields {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.gform_wrapper li.gfield {
  margin-bottom: 20px;
}

.gform_wrapper .gform_footer {
  padding-top: 10px;
  clear: both;
  text-align: right;
}

.gform_page_footer {
  display: flex;
}

/* File upload styles */
.gform_wrapper.gravity-theme .gform_drop_area {
  background: #000;
  border: 0;
  border-radius: 4px;
  margin-bottom: 8px;
  padding: 32px;
  text-align: center;
}

/* Responsive styles for checkbox grid */
@media screen and (max-width: 1200px) {
  .gfield_checkbox .gchoice {
    flex: 0 0 50%; /* 2 columns on smaller screens */
  }
}

@media screen and (max-width: 767px) {
  .gfield_checkbox .gchoice {
    flex: 0 0 100%; /* 1 column on mobile */
  }

  #blackout_mobile {
    display:block;
  };
  #blackout {
    visibility:hidden;
    height:0;
  };
}



/******* CREATIVE REQUEST FORM ******/

#form_logos {

	display:flex;
	
	width:100%;
	margin-top:var(--unitH_2);
}
.form_logo {

	height:20px;
	width:auto;
	margin-right:40px;
}
.form_logo img {

	height:100%;
	width:auto;
}

#form_footer {

	font-size: 15px;
	color: var(--grey);
	margin: var(--unitH_half) auto var(--unitH_2) auto;
	border-top:solid 1px #fff;
	padding-top:20px;
}


#form_footer a {

	color: var(--grey);
}
#form_footer a:hover {

	color:#fff;
}

#form_footer a .neongreen {

	color: var(--neongreen) !important;
}
.page-template-page_creative_request .site-header {

	display: none;
}

.page-template-page_creative_request a {

	color: var(--neongreen);
}

.page-template-page_creative_request .post-edit-link {

	display:none;
}

.page-template-page_creative_request #page_title {

    max-width: 1000px;
}










/**************** CASE STUDY ***************/




/* Section 1 styles */
.casestudy .inner {
  display: flex;
  flex-direction: column;
}

.casestudy .inner .top-row {
  flex: 0 0 auto;
  width: 100%;
}

.casestudy .inner .middle-row {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.casestudy .inner .bottom-row {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: var(--unitH_half);
}

.page_header {

  font-family: 'Nohemi', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin: 20px 0 0 5px;
    font-weight:600;
    color: var(--page_color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transform: scale(1);
    transform-origin: center;
    will-change: opacity;
    transition: letter-spacing 1.5s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    opacity: 1;
    text-align: center;
}

.casestudy_logo {

  height: 50px;
  width:auto;
  margin: 0 auto var(--unitH_half) auto;
}


.casestudy .intro-gradient {
  height:50vh;
  opacity:1;
  position:absolute;

  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#111111+4,111111+100&0+4,1+100 */
  background: linear-gradient(to bottom, rgba(17,17,17,0) 4%, rgba(17,17,17,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}



.casestudy #section2 {

  background: var(--matte);
}



.pbblock.section {

  min-height:50vh;

}









/* SplitText line mask for .smallintro paragraph on home page */
.line-mask {
  display:block;
  overflow:hidden;
  text-align:center; /* maintain alignment */
}

 .line {
  display:inline-block;
}

 .line > * {
  display:inline-block;
}









/* Home page email starts hidden for fade-in animation */
.page-template-page_home #email {
  opacity: 0;
}










/**************** CASE STUDY ***************/




/* Section 1 styles */
.casestudy .inner {
  display: flex;
  flex-direction: column;
}

.casestudy .inner .top-row {
  flex: 0 0 auto;
  width: 100%;
}

.casestudy .inner .middle-row {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.casestudy .inner .bottom-row {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: var(--unitH_half);
}

.page_header {

  font-family: 'Nohemi', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin: 20px 0 0 5px;
    font-weight:600;
    color: var(--page_color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transform: scale(1);
    transform-origin: center;
    will-change: opacity;
    transition: letter-spacing 1.5s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    opacity: 1;
    text-align: center;
}

.casestudy_logo {

  height: 50px;
  width:auto;
  margin: 0 auto var(--unitH_half) auto;
}


.casestudy .intro-gradient {
  height:50vh;
  opacity:1;
  position:absolute;

  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#111111+4,111111+100&0+4,1+100 */
  background: linear-gradient(to bottom, rgba(17,17,17,0) 4%, rgba(17,17,17,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}



.casestudy #section2 {

  background: var(--matte);
}



.pbblock.section {

  min-height:50vh;

}









/* SplitText line mask for .smallintro paragraph on home page */
.line-mask {
  display:block;
  overflow:hidden;
  text-align:center; /* maintain alignment */
}

 .line {
  display:inline-block;
}

 .line > * {
  display:inline-block;
}









/* Careers Page Accordion */
.careers-accordion {
    margin-top: 40px; /* Increased margin */
    margin-bottom: 40px; /* Increased margin */
    border-top: rgba(255,255,255,0.33) 1px solid; 
}

.accordion-item {
    border-bottom:  rgba(255,255,255,0.33) 1px solid; 
    margin-bottom: -1px; /* Overlap borders for a connected look */
    color: #fff; /* White text */
    transition:all 0.3s ease-in-out;
}

.accordion-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.accordion-item:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-bottom: 0;
}

.accordion-header {
    padding: 20px 0; /* Increased padding */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;


}

.accordion-item:hover {
  border-bottom: rgba(255,255,255,1) 1px solid; 
}

.accordion-title {
    margin: 0;
    font-size: 1.8em; /* Adjusted H2 size */
    text-align: left;
    font-weight: 600; /* Bolder title */
    color: #fff; /* Ensure title is white */
}

.accordion-icon {
  font-size: 1.3em;
  font-weight: normal;
  margin-left: 20px;
  color: #fff;
  font-weight: 300;
}

.accordion-content {
    padding: 0 ; /* Set top/bottom padding to 0 initially, retain left/right */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding-top 0.35s ease-out, padding-bottom 0.35s ease-out;
    border-top: none;
}

.accordion-content p,
.accordion-content ul,
.accordion-content ol {
    color: #eee; /* Light gray text for content */
    font-size: 1em;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.2s ease-out 0.15s;
    margin-top: 0; /* Ensure no top margin */
    margin-bottom: 1em; /* Standard spacing for items not last */
}

.accordion-content h1, .accordion-content h2, .accordion-content h3, .accordion-content h4, .accordion-content h5, .accordion-content h6 {
    color: #fff; /* White headings within content */
    margin-top: 1.5em;
}



/* Active state - content visible */
.accordion-item.active .accordion-content {
    padding-top: 20px; /* Apply top padding when active */
    padding-bottom: 30px; /* Apply bottom padding when active */
}

.accordion-item.active .accordion-content p,
.accordion-item.active .accordion-content ul,
.accordion-item.active .accordion-content ol {
    opacity: 1;
}

/* New rule to remove bottom margin from the last child in active content */
.accordion-item.active .accordion-content > *:last-child {
    margin-bottom: 80px;
}










/**************** CASE STUDY ***************/




/* Section 1 styles */
.casestudy .inner {
  display: flex;
  flex-direction: column;
}

.casestudy .inner .top-row {
  flex: 0 0 auto;
  width: 100%;
}

.casestudy .inner .middle-row {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.casestudy .inner .bottom-row {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: var(--unitH_half);
}

.page_header {

  font-family: 'Nohemi', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin: 20px 0 0 5px;
    font-weight:600;
    color: var(--page_color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transform: scale(1);
    transform-origin: center;
    will-change: opacity;
    transition: letter-spacing 1.5s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    opacity: 1;
    text-align: center;
}

.casestudy_logo {

  height: 50px;
  width:auto;
  margin: 0 auto var(--unitH_half) auto;
}


.casestudy .intro-gradient {
  height:50vh;
  opacity:1;
  position:absolute;

  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#111111+4,111111+100&0+4,1+100 */
  background: linear-gradient(to bottom, rgba(17,17,17,0) 4%, rgba(17,17,17,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}



.casestudy #section2 {

  background: var(--matte);
}



.pbblock.section {

  min-height:50vh;

}









/* SplitText line mask for .smallintro paragraph on home page */
.line-mask {
  display:block;
  overflow:hidden;
  text-align:center; /* maintain alignment */
}

 .line {
  display:inline-block;
}

 .line > * {
  display:inline-block;
}









/* Section 3 styles */
#section3 .service_title sup {
  font-size: 0.2em; /* Adjust this value to get the desired visual width */
  line-height: 1; /* Reset line-height to normal for the sup element */
  vertical-align: top; /* Align top of sup with top of text */
  position: relative;
  top: 0.2em; /* Adjust this value to shift it further up; relative to sup's font-size */
  margin-left: 0.1em; /* Optional: adds a small space before the symbol */
  display: inline-block; /* Helps with layout and potential clipping */
  padding-right: 0.1em; /* Add a little space on the right to prevent clipping */
}








