:root {
  color-scheme: dark;
  --red: #ff1830;
  --white: #f7f7f4;
  --muted: rgba(247, 247, 244, 0.72);
  --line: rgba(247, 247, 244, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #050607;
  color: var(--white);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #07080a;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(90deg, rgba(3, 4, 5, 0.93) 0%, rgba(3, 4, 5, 0.72) 24%, rgba(3, 4, 5, 0.12) 53%, rgba(3, 4, 5, 0.03) 100%),
    linear-gradient(180deg, rgba(2, 3, 4, 0.05) 48%, rgba(2, 3, 4, 0.57) 100%),
    url("assets/synergy-bridge.png");
  background-position: center, center, center;
  background-size: cover;
  filter: saturate(0.98) contrast(1.03);
  transform: scale(1.005);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  z-index: -2;
  background: linear-gradient(0deg, rgba(3, 4, 5, 0.68), transparent);
  pointer-events: none;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.ribbon-light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  transform: scale(1.005);
  transform-origin: center;
}

.ribbon-light-mobile,
.menu-mark {
  display: none;
}

.ribbon-light path {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 72 928;
  stroke-dashoffset: 70;
  animation: ribbon-light-flow 4.6s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  will-change: stroke-dashoffset, opacity;
}

.ribbon-light__glow {
  stroke: rgba(255, 22, 42, 0.68);
  stroke-width: 8;
  filter: blur(4px);
}

.ribbon-light__core {
  stroke: #ff3a45;
  stroke-width: 1.7;
  filter:
    drop-shadow(0 0 2px #fff)
    drop-shadow(0 0 5px #ff182f)
    drop-shadow(0 0 9px rgba(255, 24, 47, 0.82));
}

@keyframes ribbon-light-flow {
  0%,
  8% {
    opacity: 0;
    stroke-dashoffset: 70;
  }

  18% {
    opacity: 1;
  }

  78% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    stroke-dashoffset: -930;
  }
}

.topbar,
.hero__content,
.footer {
  position: absolute;
  left: clamp(2rem, 7.55vw, 9rem);
}

.topbar {
  top: clamp(2rem, 5.7vh, 4rem);
  display: flex;
  align-items: center;
  gap: clamp(1.45rem, 2.35vw, 2.8rem);
}

.brand {
  display: block;
  line-height: 0;
}

.brand__logo {
  display: block;
  width: clamp(9rem, 10vw, 11rem);
  height: auto;
}

.topbar__rule {
  width: 1px;
  height: clamp(2.65rem, 5vh, 3.5rem);
  background: var(--line);
}

.topbar__tagline {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.58rem, 0.75vw, 0.86rem);
  letter-spacing: 0.39em;
  white-space: nowrap;
}

.hero__content {
  top: 50%;
  width: min(34rem, 39vw);
  transform: translateY(-45%);
}

.eyebrow {
  margin: 0 0 clamp(1.2rem, 2.8vh, 2rem);
  color: rgba(247, 247, 244, 0.76);
  font-size: clamp(0.58rem, 0.78vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.42em;
}

h1 {
  margin: 0;
  font-size: clamp(4.35rem, 6.55vw, 7.7rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.082em;
  white-space: nowrap;
}

h1 span,
h1 strong {
  display: block;
}

h1 strong {
  color: var(--red);
  font-weight: 600;
}

.hero__copy {
  width: min(32rem, 100%);
  margin-top: clamp(1.65rem, 3.25vh, 2.45rem);
  font-size: clamp(0.86rem, 1.05vw, 1.15rem);
  line-height: 1.58;
  letter-spacing: -0.02em;
}

.hero__copy p {
  margin: 0 0 0.9rem;
}

.launch-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(19rem, 100%);
  margin-top: clamp(0.55rem, 1.3vh, 1rem);
  padding: 0.95rem 1.65rem 0.95rem 2.5rem;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: rgba(3, 4, 5, 0.2);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.launch-button svg {
  width: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  transition: transform 180ms ease;
}

.launch-button:hover,
.launch-button:focus-visible {
  background: rgba(255, 24, 48, 0.14);
  box-shadow: 0 0 28px rgba(255, 24, 48, 0.18);
  transform: translateY(-2px);
}

.launch-button:hover svg {
  transform: translateX(4px);
}

.principles {
  position: absolute;
  top: 14.5%;
  right: clamp(2rem, 6.5vw, 7.5rem);
  width: clamp(13rem, 18vw, 20rem);
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8.6vh, 6rem);
}

.principles article p {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.55rem);
  line-height: 1.23;
  letter-spacing: -0.03em;
}

.principles article span {
  display: block;
  width: 2.9rem;
  height: 1px;
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.65);
}

.footer {
  right: clamp(2rem, 3.6vw, 4rem);
  bottom: clamp(1.65rem, 6.5vh, 4.4rem);
  display: grid;
  grid-template-columns: auto minmax(6rem, 20rem) 1fr auto auto;
  align-items: center;
  gap: 2rem;
}

.instagram {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
}

