/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument_400_italic_ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument_400_italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument_400_ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument_400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/lato_italic_300_ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/lato_italic_300.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/lato_italic_400_ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/lato_italic_400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/lato_italic_900_ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/lato_italic_900.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/lato_300_ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/lato_300.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/lato_400_ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/lato_400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/lato_900_ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/lato_900.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-ink: #1a1a1a;
  --color-white: #fff;
  --color-dark-bg: #020202;
  --color-paper: #E2E2DB;
  --color-brand: #F93B00;

  --space-section-x: 5%;
  --space-section-y: 6rem;
  --space-bar-y: 2.375rem;
  --space-bar-gap: 2rem;

  --standard-duration: 1s;
}

@media (max-width: 700px) {
  :root {
    --space-bar-y: 1.75rem;
    --space-section-y: 3rem;
  }
}

* {
  box-sizing: border-box;
}

.hidden {
  visibility: hidden;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

html {
  background-color: var(--color-paper);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100px 100px;
}

#app {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

body {
  position: relative;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.menubar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-bar-y) var(--space-section-x);
  margin-bottom: var(--space-bar-gap);
  color: #2b2b2b;
  font-size: clamp(0.9rem, 0.4rem + 0.6vw, 2.15rem);
}

.logo img {
  width: 8rem;
}

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

@media (max-width: 700px) {
  .menubar {
    flex-wrap: wrap;
    row-gap: 2rem;
  }

  .logo {
    order: -1;
    flex-basis: 100%;
    text-align: center;
    margin-bottom: -12px;
  }
}

.hero-viewport {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-section-y) var(--space-section-x);
}

.hero-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(5rem, 3.5rem + 8vw, 10rem);
  line-height: 0.95;
  margin: 0 0 0.1em;
  color: var(--color-ink);
  text-shadow: -1.3px -1.3px rgb(255 255 255 / 40%);
}

.line {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  white-space: nowrap;
}

.hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.45rem);
  line-height: 1.5;
  color: var(--color-ink);
  margin: 0 0 1em;
}

@media (max-width: 700px) {
  .hero-title {
    font-size: clamp(1.2rem, 16vw, 7rem);
  }

  .hero-subtitle {
    font-size: clamp(0.35rem, 3.9vw, 1.75rem);
    margin-bottom: 2.5rem;
  }
}

.cta-button {
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
}

.cta-button {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--color-brand);
  color: var(--color-white);
  border: 2px solid #ff6c6c;
  border-radius: 999px;
  padding: 0.6em 1em;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 3em;
  text-decoration: none;
}

.cta-blob-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  z-index: -1;
}

.cta-button:hover .cta-blob-field {
  opacity: 1;
}

.cta-blob {
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  filter: blur(0.9em);
  opacity: 0.9;
}

.cta-blob.cb1 {
  top: -8%;
  left: -12%;
  background: #bf00ff;
  animation: cta-blob-float-1 2s ease-in-out infinite, cta-blob-hue-1 8s ease-in-out infinite;
}

.cta-blob.cb2 {
  width: 60%;
  height: 60%;
  bottom: -12%;
  right: -10%;
  background: #ff0099;
  animation: cta-blob-float-2 2.5s ease-in-out infinite, cta-blob-hue-2 9.5s ease-in-out infinite;
}

.cta-blob.cb3 {
  width: 50%;
  height: 50%;
  top: 32%;
  left: 22%;
  background: #00fff2;
  animation: cta-blob-float-3 2.5s ease-in-out infinite, cta-blob-hue-3 7s ease-in-out infinite;
}

@keyframes cta-blob-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(45%, 35%) scale(1.55); }
  66% { transform: translate(15%, 60%) scale(0.85); }
}

@keyframes cta-blob-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-40%, -45%) scale(1.6); }
  70% { transform: translate(-60%, -15%) scale(0.8); }
}

@keyframes cta-blob-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30%, -30%) scale(1.9); }
}

