/* Veritas Campus – Coming Soon
   Figma: desktop 1440×900, mobile 430×932
   Design tokens from Figma */

:root {
  --color-bg: #ffffff;
  --color-head: #000000;
  --color-sub: #323232;
  --color-body: #575757;
  --font-heading-desktop: 72px;
  --font-heading-mobile: 58px;
  --font-sub: 26px;
  --font-copyright: 14px;
  --font-inter: "Inter", sans-serif;
  --letter-spacing-head: -0.02em;
  --letter-spacing-head-mobile: -0.02em;
  --letter-spacing-copy: 0.04em;
  --line-height-head: 1.2;
  --line-height-sub: 1.21;
  --line-height-copy: 1.21;
  --footer-padding-y: 24px;
  --footer-padding-x-desktop: 104px;
  --footer-padding-x-mobile: 16px;
  --social-gap: 78px;
  --spacer-section: 128px;
  --spacer-xxxxl: 80px;
  --spacer-xl: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-inter);
  background: var(--color-bg);
  color: var(--color-head);
  min-height: 100vh;
  overflow:hidden;
}

/* Page frame: 1440×900 desktop, full viewport; column, center (Figma layout_G4AEYN) */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  background: var(--color-bg);
  justify-content: center;
  overflow:hidden;
}

/* Main content (Frame 1318): column, center, hug */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:center;
  width: 100%;
  padding: 0 16px;
  flex: 1;

}

/* Spacers – Figma .spacer.section 128×128, .spacer.xxxx-large 80×80, .spacer.x-large 40×40 */
.spacer {
  flex-shrink: 0;
}

.spacer--section {
  width: 128px;
  height: 128px;
}

.spacer--xxxxl {
  width: 80px;
  height: 80px;
}

.spacer--xl {
  width: 40px;
  height: 40px;
}

/* Logo – 136×92, hug */
.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 136px;
  height: 92px;
  display: block;
}

/* H1 – Inter 600, 72px desktop / 58px mobile, 1.2 line-height, -2% letter-spacing, center, #000 (style_YVWAIP / H1-Semi 58-mobile) */
.heading {
  margin: 0;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: var(--font-heading-mobile);
  line-height: var(--line-height-head);
  letter-spacing: var(--letter-spacing-head-mobile);
  text-align: center;
  color: var(--color-head);
  max-width: 842px;
  margin:60px 0 40px;
}

/* Expand block – 398×62 (desktop), text + chevron (Veritas - text - expand) */
.expand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 398px;
  cursor: pointer;
  padding:20px 0;
  position:relative;
}

.expand-block__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
}

.expand-block__wrapper .state-1,
.expand-block__wrapper .state-2 {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.35s ease-in-out;
  position:relative;
  padding:20px 0 10px;

}

.expand-block__wrapper .state-1 {
  opacity: 1;
}

.expand-block__wrapper .state-2 {
  opacity: 0;
  pointer-events: none;
}

.expand-block.is-expanded .state-1 {
  opacity: 0;
  pointer-events: none;
}

.expand-block.is-expanded .state-2 {
  opacity: 1;
  pointer-events: auto;
}

.expand-block__text {
  margin: 0;
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--font-sub);
  line-height: var(--line-height-sub);
  text-align: center;
  color: var(--color-sub);
  transition: all 1s ease;
}
@media(min-width:900px) {
.expand-block:hover .expand-block__text {
  color: white;
  text-shadow: 0 0 17px black;
}
}
.expand-block__text--mobile {
  display: block;
}

.expand-block__text--desktop {
  display: none;
}

.expand-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 ;
  color: var(--color-head);
  position:absolute;
  path {
    transition: all 1s ease;
  }
}

.state-1 .expand-block__icon {
bottom:20px;
}

.state-2 .expand-block__icon {
top:-20px;
}
@media(min-width:900px) {
.expand-block:hover .expand-block__icon path {
  color: white;
}
}

.expand-block__icon svg {
  width: 24px;
  height: 22px;
}

/* Footer – absolute bottom, row, space-between, padding 24px 104px (desktop) */
.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;

}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: var(--footer-padding-y) var(--footer-padding-x-mobile);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.footer__copyright {
  margin: 0;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: var(--font-copyright);
  line-height: var(--line-height-copy);
  letter-spacing: var(--letter-spacing-copy);
  text-align: center;
  color: var(--color-body);
}

