/**
 * Author:      Stefan Miscik
 * Company:     Dotsystems s.r.o.
 * Copyright:   Amesi s.r.o.
 */
.hero {
  position: relative;
  min-height: 48rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 46%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 24%),
    var(--canvas);
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 2rem;
  padding: 6.5rem 0 3.5rem;
}

@media (min-width: 992px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

.hero-eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.27em;
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 1.2rem;
}

.hero-title span {
  display: block;
  color: var(--accent);
}

.hero-lead {
  max-width: 34rem;
  color: var(--fog);
  font-size: 1.05rem;
  margin-top: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  filter: blur(6.5rem);
}

.hero-image {
  position: relative;
  z-index: 3;
  width: min(100%, 43rem);
  object-fit: contain;
  filter: drop-shadow(0 2.5rem 3.5rem color-mix(in srgb, var(--text) 70%, transparent));
}

.hero-side {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: none;
  flex-direction: column;
  gap: 0.7rem;
}

@media (min-width: 1100px) {
  .hero-side {
    display: flex;
  }
}

.hero-side a,
.hero-side span {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--accent);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border: 1px solid var(--hairline);
}

.hero-side svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.services {
  background: color-mix(in srgb, var(--ink) 3%, var(--canvas));
  border-top: 1px solid var(--hairline);
}

.services-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 3.2rem;
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  position: relative;
  min-height: 17.5rem;
  padding: 2.1rem 1.9rem 3.4rem;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
}

.service-card svg {
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 1.5rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}

.service-card p {
  font-size: 0.9rem;
}

.service-card .go {
  position: absolute;
  bottom: 1.6rem;
  left: 1.9rem;
  color: var(--accent);
  font-size: 1.5rem;
}

.about-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.about-photo {
  position: relative;
  min-height: 28rem;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  clip-path: polygon(0 8%, 89% 0, 100% 8%, 82% 100%, 12% 96%);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}

.about-photo::after {
  content: "";
  position: absolute;
  left: -1.4rem;
  bottom: -0.4rem;
  width: 78%;
  height: 70%;
  border-left: 1px solid color-mix(in srgb, var(--accent) 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 80%, transparent);
  pointer-events: none;
}

.about-features {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.6rem;
}

@media (min-width: 700px) {
  .about-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .about-feature + .about-feature {
    border-left: 1px solid var(--hairline);
    padding-left: 1.4rem;
    margin-left: 1.4rem;
  }
}

.about-feature svg {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}

.about-feature h3 {
  font-size: 0.95rem;
}

.about-feature p {
  font-size: 0.78rem;
}

.stats {
  position: relative;
  padding: 2.6rem 0;
  overflow: hidden;
  border-block: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  background: color-mix(in srgb, var(--ink) 4%, var(--canvas));
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat + .stat {
    border-left: 1px solid var(--hairline);
  }
}

.stat {
  text-align: center;
  padding: 0.4rem 1.2rem;
}

.stat strong {
  display: block;
  color: var(--accent);
  font-family: Jost, sans-serif;
  font-size: 2.3rem;
  letter-spacing: -0.04em;
  margin-bottom: 0.45rem;
}

.stat span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.7rem;
  color: var(--fog);
}

.references {
  background: var(--band);
  color: var(--band-ink);
  padding: 4.8rem 0 4rem;
}

.references h2,
.references .kicker {
  text-align: center;
}

.references h2 {
  color: var(--band-ink);
}

.references .kicker {
  color: var(--accent-hover);
}

.refs-wrap {
  overflow: hidden;
  margin-top: 2.8rem;
}

.refs-track {
  display: flex;
}

.refs-track ul {
  display: flex;
  flex: 0 0 100%;
  list-style: none;
}

.client-slot {
  flex: 1;
  min-height: 5.8rem;
  margin: 0 1.2rem;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.82rem;
  color: var(--band-muted);
  border: 1px solid var(--hairline);
  background: var(--surface);
}

.refs-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.8rem;
}

.refs-dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
}

.refs-dots button.is-on {
  width: 1.35rem;
  border-radius: 99px;
  background: var(--band-ink);
}

.cta {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
}

.cta-inner {
  min-height: 13rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.folio {
  padding: 8rem var(--pad) 2.5rem;
  border-bottom: 1px solid var(--hairline);
}

.folio .kicker {
  margin-bottom: 0.7rem;
}

.stack,
.jobs-list,
.people,
.branches,
.reasons {
  display: grid;
  gap: 1.1rem;
  list-style: none;
  margin-top: 1.4rem;
}

.service-row {
  display: grid;
  overflow: hidden;
}

.service-row img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

@media (min-width: 800px) {
  .service-row {
    grid-template-columns: 1fr 1.1fr;
  }

  .service-row:nth-child(even) img {
    order: 2;
  }

  .service-row img {
    height: 100%;
    min-height: 16rem;
  }
}

.split {
  display: grid;
  gap: 1.4rem;
}

.contact-grid,
.apply-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 800px) {
  .split,
  .contact-grid,
  .apply-grid,
  .people,
  .branches,
  .reasons {
    grid-template-columns: 1fr 1fr;
  }
}

.timeline {
  list-style: none;
  margin-top: 1.4rem;
  border-left: 3px solid var(--accent);
}

.timeline li {
  padding: 0 0 1.2rem 1.1rem;
}

.timeline time {
  display: block;
  font-weight: 700;
  color: var(--ink);
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fog);
}

.job-card__meta span {
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--hairline);
}

.apply-aside ul,
.apply-aside ol {
  margin: 0 0 1.1rem 1.1rem;
}

.info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--accent);
  color: var(--accent-contrast);
}

.icon-circle svg {
  width: 1.1rem;
  height: 1.1rem;
}

.map-wrap iframe {
  width: 100%;
  height: 12rem;
  border: 0;
}

.contact-card,
.contact-aside {
  padding: 1.5rem;
}

.site-footer {
  padding: 4rem 0 1.4rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  }
}

.site-footer .logo img {
  height: 3.2rem;
  margin-bottom: 1.2rem;
}

.site-footer h2 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.75rem;
  color: var(--fog);
}

@media (max-width: 880px) {
  .hero {
    min-height: 0;
  }

  .hero-inner {
    text-align: center;
    padding-top: 7.5rem;
  }

  .hero-lead,
  .hero-actions {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .cta-inner,
  .footer__bar {
    flex-direction: column;
    text-align: center;
  }
}
