/*
Theme Name: Breaking Media 2026
Theme URI: https://breakingmedia.com
Author: Breaking Media
Author URI: https://breakingmedia.com
Description: Corporate theme for Breaking Media
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: breakingmedia-2026
*/

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #1f1f1f;
  --bg-secondary: #F4F1EC;
	--bg-tertiary: #6a6a6a;
  --text-light: #E4E2D8;
  --text-dark: #1f1f1f;
  --accent-neon: #00E5A0;
	--accent-vibrant: #E577D4;
  --accent-soft: #B8B0E0;
	--accent-muted: #A3B5B0; 
  --blue-primary: #3298fe;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Darker Grotesque', sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-dark);
  line-height: 1.4;
  font-weight: 500;
	overflow-x: hidden;
}

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

address {
	color: inherit;
	font-size: inherit;
	font-style: normal;
}

* + p {
	margin-top: 1.5rem;
}

.hidden {
	display: none;
}

.border-secondary {
	border: 1px solid var(--bg-secondary);
}

.border-tertiary {
	border: 1px solid var(--bg-tertiary);
}

.border-accent-soft {
	border: 1px solid var(--accent-soft);
}

.border-accent-muted {
	border: 1px solid var(--accent-muted);
}

/* Intro Animation */
body.intro-active .page-content {
  opacity: 0;
  visibility: hidden;
}

.page-content {
  opacity: 0;
	position: relative;
  visibility: hidden;
	z-index: 1;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Header */
.site-header {
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(244, 241, 236, 0.1);
}

.logo-container,
.site-header .spacer {
  width: 280px;
}

.logo {
  margin: 0;
}

.logo a {
  align-items: center;
  font-size: 1.3rem;
  font-weight: 300;
  display: flex;
  gap: 15px;
  color: var(--text-dark);
  letter-spacing: 0.075em;
  line-height: 0.9;
  text-decoration: none;
  text-transform: uppercase;
}

.logo a span {
  display: inline-block;
  width: 120px;
}

.logo svg {
  width: 70px;
  height: auto;
  flex: none;
}

/* Logo M Strokes */
.m-stroke {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Primary Navigation */
.primary-nav {
  display: flex;
  gap: 3rem;
}

.primary-nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav li {
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.primary-nav a:hover {
  color: var(--accent-neon);
}

/* Hero */
.hero {
  padding: 6rem 4rem 6rem;
	min-height: calc(100vh - 82px);
	position: relative;
	overflow: hidden;	
	text-align: center;
	display: flex;
	align-items: center;
}

.hero h1 {
	color: var(--text-dark);
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

.hero .hero-content {
	margin: 0 auto;
	width: 800px;
	max-width: 100%;
	position: relative;
	text-align: left;
	z-index: 1;
}

.hero > div > p {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  max-width: 600px;
  line-height: 1.3;
}

.hero-bg {
    background: url(assets/images/wire-globe.svg) no-repeat center top;
    background-size: auto 220%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    opacity: 0.05;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    right: 0;
}

.section-header {
	position: relative;
	z-index: 1;
}

.section-header h2 {
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.0;
	color: var(--text-dark);
	text-transform: none;
	margin-bottom: 0.5rem;
	position: relative;
	z-index: 1;
}

.section-header h3 {
	font-size: 5rem;
	font-weight: 500;
	line-height: 1.0;
	letter-spacing: -0.025em;
	color: var(--text-dark);
	text-transform: none;
	margin-bottom: 1rem;
	position: relative;
	z-index: 1;
}

.wp-block-heading.section-header {
	font-size: 2rem;
	font-weight: 600;
	padding: 1rem 4rem;
}

.section-default .wp-block-heading.section-header {
	padding: 0;
	margin-bottom: 2rem;
}



@-webkit-keyframes grain {
    0%,to {
        transform: translate(0)
    }

    10% {
        transform: translate(-5%,-10%)
    }

    20% {
        transform: translate(-15%,5%)
    }

    30% {
        transform: translate(7%,-25%)
    }

    40% {
        transform: translate(-5%,25%)
    }

    50% {
        transform: translate(-15%,10%)
    }

    60% {
        transform: translate(15%)
    }

    70% {
        transform: translateY(15%)
    }

    80% {
        transform: translate(3%,35%)
    }

    90% {
        transform: translate(-10%,10%)
    }
}

@keyframes grain {
    0%,to {
        transform: translate(0)
    }

    10% {
        transform: translate(-5%,-10%)
    }

    20% {
        transform: translate(-15%,5%)
    }

    30% {
        transform: translate(7%,-25%)
    }

    40% {
        transform: translate(-5%,25%)
    }

    50% {
        transform: translate(-15%,10%)
    }

    60% {
        transform: translate(15%)
    }

    70% {
        transform: translateY(15%)
    }

    80% {
        transform: translate(3%,35%)
    }

    90% {
        transform: translate(-10%,10%)
    }
}

.wp-block-button__link {
	all: unset;
	display: inline-block;
	cursor: pointer;
	font: inherit;
	color: inherit;
}


/* Learn More Button */
a.btn-learn-more,
a .btn-learn-more,
.wp-block-button.btn-learn-more a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
	line-height: 0.9;
  color: var(--text-dark);
  border: 2px dotted var(--bg-tertiary);
  cursor: pointer;
  transition: all 0.2s ease;
}

a.btn-learn-more .arrow,
a .btn-learn-more .arrow,
.brand-card .btn-learn-more a .arrow {
  color: var(--blue-primary);
  font-size: 1.2rem;
	font-weight: 600;
	transform: translateX(0);
	transition: transform 0.2s ease;
}

a.btn-learn-more .arrow.arrow-dark,
a .btn-learn-more .arrow.arrow-dark { 
	color: var(--text-dark);
}

a.btn-learn-more:hover,
.wp-block-button.btn-learn-more a:hover,
.brand-card:hover .btn-learn-more {
	background-color: var(--text-dark);
  border-style: solid;
  border-color: var(--text-dark);
  color: var(--bg-secondary);
}

a.btn-learn-more:hover .arrow,
.wp-block-button.btn-learn-more a:hover .arrow,
.brand-card:hover .btn-learn-more .arrow {
	transform: translateX(10px);
}

a.btn-learn-more:hover .arrow.arrow-dark {
	color: var(--bg-secondary);
}


/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--bg-tertiary);
}

.stats-bar {
background-color: var(--bg-primary);
}

.stat {
  padding: 2.5rem 4rem;
  border-right: 1px solid var(--bg-tertiary);
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-vibrant);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.stats-bar .stat-label {
	color: var(--text-light);
}

/*
div.stats-bar {
	border-top: 1px solid var(--bg-tertiary);
}
	*/

div.stats-bar + div.stats-bar {
	border-top: none;
}

/* Brands Section */
.brands-section {
  padding: 6rem 4rem 22rem;
  background-color: #fff;
	position: relative;
}

.brands-section .section-header {
  margin-bottom: 3rem;
}

.brands-section .section-header h2 {
  color: var(--text-dark);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 0;
}

/* Brand Cards */
.brand-card {
  border: 1px solid var(--text-light);
  margin-right: -1px;
  margin-bottom: -1px;
  padding: 2.5rem 2rem;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--text-dark);
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0;
}

