:root {
  --background: #101010;
  --on-background: #f2f2f2;
  --hero-frame-width: min(1400px, calc(100vw - 96px));
  --projects-frame-width: min(1180px, calc(100vw - 96px));
  --liquid-glass-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.024) 42%, rgba(255, 255, 255, 0.04) 100%);
  --liquid-glass-edge: rgba(255, 255, 255, 0.14);
  --liquid-glass-shadow: rgba(0, 0, 0, 0.34);
  --liquid-glass-tint: rgba(168, 198, 255, 0.08);
  --liquid-glass-warm: rgba(255, 225, 180, 0.08);
}

html {
  background-color: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--on-background);
}

img {
  display: block;
}

.body {
  background-color: var(--background);
  color: var(--on-background);
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.text-logo {
  letter-spacing: 0;
  font-family: "Neue Montreal", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 20px;
}

.text-underlogo {
  color: #f2f2f280;
  letter-spacing: 0.2px;
  font-family: "Neue Montreal", sans-serif;
  font-size: 12px;
  line-height: 12px;
  display: block;
}

.page-scroll {
  position: relative;
}

.section-hero {
  z-index: 1;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 4px;
  background-image: radial-gradient(circle closest-corner at 50% 0, #f2f2f226, transparent);
}

.hero-fade {
  z-index: 5;
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  height: 200px;
  padding-top: 48px;
  background-image: linear-gradient(to bottom, transparent, var(--background) 60%);
}

.container-hero-image {
  z-index: 3;
  width: var(--hero-frame-width);
  position: relative;
}

.glare-item-top {
  height: 1px;
  margin-bottom: -1px;
  background-image: linear-gradient(to right, transparent 10%, #fff 50%, transparent 90%);
}

.glare-item-top.outer-edge {
  z-index: 1;
  position: absolute;
  inset: 0 0 auto;
  background-image: linear-gradient(to right, transparent 5%, #fffc 35%, #fff 50%, #fffc 65%, transparent 95%);
}

.glare-item-top.inner-edge {
  z-index: 1;
  position: absolute;
  inset: 0 0 auto;
  background-image: linear-gradient(to right, transparent 20%, #fff 50%, transparent 80%);
}

.glare-item-top.hero-inner {
  height: 2px;
  margin-bottom: -2px;
}

.window-outline {
  overflow: hidden;
  padding: 8px;
  border-radius: 24px;
  outline: 1px solid #f2f2f226;
  outline-offset: -1px;
  background-image: radial-gradient(circle farthest-side at 50% 0, #f2f2f233, transparent);
  box-shadow: inset 0 0 8px #0006, 0 0 60px #0003, 0 30px 120px #000c;
}

.window-main {
  overflow: hidden;
  border: 1px solid #f2f2f24d;
  border-radius: 16px;
  backdrop-filter: blur(20px);
  box-shadow: inset 0 0 10px #0000001a, 0 0 12px #0006;
}

.window-bar {
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding-left: 20px;
  padding-right: 12px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  backdrop-filter: blur(40px);
  background-image: linear-gradient(to right, #f2f2f21a, #f2f2f280 50%, #f2f2f21a);
  box-shadow: 0 10px 20px 4px #0003;
}

.window-dots-wrapper {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 100px;
  background-color: #f46b5d;
}

.dot.red {
  border: 1px solid #10101040;
  box-shadow: 0 0 20px 2px #f46b5d;
}

.dot.yellow {
  background-color: #f9bd4e;
  border: 1px solid #10101040;
  box-shadow: 0 0 20px 2px #f9bd4e;
}

.dot.green {
  background-color: #57c353;
  border: 1px solid #10101040;
  box-shadow: 0 0 20px 2px #57c353;
}

.icon-windowbar-plus {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  opacity: 0.2;
}

.icon-windowbar-plus::before,
.icon-windowbar-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #f2f2f2;
  transform: translate(-50%, -50%);
}

.icon-windowbar-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.window-content {
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 32px;
  position: relative;
  padding: 92px 72px 216px;
  background-color: #101010b3;
}

.hero-text-content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 64px;
  position: relative;
  
}

.text-hero {
  text-align: left;
  letter-spacing: -2px;
  text-shadow: 0 5px 10px #0057ff26, 0 -5px 10px #ff5a001a, 0 -5px 25px #ffffff4d;
  font-family: "Neue Montreal", sans-serif;
  font-size: clamp(88px, 7vw, 126px);
  font-weight: 500;
  line-height: 0.9;
}

.text-hero-serif {
  display: inline-block;
  letter-spacing: -2px;
  text-shadow: 0 5px 15px #0057ff1a, 0 -5px 15px #ff5a0014, 0 0 30px #fff3;
  font-family: Gloock, sans-serif;
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
  vertical-align: baseline;
}

.text-hero-serif-word-wrap {
  display: inline-grid;
  align-items: end;
  justify-items: start;
  position: relative;
}

.text-hero-serif-track {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.08em;
  width: max-content;
  justify-self: start;
}

.text-hero-serif-reveal {
  overflow: hidden;
  width: 0;
  padding-right: 0.05em;
  margin-right: -0.05em;
  will-change: width;
}

.text-hero-serif-word,
.text-hero-serif-measure {
  display: inline-block;
  min-height: 1em;
  background-image: linear-gradient(to bottom, var(--on-background) 50%, transparent 90%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.text-hero-serif-measure {
  grid-area: 1 / 1;
  justify-self: start;
}

.text-hero-serif-measure {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.text-hero-serif-caret {
  width: max(1px, 0.04em);
  height: 0.82em;
  margin-bottom: 0.08em;
  border-radius: 999px;
  flex: 0 0 auto;
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.35));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
  animation: hero-caret-blink 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: opacity, transform;
}

@keyframes hero-caret-blink {
  0%,
  42%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }

  50%,
  92% {
    opacity: 0.16;
    transform: scaleY(0.92);
  }
}

.hero-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: 24px;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: clamp(72px, 10vh, 108px);
  width: 44px;
  height: 58px;
  color: #fff;
  opacity: 1;
  transform: translateX(-50%);
  animation: hero-scroll-cue-float 2.15s ease-in-out infinite;
  pointer-events: none;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.72))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.36))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.65));
}