@keyframes cta-blob-hue-1 {
  0%, 100% { background-color: #bf00ff; }
  33% { background-color: #ff0099; }
  66% { background-color: #4b75ff; }
}

@keyframes cta-blob-hue-2 {
  0%, 100% { background-color: #00ffd0; }
  33% { background-color: rgb(8, 220, 57); }
  66% { background-color: #0073ff; }
}

@keyframes cta-blob-hue-3 {
  0%, 100% { background-color: rgb(54, 242, 233); }
  33% { background-color: #bf00ff; }
  66% { background-color: #ff0099; }
}

.core-systems {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-section-y) var(--space-section-x);
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(3.125rem, 2.1875rem + 5vw, 6.25rem);
  line-height: 1;
  margin: 0 0 0.2em;
  color: var(--color-ink);
}

.section-subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.45rem);
  line-height: 1.5;
  color: var(--color-ink);
  max-width: 40em;
  margin: 0 auto 5rem;
}

@media (max-width: 700px) {
  .section-title {
    font-size: clamp(0.75rem, 11.5vw, 4.375rem);
  }

  .section-subtitle {
    font-size: clamp(0.35rem, 3.9vw, 1.75rem);
  }
}

@media (max-width: 700px) {
  .subtitle-break {
    display: none;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

@media (max-width: 1300px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid .feature-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 1rem);
  }
}

@media (max-width: 700px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-grid .feature-card:nth-child(3) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }
}

.feature-card {
  position: relative;
  z-index: 0;
  min-height: max-content;
  border-radius: 3.4rem;
  overflow: hidden;
  padding: 2.2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-paper);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 80.66%);
  mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 80.66%);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--color-white);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
}

.feature-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  pointer-events: none;
}

.tech-row-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tech-row-bg {
  background-image: url(/img/bigbg.png);
  background-repeat: no-repeat;
  background-size: 100% 600%;
  background-position: center 0%;
  opacity: 0.2;
  transition: opacity var(--standard-duration) ease, filter var(--standard-duration) ease;
  filter: grayscale();
}

.tech-stack .tech-row:nth-child(1) .tech-row-bg { background-position-y: 0%; }
.tech-stack .tech-row:nth-child(2) .tech-row-bg { background-position-y: 20%; }
.tech-stack .tech-row:nth-child(3) .tech-row-bg { background-position-y: 40%; }
.tech-stack .tech-row:nth-child(4) .tech-row-bg { background-position-y: 60%; }
.tech-stack .tech-row:nth-child(5) .tech-row-bg { background-position-y: 80%; }
.tech-stack .tech-row:nth-child(6) .tech-row-bg { background-position-y: 100%; }

.feature-card-bg {
  aspect-ratio: 3 / 1.6;
  opacity: 0.7;
  transform: scale(1.1);
  filter: grayscale() blur(1px);
  transition: opacity var(--standard-duration) ease, transform var(--standard-duration) ease, filter var(--standard-duration) ease;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 66.66%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 66.66%, transparent 100%);
  background-size: cover;
  background-position: 0 60%;
  background-repeat: no-repeat;
}

.features-grid .feature-card:nth-child(1) .feature-card-bg {
  background-image: url(/img/network.png);
}

.features-grid .feature-card:nth-child(2) .feature-card-bg {
  background-image: url(/img/residency.png);
}

.features-grid .feature-card:nth-child(3) .feature-card-bg {
  background-image: url(/img/partnership.png);
}

.feature-card:hover .feature-card-bg {
  opacity: 1;
  transform: scale(1);
  filter: none;
}

.feature-card.is-inview .feature-card-bg {
  opacity: 1;
  transform: scale(1);
  filter: none;
}

.tech-row:hover .tech-row-bg {
  opacity: 1;
  filter: none;
}

.tech-row.is-inview .tech-row-bg {
  opacity: 1;
  filter: none;
}

.feature-card-text-block {
  position: relative;
  z-index: 1;
  margin-top: 50%;
}

.feature-card-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2rem, 1.76rem + 0.92vw, 2.6rem);
  color: var(--color-ink);
  margin: 0 0 0.4em;
  line-height: 1.2em;
}

.feature-card-text {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  line-height: 1.5;
  color: var(--color-ink);
  margin: 0 0 1.1em 0;
}

.feature-card-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-card-audience li {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  padding: 0.4em 0.9em;
}

.showcase {
  padding: 0;
  padding-bottom: var(--space-section-y);
}

.showcase-scroller {
  position: relative;
}

.showcase-sticky {
  display: flex;
  align-items: center;
}

