/* ============================================
   PIXEL PULSE AA GROUP — Stylesheet
   ============================================ */

:root {
  --void: #0c0c0d;
  --void-soft: #161617;
  --paper: #f7f5f1;
  --paper-dim: #ece8e1;
  --signal: #e8102b;
  --oxblood: #6e0f1d;
  --bone: #b8b3aa;
  --ink: #17161a;

  --display: 'Big Shoulders Display', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;

  --max: 1180px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.92;
  margin: 0;
  letter-spacing: 0.2px;
}

p {
  margin: 0;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.7rem;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary {
  background: var(--signal);
  color: var(--paper);
}

.btn-primary:hover {
  background: #ff2b46;
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--bone);
}

.btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.btn-dark {
  background: var(--void);
  color: var(--paper);
}

.btn-dark:hover {
  background: var(--oxblood);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 13, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184, 179, 170, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.logo span {
  color: var(--signal);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav-links a {
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--signal);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--signal);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--paper);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid rgba(184, 179, 170, 0.18);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-eyebrow {
  color: var(--signal);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  color: var(--paper);
}

.hero h1 em {
  font-style: normal;
  color: var(--signal);
}

.hero-sub {
  max-width: 46ch;
  margin-top: 1.6rem;
  color: var(--bone);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat b {
  display: block;
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--paper);
  line-height: 1;
}

.hero-stat span {
  color: var(--bone);
  font-size: 0.88rem;
}

/* mood board of content tiles */

.moodboard {
  position: relative;
  height: 420px;
}

.tile {
  position: absolute;
  border-radius: 3px;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--paper);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.tile-a {
  width: 58%;
  height: 62%;
  top: 0;
  right: 0;
  background: linear-gradient(155deg, var(--oxblood), var(--void-soft));
  transform: rotate(4deg);
}

.tile-b {
  width: 46%;
  height: 40%;
  bottom: 6%;
  left: 0;
  background: linear-gradient(155deg, var(--signal), var(--oxblood));
  transform: rotate(-6deg);
}

.tile-c {
  width: 34%;
  height: 30%;
  top: 12%;
  left: 8%;
  background: var(--void-soft);
  border: 1px solid rgba(184, 179, 170, 0.3);
  transform: rotate(-3deg);
}

.tile-icon {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  opacity: 0.9;
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--signal);
  color: var(--void);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.85rem 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: scroll-left 26s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections generic ---------- */

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-light .bone-text {
  color: #6b6660;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.section-head p {
  margin-top: 1rem;
  color: var(--bone);
  font-size: 1.05rem;
}

.section-light .section-head p {
  color: #6b6660;
}

/* ---------- Split (focus areas) ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(184, 179, 170, 0.18);
}

.split-block {
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(184, 179, 170, 0.18);
}

.split-block:first-child {
  border-right: 1px solid rgba(184, 179, 170, 0.18);
}

.split-block .tag {
  color: var(--signal);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

.split-block h3 {
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  margin-bottom: 1rem;
}

.split-block p {
  color: var(--bone);
  max-width: 42ch;
}

.split-block ul {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--bone);
  font-size: 0.96rem;
}

.split-block li {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(184, 179, 170, 0.18);
}

.split-block li:first-child {
  border-top: none;
}

/* ---------- Process (numbered — genuinely sequential) ---------- */

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.process-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-top: 1px solid rgba(184, 179, 170, 0.18);
}

.process-item:last-child {
  border-bottom: 1px solid rgba(184, 179, 170, 0.18);
}

.process-item::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-size: 2rem;
  color: var(--signal);
}

.process-body h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.process-body p {
  color: var(--bone);
  max-width: 52ch;
}

