:root {
  --yellow: #ffd400;
  --purple: #24104f;
  --orange: #ff5d3b;
  --lilac: #c8bfff;
  --white: #ffffff;
  --mist: #f2f1f4;
  --ink: #17121f;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

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

a:focus-visible {
  outline: 4px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 15px;
  background: var(--white);
  color: var(--purple);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: grid;
  min-height: 92px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 14px clamp(20px, 4vw, 68px);
  background: var(--white);
  border-bottom: 3px solid var(--purple);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 13px;
  font-weight: 800;
}

.brand-symbol {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  background: var(--yellow);
  color: var(--purple);
  font-family: var(--display);
  font-size: 35px;
  font-weight: 900;
  line-height: 1;
  transform: skew(-7deg);
}

.brand-name {
  font-size: 15px;
}

nav {
  display: flex;
  gap: clamp(22px, 3vw, 44px);
}

nav a,
.contact-chip {
  font-size: 14px;
  font-weight: 700;
}

nav a {
  padding: 7px 0;
  border-bottom: 3px solid transparent;
}

nav a:hover {
  border-color: var(--yellow);
}

.contact-chip {
  justify-self: end;
  padding: 11px 21px;
  background: var(--purple);
  color: var(--white);
  transform: skew(-5deg);
}

.contact-chip:hover {
  background: var(--orange);
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: calc(100vh - 92px);
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  background: var(--yellow);
}

.hero-message {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(58px, 8vw, 118px) clamp(28px, 6vw, 96px) clamp(54px, 7vw, 100px);
  border-right: 3px solid var(--purple);
}

.location {
  max-width: 430px;
  margin: 0;
  color: var(--purple);
  font-size: 15px;
  font-weight: 700;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.88;
}

h1 {
  max-width: 960px;
  margin: clamp(70px, 9vw, 140px) 0;
  color: var(--purple);
  font-size: clamp(82px, 10vw, 158px);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 44px;
}

.hero-bottom p {
  max-width: 610px;
  margin: 0;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 500;
}

.hero-bottom a {
  padding: 13px 18px;
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.hero-bottom a:hover {
  background: var(--orange);
  color: var(--ink);
}

.route-board {
  display: flex;
  min-height: 630px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 74px);
  background: var(--purple);
  color: var(--white);
}

.board-head,
.board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.board-head {
  margin-bottom: 48px;
  padding-bottom: 17px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

.board-head span {
  font-size: 14px;
  font-weight: 700;
}

.board-head strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: 0.04em;
}

.route-row {
  display: grid;
  grid-template-columns: 60px 1fr 86px;
  align-items: center;
  gap: 22px;
  padding: 23px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.route-code {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--yellow);
  color: var(--purple);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 900;
}

.route-row small {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.route-row strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1;
}

.route-row i {
  height: 18px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 12px, transparent 12px 20px);
}

.board-foot {
  margin-top: 34px;
  color: var(--lilac);
  font-size: 13px;
  font-weight: 700;
}

.company {
  display: grid;
  grid-template-columns: 0.48fr 1.25fr 0.72fr;
  gap: clamp(36px, 6vw, 96px);
  padding: clamp(100px, 13vw, 190px) clamp(24px, 6vw, 100px);
  background: var(--white);
}

.company-index,
.section-heading > p,
.process-title > p,
.contact-title > span {
  color: var(--purple);
  font-size: 14px;
  font-weight: 800;
}

.company-main h2,
.section-heading h2,
.process-title h2,
.contact-title h2 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.company-main p {
  max-width: 760px;
  margin: 38px 0 0;
  color: #554e5f;
  font-size: clamp(18px, 1.5vw, 23px);
}

.company aside {
  align-self: end;
  padding: 26px;
  background: var(--lilac);
  box-shadow: 14px 14px 0 var(--purple);
}

.company aside span {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
}

.company aside strong {
  font-family: var(--display);
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.06;
}

.services {
  padding: clamp(90px, 11vw, 160px) clamp(24px, 6vw, 100px);
  background: var(--mist);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 48px;
  margin-bottom: clamp(58px, 8vw, 108px);
}

