@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600&family=Oxanium:wght@500;600&family=Rajdhani:wght@500;600&display=swap");

:root {
  --xvia-black: #121212;
  --xvia-gunmetal: #2e2e2e;
  --xvia-blue: #007bff;
  --xvia-sand: #c2b280;
  --backgrounddefault: #ffffff;
  --backgroundmuted: #f8f8f8;
  --backgroundprimary: var(--xvia-black);
  --textdefault: var(--xvia-gunmetal);
  --icondefault: var(--xvia-gunmetal);
  --heading-h1-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-h2-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-h3-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-h4-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-h5-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-h6-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-medium-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-large-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-xlarge-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-small-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-uppercase-large-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-uppercase-italic-large-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-uppercase-xlarge-font-family: "Oxanium", "Exo 2", Helvetica, sans-serif;
  --heading-h1-letter-spacing: 0.04em;
  --heading-h2-letter-spacing: 0.04em;
  --heading-h3-letter-spacing: 0.03em;
  --heading-h4-letter-spacing: 0.03em;
  --heading-h5-letter-spacing: 0.03em;
  --heading-h6-letter-spacing: 0.03em;
  --heading-medium-letter-spacing: 0.04em;
  --heading-large-letter-spacing: 0.04em;
  --heading-xlarge-letter-spacing: 0.04em;
  --heading-small-letter-spacing: 0.04em;
  --heading-uppercase-large-letter-spacing: 0.04em;
  --heading-uppercase-italic-large-letter-spacing: 0.04em;
  --heading-uppercase-xlarge-letter-spacing: 0.04em;
  --text-xlarge-font-family: "Exo 2", Helvetica, sans-serif;
  --text-large-font-family: "Exo 2", Helvetica, sans-serif;
  --text-medium-font-family: "Exo 2", Helvetica, sans-serif;
  --text-default-font-family: "Exo 2", Helvetica, sans-serif;
  --text-small-font-family: "Exo 2", Helvetica, sans-serif;
  --text-meta-font-family: "Rajdhani", "Exo 2", Helvetica, sans-serif;
}

h1 {
  font-family: var(--heading-h1-font-family);
  letter-spacing: var(--heading-h1-letter-spacing);
  text-transform: uppercase;
}

h2 {
  font-family: var(--heading-h2-font-family);
  letter-spacing: var(--heading-h2-letter-spacing);
  text-transform: uppercase;
}

.page-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: center;
  background-color: var(--backgrounddefault);
  border-radius: clamp(24px, 6vw, 96px);
  overflow: hidden;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-bottom: clamp(4rem, 7vw, 5.5rem);
  margin-bottom: clamp(-5rem, -8vw, -6rem);
  overflow: hidden;
  border-radius: clamp(24px, 6vw, 96px) clamp(24px, 6vw, 96px) 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(0.75rem, 3vw, 1.5rem) clamp(1rem, 4vw, 1.75rem);
  background: transparent;
  backdrop-filter: none;
  box-sizing: border-box;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  height: clamp(56px, 12vw, 80px);
  width: auto;
}

.hero-nav {
  display: flex;
  justify-content: center;
  flex: 1;
}

.hero-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  cursor: pointer;
  padding: 8px;
}

.hero-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-nav .header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 10px 14px;
}