.instagram svg {
  width: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram__dot {
  fill: currentColor;
  stroke: none;
}

.footer__line,
.location__line {
  height: 1px;
  background: var(--line);
}

.location {
  grid-column: 4;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: rgba(247, 247, 244, 0.75);
  font-size: 0.64rem;
  letter-spacing: 0.36em;
}

.location__line {
  width: 3rem;
}

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

  .hero__backdrop {
    background-image:
      linear-gradient(90deg, rgba(3, 4, 5, 0.92) 0%, rgba(3, 4, 5, 0.68) 42%, rgba(3, 4, 5, 0.14) 78%),
      linear-gradient(180deg, rgba(2, 3, 4, 0.1) 50%, rgba(2, 3, 4, 0.65) 100%),
      url("assets/synergy-bridge.png");
    background-position: center, center, 58% center;
  }

  .hero__content {
    top: 39%;
    width: min(33rem, 64vw);
  }

  .principles {
    top: auto;
    right: 2rem;
    bottom: 8.5rem;
    width: 13rem;
    gap: 1.9rem;
  }

  .principles article p {
    font-size: 1rem;
  }

  .footer {
    left: 2rem;
    right: 2rem;
    grid-template-columns: auto 1fr auto;
  }

  .footer__line {
    display: none;
  }

  .location {
    grid-column: 3;
  }

  .location__line {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: max(100svh, 177.7vw);
  }

  .hero__backdrop {
    background-image:
      linear-gradient(180deg, rgba(3, 4, 5, 0.08) 0%, rgba(3, 4, 5, 0.04) 62%, rgba(3, 4, 5, 0.3) 100%),
      url("assets/synergy-bridge-mobile.png");
    background-position: center top;
    background-size: cover;
  }

  .ribbon-light {
    display: none;
  }

  .ribbon-light-mobile {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: scale(1.005);
    transform-origin: center;
  }

  .ribbon-light-mobile path {
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 72 928;
    stroke-dashoffset: 70;
    animation: ribbon-light-flow 4.6s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    will-change: stroke-dashoffset, opacity;
  }

  .topbar,
  .hero__content,
  .footer {
    left: 8.8%;
  }

  .topbar {
    top: 5.55%;
    right: auto;
    display: block;
  }

  .brand__logo {
    width: clamp(5.75rem, 21vw, 7.5rem);
  }

  .topbar__rule {
    display: none;
  }

  .topbar__tagline {
    display: block;
    margin-top: clamp(1rem, 4vw, 2.4rem);
    font-size: clamp(0.5rem, 1.15vw, 0.72rem);
    letter-spacing: 0.39em;
  }

  .menu-mark {
    position: absolute;
    top: 5.45%;
    right: 8.7%;
    display: flex;
    width: clamp(2.1rem, 5.8vw, 3.45rem);
    flex-direction: column;
    gap: clamp(0.38rem, 0.85vw, 0.52rem);
  }

  .menu-mark i {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.88);
  }

  .hero__content {
    top: 17.9%;
    right: auto;
    width: 64%;
    transform: none;
  }

  .eyebrow {
    margin-bottom: clamp(1rem, 2.6vw, 1.55rem);
    font-size: clamp(0.52rem, 1.16vw, 0.72rem);
    letter-spacing: 0.4em;
  }

  h1 {
    font-size: clamp(3.05rem, 12.4vw, 7.25rem);
    line-height: 0.91;
  }

  .hero__copy {
    width: 82%;
    margin-top: clamp(1.4rem, 3.4vw, 2.1rem);
    font-size: clamp(0.67rem, 2.35vw, 1.35rem);
    line-height: 1.56;
  }

  .launch-button {
    width: 37vw;
    min-width: 13.2rem;
    margin-top: clamp(0.8rem, 2vw, 1.25rem);
    padding: clamp(0.75rem, 1.6vw, 1rem) clamp(1rem, 2.2vw, 1.5rem) clamp(0.75rem, 1.6vw, 1rem) clamp(1.5rem, 3.8vw, 2.4rem);
    font-size: clamp(0.55rem, 1.25vw, 0.76rem);
  }

  .principles {
    top: 14.4%;
    right: 5.9%;
    bottom: auto;
    left: auto;
    width: 21%;
    display: flex;
    gap: clamp(2.7rem, 7vw, 4.25rem);
  }

  .principles article p {
    font-size: clamp(0.68rem, 2.32vw, 1.35rem);
    line-height: 1.23;
  }

  .principles article span {
    width: clamp(2rem, 5.2vw, 3.25rem);
    margin-top: clamp(0.85rem, 1.8vw, 1.15rem);
  }

  .footer {
    right: 6.4%;
    bottom: 5.1%;
    grid-template-columns: auto minmax(3rem, 1fr) auto clamp(2rem, 5.5vw, 3.2rem);
    gap: clamp(0.8rem, 2.8vw, 1.75rem);
  }

  .instagram {
    gap: clamp(0.65rem, 2vw, 1.25rem);
    font-size: clamp(0.62rem, 1.75vw, 1rem);
  }

  .instagram svg {
    width: clamp(1.55rem, 3.8vw, 2.3rem);
  }

  .footer__line,
  .location__line {
    display: block;
  }

  .location {
    grid-column: 3;
    font-size: clamp(0.48rem, 1.08vw, 0.66rem);
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3.05rem;
  }

  .hero__copy {
    width: 90%;
    font-size: 0.67rem;
  }

  .launch-button {
    min-width: 12.5rem;
  }

  .principles article p {
    font-size: 0.64rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .ribbon-light,
  .ribbon-light-mobile {
    display: none;
  }
}
