:root {
  --black: #000;
  --white: #fff;
  --line: 1px solid var(--black);
  --display: "Krona One", "Arial Black", Arial, sans-serif;
  --text: "Outfit", "Helvetica Neue", Arial, sans-serif;
}

@font-face {
  font-family: "Krona One";
  src: url("assets/krona-one.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--black);
  background: var(--white);
  font-family: var(--text);
}

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

button {
  font: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
  padding: 12px;
  border-bottom: var(--line);
  background: var(--white);
}

.logo {
  display: flex;
  align-items: center;
  width: 142px;
  min-width: 142px;
  line-height: 0;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 200;
  white-space: nowrap;
}

.desktop-nav a,
.footer-policies a,
.footer-social a {
  transition: font-weight 160ms ease;
}

.desktop-nav a:hover,
.footer-policies a:hover,
.footer-social a:hover {
  font-weight: 600;
}

.desktop-nav .is-active {
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-button {
  position: relative;
  width: 25px;
  height: 25px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cart-button::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 15px;
  height: 13px;
  border: 2px solid var(--black);
  border-top: 0;
}

.cart-button::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 1px;
  width: 9px;
  height: 7px;
  border: 2px solid var(--black);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.cart-button span::before,
.cart-button span::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--black);
}

.cart-button span::before {
  left: 6px;
}

.cart-button span::after {
  right: 5px;
}

.menu-toggle {
  display: none;
  width: 26px;
  height: 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--black);
}

.mobile-menu {
  position: fixed;
  inset: 65px 0 0;
  z-index: 15;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
}

body:has(.equipment-heading) .site-header .menu-toggle {
  display: none;
}

body:has(.projects-heading) .site-header .menu-toggle {
  display: none;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 10px 15px;
  border: var(--line);
  border-left: 0;
  border-right: 0;
  font-family: var(--display);
  font-size: clamp(25px, 7vw, 48px);
  line-height: 1;
}

.mobile-menu nav a:hover,
.service-list a:hover {
  color: var(--white);
  background: var(--black);
}

.mobile-menu-footer {
  display: flex;
  align-items: center;
  border-top: var(--line);
}

.footer-mark {
  display: grid;
  flex: 0 0 84px;
  width: 84px;
  height: 72px;
  place-items: center;
  border-right: var(--line);
  padding: 12px 14px;
}

.footer-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-policies {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 8px 16px;
  font-size: 9px;
}

.mobile-social {
  display: flex;
  gap: 10px;
  padding: 0 12px;
  font-weight: 800;
}

.hero {
  display: flex;
  min-height: min(760px, calc(100vh - 130px));
}

.hero-copy {
  display: flex;
  width: 55%;
  padding: 80px 0 0 30px;
  flex-direction: column;
  justify-content: space-between;
}

.cookies-dismissed .hero-copy {
  justify-content: flex-start;
  gap: 34px;
  padding-bottom: 34px;
}

.cookies-dismissed .join-row {
  margin-top: 2px;
}

.hero-title h1,
.service-list a span {
  font-family: var(--display);
  font-size: clamp(45px, 5.15vw, 74px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-title h1 {
  display: grid;
}

.hero-title h1 span {
  display: block;
}

.hero-title h1 span:first-child {
  animation: from-right 900ms cubic-bezier(0.77, 0.32, 0.2, 0.98) both;
}

.hero-title h1 span:nth-child(2) {
  animation: fade-in 900ms ease both 120ms;
}

.hero-title h1 span:nth-child(3) {
  animation: from-left 900ms cubic-bezier(0.77, 0.32, 0.2, 0.98) both 80ms;
}

.hero-subtitle {
  margin-top: 34px;
}

.hero-subtitle p {
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 300;
  line-height: 1.25;
}

.join-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding-right: 15%;
  padding-bottom: 10px;
}

.join-row .join-button[hidden] {
  display: none;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  min-height: 42px;
  padding: 10px 6px;
  border: 2px solid var(--black);
  background: var(--white);
  font-size: 15px;
  font-weight: 300;
  text-align: center;
  cursor: pointer;
}

.outline-button:hover,
.cookies button:hover,
.cookies a:hover {
  transform: translate(1px, -1px);
}

.subscribe-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 455px;
  min-width: 0;
}

.subscribe-form[hidden] {
  display: none;
}