.showcase-track {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
  padding: 0 calc(var(--showcase-focus, 1) * 5vw);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.showcase-track.snap-active {
  scroll-snap-type: x mandatory;
}

.showcase-track::-webkit-scrollbar {
  display: none;
}

.showcase-slide {
  position: relative;
  scroll-snap-align: center;
  flex: 0 0 90vw;
  min-height: min(100vh, 50rem);
  min-height: min(100dvh, 50rem);
  background: linear-gradient(#141414, #141414) padding-box,
    linear-gradient(to bottom, var(--color-white), rgba(255, 255, 255, 0)) border-box;
  border: 1px solid transparent;
  border-radius: 6.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.showcase-slide .cta-button {
  margin-bottom: 1rem;
}

.showcase-slide[data-slide="1"] {
  flex-basis: calc(100vw - var(--showcase-focus, 1) * 10vw);
  border-radius: calc(var(--showcase-focus, 1) * 6.5rem);
}

.showcase-text {
  position: relative;
  z-index: 2;
  padding: 3.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.showcase-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 1.03rem + 3.24vw, 4.5rem);
  line-height: 1.2;
  color: var(--color-white);
  margin: 0 0 1em;
}

.showcase-title .highlight {
  font-style: italic;
}

@media (min-width: 961px) {
  .showcase-body {
    width: 80%;
  }
}
.showcase-body {
  margin: 0;
}

.showcase-body p {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.3rem);
  color: var(--color-white);
  margin: 0 0 1em;
}

.showcase-body p:last-child {
  margin-bottom: 0;
}

.showcase-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(var(--bg-scale, 145%));
  transform-origin: center;
  pointer-events: none;
}

.showcase-slide[data-slide="1"]::before {
  background-image: url(/img/bg2.jpg);
}

.showcase-slide[data-slide="2"]::before {
  background-image: url(/img/bg3.jpg);
}

.showcase-slide[data-slide="3"]::before {
  background-image: url(/img/bg4.jpg);
}

.showcase-slide[data-slide="4"]::before {
  background-image: url(/img/bg1.jpg);
}

.showcase-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0;
}

.showcase-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.showcase-arrow:hover {
  background: var(--color-brand);
  border-color: var(--color-brand);
}

@media (max-width: 700px) {
  .showcase-title {
    margin: 0 0 0.5em;
  }

  .showcase-track {
    padding: 0 calc(var(--showcase-focus, 1) * 6vw);
  }

  .showcase-slide {
    flex-basis: 88vw;
    border-radius: 2rem;
    padding: var(--space-section-x + 0);
  }

  .showcase-slide[data-slide="1"] {
    flex-basis: calc(100vw - var(--showcase-focus, 1) * 12vw);
    border-radius: calc(var(--showcase-focus, 1) * 2rem);
  }

  .showcase-text {
    padding: 1.5rem;
  }

  .showcase-text, .showcase-body {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .showcase-slide {
    height: min(100vh, 50rem);
    height: min(100dvh, 50rem);
  }

  .showcase-text {
    min-height: 0;
  }

  .showcase-title {
    flex-shrink: 0;
  }

  .showcase-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0;
  }

  .showcase-body::-webkit-scrollbar {
    display: none;
  }

  .showcase-nav {
    flex-shrink: 0;
    padding-top: 0;
    justify-content: flex-end;
  }
}

@media (min-width: 701px) and (max-width: 960px) {
  .hero {
    padding-top: 0;
  }
  
  .showcase-track {
    padding: 0 1.5rem;
  }

  .showcase-title {
    margin: 0 0 0.5em;
  }

  .showcase-slide {
    flex-basis: calc(100vw - 3rem);
    border-radius: 2rem;
    min-height: 0;
    height: auto;
  }

  .showcase-slide[data-slide="1"] {
    flex-basis: calc(100vw - 3rem);
    border-radius: calc(var(--showcase-focus, 1) * 2rem);
  }

  .showcase-text {
    padding: 1.5rem;
  }

  .showcase-nav {
    justify-content: flex-end;
    position: absolute;
    bottom: 2.8rem;
    right: 1.5rem;
  }
}

.technology {
  background: var(--color-dark-bg);
  padding: var(--space-section-y) var(--space-section-x);
  text-align: center;
}

.tech-section-title {
  color: var(--color-paper);
}

.tech-section-subtitle {
  color: var(--color-paper);
}

.tech-stack {
  margin-top: 3rem;
  text-align: left;
}

