/*
Theme Name: Corporate Anarchist
Theme URI: https://www.corporateanarchist.com
Author: You
Description: Bold, comic-book Corporate Anarchist theme with grungy anarchy vibes.
Version: 1.1
Text Domain: corporate-anarchist
*/

:root {
  --ca-yellow: #ffc62a;
  --ca-black: #111111;
  --ca-teal: #144552;
  --ca-orange: #f25c19;
  --ca-red: #e63946;
  --ca-bg: #0f1419;
  --ca-radius: 14px;
  --ca-max-width: 1100px;
}

/* Reset / base */

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #1b2838 0, #050608 60%);
  color: #f3f3f3;
}

a {
  color: var(--ca-yellow);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout helpers */

.ca-container {
  max-width: var(--ca-max-width);
  margin: 0 auto;
  padding: 1.5rem;
}

/* Header */

.ca-site-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(6px);
}

.ca-site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ca-logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ca-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
}

.ca-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ca-site-title a {
  font-family: "Bebas Neue", system-ui, sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.ca-tagline {
  font-size: 0.8rem;
  opacity: 0.68;
}

.ca-main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.2rem;
}

.ca-main-nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero */

.ca-hero {
  position: relative;
  padding: 3rem 1.5rem 3.5rem;
  background: radial-gradient(circle at top left, var(--ca-yellow) 0, #f08c1f 26%, #050608 68%);
  border-bottom: 1px solid rgba(0,0,0,0.6);
  overflow: visible;           /* lets the laptop art bleed above/below */
  z-index: 1;
}

/* subtle dark fade toward the right / character */
.ca-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 55%,
    rgba(0,0,0,0.4) 100%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;                  /* between background and foreground */
}

.ca-hero-inner {
  max-width: var(--ca-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 5;                  /* above fade overlay */
}

.ca-hero-kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--ca-black);
  opacity: 0.85;
}

.ca-hero-title {
  font-family: "Bebas Neue", system-ui, sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.3rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0.25rem 0 0.75rem;
}

.ca-hero-sub {
  max-width: 30rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #231f20;
}

.ca-hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ca-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--ca-black);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--ca-black);
  color: #fff;
  cursor: pointer;
}

.ca-btn-outline {
  background: transparent;
  color: var(--ca-black);
}

.ca-hero-pill {
  margin-top: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ca-hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ca-red);
}

/* Hero art area */

.ca-hero-art {
  position: relative;
  justify-self: center;
  min-height: 260px;
}

/* big faint anarchy circle behind everything (optional) */

.ca-anarchy-bg {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 220%;
  height: 220%;
  opacity: 0.16;
  z-index: 1;          /* behind the hero-inner but over hero background */
  pointer-events: none;
}

.ca-anarchy-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Laptop/guy artwork — main character */

.ca-hero-laptop {
  position: relative;
  z-index: 10;         /* above hero band and anarchy background */
  display: inline-block;
  transform: scale(1.10);   /* ~10% bigger overall */
  transform-origin: center;
  transform: translateY(-40px);
  margin-top: -1.5rem;      /* lets it stick above the hero */
  margin-bottom: -1.5rem;   /* and below the hero */
  background: transparent !important;
  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
  border-radius: 24px;
}

.ca-hero-laptop img {
  width: min(380px, 100%);
  transform: scale(1.5);
  height: auto;
  display: block;
  border-radius: 24px;
}

/* Sections */

.ca-section {
  padding: 2.5rem 1.5rem 0;
}

.ca-section-header {
  max-width: var(--ca-max-width);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.ca-section-title {
  font-family: "Bebas Neue", system-ui, sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ca-yellow);
}

.ca-section-sub {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Cards */

.ca-card-grid {
  max-width: var(--ca-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ca-card {
  background: rgba(8,10,14,0.96);
  border-radius: var(--ca-radius);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 1.3rem 1.3rem;
  position: relative;
  overflow: hidden;
}

.ca-card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ca-yellow);
  opacity: 0.9;
}

.ca-card-title {
  font-size: 1.05rem;
  margin: 0.4rem 0;
  font-weight: 600;
}

.ca-card-meta {
  font-size: 0.75rem;
  opacity: 0.65;
}

.ca-card-excerpt {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* About block */

.ca-about {
  max-width: var(--ca-max-width);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
}

.ca-about-text h2 {
  font-family: "Bebas Neue", system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1.6rem;
  color: var(--ca-yellow);
}

.ca-about-text p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.ca-about-pill {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

.ca-about-block {
  background: linear-gradient(145deg, #111, #20232b);
  border-radius: var(--ca-radius);
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}

.ca-about-block ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

/* Footer */

.ca-site-footer {
  margin-top: 2.5rem;
  padding: 1.8rem 1.5rem 2.4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #050608;
  font-size: 0.8rem;
  opacity: 0.78;
}

/* Responsive */

@media (max-width: 800px) {
  .ca-hero-inner,
  .ca-about {
    grid-template-columns: minmax(0, 1fr);
  }

  .ca-hero {
    padding-top: 2.2rem;
  }

  .ca-hero-art {
    order: -1;
    justify-self: flex-start;
  }

  .ca-main-nav {
    display: none;
  }

  .ca-hero-laptop {
    margin-top: -1rem;
    margin-bottom: -1rem;
    transform: scale(1.05);
  }
}