.hero-scroll-cue svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-scroll-cue path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes hero-scroll-cue-float {
  0%,
  100% {
    transform: translate(-50%, -5px);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

.hero-about-null {
  display: block;
}

#w-node1,
#w-node2 {
  grid-area: span 1 / span 1 / span 1 / span 1;
}

.text-hero-about {
  display: flex;
  flex-direction: column;
  font-family: "Neue Montreal", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.35;
}

.text-hero-about-formerly {
  color: #f2f2f280;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.window-grain,
.hero-noise {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px);
  background-position: 0 0;
  background-size: 38px 38px, 52px 52px;
  mix-blend-mode: overlay;
}

.window-grain {
  z-index: 0;
  position: absolute;
  inset: 0;
  opacity: 0.25;
}

.hero-bg-gradient {
  z-index: 2;
  display: none;
  position: absolute;
  inset: 96px 24px auto;
  height: 50%;
  border-radius: 2000px;
  opacity: 0.7;
  filter: blur(100px);
  background-image: linear-gradient(to right, transparent 5%, var(--on-background) 50%, transparent 95%);
}

.hero-noise {
  z-index: 0;
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.shine-wrapper {
  z-index: 0;
  display: none;
  position: absolute;
  inset: 0;
  height: 200%;
  gap: 24px;
  transform: rotate(15deg);
  opacity: 0.15;
  filter: blur(12px);
}

.shine-small {
  width: 16px;
  background-color: #fff;
}

.shine-big {
  width: 64px;
  background-color: #fff;
}

.section-roblox-showcase {
  display: flex;
  justify-content: center;
  padding: 84px 24px 0;
}

.container-showcase {
  width: var(--projects-frame-width);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.showcase-feature,
.showcase-secondary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 38px;
  border: 1px solid var(--liquid-glass-edge);
  border-radius: 28px;
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -18px 34px rgba(255, 255, 255, 0.015),
    0 24px 60px var(--liquid-glass-shadow);
}

.showcase-feature::before,
.showcase-feature::after,
.showcase-secondary::before,
.showcase-secondary::after,
.featured-project-visual::before,
.featured-project-visual::after,
.featured-project-content::before,
.featured-project-content::after,
.secondary-project-card::before,
.secondary-project-card::after,
.secondary-project-image-wrap::before {
  display: none;
}

.showcase-heading.centered {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  margin-bottom: 32px;
}

.showcase-secondary-header {
  margin-bottom: 24px;
}

.eyebrow {
  color: #8f887c;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: "Neue Montreal", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
}

.showcase-title {
  margin: 0;
  letter-spacing: -0.04em;
  font-family: "Neue Montreal", sans-serif;
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1;
}

.showcase-title.large {
  font-size: clamp(48px, 5vw, 66px);
}

.showcase-description {
  max-width: 620px;
  margin: 0;
  color: #b8b0a3;
  font-family: "Neue Montreal", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.featured-project-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.featured-project-media,
.featured-project-content {
  display: flex;
  flex-direction: column;
}

.featured-project-visual {
  position: relative;
  overflow: hidden;
  padding: 14px;
  min-height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 12%, color-mix(in srgb, var(--featured-accent, #8ea4ff) 18%, transparent), transparent 30%),
    linear-gradient(180deg, rgba(134, 134, 134, 0.3), rgba(56, 56, 56, 0.38) 12%, rgba(18, 18, 18, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 0 0 1px color-mix(in srgb, var(--featured-accent, #8ea4ff) 18%, rgba(255, 255, 255, 0.08)),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.28),
    0 26px 52px rgba(0, 0, 0, 0.34),
    0 0 0 1px color-mix(in srgb, var(--featured-accent, #8ea4ff) 22%, transparent);
}

.featured-project-visual::before {
  content: "";
  display: block;
  position: absolute;
  inset: 7px;
  border-radius: 25px;
  border: 1px solid color-mix(in srgb, var(--featured-accent, #8ea4ff) 20%, rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 18px color-mix(in srgb, var(--featured-accent, #8ea4ff) 10%, transparent),
    0 0 0 1px rgba(0, 0, 0, 0.26);
  pointer-events: none;
  z-index: 1;
}

.featured-project-image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 452px;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.92;
}

.featured-project-content-title {
  margin: 0;
  font-family: "Neue Montreal", sans-serif;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 600;
  line-height: 0.96;
}

.featured-project-content {
  position: relative;
  overflow: hidden;
  justify-content: center;
  padding: 28px;
  border: 1px solid var(--liquid-glass-edge);
  border-radius: 24px;
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 36px rgba(0, 0, 0, 0.22);
}

.featured-project-content-title {
  font-size: clamp(30px, 3vw, 40px);
  position: relative;
  z-index: 1;
}

.featured-project-meta {
  margin: 0 0 18px;
  color: #8f887c;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Neue Montreal", sans-serif;
  font-size: 12px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.featured-project-summary {
  margin: 18px 0 0;
  color: #c8c0b5;
  font-family: "Neue Montreal", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.featured-project-actions {
  display: flex;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.featured-project-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 16px 24px;
  border: 1px solid var(--liquid-glass-edge);
  border-radius: 999px;
  color: #f3ede4;
  font-family: "Neue Montreal", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 22px rgba(0, 0, 0, 0.18);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.featured-project-button.primary {
  color: #f3ede4;
}

.featured-project-button.primary:hover,
.featured-project-button.primary:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 14px 28px rgba(0, 0, 0, 0.22);
}

.secondary-project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.secondary-project-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--liquid-glass-edge);
  border-radius: 18px;
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 30px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.secondary-project-card:hover,
.secondary-project-card:focus-visible,
.secondary-project-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 20px 34px rgba(0, 0, 0, 0.22);
}

.secondary-project-card:focus-visible {
  outline: 2px solid #f2f2f24d;
  outline-offset: 3px;
}

.secondary-project-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.secondary-project-image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.secondary-project-content {
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.secondary-project-title {
  margin: 0;
  font-family: "Neue Montreal", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}

.secondary-project-meta {
  margin: 8px 0 0;
  color: #9f978a;
  font-family: "Neue Montreal", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .section-roblox-showcase {
    padding-top: 56px;
  }

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

  .secondary-project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-feature,
  .showcase-secondary {
    padding: 32px;
    border-radius: 24px;
  }

  .featured-project-visual,
  .featured-project-image {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  :root {
    --hero-frame-width: min(1400px, calc(100vw - 32px));
    --projects-frame-width: min(1180px, calc(100vw - 32px));
  }

  .section-hero {
    padding-top: 132px;
  }

  .window-outline {
    padding: 5px;
    border-radius: 18px;
  }

  .window-main {
    border-radius: 13px;
  }

  .window-bar {
    height: 34px;
    padding-left: 14px;
  }

  .window-dots-wrapper {
    gap: 7px;
  }

  .dot {
    width: 9px;
    height: 9px;
  }

  .window-content {
    gap: 28px;
    min-height: 420px;
    padding: 48px 24px 96px;
  }

  .hero-scroll-cue {
    bottom: 30px;
    width: 40px;
    height: 54px;
  }

  .hero-text-content {
    gap: 36px;
  }

  .text-hero {
    letter-spacing: 0;
    font-size: clamp(36px, 11vw, 54px);
    line-height: 0.96;
  }

  .text-hero-serif {
    letter-spacing: 0;
  }

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

  .hero-about-null {
    display: none;
  }

  .text-hero-about {
    font-size: 18px;
  }

  .text-hero-about-formerly {
    font-size: 15px;
  }

  .section-roblox-showcase {
    padding-left: 16px;
    padding-right: 16px;
  }

  .container-showcase {
    gap: 32px;
  }

  .showcase-feature,
  .showcase-secondary {
    padding: 24px;
    border-radius: 22px;
  }

  .showcase-heading.centered {
    margin-bottom: 32px;
  }

  .showcase-title,
  .showcase-title.large {
    font-size: clamp(34px, 10vw, 48px);
  }

  .featured-project-content {
    padding: 22px;
  }

  .featured-project-content-title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .featured-project-button {
    width: auto;
  }

  .secondary-project-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-height: 800px) {
  .hero-scroll-cue {
    bottom: 116px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-hero-serif-caret {
    animation: none;
  }

  .hero-scroll-cue {
    animation: none;
  }
}