.brand-card:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-dark);
  z-index: 1;
  position: relative;
}

.brand-card:hover .brand-name {
  color: var(--text-dark);
}

.brand-logo {
  height: 46px;
  width: 100%;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

.brand-logo img {
  height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.brand-industry {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg-tertiary);
  margin-bottom: 1rem;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.brand-desc {
  font-size: 1.1rem;
  color: var(--text-dark);
  opacity: 0.7;
  line-height: 1.4;
}

.brand-arrow {
  margin-top: 1.5rem;
}


/* Clients Section */
.clients-section {
	background-color: var(--accent-neon);
  padding: 12rem 0;
  overflow: hidden;
	min-height: 100vh;
}

.clients-section .section-header {
  margin-bottom: 3rem;
  padding: 0 4rem;
}

.clients-section .section-header h2 {
  color: var(--text-dark);
}

.clients-section .section-header h3 {
	color: var(--text-dark);
}

.clients-scroll {
  position: relative;
	margin-top: 5rem;
  width: 100%;
  overflow: hidden;
}

.clients-scroll::before,
.clients-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4rem;
  z-index: 2;
  pointer-events: none;
}

.clients-scroll::before {
  left: 0;
  background: linear-gradient(to right, var(--accent-neon), transparent);
}

.clients-scroll::after {
  right: 0;
  background: linear-gradient(to left, var(--accent-neon), transparent);
}

.clients-track {
  display: flex;
  
  animation: scrollLogos 30s linear infinite;
  width: max-content;
}

/*
.clients-track:hover {
  animation-play-state: paused;
}
*/

.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
	border: 1px solid rgba(31, 31, 31, 0.1);
	padding: 2rem;
}

.client-logo + .client-logo {
	border-left: none;
}

.client-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0);
	
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.client-logo img:hover {
  filter: grayscale(0%) brightness(1);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* CTA Section */
.cta-section {
	background-color: var(--bg-primary);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cta-block {
  padding: 5rem 4rem;
  border-top: 1px solid var(--bg-tertiary);
	color: var(--text-light);
}

.cta-block:first-child {
  border-right: 1px solid var(--bg-tertiary);
}

.cta-block h3 {
	color: var(--text-light);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-block p,
.cta-block address {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 400px;
  line-height: 1.4;
}

.cta-block p a {
	border-bottom: 1px dotted var(--text-light);
	color: var(--text-light);
	text-decoration: none;
	transition: all 0.2s ease;
}

.cta-block p a:hover {
	color: #fff;
	border-bottom-style: solid;
	border-color: #fff;
}


/* Defaults */
.section-default {
	font-size: 1.5rem;
	line-height: 1.4;
	color: var(--text-dark);
	min-height: auto;
	padding: 6rem 4rem 4rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-neon);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--bg-secondary);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent-soft);
}