.subscribe-form input {
  flex: 1;
  width: auto;
  min-width: 160px;
  min-height: 42px;
  padding: 10px 6px;
  border: 2px solid var(--black);
  border-radius: 0;
  font-family: var(--text);
  font-size: 15px;
  font-weight: 300;
  outline: none;
}

.subscribe-form input::placeholder {
  color: #6f6f6f;
  opacity: 1;
}

.subscribe-form button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 8px;
  border: 2px solid var(--black);
  color: var(--white);
  background: var(--black);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.subscribe-form button:hover {
  transform: translate(1px, -1px);
}

.down-arrow {
  flex: 0 0 auto;
  font-size: 54px;
  font-weight: 900;
  line-height: 0.8;
}

.cookies {
  display: flex;
  width: 100%;
  padding: 20px;
  flex-direction: column;
  gap: 7px;
  border: var(--line);
  background: var(--white);
}

.cookies[hidden] {
  display: none;
}

.cookies-title {
  font-size: 24px;
  font-weight: 700;
}

.cookies p:not(.cookies-title) {
  font-size: 16px;
  font-weight: 200;
  line-height: 1.25;
}

.cookies-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookies-actions div {
  display: flex;
  gap: 10px;
}

.cookies button,
.cookies a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border: var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
}

.cookies button:focus-visible,
.cookies a:focus-visible,
.outline-button:focus-visible,
.subscribe-form button:focus-visible,
.subscribe-form input:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.cookies .dark-button {
  min-width: 150px;
  justify-content: center;
  color: var(--white);
  background: var(--black);
}

.hero-image {
  width: 45%;
  background: var(--white);
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(760px, calc(100vh - 130px));
  object-fit: contain;
  object-position: top center;
  background: var(--white);
}

.mobile-hero-content {
  display: none;
}

.service-list {
  animation: fade-in 700ms ease both 300ms;
}

.service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 12px 0 0;
  border-top: 2px solid var(--black);
  border-right: 2px solid var(--black);
}

.service-list a b {
  display: none;
  margin-right: 1%;
  font-size: 34px;
}

.service-list a:hover b {
  display: block;
}

.site-footer {
  border-top: var(--line);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0;
  overflow: hidden;
}

.footer-policies {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex: 1;
  gap: 4px 0;
  min-width: 0;
  padding: 8px 14px;
  border-right: var(--line);
  font-size: clamp(9px, 0.9vw, 12px);
  line-height: 1.15;
  text-align: center;
}

.footer-policies span {
  margin: 0 8px;
}

.footer-social {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  align-self: stretch;
  padding: 0 26px;
  border-right: var(--line);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 500;
  white-space: nowrap;
}

.footer-policies-mobile {
  display: none;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 136px;
  min-height: 50px;
  margin: 0 8px;
  padding: 8px 9px;
  border: 2px solid var(--black);
  font-size: 11px;
  line-height: 1.15;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 12px 30px;
  border-top: var(--line);
  font-size: 12px;
  line-height: 1.2;
}

.equipment-heading {
  padding: 100px 40px;
  border-bottom: var(--line);
}

.equipment-heading h2 {
  font-family: var(--text);
  font-size: clamp(18px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  animation: from-left 800ms ease both;
}

.equipment-heading h1 {
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 74px);
  font-weight: 400;
  line-height: 1.15;
  animation: fade-in 650ms ease both 120ms;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.equipment-category {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 0;
  border: var(--line);
  color: var(--black);
  background: var(--white);
  text-align: center;
}

.equipment-category.left {
  border-left: 0;
}

.equipment-category.right {
  border-right: 0;
}

.equipment-category img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f2f2f2;
}

.equipment-category p {
  padding: 25px 0;
  font-family: var(--text);
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
}

.equipment-category:hover {
  background: var(--black);
  color: var(--white);
}

.projects-heading {
  padding: 100px 40px 84px;
  border-bottom: var(--line);
}

.projects-heading p {
  font-size: clamp(18px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  animation: from-left 800ms ease both;
}

.projects-heading h1 {
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 74px);
  font-weight: 400;
  line-height: 1.15;
  animation: fade-in 650ms ease both 120ms;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  border-right: var(--line);
  border-bottom: var(--line);
}

.project-card:nth-child(2n) {
  border-right: 0;
}

.project-card a {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  color: var(--black);
  background: var(--white);
}

.project-kicker {
  padding: 20px 24px;
  border-bottom: var(--line);
  font-size: clamp(19px, 2.2vw, 32px);
  font-weight: 300;
}