.footer__social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--social-gap);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-head);
  text-decoration: none;
  width: 24px;
  height: 24px;
  transition: all 0.2s ease;
}

.footer__social-link:hover,
.footer__social-link:focus {
  transform: scale(1.1);

}

.footer__social-link:hover path,
.footer__social-link:focus path {
  fill: #6f6dde;

}

.footer__social-link--linkedin {
  color: var(--color-head);
}

.footer__social-link svg {
  width: 24px;
  height: 24px;
}

/* Desktop: 1440px and up – match Figma desktop frame */
@media (min-width: 900px) {


  .content {
    padding: 0;
  }

  .heading {
    font-size: var(--font-heading-desktop);
    letter-spacing: var(--letter-spacing-head);
  }

  .expand-block__text--mobile {
    display: none;
  }

  .expand-block__text--desktop {
    display: block;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    padding: var(--footer-padding-y) var(--footer-padding-x-desktop);
  }

  .footer__copyright {
    text-align: right;
  }
}

/* Mobile: ensure footer doesn’t overlap content; add bottom padding to main */
@media (max-width: 899px) {

  .page {
    overflow-y:auto;
  }

  .logo {
    width: 136px;
    height: 92px;
    display: block;
}
.heading {
  font-size:50px;
  line-height:52px;
  margin:20px 0;
}

.expand-block__text {
  font-size:20px;
}

  .footer {
    position: relative;
    margin-top: auto;
  }
}

@media(max-width:550px) {
  .footer__social {
    gap:10px;
    justify-content: space-around;
    width:100%;
  }
}


/* Background shapes: container (inline-size for cqw in keyframes) */
.background-animation {
  position: relative;
  display: block;
  max-width: 1840px;
  width: 100%;
  overflow: visible;
  container-type: inline-size;
  container-name: bg-shapes;
  z-index: -1;
  @media (max-width: 899px) {
    max-width:120vw;
  }
}

/* Side-to-side: from one side of container to the other (100cqw = container width) */
@keyframes shape-travel-right {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(calc(100cqw - 1220px)) rotate(180deg);
  }
}

/* Mobile version of shape-travel-right for smaller container */
@keyframes shape-travel-right-mobile {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(calc(100cqw - 600px)) rotate(180deg);
  }
}



/* Very slow full rotation (one turn per 60s), combined with travel in one animation */
@keyframes shape-pink-travel-and-rotate {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  10% {
    transform: translateX(calc(100cqw - 1220px)) rotate(36deg);
  }
  20% {
    transform: translateX(0) rotate(72deg);
  }
  30% {
    transform: translateX(calc(100cqw - 1220px)) rotate(108deg);
  }
  40% {
    transform: translateX(0) rotate(144deg);
  }
  50% {
    transform: translateX(calc(100cqw - 1220px)) rotate(180deg);
  }
  60% {
    transform: translateX(0) rotate(216deg);
  }
  70% {
    transform: translateX(calc(100cqw - 1220px)) rotate(252deg);
  }
  80% {
    transform: translateX(0) rotate(288deg);
  }
  90% {
    transform: translateX(calc(100cqw - 1220px)) rotate(324deg);
  }
  100% {
    transform: translateX(0) rotate(360deg);
  }
}

/* Mobile version: slower rotation with smaller travel distance */
@keyframes shape-pink-travel-and-rotate-mobile {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(50vw);
  }
}

@keyframes shape-travel-left {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(calc(750px - 100cqw));
  }
}

/* Mobile version of shape-travel-left for smaller container */
@keyframes shape-travel-left-mobile {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-50vw);
  }
}

.pink-shape {
  position: absolute;
  top: -810px;
  left: 0;
  width: 1220px;
  height: auto;
  z-index: 0;
  animation: shape-pink-travel-and-rotate 120s ease-in-out infinite;
  will-change: transform;
  opacity:0.8;

  @media (max-width: 899px) {
    width:800px;
    top:-600px;
    left:-50%;
    animation: shape-pink-travel-and-rotate-mobile 24s ease-in-out infinite;
  }
}

.blue-shape {
  position: absolute;
  top: -550px;
  right: 0;
  width: 750px;
  height: auto;
  z-index: 0;
  animation: shape-travel-left 24s ease-in-out infinite;
  will-change: transform;
  opacity:0.8;
  
  @media (max-width: 899px) {
    width:500px;
    top:-400px;
    right:-50px;
    animation: shape-travel-left-mobile 24s ease-in-out infinite;
  }
}