
:root {
  --ink: #06101a;
  --ink-soft: #0b1a27;
  --paper: #edf0ec;
  --muted: rgba(237, 240, 236, 0.62);
  --line: rgba(237, 240, 236, 0.13);
  --gold: #d99a64;
  --gold-soft: #efc79f;
  --teal: #176071;
  --terracotta: #c76f4d;
  --font-body: var(--font-geist-sans), Arial, sans-serif;
  --font-mono: var(--font-geist-mono), monospace;
  --type-small: clamp(14px, 1.2vw, 16px);
  --type-body: clamp(18px, 1.55vw, 20px);
  --type-heading: clamp(32px, 3vw, 40px);
  --type-display: clamp(56px, 6vw, 78px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #02080e;
  color: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site {
  position: relative;
  width: min(100%, 1200px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 40%, rgba(22, 96, 113, 0.1), transparent 30rem),
    var(--ink);
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.52);
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(4, 12, 20, 0.64), transparent);
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 38px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.35));
}

.brand span {
  display: grid;
  gap: 3px;
}

.brand b {
  font-size: var(--type-small);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: var(--type-small);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-mono);
  font-size: var(--type-small);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.header-link span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.hero {
  position: relative;
  min-height: 620px;
  height: 100svh;
  max-height: 880px;
  display: grid;
  align-items: center;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-picture,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-picture {
  z-index: -3;
  background-image: url("assets/hero-worlds.webp");
  background-size: cover;
  background-position: 59% center;
  transform: scale(1.035);
  animation: hero-breathe 14s ease-in-out infinite alternate;
}

.hero-vignette {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(2, 8, 14, 0.46) 0%, rgba(3, 10, 17, 0.08) 35%, rgba(3, 10, 17, 0.2) 63%, #06101a 100%),
    linear-gradient(90deg, rgba(3, 10, 17, 0.45), transparent 55%);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 47%;
  border: 1px solid rgba(235, 192, 150, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%) rotate(12deg);
  animation: orbit 20s linear infinite;
}

.orbit-two {
  width: 316px;
  height: 316px;
  border-color: rgba(237, 240, 236, 0.12);
  transform: translate(-50%, -50%) rotate(-28deg);
  animation: orbit-reverse 26s linear infinite;
}

.hero-content {
  width: min(100%, 680px);
  margin: 52px auto 0;
  padding: 50px 22px 35px;
  text-align: center;
}

.hero-logo-wrap {
  position: relative;
  width: 112px;
  height: 122px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  animation: logo-float 6s ease-in-out infinite;
}

.hero-logo-wrap span {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(235, 166, 102, 0.32);
  filter: blur(28px);
}

.hero-logo-wrap img {
  position: relative;
  width: 112px;
  height: 122px;
  object-fit: contain;
  filter: drop-shadow(0 17px 25px rgba(0, 0, 0, 0.42));
}

.hero-kicker,
.section-label {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 0 0 11px;
  color: var(--gold-soft);
  font-size: var(--type-small);
}

.hero h1 {
  margin: 0;
  font-size: var(--type-display);
  font-weight: 390;
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-wrap: balance;
  text-shadow: 0 6px 34px rgba(0, 0, 0, 0.46);
}

.hero h1 em {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-welcome {
  max-width: 350px;
  margin: 25px auto 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: var(--type-body);
  line-height: 1.55;
  text-wrap: balance;
}

.scroll-cue {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 27px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  backdrop-filter: blur(7px);
  background: rgba(255, 255, 255, 0.04);
  transition: background 250ms ease, border-color 250ms ease;
}

.scroll-cue span {
  animation: arrow-down 2s ease-in-out infinite;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 31px;
  color: var(--gold);
  font-size: var(--type-small);
}

.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.section-label p {
  margin: 0;
}

.about {
  position: relative;
  padding: 76px 22px 72px;
  background:
    radial-gradient(circle at 108% 82%, rgba(199, 111, 77, 0.12), transparent 22rem),
    linear-gradient(180deg, #06101a, #091825);
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  width: 1px;
  height: 55px;
  background: linear-gradient(var(--gold), transparent);
}

.about h2,
.program-heading h2,
.conclusion h2 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.about h2 {
  font-size: var(--type-heading);
  line-height: 1.02;
}

.about-copy {
  margin-top: 31px;
  padding-left: 19px;
  border-left: 1px solid rgba(217, 154, 100, 0.42);
}

.about-copy p {
  margin: 0;
  color: rgba(237, 240, 236, 0.7);
  font-size: var(--type-body);
  line-height: 1.65;
}

.about-copy p + p {
  margin-top: 15px;
}

.about-copy strong {
  color: var(--paper);
  font-weight: 520;
}

.world-balance {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 53px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.world-balance span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(237, 240, 236, 0.58);
  font-family: var(--font-mono);
  font-size: var(--type-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.world-balance span:nth-child(3) {
  justify-content: flex-end;
}

.world-balance i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 18px var(--teal);
}

.world-balance span:nth-child(3) i {
  background: var(--terracotta);
  box-shadow: 0 0 18px var(--terracotta);
}

.world-balance b {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--type-body);
  font-weight: 400;
}

.program {
  padding: 74px 14px 22px;
  background: #e8e4dc;
  color: #10171d;
}

.program .section-label {
  color: #8b543b;
}

.program-heading {
  padding: 0 8px 39px;
}

.program-heading h2 {
  max-width: 720px;
  font-size: var(--type-heading);
  line-height: 0.96;
}

.program-heading h2 em {
  color: #9a583e;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.program-heading > p {
  max-width: 380px;
  margin: 25px 0 0;
  color: rgba(16, 23, 29, 0.58);
  font-size: var(--type-body);
  line-height: 1.55;
}

.practice-grid {
  display: grid;
  gap: 12px;
  max-width: 1088px;
  margin: 0 auto;
}

.practice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(80px, 26vw, 104px);
  grid-template-areas:
    "heading media"
    "text text";
  gap: 17px 16px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(217, 154, 100, 0.18);
  border-radius: 3px;
  background: linear-gradient(135deg, #0b1a27, #08131e);
  color: #fff;
  box-shadow: 0 12px 30px rgba(5, 12, 18, 0.13);
}

.card-media {
  grid-area: media;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(239, 199, 159, 0.2);
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.18, 0.75, 0.2, 1), filter 500ms ease;
}

.card-heading {
  grid-area: heading;
  align-self: center;
  min-width: 0;
}

.card-heading h3 {
  max-width: 440px;
  margin: 0;
  font-size: var(--type-heading);
  font-weight: 430;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.card-text {
  grid-area: text;
  max-width: 760px;
  margin: 0;
  padding-top: 17px;
  border-top: 1px solid rgba(217, 154, 100, 0.22);
  color: rgba(255, 255, 255, 0.67);
  font-size: var(--type-body);
  line-height: 1.5;
}

.card-line {
  display: block;
  width: 46px;
  height: 1px;
  margin-bottom: 15px;
  background: var(--gold);
  transition: width 500ms ease;
}

.conclusion {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 68px 22px 64px;
  background:
    linear-gradient(rgba(3, 11, 18, 0.77), rgba(3, 11, 18, 0.93)),
    url("assets/hero-worlds.webp") center / cover;
  isolation: isolate;
}

.conclusion::before,
.conclusion::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.conclusion::before {
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.conclusion::after {
  right: -105px;
  bottom: -105px;
  z-index: -1;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(217, 154, 100, 0.26);
  border-radius: 50%;
}

.conclusion-light {
  position: absolute;
  z-index: -1;
  top: 44%;
  left: 62%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(217, 154, 100, 0.15);
  filter: blur(48px);
  animation: light-pulse 6s ease-in-out infinite;
}

.conclusion .section-label {
  margin-bottom: 25px;
}

.conclusion h2 {
  font-size: var(--type-heading);
  line-height: 1.01;
}

.conclusion > p {
  max-width: 650px;
  margin: 21px 0 0;
  color: rgba(237, 240, 236, 0.67);
  font-size: var(--type-body);
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.conclusion > p em {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 21px;
  padding: 47px 22px 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--type-small);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 31px;
  height: 34px;
  object-fit: contain;
}

.site-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-small);
}

.botnex {
  margin-top: 22px;
  color: rgba(237, 240, 236, 0.23);
  font-family: var(--font-mono);
  font-size: var(--type-small);
  letter-spacing: 0.12em;
}

.botnex span {
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 750ms ease var(--delay, 0ms),
    transform 900ms cubic-bezier(0.18, 0.75, 0.2, 1) var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-breathe {
  from { transform: scale(1.035); }
  to { transform: scale(1.085); }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes arrow-down {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

@keyframes orbit {
  from { transform: translate(-50%, -50%) rotate(12deg); }
  to { transform: translate(-50%, -50%) rotate(372deg); }
}

@keyframes orbit-reverse {
  from { transform: translate(-50%, -50%) rotate(-28deg); }
  to { transform: translate(-50%, -50%) rotate(-388deg); }
}

@keyframes light-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (hover: hover) {
  .header-link:hover span,
  .scroll-cue:hover {
    border-color: var(--gold);
    background: rgba(217, 154, 100, 0.14);
  }

  .practice-card:hover .card-media > img {
    transform: scale(1.045);
    filter: saturate(1.08);
  }

  .practice-card:hover .card-line {
    width: 100px;
  }
}

@media (min-width: 720px) {
  .site-header {
    min-height: 84px;
    padding: 13px 42px;
  }

  .brand-logo {
    width: 45px;
    height: 49px;
  }

  .hero-content {
    margin-top: 65px;
  }

  .hero-logo-wrap {
    width: 142px;
    height: 154px;
    margin-bottom: 19px;
  }

  .hero-logo-wrap img {
    width: 142px;
    height: 154px;
  }

  .hero-welcome {
    max-width: 430px;
  }

  .about,
  .conclusion {
    padding-left: 56px;
    padding-right: 56px;
  }

  .about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
    gap: 8vw;
    align-items: start;
  }

  .about-copy {
    margin-top: 7px;
  }

  .world-balance {
    margin-top: 84px;
  }

  .program {
    padding: 94px 30px 30px;
  }

  .program-heading {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    column-gap: 56px;
    padding: 0 26px 60px;
  }

  .program-heading .section-label {
    grid-column: 1 / -1;
  }

  .program-heading > p {
    align-self: end;
    margin-bottom: 8px;
  }

  .practice-grid {
    gap: 16px;
  }

  .practice-card {
    grid-template-columns: minmax(0, 1fr) 176px;
    gap: 20px 30px;
    padding: 28px 30px;
  }

  .conclusion {
    padding-top: 80px;
    padding-bottom: 76px;
  }

  .site-footer {
    grid-template-columns: 1fr auto 1fr;
    justify-items: start;
    align-items: center;
    padding: 40px 48px 26px;
  }

  .site-footer > p {
    text-align: center;
  }

  .botnex {
    justify-self: end;
    margin-top: 0;
  }
}

@media (min-width: 1180px) {
  .site-header {
    padding-left: 56px;
    padding-right: 56px;
  }

  .hero-picture {
    background-position: center;
  }

  .about {
    padding-top: 125px;
    padding-bottom: 115px;
  }

  .about-layout {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .conclusion {
    padding-top: 86px;
    padding-bottom: 82px;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 34px;
    height: 37px;
  }

  .header-link {
    gap: 6px;
  }

  .header-link span {
    width: 32px;
    height: 32px;
  }

  .hero-content,
  .about,
  .conclusion {
    padding-left: 18px;
    padding-right: 18px;
  }

}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