.hero-link {
  font-family: var(--text-default-font-family);
  font-weight: 500;
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
  color: var(--textinverse);
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.hero-link:hover {
  opacity: 0.8;
}

.hero-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

.hero-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

.hero-social-btn img {
  width: 18px;
  height: 18px;
  filter: none;
}

.hero-social-btn svg {
  width: 18px;
  height: 18px;
  fill: #000;
  display: block;
}

.page-404 {
  background: var(--backgroundprimary);
  color: var(--textinverse);
  margin: 0;
}

.page-404 .hero-section {
  margin-bottom: 0;
  border-radius: clamp(24px, 6vw, 64px);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  min-height: 100vh;
  padding-bottom: 0;
}

.page-404 .hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-404 .hero-text {
  top: auto;
  bottom: clamp(2rem, 5vw, 3rem);
  left: 0;
  right: 0;
  transform: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  text-align: left;
  gap: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  width: 100%;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
  box-sizing: border-box;
}

.page-404 .hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.page-404 .hero-text .button {
  justify-self: end;
  align-self: end;
  margin-left: auto;
}

.page-404 .hero-kicker {
  font-family: var(--heading-uppercase-italic-large-font-family);
  font-weight: var(--heading-uppercase-italic-large-font-weight);
  font-size: clamp(2rem, 6vw, var(--heading-uppercase-italic-large-font-size));
  letter-spacing: var(--heading-uppercase-italic-large-letter-spacing);
  line-height: 1.05;
  color: var(--textinverse);
  font-style: var(--heading-uppercase-italic-large-font-style);
}

.page-404 .hero-title {
  font-family: var(--heading-uppercase-large-font-family);
  font-weight: var(--heading-uppercase-large-font-weight);
  font-size: clamp(2.5rem, 7vw, var(--heading-uppercase-large-font-size));
  letter-spacing: var(--heading-uppercase-large-letter-spacing);
  line-height: 1.05;
  color: var(--textinverse);
  font-style: var(--heading-uppercase-large-font-style);
}

.page-404 .hero-caption {
  max-width: 40ch;
  font-family: var(--text-xlarge-font-family);
  font-weight: var(--text-xlarge-font-weight);
  font-size: clamp(1.125rem, 3vw, var(--text-xlarge-font-size));
  letter-spacing: var(--text-xlarge-letter-spacing);
  line-height: var(--text-xlarge-line-height);
  color: var(--textinverse);
  font-style: var(--text-xlarge-font-style);
}

.project-page .hero-kicker {
  font-family: var(--heading-uppercase-italic-large-font-family);
  font-weight: var(--heading-uppercase-italic-large-font-weight);
  font-size: clamp(2rem, 6vw, var(--heading-uppercase-italic-large-font-size));
  letter-spacing: var(--heading-uppercase-italic-large-letter-spacing);
  line-height: 1.05;
  color: var(--textinverse);
  font-style: var(--heading-uppercase-italic-large-font-style);
  white-space: normal;
  max-width: 40ch;
}

.project-page .hero-title {
  font-family: var(--heading-uppercase-large-font-family);
  font-weight: var(--heading-uppercase-large-font-weight);
  font-size: clamp(2.5rem, 7vw, var(--heading-uppercase-large-font-size));
  letter-spacing: var(--heading-uppercase-large-letter-spacing);
  line-height: 1.05;
  color: var(--textinverse);
  font-style: var(--heading-uppercase-large-font-style);
}

.project-page .hero-caption {
  max-width: 40ch;
  font-family: var(--text-xlarge-font-family);
  font-weight: var(--text-xlarge-font-weight);
  font-size: clamp(1.125rem, 3vw, var(--text-xlarge-font-size));
  letter-spacing: var(--text-xlarge-letter-spacing);
  line-height: var(--text-xlarge-line-height);
  color: var(--textinverse);
  font-style: var(--text-xlarge-font-style);
}

@media (max-width: 960px) {
  .page-404 .hero-section {
    min-height: 100vh;
  }
}

@media (max-width: 640px) {
  .page-404 .hero-section {
    border-radius: clamp(18px, 8vw, 32px);
  }

  .page-404 .hero-text {
    grid-template-columns: 1fr;
    padding: clamp(1.5rem, 5vw, 2rem) clamp(1rem, 5vw, 1.5rem) clamp(2rem, 6vw, 2.5rem);
    left: 0;
    right: 0;
    bottom: 0;
    gap: 1.1rem;
  }

  .page-404 .hero-text .button {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 1.1rem 1.75rem;
    margin-top: 1.1rem;
  }

  .page-wrapper .div-5 {
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
    margin-left: 0;
  }
}


.page-wrapper .hero {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 0;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.hero-text {
  position: absolute;
  top: clamp(6rem, 22vh, 28vh);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--textinverse);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  max-width: 640px;
}

.hero-kicker {
  font-family: var(--heading-h2-font-family);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  color: var(--xvia-blue);
  text-transform: uppercase;
  white-space: nowrap;
  max-width: none;
}

.page-wrapper .hero-text {
  top: clamp(6rem, 22vh, 28vh);
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  text-align: center;
  align-items: center;
  max-width: 640px;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.page-wrapper .hero-kicker {
  font-family: var(--heading-uppercase-italic-large-font-family);
  font-weight: var(--heading-uppercase-italic-large-font-weight);
  font-size: clamp(1.4rem, 4vw, var(--heading-uppercase-italic-large-font-size));
  letter-spacing: var(--heading-uppercase-italic-large-letter-spacing);
  line-height: 1.05;
  color: var(--textinverse);
  white-space: normal;
  max-width: 40ch;
  padding: clamp(0.25rem, 0.7vw, 0.6rem) clamp(0.6rem, 1.6vw, 1.1rem);
  border: 1px solid var(--xvia-blue);
  border-radius: 999px;
}

/* Project hero overrides */
.project-page .hero-text .hero-kicker {
  font-size: clamp(2rem, 6vw, var(--heading-uppercase-italic-large-font-size));
  letter-spacing: var(--heading-uppercase-italic-large-letter-spacing);
  padding: 0;
  border: none;
  max-width: 40ch;
}

.project-page .hero-kicker {
  padding: 0;
  border: none;
}

.page-wrapper .hero-title {
  font-family: var(--heading-uppercase-large-font-family);
  font-weight: var(--heading-uppercase-large-font-weight);
  font-size: clamp(2.5rem, 7vw, var(--heading-uppercase-large-font-size));
  letter-spacing: var(--heading-uppercase-large-letter-spacing);
  line-height: 1.05;
  color: var(--textinverse);
  font-style: var(--heading-uppercase-large-font-style);
  text-transform: uppercase;
}

.page-wrapper .hero-caption {
  max-width: 40ch;
  font-family: var(--text-xlarge-font-family);
  font-weight: var(--text-xlarge-font-weight);
  font-size: clamp(1.125rem, 3vw, var(--text-xlarge-font-size));
  letter-spacing: var(--text-xlarge-letter-spacing);
  line-height: var(--text-xlarge-line-height);
  color: var(--textinverse);
  font-style: var(--text-xlarge-font-style);
}

.hero-title {
  font-family: var(--heading-uppercase-large-font-family);
  font-weight: 600;
  font-size: clamp(2.8rem, 8.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: var(--heading-uppercase-large-letter-spacing);
  text-transform: uppercase;
}

.hero-caption {
  font-family: var(--text-default-font-family);
  font-weight: 500;
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .hero-menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 17;
  }

  .hero-header {
    justify-content: center;
  }

  .hero-brand,
  .hero-social {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero-brand {
    left: clamp(0.75rem, 4vw, 1.25rem);
  }

  .hero-social {
    right: clamp(0.75rem, 4vw, 1.25rem);
  }

  .hero-nav {
    position: absolute;
    top: clamp(3.25rem, 12vw, 4rem);
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 16;
    pointer-events: none;
  }

  .hero-nav .header-pill {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 12px;
    background-color: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
  }

  .hero-link {
    display: block;
    padding: 0.6rem 1.2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
  }

  body.menu-open .hero-nav {
    pointer-events: auto;
  }

  body.menu-open .hero-nav .header-pill {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.menu-open .hero-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.menu-open .hero-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .hero-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .hero-kicker {
    font-size: 0.85rem;
    letter-spacing: 1px;
    white-space: nowrap;
  }
}

.hero-kicker {
  font-family: var(--heading-h2-font-family);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--heading-uppercase-large-font-family);
  font-weight: 600;
  font-size: clamp(2.5rem, 8vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: var(--heading-uppercase-large-letter-spacing);
  text-transform: uppercase;
}

.hero-caption {
  font-family: var(--text-meta-font-family);
  font-weight: var(--text-meta-font-weight);
  font-size: clamp(0.9rem, 2.6vw, 1rem);
  letter-spacing: var(--text-meta-letter-spacing);
}

.page-wrapper .inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3rem, 5vw, 5.5rem);
  margin-top: clamp(-3rem, -6vw, -5rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--backgrounddefault);
  border-radius: clamp(24px, 6vw, 96px) clamp(24px, 6vw, 96px) 0 0;
  box-shadow: none;
  border-top: 1px solid var(--borderdefault);
  overflow: visible;
  position: relative;
  z-index: 2;
}

.page-wrapper .section-services {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding: clamp(2.5rem, 6vw, 6rem) 0 clamp(3rem, 6vw, 7.5rem);
  background-color: var(--backgrounddefault);
  border-radius: clamp(24px, 6vw, 96px) clamp(24px, 6vw, 96px) 0 0;
  overflow: hidden;
}

.page-wrapper .container,
.footer .container {
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: stretch;
  box-sizing: border-box;
}

.page-wrapper .text-wrapper {
  width: fit-content;
  margin-top: 0.3em;
  margin-bottom: 0;
  padding-top: 0.3em;
  font-family: var(--heading-h2-font-family);
  font-weight: var(--heading-h2-font-weight);
  color: var(--textdefault);
  font-size: clamp(0.875rem, 2vw, var(--text-meta-font-size));
  letter-spacing: var(--heading-h2-letter-spacing);
  line-height: var(--text-meta-line-height);
  white-space: nowrap;
  font-style: var(--text-meta-font-style);
  text-transform: uppercase;
}

.page-wrapper .grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3.5vw, 4rem);
  width: 100%;
}