.tech-row {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2.6rem 6rem 2.6rem 2.2rem;
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, #444, black) 1;
  overflow: hidden;
}

.tech-row:last-child {
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(to right, #444, black) 1;
}

.tech-row-bg {
  -webkit-mask-image: linear-gradient(to left, black 0%, transparent 55%);
  mask-image: linear-gradient(to left, black 0%, transparent 55%);
}

.tech-row-text {
  position: relative;
  z-index: 1;
}

.tech-row-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.6rem);
  line-height: 1.2;
  color: var(--color-paper);
  margin: 0 0 0.5em;
}

.tech-row-desc {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.5;
  color: var(--color-paper);
  margin: 0;
  max-width: 34em;
}

@media (max-width: 700px) {
  .tech-row {
    padding: 1.8rem 0.5rem;
  }

  .tech-row.is-inview .tech-row-bg {
    opacity: 0.4;
  }

  .tech-row-title {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }

  .tech-row-desc {
    font-size: clamp(0.85rem, 3.2vw, 1rem);
  }
}

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--color-dark-bg);
  padding: var(--space-section-y) var(--space-section-x);
}

.closing-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(7.5rem, 5.25rem + 12vw, 15rem);
  line-height: 0.95;
  margin: 0 0 0.2em;
  color: var(--color-paper);
}

.apply {
  position: relative;
  background: var(--color-dark-bg);
  padding: var(--space-section-y) var(--space-section-x);
  padding-bottom: calc(var(--space-section-y) + 45%);
}

.apply-card {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 0 9.5rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
}

.apply-intro {
  display: flex;
  flex-direction: column;
}

.apply-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 1.7rem + 2vw, 3.2rem);
  line-height: 1.15;
  color: var(--color-paper);
  margin: 0 0 1em;
}

.apply-body p {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  line-height: 1.6;
  color: var(--color-paper);
  margin: 0 0 1.25em;
}

.apply-body p:last-child {
  margin-bottom: 0;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.grid-canvas {
  display: block;
  width: 100vw;
  position: absolute;
  left: 50%;
  margin-left: -50vw;
  bottom: 0;
  height: 1500px;
  background: #000;
  z-index: 0;
}

.apply-logo-static {
  display: none;
  width: 100vw;
  position: absolute;
  left: 50%;
  margin-left: -50vw;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
}

@media (max-width: 1300px) {
  .grid-canvas {
    display: none;
  }

  .apply-logo-static {
    display: block;
  }
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-section-title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0;
  padding: 1rem 0;
}

.form-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  letter-spacing: 0.04em;
  color: var(--color-paper);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  color: var(--color-paper);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.85rem;
  padding: 0.85em 1em;
  width: 100%;
  transition: border-color var(--standard-duration) ease, background var(--standard-duration) ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 6.5rem;
  line-height: 1.5;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-paper);
  opacity: 0.7;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%239a9a97' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
}

.form-field select:invalid {
  color: var(--color-paper);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-brand);
}

.form-checkbox-group {
  border: none;
  margin: 0;
  padding: 0;
  gap: 0.75rem;
}

.form-checkbox-group legend {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  letter-spacing: 0.04em;
  color: var(--color-paper);
  padding: 0;
  margin: 0 0 1rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.5;
  color: var(--color-paper);
  cursor: pointer;
}

.form-checkbox input.big {
  margin-top: 0.3em;
  width: 1.3em;
  height: 1.3em;
  flex-shrink: 0;
  accent-color: var(--color-brand);
}

.form-checkbox .check-txt {
  line-height: 2rem;
}

.form-checkbox input {
  margin-top: 0.3em;
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  accent-color: var(--color-brand);
}

.apply-submit {
  margin-bottom: 0;
  align-self: flex-start;
}

.apply-note {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-paper);
  margin: 0.5rem 0 0;
}

.apply-note a {
  color: var(--color-paper);
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .apply-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.2rem;
    border-radius: 2rem;
  }
}

@media (max-width: 700px) {
  .apply-card {
    padding: 0;
  }

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

  .apply-submit {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .closing-title {
    font-size: clamp(1.8rem, 50vw, 12rem);
  }

  .closing-title .line {
    white-space: normal;
    width: auto;
  }

  .closing-title .word {
    display: block;
  }
}