.btn-secondary:hover {
  background-color: var(--blue-primary);
  color: var(--bg-primary);
}

/* Footer */
.site-footer {
	background-color: var(--bg-primary);
  padding: 3rem 4rem;
  border-top: 1px solid var(--bg-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent-neon);
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-links a {
  color: rgba(244, 241, 236, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(244, 241, 236, 0.3);
}

/* Intro Overlay */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.intro-logo {
  margin: 0;
}

.intro-logo a {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--accent-neon);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.intro-logo svg {
  width: 120px;
  height: auto;
}

.intro-text {
  display: inline-block;
  width: 200px;
	letter-spacing: 0.075em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.intro-text.visible {
  opacity: 1;
}

/* Animated Logo Strokes */
.bm-logo.animated .m-stroke {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.bm-logo.animated .m-stroke:nth-child(2) {
  animation: drawStroke 0.1s ease-out 0.1s forwards;
}

.bm-logo.animated .m-stroke:nth-child(3) {
  animation: drawStroke 0.1s ease-out 0.45s forwards;
}

.bm-logo.animated .m-stroke:nth-child(4) {
  animation: drawStroke 0.1s ease-out 0.58s forwards;
}

.bm-logo.animated .m-stroke:nth-child(5) {
  animation: drawStroke 0.1s ease-out 0.71s forwards;
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

/* Page Content */
.page-content-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem;
}

.page-content-inner h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.page-content-inner p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(244, 241, 236, 0.8);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 1320px) { 
	.brands-grid .btn-learn-more {
		font-size: 1rem;
		padding: 0.75rem 1.25rem;
	}
}

@media (max-width: 1200px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 1.5rem 2rem;
  }

  .hero {
    padding: 4rem 2rem 4rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .brands-section {
    padding: 4rem 2rem;
  }

  .brands-section .section-header h2 {
    font-size: 3rem;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 2rem;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-block:first-child {
    border-right: none;
  }

  .cta-block {
    padding: 3rem 2rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    padding: 2rem;
  }

  .footer-links {
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .primary-nav {
    gap: 1.5rem;
  }

  .primary-nav a {
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero > p {
    font-size: 1.2rem;
  }

  .brands-section .section-header h2 {
    font-size: 2.5rem;
  }

  .brands-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(244, 241, 236, 0.1);
  }

  .stat:last-child {
    border-bottom: none;
  }
}

.blur-1 {
  aspect-ratio: 1 / 1;
  background: linear-gradient(#F4F1EC 10%, #B8B0E0 45%, #E577D4 65%, #00E5A0 82%, #1f1f1f 98%);
  bottom: 0px;
  filter: blur(65px);
  flex: 0 0 auto;
  gap: 0px;
  left: 48%;
  opacity: 0.45;
  overflow: visible;
  position: absolute;
  top: -21px;
  transform: translateX(-50%) rotate(0deg) scale(1);
  transform-origin: center center;
  width: 80%;
  z-index: 0;
  animation: amoeba 8s ease-in-out infinite;
}

@keyframes amoeba {
  0%, 100% {
    transform: translateX(-50%) rotate(30deg) scale(1);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    transform: translateX(-48%) rotate(15deg) scale(1.03);
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    transform: translateX(-52%) rotate(-10deg) scale(0.97);
    border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
  }
  75% {
    transform: translateX(-49%) rotate(8deg) scale(1.02);
    border-radius: 50% 40% 30% 60% / 40% 50% 60% 50%;
  }
}

/* Typing Animation */
/* Typing Animation */
.cursor {
  display: inline;
  position: relative;
}

.cursor-char {
  animation: blink 0.9s infinite;
  line-height: 1;
}

.cursor.hidden .cursor-char {
  visibility: hidden;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.typing-target .complete {
  color: var(--accent-neon);
  text-shadow: 0 0 10px var(--bg-tertiary);
}

.blur-2 {
	  filter: blur(37px);
    z-index: 1;
    background-color: #fff;
    flex: none;
    height: 496px;
    position: absolute;
    bottom: -422px;
    left: -418px;
    right: -1382px;
    overflow: visible;
}

.blur-3 {
	  filter: blur(50px);
		z-index: 1;
		background-color: var(--accent-neon);
		flex: none;
		height: 300px;
		position: absolute;
		bottom: -182px;
    left: -418px;
    right: -1382px;
    overflow: visible;
}