.page-wrapper .div {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
  align-items: flex-start;
}

.page-wrapper .section-products .product-card {
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 2rem);
}

.page-wrapper .section-products .product-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  flex: 1;
}

.page-wrapper .section-products .product-media {
  flex: 0 0 clamp(120px, 18vw, 200px);
  width: clamp(120px, 18vw, 200px);
  aspect-ratio: 1 / 1;
  border-radius: clamp(14px, 2vw, 22px);
  background: #ececec;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  align-self: flex-start;
}

.page-wrapper .text-wrapper-2 {
  font-family: var(--text-meta-font-family);
  font-weight: 600;
  color: var(--textdefault);
  font-size: clamp(1rem, 4vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.page-wrapper .text-wrapper-3 {
  width: 100%;
  font-family: var(--heading-h3-font-family);
  font-weight: var(--heading-h3-font-weight);
  color: var(--textdefault);
  font-size: clamp(1.25rem, 4vw, var(--heading-h3-font-size));
  letter-spacing: var(--heading-h3-letter-spacing);
  line-height: 1.2;
  font-style: var(--heading-h3-font-style);
  text-transform: uppercase;
}

.page-wrapper .div-2 {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
}

.page-wrapper .p {
  margin-top: -1px;
  font-family: var(--text-medium-font-family);
  font-weight: var(--text-medium-font-weight);
  color: var(--textdefault);
  font-size: clamp(1rem, 3vw, var(--text-medium-font-size));
  letter-spacing: var(--text-medium-letter-spacing);
  line-height: var(--text-medium-line-height);
  font-style: var(--text-medium-font-style);
}

.page-wrapper .div-3 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-wrapper .text-wrapper-4 {
  width: fit-content;
  font-family: var(--text-meta-font-family);
  font-weight: var(--text-meta-font-weight);
  color: var(--textdefault);
  font-size: clamp(0.875rem, 2.5vw, var(--text-meta-font-size));
  letter-spacing: var(--text-meta-letter-spacing);
  line-height: var(--text-meta-line-height);
  white-space: nowrap;
  font-style: var(--text-meta-font-style);
}

.page-wrapper .border {
  width: 100%;
  height: 1px;
  background-color: #e8e8e8;
}

.page-wrapper section.div-4 {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.page-wrapper .project,
.page-wrapper .project-2,
.page-wrapper .project-3 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  border-radius: clamp(24px, 6vw, 96px);
  overflow: hidden;
  background-size: cover;
  background-position: 50% 50%;
  background-color: #66b4c0;
}

.page-wrapper .project {
  background-image: url(./img/image.png);
}

.page-wrapper .overlay,
.page-wrapper .overlay-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.55;
}

.page-wrapper .content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(2.5rem, 5vw, 7rem);
  color: var(--textinverse);
  box-sizing: border-box;
}