.section-heading h2 {
  max-width: 960px;
}

.service-lines {
  border-top: 3px solid var(--purple);
}

.service-lines article {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.75fr 170px;
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  min-height: 210px;
  padding: 34px 0;
  overflow: hidden;
  border-bottom: 3px solid var(--purple);
}

.service-name {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}

.service-name > span {
  display: grid;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  place-items: center;
  background: var(--purple);
  color: var(--yellow);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 900;
}

.service-lines h3 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 800;
}

.service-lines p {
  max-width: 520px;
  margin: 0;
  color: #5d5664;
}

.line-signal {
  justify-self: end;
  width: 150px;
  height: 40px;
  transform: skew(-18deg);
}

.signal-yellow {
  background: var(--yellow);
}

.signal-orange {
  background: var(--orange);
}

.signal-lilac {
  background: var(--lilac);
}

.process {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 10vw, 160px);
  padding: clamp(100px, 13vw, 190px) clamp(24px, 6vw, 100px);
  background: var(--purple);
  color: var(--white);
}

.process-title > p {
  margin-bottom: 28px;
  color: var(--yellow);
}

.process-title h2 {
  color: var(--white);
}

.process-track {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-track::before {
  position: absolute;
  content: "";
  left: 30px;
  top: 40px;
  bottom: 40px;
  width: 5px;
  background: var(--yellow);
}

.process-track li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 30px 0 42px;
}

.process-track > li > span {
  z-index: 1;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 5px solid var(--yellow);
  background: var(--purple);
  color: var(--yellow);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 900;
}

.process-track h3 {
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 800;
}

.process-track p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.contact {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 80px;
  padding: clamp(96px, 12vw, 170px) clamp(24px, 6vw, 100px);
  background: var(--orange);
}

.contact-title > span {
  display: block;
  margin-bottom: 28px;
}

.contact-title h2 {
  max-width: 820px;
}

.contact-links {
  align-self: end;
}

.contact-links a {
  display: block;
  padding: 24px 0 27px;
  border-top: 3px solid var(--purple);
}

.contact-links a:last-child {
  border-bottom: 3px solid var(--purple);
}

.contact-links span {
  display: block;
  margin-bottom: 5px;
  color: rgba(36, 16, 79, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.contact-links strong {
  color: var(--purple);
  font-family: var(--display);
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-links a:hover strong {
  color: var(--white);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(24px, 6vw, 100px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--yellow);
  font-weight: 700;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

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

  .hero-message {
    border-right: 0;
    border-bottom: 3px solid var(--purple);
  }

  .company {
    grid-template-columns: 0.5fr 1.5fr;
  }

  .company aside {
    grid-column: 2;
  }

  .service-lines article {
    grid-template-columns: 1fr 1fr;
  }

  .line-signal {
    display: none;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 82px;
    padding: 14px 18px;
  }

  .brand-symbol {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    display: none;
  }

  .contact-chip {
    padding: 9px 15px;
  }

  .hero {
    min-height: 0;
  }

  .hero-message {
    padding: 58px 22px 65px;
  }

  h1 {
    margin: 70px 0;
    font-size: clamp(76px, 24vw, 112px);
  }

  .hero-bottom {
    grid-template-columns: 1fr;
  }

  .hero-bottom a {
    width: max-content;
  }

  .route-board {
    min-height: 540px;
    padding: 46px 22px;
  }

  .route-row {
    grid-template-columns: 48px 1fr;
  }

  .route-row i {
    display: none;
  }

  .route-code {
    width: 42px;
    height: 42px;
  }

  .company,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .company aside {
    grid-column: auto;
  }

  .service-lines article {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 38px 0 44px;
  }

  .service-name {
    align-items: flex-start;
  }

  .service-name > span {
    width: 54px;
    height: 54px;
  }

  .process-track li {
    grid-template-columns: 55px 1fr;
    gap: 22px;
  }

  .process-track::before {
    left: 25px;
  }

  .process-track > li > span {
    width: 55px;
    height: 55px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
