:root {
  --ink: #070807;
  --ink-soft: #10110d;
  --panel: #15110b;
  --panel-2: #1b150d;
  --paper: #f5ead3;
  --muted: #b6aa93;
  --muted-2: #8f826b;
  --amber: #c88421;
  --amber-bright: #f1bd61;
  --gold-muted: #8b672f;
  --copper: #b66c2f;
  --cyan: #18a8bc;
  --emerald: #1a8d69;
  --line: rgba(241, 189, 97, 0.17);
  --line-strong: rgba(241, 189, 97, 0.32);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 74% 0%, rgba(200, 132, 33, 0.12), transparent 32%),
    linear-gradient(180deg, #060706 0%, #100c07 46%, #070807 100%);
  color: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(7, 8, 7, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(241, 189, 97, 0.15);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  min-height: 74px;
  padding: 12px clamp(18px, 5vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    box-shadow 180ms ease,
    background 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 7, 0.95);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 950;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(241, 189, 97, 0.34), transparent 48%),
    var(--ink);
  border: 1px solid rgba(241, 189, 97, 0.42);
  border-radius: 8px;
  color: var(--paper);
  display: inline-flex;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  justify-content: center;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  color: rgba(245, 234, 211, 0.7);
  font-size: 15px;
  font-weight: 800;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover,
.text-link:hover,
.contact-lines a:hover {
  color: var(--amber-bright);
}

.header-action {
  align-items: center;
  background: rgba(241, 189, 97, 0.12);
  border: 1px solid rgba(241, 189, 97, 0.34);
  border-radius: var(--radius);
  color: var(--paper);
  display: inline-flex;
  font-size: 14px;
  font-weight: 950;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  white-space: nowrap;
}

.header-action:hover {
  background: var(--amber);
  color: #120d07;
}

.menu-toggle {
  align-items: center;
  background: rgba(241, 189, 97, 0.13);
  border: 1px solid rgba(241, 189, 97, 0.26);
  border-radius: var(--radius);
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.menu-toggle span {
  background: var(--paper);
  border-radius: 2px;
  display: block;
  height: 2px;
  transition: transform 180ms ease;
  width: 18px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  background: rgba(7, 8, 7, 0.98);
  border-bottom: 1px solid var(--line);
  display: none;
  gap: 18px;
  left: 0;
  padding: 92px 24px 24px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 15;
}

.mobile-nav.is-open {
  display: grid;
}

.hero {
  min-height: 88svh;
  overflow: hidden;
  padding: 132px clamp(20px, 6vw, 72px) 58px;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(6, 6, 5, 0.96) 0%, rgba(8, 7, 5, 0.79) 40%, rgba(8, 7, 5, 0.18) 100%),
    url("assets/forkr-frontier-hero.png") center / cover no-repeat;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.09);
  will-change: transform;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(7, 8, 7, 0.08) 0%, rgba(7, 8, 7, 0.58) 100%),
    radial-gradient(circle at 20% 78%, rgba(200, 132, 33, 0.26), transparent 34%);
}

.hero-content {
  color: var(--paper);
  max-width: 760px;
  position: relative;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
  z-index: 1;
}

.eyebrow {
  color: var(--amber-bright);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(78px, 12vw, 164px);
  letter-spacing: 0;
  line-height: 0.88;
  margin: 0 0 24px;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

h3 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0;
}

p {
  line-height: 1.65;
}

.hero-copy {
  color: rgba(245, 234, 211, 0.92);
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.36;
  margin: 0;
  max-width: 670px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 52px;
  min-width: 162px;
  padding: 0 22px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--amber);
  border: 1px solid var(--amber);
  color: #120d07;
}

.button-primary:hover {
  background: var(--amber-bright);
  border-color: var(--amber-bright);
}

.button-secondary {
  background: rgba(245, 234, 211, 0.08);
  border: 1px solid rgba(245, 234, 211, 0.42);
  color: var(--paper);
}

.button-secondary:hover {
  background: var(--amber-bright);
  border-color: var(--amber-bright);
  color: var(--ink);
}

.hero-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 54px 0 0;
  max-width: 680px;
}

.hero-stats div {
  border-left: 2px solid rgba(241, 189, 97, 0.9);
  padding-left: 16px;
}

.hero-stats dt {
  color: #fff;
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 950;
  line-height: 1;
}

.hero-stats dd {
  color: rgba(245, 234, 211, 0.76);
  font-size: 14px;
  font-weight: 850;
  margin: 8px 0 0;
}