.page-wrapper .div-5 {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 2rem);
}

.page-wrapper .project .div-5,
.page-wrapper .project-2 .div-5,
.page-wrapper .project-3 .div-5 {
  align-items: flex-start;
  text-align: left;
  max-width: 50%;
}

.page-wrapper .grid-2 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.page-wrapper .text-wrapper-5 {
  font-family: var(--heading-uppercase-italic-large-font-family);
  font-weight: var(--heading-uppercase-italic-large-font-weight);
  color: var(--textinverse);
  font-size: clamp(2rem, 6vw, var(--heading-uppercase-italic-large-font-size));
  letter-spacing: var(--heading-uppercase-italic-large-letter-spacing);
  line-height: 1.05;
  white-space: normal;
  font-style: var(--heading-uppercase-italic-large-font-style);
  text-transform: uppercase;
}

.page-wrapper .text-wrapper-6 {
  font-family: var(--heading-uppercase-large-font-family);
  font-weight: var(--heading-uppercase-large-font-weight);
  color: var(--textinverse);
  font-size: clamp(2.5rem, 7vw, var(--heading-uppercase-large-font-size));
  letter-spacing: var(--heading-uppercase-large-letter-spacing);
  line-height: 1.05;
  white-space: normal;
  font-style: var(--heading-uppercase-large-font-style);
  text-transform: uppercase;
}

.page-wrapper .text-wrapper-7 {
  max-width: 40ch;
  font-family: var(--text-xlarge-font-family);
  font-weight: var(--text-xlarge-font-weight);
  color: var(--textinverse);
  font-size: clamp(1.125rem, 3vw, var(--text-xlarge-font-size));
  letter-spacing: var(--text-xlarge-letter-spacing);
  line-height: var(--text-xlarge-line-height);
  font-style: var(--text-xlarge-font-style);
}

.page-wrapper .bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.page-wrapper .div-6 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-wrapper .label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 500px;
  border: 1px solid #ffffff;
}

