:root {
  --fr-accent: #32e6d0;
  --fr-accent-bright: #91fff2;
  --fr-bg: #05090c;
  --fr-bg-soft: #091116;
  --fr-text: #f2f8f7;
  --fr-muted: #9aadb0;
  --fr-heading: "Barlow Condensed", sans-serif;
  --fr-body: "Rajdhani", sans-serif;
}

.fr-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.fr-kicker { display: flex; align-items: center; gap: 13px; margin: 0 0 24px; color: var(--module-accent, var(--fr-accent)); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.fr-kicker span { width: 36px; height: 1px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.fr-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fr-button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 38px; border: 1px solid rgba(94, 239, 225, .6); font-family: var(--fr-body); font-size: 13px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.fr-button:hover { transform: translateY(-2px); }
.fr-button--primary { color: #02110f; background: var(--module-accent, var(--fr-accent)); box-shadow: 0 0 28px rgba(50,230,208,.16); }
.fr-button--primary:hover { color: #000; background: var(--fr-accent-bright); box-shadow: 0 0 34px rgba(50,230,208,.28); }
.fr-button--ghost { color: #d6e8e8; border-color: rgba(209,243,241,.25); background: rgba(4,10,13,.38); }
.fr-button--ghost:hover { border-color: var(--fr-accent); background: rgba(50,230,208,.08); }
.fr-button--wide { width: 100%; justify-content: space-between; }

.fr-hero { --module-accent: #32e6d0; --overlay-opacity: .58; position: relative; min-height: 920px; height: max(100vh, 780px); display: flex; align-items: center; isolation: isolate; overflow: hidden; background-color: #030708; background-position: center; background-size: cover; }
.fr-hero::before { position: absolute; inset: 0; z-index: -1; content: ""; opacity: var(--overlay-opacity); background: linear-gradient(90deg, #020608 0%, #020608 36%, rgba(2,6,8,.45) 68%, rgba(2,6,8,.22) 100%), linear-gradient(0deg, #05090c 0%, transparent 30%), linear-gradient(180deg, rgba(3,7,10,.65), transparent 35%); }
.fr-hero::after { position: absolute; inset: auto 0 0; z-index: -1; height: 38%; content: ""; background: linear-gradient(transparent, var(--fr-bg)); }
.fr-hero__grid { position: absolute; inset: 0; z-index: -1; opacity: .3; background-image: linear-gradient(rgba(81,221,210,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(81,221,210,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 58%); }
.fr-hero__inner { position: relative; padding-top: 110px; }
.fr-hero__content { width: min(720px, 70%); }
.fr-hero h1 { max-width: 720px; margin: 0; font-family: var(--fr-heading); font-size: clamp(76px, 9.6vw, 148px); font-weight: 700; letter-spacing: -.035em; line-height: .78; text-transform: uppercase; text-wrap: balance; }
.fr-hero h1 em { position: relative; color: var(--module-accent); font-style: normal; text-shadow: 0 0 34px rgba(50,230,208,.25); }
.fr-hero h1 em::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; content: ""; background: currentColor; box-shadow: 0 0 14px currentColor; }
.fr-hero__description { max-width: 600px; margin: 34px 0; padding-left: 20px; border-left: 1px solid rgba(64,235,220,.55); color: #b6c7c9; font-size: 19px; line-height: 1.55; }
.fr-hero__stats { position: absolute; top: 200px; right: 0; display: grid; gap: 1px; width: 185px; border: 1px solid rgba(112,236,225,.17); background: rgba(90,234,222,.14); backdrop-filter: blur(12px); }
.fr-hero__stats div { padding: 19px 20px; background: rgba(4,10,13,.72); }
.fr-hero__stats strong, .fr-hero__stats span { display: block; }
.fr-hero__stats strong { color: var(--module-accent); font-family: var(--fr-heading); font-size: 29px; line-height: 1; }
.fr-hero__stats span { margin-top: 5px; color: #93a8aa; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.fr-scroll { position: absolute; bottom: 38px; left: 50%; display: flex; align-items: center; gap: 12px; color: #789093; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; transform: translateX(-50%); }
.fr-scroll span { width: 1px; height: 28px; background: var(--module-accent); animation: fr-pulse 1.7s ease-in-out infinite; }

.fr-story { position: relative; padding: 150px 0; background: var(--fr-bg); overflow: hidden; }
.fr-story::before { position: absolute; top: 40px; right: -10%; width: 45%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(50,230,208,.4)); transform: rotate(-12deg); }
.fr-story__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(60px, 9vw, 120px); }
.fr-story__visual { position: relative; min-height: 610px; }
.fr-story__visual::before { position: absolute; inset: 24px -24px -24px 24px; z-index: 0; border: 1px solid rgba(55,229,214,.18); content: ""; }
.fr-story__visual img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08); clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px)); }
.fr-story__visual::after { position: absolute; inset: 0; z-index: 2; content: ""; background: linear-gradient(0deg, rgba(2,8,10,.55), transparent 45%); pointer-events: none; }
.fr-story__corner { position: absolute; right: -12px; bottom: -12px; z-index: 3; width: 74px; height: 74px; border-right: 2px solid var(--fr-accent); border-bottom: 2px solid var(--fr-accent); }
.fr-story__copy h2, .fr-section-head h2, .fr-recruitment__intro h2 { margin: 0; font-family: var(--fr-heading); font-size: clamp(58px, 6.5vw, 94px); font-weight: 700; letter-spacing: -.025em; line-height: .9; text-transform: uppercase; }
.fr-richtext { margin-top: 34px; color: #9fb1b3; font-size: 18px; }
.fr-richtext p { margin: 0 0 18px; }
.fr-story__facts { display: flex; gap: 1px; margin-top: 36px; background: rgba(96,230,217,.15); border: 1px solid rgba(96,230,217,.12); }
.fr-story__facts div { flex: 1; padding: 20px; background: #081015; }
.fr-story__facts strong, .fr-story__facts span { display: block; }
.fr-story__facts strong { color: var(--fr-accent); font-family: var(--fr-heading); font-size: 32px; line-height: 1; }
.fr-story__facts span { color: #71878a; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.fr-pillars { position: relative; padding: 145px 0 165px; background: #071015; }
.fr-pillars::after { position: absolute; inset: 0; pointer-events: none; content: ""; background: radial-gradient(circle at 80% 20%, rgba(27,142,140,.14), transparent 38%); }
.fr-section-head { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: end; margin-bottom: 68px; }
.fr-section-head > p { margin: 0 0 8px; padding-left: 24px; border-left: 1px solid rgba(50,230,208,.45); color: #97abad; }
.fr-pillars__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid rgba(75,226,213,.15); background: rgba(75,226,213,.14); }
.fr-pillar { position: relative; min-height: 390px; padding: 44px 38px; overflow: hidden; background: linear-gradient(145deg, #0b151a, #071014); transition: background 220ms ease, transform 220ms ease; }
.fr-pillar::after { position: absolute; right: -50px; bottom: -50px; width: 120px; height: 120px; content: ""; border: 1px solid rgba(50,230,208,.1); transform: rotate(45deg); transition: border-color 220ms ease; }
.fr-pillar:hover { z-index: 2; background: linear-gradient(145deg, #102229, #081318); transform: translateY(-8px); }
.fr-pillar:hover::after { border-color: rgba(50,230,208,.45); }
.fr-pillar__number { position: absolute; top: 24px; right: 26px; color: #31474a; font-family: var(--fr-heading); font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.fr-pillar__icon { width: 55px; height: 55px; display: grid; place-items: center; margin: 25px 0 55px; border: 1px solid rgba(50,230,208,.28); color: var(--fr-accent); font-size: 22px; transform: rotate(45deg); }
.fr-pillar__icon > * { transform: rotate(-45deg); }
.fr-pillar__icon svg { fill: currentColor; }
.fr-pillar h3 { margin: 0 0 15px; font-family: var(--fr-heading); font-size: 34px; line-height: 1; text-transform: uppercase; }
.fr-pillar p { margin: 0; color: #8ea1a4; font-size: 16px; line-height: 1.65; }

.fr-recruitment { position: relative; padding: 150px 0; overflow: hidden; background: linear-gradient(150deg, #05090c, #081218); }
.fr-recruitment::before { position: absolute; inset: 0; content: ""; opacity: .3; background-image: linear-gradient(rgba(50,230,208,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(50,230,208,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, black); }
.fr-recruitment__intro { position: relative; max-width: 850px; margin-bottom: 78px; }
.fr-recruitment__intro > p:last-child { max-width: 650px; margin: 28px 0 0; color: #98abad; }
.fr-recruitment__layout { position: relative; display: grid; grid-template-columns: 1fr 440px; gap: 80px; align-items: stretch; }
.fr-steps { margin: 0; padding: 0; list-style: none; }
.fr-steps li { display: grid; grid-template-columns: 74px 1fr; gap: 30px; padding: 29px 0; border-top: 1px solid rgba(123,218,210,.13); }
.fr-steps li:last-child { border-bottom: 1px solid rgba(123,218,210,.13); }
.fr-steps > li > span { color: var(--fr-accent); font-family: var(--fr-heading); font-size: 18px; font-weight: 700; }
.fr-steps h3 { margin: 0 0 5px; font-family: var(--fr-heading); font-size: 29px; line-height: 1; text-transform: uppercase; }
.fr-steps p { margin: 0; color: #899da0; font-size: 16px; }
.fr-discord { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 46px; border: 1px solid rgba(50,230,208,.3); background: rgba(7,20,25,.86); clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); box-shadow: inset 0 0 60px rgba(29,144,140,.07), 0 24px 80px rgba(0,0,0,.35); }
.fr-discord__signal { position: absolute; top: 24px; right: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--fr-accent); box-shadow: 0 0 16px var(--fr-accent); animation: fr-pulse 1.7s ease-in-out infinite; }
.fr-discord__label { color: var(--fr-accent) !important; font-size: 10px !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.fr-discord h3 { margin: 8px 0 18px; font-family: var(--fr-heading); font-size: 48px; line-height: .95; text-transform: uppercase; }
.fr-discord p { margin: 0 0 28px; color: #9aadaf; font-size: 17px; }
.fr-discord small { margin-top: 22px; color: #62777a; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

[data-fr-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms ease; }
[data-fr-reveal].is-visible { opacity: 1; transform: none; }

@keyframes fr-pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

@media (max-width: 980px) {
  .fr-hero { min-height: 820px; height: 100svh; }
  .fr-hero__content { width: 82%; }
  .fr-hero__stats { display: none; }
  .fr-story__grid { grid-template-columns: 1fr; }
  .fr-story__visual { min-height: 520px; }
  .fr-section-head { grid-template-columns: 1fr; gap: 30px; }
  .fr-pillars__grid { grid-template-columns: 1fr; }
  .fr-pillar { min-height: 300px; }
  .fr-pillar__icon { margin-bottom: 35px; }
  .fr-recruitment__layout { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 640px) {
  .fr-shell { width: calc(100% - 32px); }
  .fr-hero { min-height: 760px; background-position: 64% center; }
  .fr-hero::before { background: linear-gradient(90deg, rgba(2,6,8,.97), rgba(2,6,8,.54)), linear-gradient(0deg, #05090c, transparent 55%); }
  .fr-hero__inner { padding-top: 80px; }
  .fr-hero__content { width: 100%; }
  .fr-hero h1 { font-size: clamp(64px, 21vw, 92px); line-height: .82; }
  .fr-hero__description { margin: 26px 0; font-size: 16px; }
  .fr-button { width: 100%; justify-content: space-between; }
  .fr-scroll { display: none; }
  .fr-story, .fr-pillars, .fr-recruitment { padding: 100px 0; }
  .fr-story__visual { min-height: 390px; }
  .fr-story__visual::before { inset: 12px -8px -12px 8px; }
  .fr-story__copy h2, .fr-section-head h2, .fr-recruitment__intro h2 { font-size: clamp(50px, 15vw, 72px); }
  .fr-story__facts { flex-direction: column; }
  .fr-pillar { padding: 36px 30px; }
  .fr-recruitment__intro { margin-bottom: 45px; }
  .fr-steps li { grid-template-columns: 46px 1fr; gap: 14px; }
  .fr-discord { padding: 38px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-fr-reveal] { opacity: 1; transform: none; }
}