.section,
.principles-section,
.about-band,
.intro-band {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 72px);
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.reveal-block > .section-inner {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal-block.is-visible > .section-inner {
  opacity: 1;
  transform: translateY(0);
}

.intro-band {
  background:
    linear-gradient(90deg, rgba(200, 132, 33, 0.14), transparent 48%),
    #0b0c0a;
  color: var(--paper);
  padding-bottom: 30px;
  padding-top: 30px;
}

.intro-grid {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.intro-grid p {
  color: rgba(245, 234, 211, 0.86);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.44;
  margin: 0;
  max-width: 900px;
}

.text-link {
  color: var(--amber-bright);
  font-weight: 950;
  white-space: nowrap;
}

.section-heading {
  max-width: 790px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  margin: 20px 0 0;
}

.vision-section {
  background:
    linear-gradient(135deg, rgba(24, 168, 188, 0.12), transparent 42%),
    linear-gradient(180deg, #0c0e0c, #120d07);
}

.vision-layout {
  align-items: start;
  display: grid;
  gap: clamp(34px, 6vw, 82px);
  grid-template-columns: minmax(280px, 0.94fr) minmax(0, 1.06fr);
}

.vision-statement {
  background:
    linear-gradient(145deg, rgba(241, 189, 97, 0.08), transparent 40%),
    var(--panel);
  border: 1px solid rgba(241, 189, 97, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--paper);
  min-height: 360px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  position: relative;
}

.vision-statement::before {
  background:
    linear-gradient(90deg, var(--amber), var(--cyan)),
    var(--amber);
  content: "";
  height: 3px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
}

.vision-statement p {
  color: rgba(245, 234, 211, 0.84);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.signal-diagram {
  aspect-ratio: 1;
  bottom: -54px;
  opacity: 0.74;
  position: absolute;
  right: -44px;
  width: min(340px, 62%);
}

.signal-diagram::before,
.signal-diagram::after {
  border: 1px solid rgba(241, 189, 97, 0.26);
  content: "";
  inset: 16%;
  position: absolute;
  transform: rotate(45deg);
}

.signal-diagram::after {
  border-color: rgba(24, 168, 188, 0.22);
  inset: 29%;
  transform: rotate(0deg);
}

.signal-axis {
  background: rgba(241, 189, 97, 0.32);
  position: absolute;
}

.signal-axis-h {
  height: 1px;
  left: 8%;
  right: 8%;
  top: 50%;
}

.signal-axis-v {
  bottom: 8%;
  left: 50%;
  top: 8%;
  width: 1px;
}

.signal-ring {
  border: 1px solid rgba(241, 189, 97, 0.2);
  border-radius: 999px;
  inset: 2%;
  position: absolute;
}

.signal-mark {
  background: var(--amber-bright);
  border: 4px solid rgba(7, 8, 7, 0.78);
  height: 14px;
  position: absolute;
  width: 14px;
}

.signal-mark-one {
  left: 12%;
  top: 48%;
}

.signal-mark-two {
  right: 17%;
  top: 23%;
}

.signal-mark-three {
  bottom: 16%;
  left: 48%;
}

.signal-mark-four {
  background: var(--cyan);
  right: 25%;
  bottom: 28%;
}

.build-section {
  background:
    radial-gradient(circle at 85% 12%, rgba(200, 132, 33, 0.13), transparent 30%),
    #0a0b09;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.service-card,
.principle-item {
  background:
    linear-gradient(145deg, rgba(241, 189, 97, 0.07), transparent 45%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.service-card {
  min-height: 294px;
  overflow: hidden;
  padding-top: 88px;
}

.service-card::before {
  color: rgba(241, 189, 97, 0.28);
  content: attr(data-index);
  font-size: 13px;
  font-weight: 950;
  position: absolute;
  right: 22px;
  top: 22px;
}

.service-card::after {
  background: linear-gradient(90deg, var(--amber), transparent);
  content: "";
  height: 1px;
  left: 22px;
  opacity: 0.58;
  position: absolute;
  right: 22px;
  top: 66px;
}

.service-card:hover,
.principle-item:hover,
.process-list li:hover {
  border-color: rgba(241, 189, 97, 0.34);
  transform: translateY(-4px);
}

.service-card p,
.principle-item p,
.process-list p,
.about-layout p,
.contact-copy p {
  color: rgba(245, 234, 211, 0.66);
  margin: 14px 0 0;
}

.service-glyph {
  display: block;
  height: 48px;
  left: 22px;
  position: absolute;
  top: 18px;
  width: 70px;
}

.service-glyph::before,
.service-glyph::after,
.service-glyph i {
  content: "";
  position: absolute;
}

.service-glyph::before {
  border: 1px solid rgba(241, 189, 97, 0.42);
  inset: 4px 13px 4px 0;
  transform: skewX(-16deg);
}

.service-glyph::after {
  background: var(--amber-bright);
  height: 6px;
  right: 0;
  top: 21px;
  width: 6px;
}

.service-glyph i {
  background: rgba(241, 189, 97, 0.64);
  height: 1px;
  left: 9px;
  right: 18px;
}

.service-glyph i:nth-child(1) {
  top: 14px;
}

.service-glyph i:nth-child(2) {
  top: 24px;
}

.service-glyph i:nth-child(3) {
  top: 34px;
}

.glyph-ai::before {
  border-color: rgba(241, 189, 97, 0.48);
}

.glyph-ai i:nth-child(2) {
  background: var(--cyan);
  right: 8px;
}

.glyph-platform::before {
  border-color: rgba(24, 168, 188, 0.48);
}

.glyph-platform i {
  background: rgba(24, 168, 188, 0.68);
}

.glyph-knowledge::before {
  border-color: rgba(26, 141, 105, 0.5);
}

.glyph-knowledge::after {
  background: var(--emerald);
}

.glyph-knowledge i {
  background: rgba(241, 189, 97, 0.58);
  left: 16px;
}

.glyph-frontier::before {
  border-color: rgba(241, 189, 97, 0.54);
  inset: 8px 10px 8px 6px;
  transform: rotate(45deg);
}

.glyph-frontier i {
  background: rgba(241, 189, 97, 0.62);
  left: 26px;
  right: 20px;
}

.principles-section {
  background:
    linear-gradient(135deg, rgba(7, 8, 7, 0.98), rgba(27, 21, 13, 0.96)),
    var(--ink);
  color: var(--paper);
}

.principles-layout {
  display: grid;
  gap: clamp(34px, 6vw, 76px);
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
}

.principles-section .section-heading p {
  color: rgba(245, 234, 211, 0.7);
}

.principles-grid {
  display: grid;
  gap: 16px;
}

.principle-item {
  background: rgba(245, 234, 211, 0.045);
  border-color: var(--line);
  color: var(--paper);
  min-height: 156px;
}

.principle-item span {
  color: var(--amber-bright);
  display: block;
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 20px;
}

.principle-item p {
  color: rgba(245, 234, 211, 0.72);
}

.process-section {
  background:
    linear-gradient(180deg, #0f1312, #0b0906);
}

.process-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  position: relative;
}

.process-list::before {
  background: linear-gradient(90deg, transparent, rgba(241, 189, 97, 0.35), transparent);
  content: "";
  height: 1px;
  left: 10%;
  position: absolute;
  right: 10%;
  top: 42px;
}

.process-list li {
  background:
    linear-gradient(145deg, rgba(24, 168, 188, 0.06), transparent 48%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 265px;
  padding: 26px;
  position: relative;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.process-list li::before {
  background: var(--amber);
  border: 5px solid #0f1312;
  content: "";
  height: 14px;
  position: absolute;
  right: 26px;
  top: 35px;
  transform: rotate(45deg);
  width: 14px;
}

.process-list span {
  color: var(--amber-bright);
  display: block;
  font-size: 14px;
  font-weight: 950;
  margin-bottom: 34px;
}

.about-band {
  background:
    linear-gradient(90deg, rgba(200, 132, 33, 0.18), transparent 54%),
    var(--ink);
  color: var(--paper);
}

.about-layout {
  display: grid;
  gap: clamp(30px, 7vw, 96px);
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
}

.about-layout p {
  color: rgba(245, 234, 211, 0.76);
  font-size: 19px;
  margin-top: 0;
}

.contact-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(241, 189, 97, 0.12), transparent 34%),
    #0a0b09;
}

.contact-layout {
  display: grid;
  gap: clamp(34px, 6vw, 82px);
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
}

.contact-copy p {
  font-size: 18px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-lines a {
  color: var(--paper);
  font-size: 18px;
  font-weight: 950;
  width: fit-content;
}

.contact-form {
  background:
    linear-gradient(145deg, rgba(241, 189, 97, 0.08), transparent 45%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.contact-form label {
  color: var(--paper);
  display: grid;
  font-size: 14px;
  font-weight: 950;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(7, 8, 7, 0.62);
  border: 1px solid rgba(241, 189, 97, 0.18);
  border-radius: var(--radius);
  color: var(--paper);
  min-height: 50px;
  outline: none;
  padding: 13px 14px;
  resize: vertical;
  width: 100%;
}

.contact-form textarea {
  min-height: 132px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(245, 234, 211, 0.42);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200, 132, 33, 0.2);
}

.form-button {
  border: 0;
  margin-top: 4px;
  width: 100%;
}

.form-note {
  color: rgba(245, 234, 211, 0.62);
  font-size: 14px;
  margin: 0;
  min-height: 22px;
}

.site-footer {
  background: #070807;
  color: var(--paper);
  padding: 28px clamp(20px, 6vw, 72px);
}

.footer-layout {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
}

.footer-brand .brand-mark {
  background: var(--ink);
  color: var(--paper);
}

.footer-layout p {
  color: rgba(245, 234, 211, 0.68);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(245, 234, 211, 0.78);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

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

  .vision-layout,
  .principles-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 86svh;
    padding: 116px 20px 42px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(6, 6, 5, 0.88) 0%, rgba(8, 7, 5, 0.68) 56%, rgba(8, 7, 5, 0.42) 100%),
      url("assets/forkr-frontier-hero.png") center / cover no-repeat;
  }

  h1 {
    font-size: clamp(68px, 22vw, 112px);
  }

  h2 {
    font-size: clamp(32px, 11vw, 48px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .intro-grid,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list::before {
    display: none;
  }

  .service-card,
  .principle-item,
  .process-list li {
    min-height: auto;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media,
  .hero-content,
  .reveal-block > .section-inner {
    transform: none !important;
  }

  .reveal-block > .section-inner {
    opacity: 1;
  }
}