.page-wrapper .label-2 {
  font-family: var(--text-meta-font-family);
  font-weight: 600;
  color: var(--textinverse);
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.page-wrapper .button {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 1.5rem;
  background-color: var(--xvia-gunmetal);
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-wrapper .button:hover,
.page-wrapper .button:focus-visible {
  background-color: var(--xvia-blue);
  transform: translateY(-1px);
}

.page-wrapper .button-2 {
  font-family: var(--text-default-font-family);
  font-weight: 500;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.page-404 .button {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 1.5rem;
  background-color: var(--xvia-gunmetal);
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-404 .button:hover,
.page-404 .button:focus-visible {
  background-color: var(--xvia-blue);
  transform: translateY(-1px);
}

.page-404 .button-2 {
  font-family: var(--text-default-font-family);
  font-weight: 500;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .page-wrapper .bottom {
    align-items: stretch;
    width: 100%;
    padding: 0 0.75rem;
    box-sizing: border-box;
  }

  .page-wrapper .button {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 1.1rem;
  }

  .page-wrapper .cta-contact .button-wrapper {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .page-wrapper .content {
    padding: clamp(1.5rem, 5vw, 2rem) clamp(1rem, 5vw, 1.5rem);
    gap: 1rem;
  }

  .page-wrapper .text-wrapper-7 {
    display: none;
  }

  .page-wrapper .bottom {
    align-self: stretch;
    padding-top: 0.25rem;
  }
}

.page-wrapper .cursor {
  display: none;
}

.page-wrapper .project .image,
.page-wrapper .project-2 .image,
.page-wrapper .project-3 .image,
.page-wrapper .section-story .image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-wrapper .project-3 {
  background-color: #66b4c0;
}

.page-wrapper .section-stats {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(3rem, 6vw, 7.5rem) 0 0;
  gap: clamp(2rem, 4vw, 3rem);
}

.page-wrapper .container-2 {
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
  box-sizing: border-box;
}

.page-wrapper .left {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.page-wrapper .grid-3 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-wrapper .architecture-in {
  font-family: var(--heading-h1-font-family);
  font-weight: var(--heading-h1-font-weight);
  color: var(--textdefault);
  font-size: clamp(2.25rem, 6vw, var(--heading-h1-font-size));
  letter-spacing: var(--heading-h1-letter-spacing);
  line-height: 1.15;
  font-style: var(--heading-h1-font-style);
  text-transform: uppercase;
}

.page-wrapper .text-wrapper-8 {
  font-family: var(--text-medium-font-family);
  font-weight: var(--text-medium-font-weight);
  color: var(--textdefault);
  font-size: clamp(1rem, 3vw, var(--text-medium-font-size));
  letter-spacing: var(--text-medium-letter-spacing);
  line-height: var(--text-medium-line-height);
  font-style: var(--text-medium-font-style);
  max-width: 36ch;
}

.page-wrapper .button-text {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.page-wrapper .button-3 {
  font-family: var(--text-default-font-family);
  font-weight: 500;
  color: var(--xvia-blue);
  font-size: 1.1rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-wrapper .icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 200px;
  border: 1px solid var(--xvia-blue);
}

.datasheet-embed {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.datasheet-embed iframe,
.datasheet-embed object {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 210 / 297; /* lock to A4 proportion so one full page fits */
  border: none;
}

.datasheet-link {
  margin-top: 3.5rem;
}

.project-page .datasheet-section {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  gap: 0.75rem;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-top: clamp(-1.2rem, -2vw, -2.25rem);
  margin-bottom: clamp(-1.2rem, -2vw, -2.25rem);
}

.project-page .datasheet-section::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--backgroundmuted);
  z-index: -1;
}

.project-page .datasheet-section .datasheet-link {
  margin-top: 0.5rem;
}

.selection-logic {
  width: 100%;
  display: grid;
  gap: clamp(0.75rem, 2vw, 1rem);
}

.selection-logic .logic-item {
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: clamp(0.75rem, 2vw, 1rem);
  background: #ffffff;
}

.selection-logic .logic-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--heading-h4-font-family);
  font-weight: var(--heading-h4-font-weight);
  font-size: clamp(1rem, 2.6vw, 1.1rem);
  letter-spacing: var(--heading-h4-letter-spacing);
  text-transform: uppercase;
  color: var(--textdefault);
}

.selection-logic .logic-summary::-webkit-details-marker {
  display: none;
}

.selection-logic .logic-summary::after {
  content: "+";
  font-family: var(--text-meta-font-family);
  font-weight: 600;
  font-size: 1rem;
}

.selection-logic .logic-item[open] .logic-summary::after {
  content: "–";
}

.selection-logic .logic-list {
  margin-top: 0.75rem;
}

.application-list {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: clamp(0.75rem, 2vw, 1rem) 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: var(--text-default-font-family);
  font-weight: 500;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
  line-height: 1.6;
  color: var(--xvia-gunmetal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.application-list li {
  position: relative;
  padding-left: 1.5rem;
}

.application-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--xvia-blue);
}

.page-wrapper .grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.page-wrapper .card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  background-color: #f8f8f8;
  border-radius: 16px;
}

.page-wrapper .grid-5 {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.page-wrapper .text-wrapper-9 {
  font-family: var(--heading-h2-font-family);
  font-weight: var(--heading-h2-font-weight);
  color: var(--textdefault);
  font-size: clamp(2rem, 5vw, var(--heading-h2-font-size));
  letter-spacing: var(--heading-h2-letter-spacing);
  line-height: var(--heading-h2-line-height);
  font-style: var(--heading-h2-font-style);
}

.page-wrapper .text-wrapper-10 {
  font-family: var(--text-meta-font-family);
  font-weight: var(--text-meta-font-weight);
  color: var(--textdefault);
  font-size: clamp(0.9rem, 2.5vw, var(--text-meta-font-size));
  letter-spacing: var(--text-meta-letter-spacing);
  line-height: var(--text-meta-line-height);
  font-style: var(--text-meta-font-style);
}

.page-wrapper .text-wrapper-11 {
  font-family: var(--text-default-font-family);
  font-weight: var(--text-default-font-weight);
  color: var(--textdefault);
  font-size: clamp(1rem, 2.8vw, var(--text-default-font-size));
  letter-spacing: var(--text-default-letter-spacing);
  line-height: var(--text-default-line-height);
  font-style: var(--text-default-font-style);
}

.page-wrapper .section-team {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(3.5rem, 7vw, 8rem) 0;
}

.page-wrapper .container-3 {
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 5rem);
  box-sizing: border-box;
}

.page-wrapper .row {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: flex-start;
}

.page-wrapper .grid-6 {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.page-wrapper .image-wrapper {
  width: 120px;
  height: 120px;
  background-color: #cccccc;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.page-wrapper .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-wrapper .text-wrapper-12 {
  font-family: var(--heading-h2-font-family);
  font-weight: var(--heading-h2-font-weight);
  color: var(--textdefault);
  font-size: clamp(1.5rem, 4vw, var(--heading-h2-font-size));
  letter-spacing: var(--heading-h2-letter-spacing);
  line-height: var(--heading-h2-line-height);
  font-style: var(--heading-h2-font-style);
  flex: 1;
}

.page-wrapper .badge {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background-color: var(--backgroundmuted);
  border-radius: 500px;
}

.page-wrapper .img-2 {
  width: 18px;
  height: 18px;
}

.page-wrapper .section-story {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #66b4c0;
  border-radius: 0;
  overflow: hidden;
}

.page-wrapper .content-2 {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(2.5rem, 5vw, 6rem);
  color: var(--textinverse);
  box-sizing: border-box;
}

.page-wrapper .top {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.75rem);
  max-width: 640px;
}

.page-wrapper .section-story .div-4 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: fit-content;
}

.page-wrapper .innovative,
.page-wrapper .design {
  font-family: var(--heading-uppercase-italic-large-font-family);
  font-weight: var(--heading-uppercase-italic-large-font-weight);
  color: var(--textinverse);
  font-size: clamp(2rem, 6vw, var(--heading-uppercase-italic-large-font-size));
  letter-spacing: var(--heading-uppercase-italic-large-letter-spacing);
  line-height: 1.05;
  white-space: normal;
  font-style: var(--heading-uppercase-italic-large-font-style);
}

.page-wrapper .design {
  font-family: var(--heading-uppercase-large-font-family);
  font-weight: var(--heading-uppercase-large-font-weight);
  font-size: clamp(2.5rem, 7vw, var(--heading-uppercase-large-font-size));
  letter-spacing: var(--heading-uppercase-large-letter-spacing);
  font-style: var(--heading-uppercase-large-font-style);
}

.page-wrapper .text-wrapper-13 {
  font-family: var(--text-xlarge-font-family);
  font-weight: var(--text-xlarge-font-weight);
  color: var(--textinverse);
  font-size: clamp(1.125rem, 3vw, var(--text-xlarge-font-size));
  letter-spacing: var(--text-xlarge-letter-spacing);
  line-height: var(--text-xlarge-line-height);
  font-style: var(--text-xlarge-font-style);
}

.page-wrapper .button-4 {
  font-family: var(--text-default-font-family);
  font-weight: 500;
  color: var(--textinverse);
  font-size: 1.1rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-wrapper .ri-arrow-down-line-wrapper {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 200px;
  border: 1px solid var(--textinverse);
}

.page-wrapper .ri-arrow-down-line {
  width: 24px;
  height: 24px;
  transform: rotate(-90deg);
}

@media (min-width: 640px) {
  .page-wrapper .section-story .top {
    max-width: 50%;
  }
}

.page-wrapper .vector {
  position: absolute;
  width: 64%;
  height: 68%;
  inset: 18% 0 0 18%;
  transform: rotate(90deg);
}

.page-wrapper .cta-contact {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: clamp(3rem, 7vw, 8rem) 0 clamp(3.5rem, 7vw, 9rem);
  background-color: var(--backgrounddefault);
  border-radius: 0 0 clamp(24px, 6vw, 96px) clamp(24px, 6vw, 96px);
  overflow: hidden;
}

.page-wrapper .container-4 {
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
  box-sizing: border-box;
}

.page-wrapper .grid-7 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.page-wrapper .text-wrapper-14 {
  font-family: var(--text-default-font-family);
  font-weight: var(--text-default-font-weight);
  color: var(--textdefault);
  font-size: clamp(1.5rem, 5vw, var(--heading-medium-font-size));
  text-align: center;
  letter-spacing: var(--text-default-letter-spacing);
  line-height: var(--text-default-line-height);
  font-style: var(--text-default-font-style);
}

.page-wrapper .button-wrapper {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 1.5rem;
  background-color: var(--xvia-gunmetal);
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-wrapper .button-wrapper:hover,
.page-wrapper .button-wrapper:focus-visible {
  background-color: var(--xvia-blue);
  transform: translateY(-1px);
}

.page-wrapper .button-5 {
  font-family: var(--text-default-font-family);
  font-weight: 500;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(4rem, 7vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem);
  background-color: var(--backgroundprimary);
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.footer .container {
  max-width: 100%;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: flex-start;
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
}

.footer .column {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.25rem;
}

.footer .column img {
  height: clamp(112px, 24vw, 160px);
  width: auto;
}

.footer .menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
  justify-items: center;
}

.footer .div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer .text-wrapper {
  margin-top: -1px;
  font-family: var(--text-meta-font-family);
  font-weight: var(--text-meta-font-weight);
  color: var(--textinverse);
  font-size: clamp(0.9rem, 2.5vw, var(--text-meta-font-size));
  letter-spacing: var(--text-meta-letter-spacing);
  line-height: var(--text-meta-line-height);
  white-space: nowrap;
  font-style: var(--text-meta-font-style);
}

.footer .nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.footer .contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--textinverse);
  align-items: flex-start;
}

.footer .footer-link {
  font-family: var(--text-default-font-family);
  font-weight: var(--text-default-font-weight);
  color: var(--textinverse);
  font-size: var(--text-default-font-size);
  letter-spacing: var(--text-default-letter-spacing);
  line-height: var(--text-default-line-height);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  width: fit-content;
}

.footer .footer-link:hover {
  opacity: 0.85;
}

.footer .footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.footer .footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

.footer .footer-social-btn svg {
  width: 20px;
  height: 20px;
  fill: #000;
}

.footer .nav a {
  display: block;
  color: var(--textinverse);
  font-family: var(--text-default-font-family);
  font-weight: var(--text-default-font-weight);
  font-size: var(--text-default-font-size);
  letter-spacing: var(--text-default-letter-spacing);
  line-height: var(--text-default-line-height);
  transition: opacity 0.2s ease;
  text-align: center;
}

@media (max-width: 900px) {
  .footer .container {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer .menu {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .footer .menu .div {
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
  }

  .footer .menu .div:nth-child(-n + 2) {
    margin-top: 0;
  }

  .footer .menu .div:last-child {
    grid-column: 1 / -1;
  }

  .footer .column {
    align-items: center;
    text-align: center;
  }

  .footer .contact-block {
    align-items: center;
  }

  .footer .footer-link {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .footer .menu {
    grid-template-columns: 1fr;
  }

  .footer .menu .div {
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
  }

  .footer .menu .div:first-child {
    margin-top: 0;
  }
}

.footer .nav a:hover {
  opacity: 0.8;
}

.footer .bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.footer .made-by-gola {
  font-family: var(--text-default-font-family);
  font-weight: 400;
  color: var(--textinverse);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.8;
}

.footer .text-wrapper-4 {
  text-decoration: underline;
  color: #ffffff;
}

@media (min-width: 640px) {
  .page-wrapper .bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-wrapper .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .page-wrapper .div {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(1.5rem, 3vw, 3rem);
  }

  .page-wrapper .text-wrapper-2 {
    width: 90px;
  }

  .page-wrapper .div-2,
  .page-wrapper .text-wrapper-3 {
    flex: 1;
  }

  .page-wrapper .row {
    flex-direction: row;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
  }

  .page-wrapper .grid-6 {
    flex: 1;
  }
}

@media (min-width: 900px) {
  .page-wrapper .container-2 {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(2.5rem, 4vw, 4rem);
  }

  .page-wrapper .div-4 {
    padding: 0;
  }

  .page-wrapper .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-wrapper .grid-7 {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: baseline;
  }
}

@media (min-width: 992px) {
  .page-wrapper .cursor {
    display: flex;
    position: absolute;
    top: 18%;
    right: clamp(1.5rem, 6vw, 3rem);
    width: clamp(72px, 8vw, 120px);
    height: clamp(72px, 8vw, 120px);
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: var(--backgroundprimary);
    border-radius: 500px;
  }
}

/* Project page */
.project-page {
  background: var(--backgroundprimary);
  color: var(--textinverse);
}

.project-page .inner {
  gap: clamp(4rem, 6.5vw, 7.5rem);
}

.project-page .rps-callout {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 4rem) 0;
  background: transparent;
}

.project-page .rps-callout .container-4 {
  padding: 0 clamp(2rem, 4vw, 3rem);
}

.project-page .rps-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--backgrounddefault);
  z-index: -1;
}

.project-page #project-gallery-heading,
.project-page #variant-lineup-heading,
.project-page #selection-logic-heading,
.project-page #typical-applications-heading {
  margin-top: 1.2em;
  padding-top: 1.2em;
}

.project-page .project-hero .hero-text,
.project-hero-text {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  align-items: center;
  text-align: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  max-width: 640px;
}

.project-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding: 0;
  box-sizing: border-box;
}

