/* ==========================================================================
   Akron Labs - Homepage Stylesheet
   ========================================================================== */

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  /* vh fallback for older browsers; dvh accounts for iOS Safari address bar */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 4rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(194, 132, 74, 0.08) 0%, transparent 30%),
    linear-gradient(180deg, rgba(250, 247, 242, 0.018) 0%, transparent 46%),
    var(--black);
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 900px;
  text-wrap: balance;
}

.hero h1 .highlight {
  background: linear-gradient(
    135deg,
    var(--copper) 0%,
    var(--copper-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--silver);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero .stats-bar {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 4rem;
  overflow: hidden;
  border: 1px solid rgba(194, 132, 74, 0.18);
  border-radius: 18px;
  background: rgba(27, 25, 23, 0.66);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(250, 247, 242, 0.04);
}

.hero .stat-item {
  min-width: 168px;
  padding: 1.15rem 1.4rem;
}

.hero .stat-item + .stat-item {
  border-left: 1px solid rgba(250, 247, 242, 0.08);
}

.hero .stat-value {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.hero .stat-label {
  color: var(--silver);
}

.hero-blueprint {
  position: relative;
  align-self: center;
  padding: 1.5rem;
  border: 1px solid rgba(194, 132, 74, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(250, 247, 242, 0.035), transparent 34%),
    rgba(27, 25, 23, 0.7);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(250, 247, 242, 0.04);
}

.blueprint-header,
.blueprint-steps {
  position: relative;
}

.blueprint-header {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blueprint-header span {
  color: var(--copper-light);
}

.blueprint-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.blueprint-step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.9rem 0;
}

.blueprint-step-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--copper);
}

.blueprint-step strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.blueprint-step span:last-child {
  display: block;
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.55;
}


/* ==========================================================================
   Services Section
   ========================================================================== */

.services {
  padding: 8rem 4rem;
  background: var(--charcoal);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--graphite),
    transparent
  );
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.services-intro .section-header {
  margin-bottom: 0;
}

.services-description {
  font-size: 1.1rem;
  color: var(--silver);
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--graphite);
  border: 1px solid var(--graphite);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(250, 247, 242, 0.03);
}

.service-card {
  background:
    linear-gradient(180deg, rgba(250, 247, 242, 0.018), transparent 42%),
    var(--charcoal);
  padding: 2.5rem;
  position: relative;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.service-card:hover {
  background: var(--graphite);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.5rem;
  right: 2.5rem;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pewter);
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--graphite);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--copper);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--copper);
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.3s ease;
}

.service-card:hover .service-icon svg {
  /* White stroke on copper background — WCAG AA contrast */
  stroke: var(--white);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover {
  color: var(--copper-light);
}

.service-card p {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-card p a {
  color: var(--copper-light);
  text-decoration: none;
}

.service-card p a:hover {
  color: var(--copper);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  background: var(--steel);
  border-radius: 4px;
  color: var(--fog);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Parallax Elements
   ========================================================================== */

.parallax-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.parallax-orb-1 {
  top: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    var(--copper-glow) 0%,
    rgba(194, 132, 74, 0.08) 42%,
    transparent 68%
  );
}


/* ==========================================================================
   Process Section
   ========================================================================== */

.process {
  padding: 8rem 4rem;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.process-container {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.process .section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.process-timeline {
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--graphite),
    var(--copper),
    var(--graphite)
  );
}

.process-step {
  display: flex;
  gap: 3rem;
  padding: 2rem 0;
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--charcoal);
  border: 2px solid var(--copper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--copper);
  position: relative;
  z-index: 2;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.process-step:hover .process-number {
  background: var(--copper);
  color: var(--black);
}

.process-content {
  flex: 1;
  padding-top: 0.5rem;
}

.process-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.process-content p {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.7;
  max-width: 500px;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
  padding: 8rem 4rem;
  background: var(--charcoal);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--graphite),
    transparent
  );
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--silver);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

