:root {
  --ink: #202124;
  --muted: #5f6268;
  --soft: #f5f5f2;
  --purple: #663fb2;
  --purple-dark: #563497;
  --talco: #f5f4f4;
  --yellow: #f0dc46;
  --max: 1060px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.45;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--purple);
  transition:
    opacity 640ms ease,
    visibility 640ms ease;
}

.preloader--leaving {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.preloader__inner {
  position: absolute;
  inset: 0;
}

.preloader__frame {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background-image: url("assets/hero-background.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 120px;
  aspect-ratio: 120 / 32;
  background: currentColor;
  mask: url("assets/zircosil-logo.svg") center / contain no-repeat;
  -webkit-mask: url("assets/zircosil-logo.svg") center / contain no-repeat;
}

.brand-small {
  color: var(--purple);
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: min(100% - 32px, 980px);
  margin-bottom: 0;
  color: #1d1d1b;
  font-size: clamp(42px, 5.05vw, 76px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 96px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
}

p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 63px;
  transform: translateX(-50%);
  z-index: 3;
  color: #1d1d1b;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

main {
  position: relative;
  z-index: 2;
  background: transparent;
}

.intro-wave {
  position: relative;
  margin-top: 0;
  padding-top: 190px;
  background: transparent;
}

.intro-wave::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 360px;
  background: #fff;
  clip-path: polygon(0 0, 12% 2%, 24% 7%, 37% 15%, 51% 25%, 66% 36%, 82% 47%, 100% 55%, 100% 100%, 0 100%);
  z-index: 0;
}

.intro-wave::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 240px;
  bottom: 0;
  background: #fff;
  z-index: 0;
}

.layer-logo {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  top: -66px;
  z-index: 3;
}

.section-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(54px, 9vw, 118px);
  align-items: center;
  position: relative;
  z-index: 2;
}

main > .section-grid,
.products {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.media-card {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #ddd;
}

.media-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.figma-crop {
  position: relative;
  aspect-ratio: 213 / 152;
}

.figma-crop img {
  position: absolute;
  width: 293%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
}

.crop-raw img {
  left: -24.4%;
  top: -314%;
}

.crop-industrial img {
  left: -169.5%;
  top: -687.5%;
}

.crop-expertise img {
  width: 291.6%;
  left: -24.3%;
  top: -825%;
}

.copy-block {
  max-width: 520px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  text-underline-offset: 4px;
}

.timeline-band {
  position: relative;
  padding: 70px max(24px, calc((100vw - var(--max)) / 2)) 76px;
  color: #fff;
  overflow: hidden;
  background: var(--purple);
}

.timeline-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/evolution-pattern.svg");
  background-position: left top;
  background-repeat: repeat;
  background-size: 126px 439px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.timeline-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(42px, 10vw, 132px);
  margin-bottom: 76px;
}

.timeline-head h2,
.timeline-head p {
  color: #fff;
}