.project-card {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #ffffff;
  color: var(--textdefault);
  border-radius: 0;
  box-shadow: none;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.project-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.project-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-title {
  font-family: var(--heading-uppercase-large-font-family);
  font-weight: var(--heading-uppercase-large-font-weight);
  font-size: clamp(2rem, 5vw, 2.6rem);
  letter-spacing: var(--heading-uppercase-large-letter-spacing);
  line-height: 1.1;
  color: var(--textdefault);
  font-style: var(--heading-uppercase-large-font-style);
}

.project-body {
  font-family: var(--text-xlarge-font-family);
  font-weight: var(--text-xlarge-font-weight);
  font-size: clamp(1rem, 2.6vw, 1.1rem);
  line-height: 1.7;
  color: var(--textdefault);
  font-style: var(--text-xlarge-font-style);
}

.project-meta {
  font-family: var(--text-meta-font-family);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--text-muted, #777);
  letter-spacing: 0.5px;
}

.project-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #f8f9fb;
  border-radius: 16px;
  padding: 1rem;
}

.project-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.project-stats .stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 640px) {
  .project-overview {
    grid-template-columns: 1fr;
  }
}

.stat-label {
  font-family: var(--text-meta-font-family);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--textdefault);
}

.stat-value {
  font-family: var(--heading-uppercase-large-font-family);
  font-weight: var(--heading-uppercase-large-font-weight);
  font-size: 1.4rem;
  color: var(--textdefault);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
}