/* ---------- Testimonials ---------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(184, 179, 170, 0.18);
}

.testimonial {
  background: var(--void);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

.testimonial p.quote {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--paper);
}

.testimonial .who {
  margin-top: 1.4rem;
  color: var(--bone);
  font-size: 0.9rem;
}

.testimonial .who b {
  color: var(--paper);
  display: block;
  font-family: var(--body);
  font-weight: 600;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--signal);
  color: var(--void);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  max-width: 14ch;
}

.cta-band .btn-dark:hover {
  background: #1e1e20;
}

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

.site-footer {
  background: var(--void-soft);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
  color: var(--bone);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(184, 179, 170, 0.18);
}

.footer-cols {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-family: var(--body);
  color: var(--paper);
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--bone);
  padding: 0.25rem 0;
}

.footer-col a:hover {
  color: var(--signal);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Page intro (Services / About / Contact) ---------- */

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(184, 179, 170, 0.18);
}

.page-hero .hero-eyebrow {
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  max-width: 16ch;
}

.page-hero p {
  margin-top: 1.4rem;
  color: var(--bone);
  max-width: 56ch;
  font-size: 1.05rem;
}

/* ---------- Service detail rows ---------- */

.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid rgba(184, 179, 170, 0.18);
}

.service-row:last-child {
  border-bottom: 1px solid rgba(184, 179, 170, 0.18);
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

.service-visual {
  position: relative;
  height: 300px;
}

.service-num {
  font-family: var(--display);
  font-size: 5.5rem;
  color: var(--oxblood);
  line-height: 1;
  position: absolute;
  top: 0;
  left: 0;
}

.service-copy .tag {
  color: var(--signal);
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.8rem;
}

.service-copy h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.service-copy p {
  color: var(--bone);
  max-width: 48ch;
}

.service-copy .deliverables {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.2rem;
  font-size: 0.94rem;
}

.service-copy .deliverables li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--paper);
}

.service-copy .deliverables li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--signal);
}

/* ---------- About page ---------- */

.about-lede {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 20ch;
}

.about-lede .accent {
  color: var(--signal);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(184, 179, 170, 0.18);
  border-left: 1px solid rgba(184, 179, 170, 0.18);
}

.value-item {
  padding: 2.2rem;
  border-right: 1px solid rgba(184, 179, 170, 0.18);
  border-bottom: 1px solid rgba(184, 179, 170, 0.18);
}

.value-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.value-item p {
  color: #6b6660;
  font-size: 0.95rem;
}

.values-grid {
  border-color: rgba(23, 22, 26, 0.15);
}

.value-item {
  border-color: rgba(23, 22, 26, 0.15);
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.contact-info .info-line {
  padding: 1.3rem 0;
  border-top: 1px solid rgba(184, 179, 170, 0.18);
}

.contact-info .info-line:first-child {
  border-top: none;
}

.contact-info .info-line span {
  display: block;
  color: var(--bone);
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.contact-info .info-line a,
.contact-info .info-line p {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--paper);
}

.contact-info .info-line a:hover {
  color: var(--signal);
}

.contact-form {
  background: var(--void-soft);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border: 1px solid rgba(184, 179, 170, 0.18);
}

.field {
  margin-bottom: 1.3rem;
}

.field label {
  display: block;
  font-size: 0.88rem;
  color: var(--bone);
  margin-bottom: 0.5rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--void);
  border: 1px solid rgba(184, 179, 170, 0.35);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 2px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--signal);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .moodboard {
    height: 300px;
    order: -1;
  }

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

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

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

  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

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

  .field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hamburger {
    display: flex;
  }

  .nav-links,
  .nav-cta .btn-ghost {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    height: 100dvh;
    width: 100%;
    background: var(--void);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 var(--gutter);
    gap: 1.8rem;
    font-family: var(--display);
    font-size: 2.4rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 150;
  }

  .nav-links.is-open {
    display: flex;
    transform: translateX(0);
  }

  .nav-cta .btn-primary {
    display: none;
  }

  .hero-stats {
    gap: 1.6rem;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .service-copy .deliverables {
    grid-template-columns: 1fr;
  }
}