.project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #f4f4f4;
}

.project-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-top: var(--line);
}

.project-meta h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 50px);
  font-weight: 400;
  line-height: 1.05;
}

.project-meta p {
  font-size: clamp(15px, 1.8vw, 26px);
  font-weight: 300;
  text-align: right;
}

.project-card a:hover {
  color: var(--white);
  background: var(--black);
}

.legal-page {
  padding: 90px 40px;
  border-bottom: var(--line);
}

.legal-page > p {
  font-size: clamp(18px, 3vw, 36px);
  font-weight: 300;
}

.legal-page h1 {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 74px);
  font-weight: 400;
  line-height: 1.1;
}

.legal-content {
  max-width: 900px;
  margin-top: 54px;
  border-top: var(--line);
}

.legal-content h2 {
  padding-top: 28px;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 600;
}

.legal-content p {
  max-width: 75ch;
  padding: 10px 0 26px;
  border-bottom: var(--line);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.45;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes from-right {
  from {
    opacity: 0;
    transform: translateX(500px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes from-left {
  from {
    opacity: 0;
    transform: translateX(-500px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 14px;
    font-size: 12px;
  }

  .hero-copy {
    width: 57%;
    padding-left: 24px;
  }

  .hero-image {
    width: 43%;
  }

  .hero-title h1,
  .service-list a span {
    font-size: clamp(42px, 5vw, 62px);
  }

  .hero-subtitle p {
    font-size: clamp(24px, 2.45vw, 30px);
  }
}

@media (max-width: 1120px) {
  .footer-policies {
    padding-inline: 8px;
    font-size: 9px;
  }

  .footer-policies span {
    margin: 0 5px;
  }

  .footer-social {
    padding-inline: 14px;
    font-size: 10px;
  }

  .contact-link {
    flex-basis: 118px;
    font-size: 10px;
  }
}

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

  .menu-toggle {
    display: block;
  }

  body:has(.equipment-heading) .site-header .menu-toggle {
    display: block;
  }

  body:has(.projects-heading) .site-header .menu-toggle {
    display: block;
  }

  .site-header {
    min-height: 62px;
  }

  .mobile-menu {
    inset: 62px 0 0;
    overflow-y: auto;
  }

  .mobile-menu nav a {
    min-height: clamp(58px, 11vh, 92px);
    font-size: clamp(28px, 7vw, 58px);
  }
}

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

  .hero-copy {
    width: 100%;
    padding: 54px 20px 18px;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
  }

  .cookies-dismissed .hero-copy {
    gap: 18px;
    padding-bottom: 18px;
  }

  .desktop-subtitle,
  .join-row,
  .desktop-cookies {
    display: none;
  }

  .hero-title h1 {
    font-size: clamp(40px, 8.5vw, 64px);
  }

  .hero-image {
    width: 100%;
    padding: 15px;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 5;
    border: var(--line);
    background: var(--white);
  }

  .mobile-hero-content {
    display: flex;
    padding: 5px 20px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .cookies-dismissed .mobile-hero-content {
    padding-bottom: 18px;
  }

  .mobile-hero-content .outline-button {
    width: min(250px, 60vw);
  }

  .mobile-hero-content .subscribe-form {
    width: 100%;
  }

  .service-list a {
    min-height: 74px;
  }

  .service-list a span {
    font-size: clamp(34px, 7.2vw, 58px);
  }

  .footer-main {
    min-height: 64px;
  }

  .footer-mark {
    flex-basis: 74px;
    width: 74px;
    height: 64px;
    padding: 10px 12px;
  }

  .footer-policies {
    font-size: 8px;
    padding-inline: 6px;
  }

  .footer-social {
    padding-inline: 10px;
    font-size: 9px;
  }

  .contact-link {
    flex-basis: 104px;
    margin-inline: 6px;
    font-size: 9px;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 10px;
  }

  .logo {
    width: 118px;
    min-width: 118px;
  }

  .mobile-menu nav a {
    padding-inline: 12px;
    font-size: clamp(26px, 7.6vw, 48px);
  }

  .equipment-heading {
    padding: 70px 28px;
  }

  .projects-heading {
    padding: 70px 28px;
  }

  .equipment-category {
    padding: 8px 8px 0;
  }

  .equipment-category p {
    padding: 14px 0;
  }

  .project-meta {
    display: block;
  }

  .project-meta p {
    margin-top: 8px;
    text-align: left;
  }

  .projects-grid,
  .equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-kicker {
    padding: 16px;
  }

  .project-meta {
    padding: 16px;
  }

  .legal-page {
    padding: 62px 28px;
  }
}

@media (max-width: 580px) {
  .site-header {
    min-height: 58px;
    padding: 9px 10px;
  }

  .logo {
    width: 106px;
    min-width: 106px;
  }

  .mobile-menu {
    inset: 58px 0 0;
  }

  .hero-copy {
    padding-top: 22px;
  }

  .hero-title h1 {
    font-size: clamp(31px, 9.5vw, 42px);
    line-height: 1.22;
  }

  .hero-image {
    padding: 10px 0 0;
  }

  .hero-image img {
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-left: 0;
    border-right: 0;
  }

  .hero-subtitle p {
    font-size: 17px;
  }

  .mobile-hero-content .outline-button {
    width: 100%;
  }

  .subscribe-form {
    width: 100%;
    gap: 8px;
  }

  .subscribe-form input {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .subscribe-form button {
    flex: 0 0 auto;
    padding-inline: 8px;
    font-size: 12px;
  }

  .cookies-title {
    font-size: 14px;
  }

  .cookies p:not(.cookies-title) {
    font-size: 10px;
  }

  .cookies-actions,
  .cookies-actions div {
    gap: 7px;
  }

  .cookies button,
  .cookies a {
    font-size: 10px;
  }

  .cookies .dark-button {
    min-width: 90px;
  }

  .service-list {
    display: block;
  }

  .service-list a {
    min-height: 62px;
    padding: 6px 10px;
    border-right: 0;
  }

  .service-list a span {
    font-size: clamp(24px, 8.2vw, 38px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .service-list a b {
    display: block;
    font-size: 24px;
  }

  .footer-policies,
  .footer-social,
  .contact-link {
    display: none;
  }

  .footer-policies-mobile {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 5px 14px;
    border-right: var(--line);
    font-size: 8px;
  }

  .footer-policies-mobile span {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .footer-main {
    align-items: stretch;
    min-height: 58px;
    padding: 0;
  }

  .footer-main::after {
    content: "IG  IN  @";
    display: flex;
    flex: 0 0 78px;
    align-items: center;
    justify-content: space-around;
    padding-inline: 6px;
    font-weight: 800;
    font-size: 10px;
  }

  .footer-mark {
    flex-basis: 58px;
    width: 58px;
    height: auto;
    padding: 5px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    font-size: 8px;
    text-align: left;
  }

  .equipment-heading {
    padding: 30px 0 30px 20px;
  }

  .projects-heading {
    padding: 30px 0 30px 20px;
  }

  .equipment-heading h1 {
    font-size: 35px;
  }

  .projects-heading h1 {
    font-size: 35px;
  }

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

  .project-card {
    border-right: 0;
  }

  .project-card img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .project-kicker {
    padding: 14px 16px;
  }

  .project-meta {
    padding: 16px;
  }

  .legal-page {
    padding: 32px 18px;
  }

  .legal-content {
    margin-top: 32px;
  }

  .equipment-category p {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .mobile-menu nav a {
    min-height: 56px;
    font-size: clamp(23px, 7.4vw, 32px);
  }

  .hero-copy {
    padding-inline: 12px;
  }

  .hero-title h1 {
    font-size: clamp(28px, 8.8vw, 35px);
  }

  .mobile-hero-content {
    padding-inline: 12px;
  }

  .subscribe-form {
    flex-direction: column;
    align-items: stretch;
  }

  .subscribe-form input,
  .subscribe-form button {
    width: 100%;
  }

  .cookies-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookies-actions div {
    flex-wrap: wrap;
  }

  .service-list a span {
    font-size: clamp(22px, 8vw, 32px);
  }

  .projects-heading,
  .equipment-heading {
    padding: 26px 12px;
  }

  .projects-heading h1,
  .equipment-heading h1 {
    font-size: clamp(27px, 8.4vw, 34px);
  }

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

  .equipment-category.left,
  .equipment-category.right {
    border-left: 0;
    border-right: 0;
  }

  .footer-policies-mobile {
    padding-inline: 8px;
    font-size: 7px;
  }

  .footer-main::after {
    flex-basis: 64px;
    font-size: 8px;
  }
}