.project-gallery img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: none;
  border: 1px solid var(--borderdefault);
}

@media (min-width: 641px) {
  .project-gallery img {
    height: 42vh;
  }
}

.project-quote {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-page .project-quote {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

.project-page .project-card + .project-callout {
  margin-top: clamp(-1.5rem, -3vw, -2.5rem);
}

.project-quote-text {
  font-family: var(--text-xlarge-font-family);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--textdefault);
}

.project-quote-author {
  font-family: var(--text-meta-font-family);
  letter-spacing: 1px;
  color: var(--textdefault);
}

.project-callout {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #111;
  color: #fff;
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
  box-shadow: none;
}

.project-page .project-callout {
  background: #ffffff;
  color: var(--textdefault);
}

.callout-text {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.project-page .project-callout .callout-text {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  gap: 1.4rem;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 760px;
}

.project-page .project-callout .text-wrapper {
  margin-bottom: 1.1rem;
}

.project-page .project-callout .project-body + .project-body {
  margin-top: 1rem;
}

.project-page .project-callout .div-6 {
  margin-top: 1.75rem;
  justify-content: center;
  width: 100%;
  align-items: center;
}

.project-page .project-callout .button {
  align-self: center;
  margin: 0 auto;
}

.project-page .project-callout {
  justify-items: center;
}

.callout-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .project-main {
    padding: 0;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-page .hero-text .button {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 0.5rem;
  }
}