p.about-tagline {
  margin-block-start: 2.5rem;
  padding: 1rem 0 1rem 1.5rem;
  border-left: 4px solid var(--copper);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(
    135deg,
    var(--copper) 0%,
    var(--copper-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.metric-card {
  background: var(--charcoal);
  border: 1px solid var(--graphite);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.metric-card:hover {
  border-color: var(--steel);
  transform: translateY(-4px);
}

.metric-card:first-child {
  grid-column: span 2;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--copper) 0%,
    var(--copper-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--silver);
}

/* ==========================================================================
   Stack Section
   ========================================================================== */

.stack {
  padding: 8rem 4rem;
  background: var(--black);
  position: relative;
}

.stack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--graphite),
    transparent
  );
}

.stack-container {
  max-width: 1400px;
  margin: 0 auto;
}

.stack-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.stack-category h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.stack-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.stack-item {
  padding: 0.5rem 1rem;
  background: var(--charcoal);
  border: 1px solid var(--graphite);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--fog);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.stack-item:hover {
  border-color: var(--copper);
  color: var(--white);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
  padding: 8rem 4rem;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--graphite),
    transparent
  );
}

.contact-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    circle,
    var(--copper-glow) 0%,
    rgba(194, 132, 74, 0.08) 42%,
    transparent 70%
  );
  pointer-events: none;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.contact-description {
  font-size: 1.15rem;
  color: var(--silver);
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--copper);
  text-decoration: none;
  padding: 1.25rem 2.5rem;
  background: var(--black);
  border: 1px solid var(--graphite);
  border-radius: 12px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.contact-email:hover {
  border-color: var(--copper);
  box-shadow: 0 0 40px var(--copper-glow);
  transform: translateY(-2px);
}

.contact-email svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}


/* ==========================================================================
   Responsive - Homepage
   ========================================================================== */

@media (max-width: 1100px) {
  .stack-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {

  .hero {
    padding: 7rem 2rem 5rem;
  }

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

  .hero-blueprint {
    max-width: 620px;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 2rem;
  }

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

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

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

  .about-metrics {
    order: -1;
  }

  .services,
  .about,
  .contact,
  .process,
  .stack {
    padding: 5rem 2rem;
  }

  .process-timeline::before {
    left: 24px;
  }

  .process-step {
    gap: 2rem;
  }

  .parallax-orb {
    display: none;
  }

  /* iPad landscape / small tablet: keep stats readable without cramping */
  .stats-bar {
    gap: 2rem 3rem;
    margin-top: 3.5rem;
  }

  .hero .stats-bar {
    display: grid;
    width: 100%;
    max-width: 620px;
  }

  .hero .stat-item {
    min-width: 0;
  }

  .stat-value {
    font-size: 2rem;
  }


}

@media (max-width: 480px) {

  .hero {
    /* Clear the fixed mobile header before the headline starts. */
    padding: 7.25rem 1.25rem 2rem;
    min-height: auto;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-blueprint {
    display: none;
  }

  .stats-bar {
    margin-top: 2.5rem;
    gap: 1.25rem;
  }

  .hero .stats-bar {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .hero .stat-item {
    padding: 1rem;
  }

  .hero .stat-item + .stat-item {
    border-top: 1px solid rgba(250, 247, 242, 0.08);
    border-left: 0;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .services,
  .about,
  .contact,
  .process,
  .stack {
    padding: 4rem 1.25rem;
  }

  .stack-categories {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-step {
    gap: 1.5rem;
  }

  .process-number {
    width: 44px;
    height: 44px;
    font-size: 0.75rem;
  }

  .process-timeline::before {
    left: 21px;
  }

  .process-content h3 {
    font-size: 1.15rem;
  }

  .process-content p {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .service-card {
    padding: 1.75rem;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }

  .metric-card:first-child {
    grid-column: span 1;
  }

  .contact h2 {
    font-size: 2rem;
  }

  .contact-email {
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
    width: 100%;
    justify-content: center;
  }


}
