/* ═══════════════════════════════════════════════════════════════
   PLEASEHIREME.EU — BRUTALIST REDESIGN
   ═══════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #000;
  color: #fff;
}

:focus-visible {
  outline: 3px dashed #000;
  outline-offset: 4px;
}

/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3 {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 10vw, 7rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  max-width: 65ch;
}

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

/* ─── LAYOUT UTILITIES ─── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 3px solid #000;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 900;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.main-nav a:hover {
  opacity: 0.6;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #000;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 3px solid #000;
  z-index: 999;
  padding: 1.5rem clamp(1rem, 5vw, 3rem);
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 0;
  border-bottom: 2px solid #000;
}

/* ─── HERO ─── */
.hero {
  margin-top: 70px;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  border-bottom: 3px solid #000;
  background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 3px solid #000;
  background: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-title {
  margin-bottom: 2.5rem;
  max-width: 20ch;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 3px solid #000;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: #000;
  color: #fff;
}

.btn-primary:hover {
  background: #fff;
  color: #000;
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 #000;
}

.btn-secondary {
  background: #fff;
  color: #000;
}

.btn-secondary:hover {
  background: #000;
  color: #fff;
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 #000;
}

/* ─── INTRO ─── */
.intro {
  padding: clamp(3rem, 10vw, 6rem) 0;
  border-bottom: 3px solid #000;
}

.intro-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.intro-main h2 {
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.intro-main p + p {
  margin-top: 1rem;
}

.intro-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  padding: 1.5rem;
  border: 3px solid #000;
  background: #fff;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── SECTIONS ─── */
.companies,
.work,
.stack,
.contact {
  padding: clamp(3rem, 10vw, 6rem) 0;
  border-bottom: 3px solid #000;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  opacity: 0.7;
}

/* ─── COMPANIES ─── */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.company-card {
  padding: 2rem;
  border: 3px solid #000;
  background: #fff;
  transition: transform 0.2s;
}

.company-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 #000;
}

.company-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.company-card h3 {
  margin-bottom: 0.5rem;
}

.company-tagline {
  font-style: italic;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.company-card > p {
  margin-bottom: 1.5rem;
}

.company-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.company-links a {
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-products {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 2px solid #000;
}

.company-products span {
  padding: 0.25rem 0.75rem;
  background: #f5f5f5;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid #000;
}

/* ─── WORK ─── */
.work-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: #fff;
  border: 3px solid #000;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #000;
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.work-item {
  padding: 1.5rem;
  border: 3px solid #000;
  background: #fff;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out, box-shadow 0.2s ease-out;
  transform-origin: center;
}

.work-item:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 #000;
}

.work-item.hidden {
  display: none;
}

.work-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  border: 2px solid #000;
}

.work-status.live {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.work-status.rework {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #fff;
}

.work-status.dev {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.work-status.offline {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

.work-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.work-item > p {
  margin-bottom: 1rem;
  font-size: 0.938rem;
}

.work-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.work-tags span {
  padding: 0.25rem 0.5rem;
  background: #f5f5f5;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid #000;
}

.work-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.work-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.938rem;
}

.work-footer a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── STACK ─── */
.stack {
  background: #f5f5f5;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stack-column {
  padding: 2rem;
  background: #fff;
  border: 3px solid #000;
}

.stack-column h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #000;
}

.stack-column ul {
  list-style: none;
}

.stack-column li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 2px solid #f5f5f5;
}

.stack-column li:last-child {
  border-bottom: none;
}

.stack-column li span:first-child {
  font-weight: 700;
  font-size: 0.938rem;
}

.skill-level {
  padding: 0.25rem 0.5rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid #000;
}

.skill-level.expert {
  background: #000;
  color: #fff;
}

.skill-level.advanced {
  background: #fff;
  color: #000;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-main h2 {
  margin-bottom: 1rem;
}

.contact-main p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.availability {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 3px solid #000;
}

.avail-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: block;
  padding: 1.5rem;
  border: 3px solid #000;
  background: #fff;
  transition: all 0.2s;
}

.contact-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 #000;
}

.contact-card.primary {
  background: #000;
  color: #fff;
}

.contact-label {
  display: block;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.contact-value {
  display: block;
  font-weight: 700;
  font-size: 1.125rem;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #f5f5f5;
  border-top: 3px solid #000;
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-info strong {
  font-weight: 900;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-info p {
  font-size: 0.875rem;
  opacity: 0.7;
}

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

.footer-links button {
  background: none;
  border: none;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-links button:hover {
  opacity: 1;
}

.footer-tech {
  text-align: right;
  font-size: 0.875rem;
  font-weight: 700;
  opacity: 0.7;
}

/* ─── MODALS ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: none;
}

.modal-overlay.active {
  display: block;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: #fff;
  border: 3px solid #000;
  z-index: 2001;
  display: none;
}

.modal.active {
  display: block;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 3px solid #000;
}

.modal-header h3 {
  font-size: 1.25rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}

.modal-body {
  padding: 1.5rem;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body ul {
  margin: 1rem 0 1rem 1.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.modal-body address {
  font-style: normal;
  padding: 1rem;
  background: #f5f5f5;
  border: 2px solid #000;
  margin-bottom: 1rem;
}

.modal-body a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-tech {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .company-grid,
  .work-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .work-filters {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 3rem;
  }

  .hero {
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ─── ACCESSIBILITY ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ─── PRINT STYLES ─── */
@media print {
  .site-header,
  .hero-cta,
  .work-filters,
  .site-footer,
  .btn-primary,
  .btn-secondary {
    display: none;
  }

  body {
    background: #fff;
  }

  .hero {
    min-height: auto;
    border: none;
  }
}

/* ─── SCROLL REVEAL ANIMATIONS ─── */
/* Add this to the very bottom of your CSS file */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure modals fade in smoothly too */
.modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translate(-50%, -45%); /* Start slightly higher */
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%); /* Drop into place */
}

.modal-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
}