.timeline {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-right: calc(-1 * max(24px, calc((100vw - var(--max)) / 2)));
  padding-right: 32px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.timeline::-webkit-scrollbar {
  display: none;
}

.timeline-card {
  display: flex;
  flex: 0 0 331px;
  min-height: 331px;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-radius: 10px;
  background: #fff;
  scroll-snap-align: start;
}

.timeline-card strong {
  display: block;
  color: var(--purple);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.timeline-card p {
  margin: 0;
  color: #1d1d1b;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.6;
}

.products {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 142px;
}

.products__intro {
  max-width: 560px;
  margin-bottom: 42px;
}

.accordion {
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  padding: 26px 26px 24px;
}

.accordion__item {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.accordion__item:last-child {
  border-bottom: 0;
}

.accordion__item span:last-child {
  font-size: 18px;
  transition: transform 160ms ease;
}

.accordion__item[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.quality {
  position: relative;
  padding: 95px max(24px, calc((100vw - var(--max)) / 2)) 92px;
  overflow: hidden;
  background: var(--talco);
}

.quality::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/evolution-pattern.svg");
  background-position: left top;
  background-repeat: repeat;
  background-size: 126px 439px;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.quality__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 10vw, 132px);
  margin-bottom: 72px;
}

.quality__cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.quality__cards article {
  min-height: 350px;
  padding: 34px 28px 30px;
  background: #f5f4f4;
}

.quality__cards p,
.quality__cards li {
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
}

.quality__cards ul {
  margin: 18px 0 0;
  padding-left: 6px;
  color: #4d5056;
}

.quality__cards li + li {
  margin-top: 10px;
}

.certification-list {
  list-style: none;
  padding-left: 0;
}

.certification-list li {
  position: relative;
  padding-left: 24px;
  color: #1d1d1b;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.certification-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
}

.certification-list__label,
.certification-list__link {
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.certification-list__label {
  font-weight: 600;
}

.certification-list__link {
  font-weight: 400;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-underline-offset: 0.13em;
  text-decoration-thickness: 0.06em;
  text-decoration-skip-ink: auto;
}

.footer {
  position: relative;
  min-height: 825px;
  padding: 0;
  overflow: hidden;
  background: var(--yellow);
}

.footer__top {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 80px;
  display: grid;
  grid-template-columns: 451px 594px;
  gap: 48px;
  align-items: start;
  justify-content: space-between;
  color: #242424;
  font-size: 12px;
  font-style: normal;
}

.footer__legal,
.footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.footer__contact {
  display: grid;
  grid-template-columns: 200px 350px;
  row-gap: 48px;
  column-gap: 44px;
  justify-content: flex-end;
  text-align: left;
}

.footer__contact-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.footer__contact address,
.footer__contact div {
  font-size: 14px;
  line-height: 1.15;
}

.footer__top p,
.footer__top address {
  margin: 0;
  color: #242424;
  font-style: normal;
}

.footer__top a {
  color: #242424;
  text-decoration: none;
}

.brand-large {
  position: absolute;
  left: 54px;
  top: 416px;
  color: #1d1d1b;
  width: calc(100% - 107px);
  margin-left: 0;
}

.brand-large .brand-logo {
  width: 100%;
}

@media (max-width: 900px) {
  .hero {
    min-height: 620px;
  }

  .section-grid,
  .timeline-head,
  .quality__head {
    grid-template-columns: 1fr;
  }

  .section-grid {
    padding: 76px 0;
  }

  .section-grid--image-right .media-card {
    order: -1;
  }

  .timeline-card {
    flex-basis: min(331px, calc(100vw - 72px));
    min-height: 300px;
  }

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

  .quality__cards article {
    min-height: auto;
  }

  h3 {
    margin-bottom: 40px;
  }

  .footer__top {
    left: 24px;
    right: 24px;
    top: 56px;
    grid-template-columns: 1fr;
  }

  .footer__legal,
  .footer__contact {
    justify-content: space-between;
  }

  .footer__contact {
    grid-template-columns: 200px minmax(0, 350px);
  }

  .brand-large {
    left: 24px;
    top: auto;
    bottom: 48px;
    width: calc(100% - 48px);
    margin-top: 90px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 520px;
    background-position: center;
  }

  .hero__content {
    place-items: center;
  }

  h1 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .scroll-cue {
    bottom: 48px;
    font-size: 12px;
  }

  .intro-wave {
    padding-top: 138px;
  }

  .intro-wave::before {
    top: 0;
    height: 245px;
    clip-path: polygon(0 0, 16% 3%, 31% 10%, 48% 22%, 67% 36%, 84% 48%, 100% 56%, 100% 100%, 0 100%);
  }

  .intro-wave::after {
    top: 160px;
  }

  .layer-logo {
    top: -50px;
    left: 24px;
  }

  .brand-small .brand-logo {
    width: 96px;
  }

  .section-grid,
  .products {
    width: min(100% - 32px, var(--max));
  }

  .timeline-band,
  .quality {
    padding-left: 16px;
    padding-right: 16px;
  }

  .accordion {
    padding: 16px;
  }

  .footer {
    min-height: 560px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer__legal,
  .footer__contact {
    display: grid;
    gap: 14px;
  }

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

  .brand-large {
    width: 100%;
    margin-left: 0;
  }
}
