/* ================================================================
   ORYX — HUMAN-FIRST AI SYSTEMS
   MAIN STYLESHEET
===================================================================
   This file contains the complete visual system for the template.

   CONTENTS
   01. Design tokens and theme colors
   02. Reset, layout, effects, and typography
   03. Buttons, header, and navigation
   04. Homepage hero and editorial sections
   05. Reusable cards, metrics, process, and testimonials
   06. Inner pages, services, pricing, FAQ, forms, and legal pages
   07. Footer, reveal animations, and accessibility

   BUYER NOTES
   - Customize the colors and dimensions in the :root variables.
   - Light-theme overrides use html[data-theme="light"].
   - Responsive overrides are stored in responsive.css.
   - JavaScript state classes are controlled by assets/js/main.js.
================================================================ */

:root {
  color-scheme: dark;

  --orange: #ff7417;
  --orange-light: #ff9138;
  --red: #ff3b30;
  --pink: #ffd6e6;

  --bg: #080808;
  --bg-soft: #0f0f10;
  --surface: #151516;
  --surface-2: #1c1c1e;
  --paper: #f5f5f7;

  --text: #f5f3ed;
  --text-dark: #111;
  --muted: #9c9c9f;

  --line: rgba(255, 255, 255, 0.13);
  --line-dark: rgba(17, 17, 17, 0.14);

  --success: #b9ffdc;
  --danger: #ff6677;

  --aurora: linear-gradient(285deg, #f8c9b3 28%, #ff914d 62%, #ff3b30 100%);

  --aurora-soft: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 178, 211, 0.18),
    rgba(255, 116, 23, 0.2),
    rgba(255, 59, 48, 0.16)
  );

  --glass: rgba(12, 12, 14, 0.68);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-pill: 999px;

  --container: 1280px;
  --transition: 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

html[data-theme="light"] {
  color-scheme: light;

  --bg: #ece9e1;
  --bg-soft: #e3dfd5;
  --surface: #f8f6f0;
  --surface-2: #ded9ce;

  --text: #141414;
  --muted: #5d5d61;

  --line: rgba(17, 17, 17, 0.14);
  --shadow: 0 30px 90px rgba(40, 31, 23, 0.14);
}

/* ================================================================
   RESET
================================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;

  color: var(--text);
  background: var(--bg);

  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

main {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

::selection {
  color: #111;
  background: var(--orange-light);
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 0.65em;

  font-family: "Space Grotesk", "DM Sans", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

p {
  color: var(--muted);
}

/* ================================================================
   LAYOUT
================================================================ */

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - 64px), 860px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 132px 0;
}

.section-sm {
  position: relative;
  padding: 76px 0;
}

.section-line {
  border-top: 1px solid var(--line);
}

.surface-section {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

/* ================================================================
   GLOBAL EFFECTS
================================================================ */

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;

  padding: 10px 16px;

  color: #111;
  background: var(--aurora);
  border-radius: var(--radius-pill);

  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-noise {
  position: fixed;
  z-index: 9998;
  inset: 0;

  pointer-events: none;

  opacity: 0.07;
  mix-blend-mode: soft-light;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  z-index: 900;

  width: 360px;
  height: 360px;

  pointer-events: none;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255, 116, 23, 0.12),
    transparent 67%
  );

  transform: translate(-50%, -50%);
}

#scroll-progress {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;

  width: 0;
  height: 3px;

  background: var(--aurora);
}

/* ================================================================
   TYPOGRAPHY
================================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 24px;

  color: var(--muted);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;

  content: "";

  background: var(--orange);
  border-radius: 50%;

  box-shadow: 0 0 18px rgba(255, 116, 23, 0.7);
}

.accent-text,
.gradient-text {
  color: transparent;
  background: var(--aurora);

  -webkit-background-clip: text;
  background-clip: text;
}

.signal-text {
  color: var(--success);
}

.muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 58px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading h2,
.editorial-heading h2 {
  font-size: clamp(2.8rem, 6vw, 6.7rem);
}

.section-heading p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 1.04rem;
}

.section-heading.center p {
  margin-inline: auto;
}

.heading-row,
.editorial-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;

  margin-bottom: 62px;
}

.heading-row .section-heading,
.editorial-heading h2 {
  margin-bottom: 0;
}

.heading-note {
  max-width: 240px;

  color: var(--muted);

  font-size: 0.78rem;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

/* ================================================================
   BUTTONS
================================================================ */

.button {
  --button-height: 50px;
  --button-orb-size: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: var(--button-height);
  min-height: var(--button-height);
  gap: 12px;

  padding: 5px 5px 5px 20px;
  overflow: hidden;

  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: calc(var(--button-height) / 2);

  cursor: pointer;

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;

  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgba(255, 145, 77, 0.38);
  outline-offset: 3px;
}

.button svg {
  width: 16px;
  height: 16px;
}

.button-primary {
  color: #111;
  background: var(--orange-light);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 12px 34px rgba(255, 83, 56, 0.17);
}

.button-primary:hover {
  box-shadow: 0 16px 42px rgba(255, 83, 56, 0.27);
}

.button-secondary {
  padding-inline: 20px;

  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.button-secondary:hover {
  background: rgba(255, 116, 23, 0.12);
  border-color: rgba(255, 145, 77, 0.56);
}

.button-light {
  color: #111;
  background: #f5f3ed;
}

.button-dark {
  color: #fff;
  background: #111;
}

.button-sm {
  --button-height: 42px;
  --button-orb-size: 32px;

  gap: 10px;
  padding: 5px 5px 5px 16px;

  font-size: 0.64rem;
}

.button-block {
  width: 100%;
}

.button:not(:has(.button-orb)) {
  padding-right: 20px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button-orb {
  display: grid;
  flex: 0 0 var(--button-orb-size);

  width: var(--button-orb-size);
  height: var(--button-orb-size);
  margin: 0;

  place-items: center;

  color: #fff;
  background: #111;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;

  transition:
    background-color var(--transition),
    transform var(--transition);
}

.button-light .button-orb,
.button-dark .button-orb {
  background: var(--orange);
}

.button:hover .button-orb {
  transform: translate(1px, -1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: var(--text);

  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.text-link svg {
  width: 16px;
  transition: transform var(--transition);
}

.text-link:hover {
  color: var(--orange);
}

.text-link:hover svg {
  transform: translate(3px, -3px);
}

/* ================================================================
   NAVBAR
================================================================ */

.site-header {
  position: fixed;
  z-index: 1100;
  top: 16px;
  left: 50%;

  width: min(calc(100% - 32px), 1180px);
  padding: 0;

  transform: translateX(-50%);

  transition:
    top var(--transition),
    opacity var(--transition),
    transform var(--transition);
}

.site-header .container {
  width: 100%;
  max-width: none;
}

.site-header.scrolled {
  top: 10px;
}

.site-header.header-hidden {
  opacity: 0;
  transform: translate(-50%, -130%);
}

.header-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "nav brand actions";
  align-items: center;

  min-height: 64px;
  padding: 6px 7px 6px 14px;

  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);

  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.brand {
  grid-area: nav;

  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
}

.brand-mark {
  display: grid;

  width: 42px;
  height: 42px;

  place-items: center;
  overflow: hidden;

  background: #090909;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;

  box-shadow: 0 0 25px rgba(255, 116, 23, 0.12);
}

.brand-mark img {
  width: 38px;
  height: 38px;

  object-fit: contain;
  transform: scale(1.16);
}

.brand-name {
  color: #fff;

  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-descriptor {
  margin-left: 3px;
  padding-left: 12px;

  color: rgba(255, 255, 255, 0.42);
  border-left: 1px solid rgba(255, 255, 255, 0.16);

  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.desktop-nav {
  grid-area: brand;

  display: flex;
  align-items: center;
  justify-self: center;
  gap: 5px;

  padding: 5px;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-pill);
}

.nav-link {
  position: relative;

  padding: 9px 13px;

  color: rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-pill);

  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition:
    color var(--transition),
    background-color var(--transition);
}

.nav-link::after {
  display: none;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header-actions {
  grid-area: actions;

  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

/* ================================================================
   HEADER CALL-TO-ACTION
   Keeps the navigation CTA readable in both color themes.
================================================================ */

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 0;
  height: auto;

  padding: 9px 14px;

  color: #fff;
  background: rgba(255, 255, 255, 0.1);

  border: 0;
  border-radius: 999px;
  box-shadow: none;

  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;

  transform: none;
}

.header-cta .button-orb {
  color: #fff;
  background: #151515;
}

.header-cta:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  transform: none;
}

html[data-theme="light"] .header-cta {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] .header-cta:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

/* ================================================================
   THEME BUTTON
================================================================ */

/* Remove the legacy CSS-generated theme symbol. */
[data-theme-toggle]::before {
  display: none;
  content: none;
}

/* Display only the moon icon in dark mode. */
[data-theme-toggle] .theme-moon {
  display: block;
}

[data-theme-toggle] .theme-sun {
  display: none;
}

/* Replace the moon with the sun icon in light mode. */
html[data-theme="light"] [data-theme-toggle] .theme-moon {
  display: none;
}

html[data-theme="light"] [data-theme-toggle] .theme-sun {
  display: block;
}

html[data-theme="light"] [data-theme-toggle] {
  color: #fff;
  background: var(--orange, #ff7417);
  border-color: rgba(255, 255, 255, 0.32);
}

/* ================================================================
   MOBILE MENU BUTTON
================================================================ */

.menu-toggle {
  flex: 0 0 42px;

  width: 42px;
  height: 42px;
  padding: 0;

  place-items: center;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

/* Remove legacy symbols previously generated by pseudo-elements. */
.menu-toggle::before,
.menu-toggle::after {
  display: none;
  content: none;
}

/* Display the Lucide menu icon. */
.menu-toggle svg {
  display: block;

  width: 19px;
  height: 19px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Open mobile menu state. */
.menu-toggle[aria-expanded="true"] {
  color: #111111;
  background: var(--orange, #ff7417);
  border-color: var(--orange, #ff7417);
}

.icon-button {
  display: grid;

  width: 42px;
  height: 42px;

  place-items: center;

  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;

  cursor: pointer;

  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.icon-button:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(6deg);
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

html[data-theme="light"] .theme-sun {
  display: block;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

/* ================================================================
   HERO
================================================================ */

.hero-editorial {
  --mx: 50%;
  --my: 42%;
  --hero-scroll: 0;

  position: relative;

  min-height: 100vh;
  overflow: hidden;

  color: #fff;
  background: #050505;

  isolation: isolate;
}

.hero-editorial::before {
  position: absolute;
  z-index: -1;

  top: calc(var(--my) - 280px);
  left: calc(var(--mx) - 280px);

  width: 560px;
  height: 560px;

  pointer-events: none;

  content: "";
  opacity: 0.5;

  background: radial-gradient(
    circle,
    rgba(255, 210, 229, 0.2),
    rgba(255, 116, 23, 0.1) 35%,
    transparent 68%
  );

  filter: blur(28px);

  transition:
    top 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    left 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-editorial::after {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -30%;

  width: 65%;
  height: 65%;

  content: "";
  opacity: 0.34;

  background: var(--aurora);
  border-radius: 50%;

  filter: blur(150px);
}

.hero-media {
  position: absolute;
  z-index: -4;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 40% center;

  opacity: 0.74;
  filter: saturate(0.72) contrast(1.08);

  animation: hero-breathe 13s ease-in-out infinite alternate;

  transform: translate3d(0, calc(var(--hero-scroll) * 0.12px), 0) scale(1.02);
}

@keyframes hero-breathe {
  to {
    filter: saturate(0.9) contrast(1.08);
  }
}

.hero-shade {
  position: absolute;
  z-index: -3;
  inset: 0;

  background:
    radial-gradient(
      circle at 74% 34%,
      rgba(255, 145, 77, 0.12),
      transparent 28%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.58),
      transparent 45%,
      rgba(0, 0, 0, 0.2)
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.9),
      transparent 52%,
      rgba(0, 0, 0, 0.35)
    );
}

.hero-grid-lines {
  position: absolute;
  z-index: -2;
  inset: 0;

  opacity: 0.08;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);

  background-size: 14vw 14vw;

  mask-image: linear-gradient(to right, transparent, #000 50%, transparent);
}

.hero-badge {
  position: absolute;
  top: 16%;
  left: 5%;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 7px 16px 7px 7px;

  background: rgba(12, 12, 14, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);

  font-size: 0.7rem;
  font-weight: 600;

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.badge-orbit {
  display: grid;

  width: 31px;
  height: 31px;

  place-items: center;

  color: #111;
  background: var(--aurora);
  border-radius: 50%;
}

.badge-orbit svg {
  width: 15px;
}

/* Project availability label and animated status indicator. */

.hero-availability {
  position: absolute;
  top: 17%;
  right: 5%;

  text-align: right;
}

.hero-availability p {
  margin: 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 0.68rem;
  line-height: 1.45;
}

.availability-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  display: inline-block;
  flex: 0 0 7px;

  width: 7px;
  height: 7px;
  margin-top: 4px;

  background: var(--success);
  border-radius: 50%;

  box-shadow: 0 0 14px var(--success);

  animation: status-pulse 1.8s ease-in-out infinite;
}

.availability-line .status-dot {
  margin-top: 0;
  transform: translateY(-1px);
}

@keyframes status-pulse {
  50% {
    opacity: 0.45;
  }
}

/* Small agency introduction displayed beside the hero content. */

.hero-side-copy {
  position: absolute;
  top: 42%;
  left: 5%;

  width: 190px;
}

.hero-side-copy span,
.hero-case-meta span,
.hero-case-year,
.hero-side-mark {
  color: rgba(255, 255, 255, 0.58);

  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-side-copy p {
  margin: 10px 0 0;

  color: rgba(255, 255, 255, 0.78);

  font-size: 0.68rem;
  line-height: 1.4;
}

/* Main hero title and gradient-highlighted service line. */

.hero-title-block {
  position: absolute;
  top: 32%;
  right: 4%;

  width: min(92%, 1320px);

  transform: translateY(calc(var(--hero-scroll) * -0.04px));
}

.hero-title-block h1 {
  margin: 0;

  color: transparent;
  background: var(--aurora);
  background-size: 150% 100%;

  -webkit-background-clip: text;
  background-clip: text;

  font-size: clamp(4.4rem, 9vw, 10rem);
  line-height: 0.82;
  text-align: right;
  text-transform: uppercase;
}

.hero-rotating-word {
  position: relative;
  right: 24px;

  display: block;
  max-width: 100%;
  min-height: 0.9em;
  padding-right: 0.12em;

  color: transparent;
  background: var(--aurora);
  background-size: 180% 100%;

  -webkit-background-clip: text;
  background-clip: text;

  font-size: 0.58em;
  line-height: 1.02;
  white-space: nowrap;

  animation: aurora-shift 7s ease-in-out infinite alternate;
}

@keyframes aurora-shift {
  to {
    background-position: 100% 50%;
  }
}

/* Hero introduction and primary call-to-action. */

.hero-about {
  position: absolute;
  right: 5%;
  bottom: 7%;

  width: min(34%, 430px);
  padding: 24px;

  background: rgba(10, 10, 12, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.hero-about-label {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-about-label svg {
  width: 9px;

  color: var(--orange);
  fill: var(--orange);
}

.hero-about p {
  margin: 14px 0 25px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 0.82rem;
}

/* Featured project card displayed inside the hero. */

.hero-case {
  position: absolute;
  bottom: 5%;
  left: 5%;

  width: min(26%, 330px);
}

.hero-case-meta {
  display: grid;
  gap: 2px;

  margin-bottom: 10px;
}

.hero-case-meta strong {
  color: #fff;
  font-size: 0.78rem;
}

.hero-case-year {
  position: absolute;
  top: 14px;
  right: 0;

  padding: 5px 9px;

  color: #111;
  background: #fff;
  border-radius: var(--radius-pill);
}

.hero-case-image {
  position: relative;

  aspect-ratio: 1.7;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
}

.hero-case-image::after {
  position: absolute;
  inset: 0;

  content: "";

  background: linear-gradient(90deg, transparent, rgba(255, 116, 23, 0.13));
}

.hero-case-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.7s ease;
}

.hero-case:hover img {
  transform: scale(1.06);
}

.case-arrow,
.work-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;

  display: grid;

  width: 58px;
  height: 58px;

  place-items: center;

  color: #fff;
  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transform: translate(-50%, -50%);

  transition:
    background-color var(--transition),
    transform var(--transition);
}

.hero-case:hover .case-arrow,
.work-card:hover .work-arrow {
  background: var(--orange);
  transform: translate(-50%, -50%) rotate(45deg);
}

.case-arrow svg,
.work-arrow svg {
  width: 18px;
}

.hero-side-mark {
  position: absolute;
  top: 30%;
  left: 5%;

  display: grid;

  width: 42px;
  height: 42px;

  place-items: center;

  color: #111;
  background: #fff;
  border-radius: 50%;

  letter-spacing: 0;
}

.hero-scroll {
  position: absolute;
  right: 1.7%;
  bottom: 5%;

  display: flex;
  align-items: center;
  gap: 13px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll span {
  display: block;

  width: 1px;
  height: 60px;

  background: rgba(255, 255, 255, 0.45);
}

.hero-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 11vw;
  margin: -0.5vw 0 -1vw;
  overflow: hidden;

  color: transparent;

  -webkit-text-stroke: 1px
    rgba(255, 202, 220, 0.13);

  font-family: "Space Grotesk", sans-serif;
  font-size: 13vw;
  font-weight: 700;
  font-kerning: none;
  font-feature-settings: "kern" 0;
  line-height: 0.84;
  letter-spacing: 0.035em;
  text-align: center;
  white-space: nowrap;
}

/* ================================================================
   MANIFESTO
================================================================ */

.editorial-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 7vw;
}

.editorial-index {
  padding-top: 12px;
}

.editorial-index span {
  display: grid;

  width: 46px;
  height: 46px;

  place-items: center;

  color: #111;
  background: var(--aurora);
  border-radius: 50%;

  font-size: 0.72rem;
  font-weight: 800;
}

.editorial-index p {
  margin-top: 17px;

  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manifesto-copy {
  max-width: 1000px;
}

.manifesto-copy h2 {
  margin-bottom: 35px;

  font-size: clamp(3.2rem, 7vw, 8.4rem);
}

.manifesto-copy > p {
  max-width: 570px;
  margin-left: auto;

  font-size: 1.05rem;
}

/* ================================================================
   SERVICES
================================================================ */

.service-rows {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 0.9fr 52px;
  align-items: center;
  gap: 30px;

  padding: 34px 8px;

  border-bottom: 1px solid var(--line);
  border-radius: 18px;

  transition:
    padding var(--transition),
    background-color var(--transition);
}

.service-row:hover {
  padding-inline: 22px;

  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 150, 100, 0.055)
  );
}

.service-row-number,
.process-number {
  color: var(--orange);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-row h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 3.25rem);
}

.service-row p {
  margin: 0;
  font-size: 0.86rem;
}

.service-row-icon {
  display: grid;

  width: 48px;
  height: 48px;

  place-items: center;

  border: 1px solid var(--line);
  border-radius: 50%;

  transition:
    color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.service-row:hover .service-row-icon {
  color: #111;
  background: var(--orange-light);

  transform: rotate(10deg);
}

.service-row-icon svg {
  width: 19px;
}

/* ================================================================
   FEATURED WORK
================================================================ */

.featured-work {
  color: var(--text-dark);
  background: var(--paper);
}

.featured-work .eyebrow,
.featured-work .heading-note {
  color: #696967;
}

.featured-work .text-link {
  color: #111;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
}

.work-card {
  overflow: hidden;

  background: #dedbd3;
  border-radius: var(--radius-md);

  transition: transform var(--transition);
}

.work-card:hover {
  transform: translateY(-6px);
}

.work-visual {
  position: relative;

  min-height: 420px;
  overflow: hidden;

  background: #0b0b0c;
}

.work-card-large .work-visual {
  min-height: 540px;
}

.work-visual-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0.76;

  transition: transform 0.8s ease;
}

.work-card:hover .work-visual-image img {
  transform: scale(1.035);
}

.work-visual-code {
  position: absolute;
  top: 22px;
  left: 22px;

  color: rgba(255, 255, 255, 0.72);

  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.work-arrow {
  top: auto;
  right: 22px;
  bottom: 22px;
  left: auto;

  transform: none;
}

.work-card:hover .work-arrow {
  transform: rotate(45deg);
}

.work-visual-data {
  display: grid;
  place-items: center;

  background:
    radial-gradient(circle, rgba(255, 116, 23, 0.18), transparent 44%), #0b0b0c;
}

.signal-ring {
  position: absolute;

  border: 1px solid rgba(255, 116, 23, 0.38);
  border-radius: 50%;

  animation: ring-rotate 14s linear infinite;
}

.ring-one {
  width: 270px;
  height: 270px;
  border-style: dashed;
}

.ring-two {
  width: 170px;
  height: 170px;

  animation-direction: reverse;
}

@keyframes ring-rotate {
  to {
    transform: rotate(360deg);
  }
}

.signal-core {
  z-index: 2;

  display: grid;

  width: 105px;
  height: 105px;

  place-items: center;

  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;

  box-shadow: 0 0 55px rgba(255, 116, 23, 0.35);
}

.signal-core img {
  width: 75px;
}

.work-content {
  padding: 27px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;

  margin-bottom: 20px;
}

.work-tags span,
.project-meta span,
.service-tags span {
  padding: 5px 9px;

  color: #3f3f3e;
  background: rgba(17, 17, 17, 0.07);
  border-radius: var(--radius-pill);

  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.work-content h3 {
  margin-bottom: 8px;
  font-size: 1.75rem;
}

.work-content p {
  margin: 0;
  color: #595957;
}

/* ================================================================
   METRICS
================================================================ */

.metrics-band {
  display: grid;
  grid-template-columns: 0.8fr repeat(3, 1fr);

  color: #fff;
  background: #0b0b0d;

  border-block: 1px solid var(--line);
}

.metrics-label,
.metric-editorial {
  min-height: 230px;
  padding: 34px;

  border-right: 1px solid var(--line);
}

.metrics-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.metrics-label .status-dot {
  background: #ff8a60;
  box-shadow: none;
}

.metrics-label p {
  margin: 0;

  color: rgba(255, 255, 255, 0.62);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-editorial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-editorial:last-child {
  border-right: 0;
}

.metric-editorial strong {
  color: transparent;
  background: var(--aurora);

  -webkit-background-clip: text;
  background-clip: text;

  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.metric-editorial span {
  max-width: 160px;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ================================================================
   PROCESS
================================================================ */

.process-list {
  border-top: 1px solid var(--line);
}

.process-row {
  display: grid;
  grid-template-columns: 120px 0.85fr 1.1fr 40px;
  align-items: center;
  gap: 28px;

  padding: 31px 5px;

  border-bottom: 1px solid var(--line);

  transition:
    padding var(--transition),
    background-color var(--transition);
}

.process-row:hover {
  padding-inline: 20px;
  background: var(--surface);
}

.process-row h3,
.process-row p {
  margin: 0;
}

.process-row h3 {
  font-size: 1.45rem;
}

.process-row p {
  font-size: 0.86rem;
}

.process-row > svg {
  width: 20px;
  color: var(--orange);
}

/* ================================================================
   TESTIMONIALS
================================================================ */

.testimonial-editorial {
  background: var(--surface);
}

.testimonial-wrap {
  overflow: hidden;
}

.testimonial-track {
  display: flex;

  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.testimonial {
  min-width: 100%;
  padding: 64px;

  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 108, 72, 0.035)
  );

  border: 1px solid var(--line);
}

.testimonial-number {
  display: block;

  margin-bottom: 45px;

  color: var(--orange);

  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.testimonial blockquote {
  max-width: 1050px;
  margin-bottom: 48px;

  color: var(--text);

  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.person {
  display: flex;
  align-items: center;
  gap: 13px;
}

.person-avatar {
  display: grid;

  width: 46px;
  height: 46px;

  place-items: center;

  color: #111;
  background: var(--aurora);
  border-radius: 50%;

  font-weight: 800;
}

.person strong,
.person small {
  display: block;
}

.person small {
  color: var(--muted);
}

.slider-controls {
  display: flex;
  gap: 8px;
}

/* ================================================================
   FINAL CTA
================================================================ */

.final-editorial-cta {
  background: #050505;
}

.cta-panel {
  position: relative;

  overflow: hidden;
  padding: 80px;

  color: #fff;

  background:
    radial-gradient(
      circle at 78% 20%,
      rgba(255, 98, 68, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 58% 110%,
      rgba(255, 195, 220, 0.12),
      transparent 38%
    ),
    #101012;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);

  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
}

.cta-panel::after {
  position: absolute;
  top: -140px;
  right: -80px;

  width: 480px;
  height: 480px;

  content: "";

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;

  box-shadow:
    0 0 0 55px rgba(255, 128, 94, 0.035),
    0 0 0 110px rgba(255, 211, 227, 0.025);
}

.cta-kicker {
  display: block;

  margin-bottom: 28px;

  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-panel h2 {
  position: relative;
  z-index: 2;

  max-width: 900px;
  margin-bottom: 22px;

  font-size: clamp(3rem, 7vw, 7.2rem);
}

.cta-panel h2 span {
  color: transparent;
  background: var(--aurora);

  -webkit-background-clip: text;
  background-clip: text;
}

.cta-panel p {
  position: relative;
  z-index: 2;

  max-width: 560px;
  margin-bottom: 28px;

  color: rgba(255, 255, 255, 0.62);
}

.cta-panel .button {
  position: relative;
  z-index: 2;
}

.cta-panel .button-dark {
  color: #111;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.cta-panel .button-dark .button-orb {
  color: #fff;
  background: var(--orange, #ff7417);
}

.cta-panel .button-dark:hover {
  color: #111;
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
}

/* ================================================================
   INNER PAGE HERO
================================================================ */

.page-hero {
  position: relative;

  min-height: 680px;
  padding: 190px 0 90px;
  overflow: hidden;

  color: #fff;

  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.96) 0%,
      rgba(5, 5, 5, 0.72) 54%,
      rgba(5, 5, 5, 0.3)
    ),
    url("../images/oryx-ai-hero.png") center / cover no-repeat;

  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.page-hero::after {
  position: absolute;
  right: 2vw;
  bottom: -1vw;

  content: "ORYX";

  color: rgba(255, 255, 255, 0.04);

  font-family: "Space Grotesk", sans-serif;
  font-size: 13vw;
  font-weight: 700;
  font-kerning: none;
  font-feature-settings: "kern" 0;
  line-height: 0.8;
  letter-spacing: 0.035em;
  white-space: nowrap;

  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.55fr;
  align-items: end;
  gap: 80px;
}

.page-hero h1 {
  max-width: 950px;
  margin: 0;

  font-size: clamp(4rem, 8vw, 9rem);
  text-transform: uppercase;
}

.page-hero-copy {
  position: relative;
  z-index: 2;

  padding: 24px 0 10px;

  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.page-hero-copy p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.75);
}

.page-hero .eyebrow,
.page-hero .text-link {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero [data-reveal] {
  opacity: 1;
  transform: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 35px;

  color: rgba(255, 255, 255, 0.58);

  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb svg {
  width: 13px;
}

/* ================================================================
   CARDS AND ABOUT PAGE
================================================================ */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  position: relative;

  min-height: 330px;
  padding: 30px;
  overflow: hidden;

  background: var(--surface);
  border: 1px solid var(--line);

  transition:
    transform var(--transition),
    background-color var(--transition);
}

.bento-card:hover {
  z-index: 2;

  background: var(--surface-2);

  transform: translateY(-5px);
}

.bento-card.large {
  grid-column: span 7;
  min-height: 450px;
}

.bento-card.medium {
  grid-column: span 5;
  min-height: 450px;
}

.bento-card.third {
  grid-column: span 4;
}

.bento-card.half {
  grid-column: span 6;
}

.card-icon {
  display: grid;

  width: 48px;
  height: 48px;
  margin-bottom: 48px;

  place-items: center;

  color: #111;
  background: var(--aurora);
  border-radius: 50%;
}

.card-icon.signal {
  background: var(--success);
}

.card-icon svg {
  width: 20px;
}

.bento-card h3,
.service-card h3,
.value-card h3 {
  font-size: 1.6rem;
}

.bento-card p {
  max-width: 480px;
  margin-bottom: 0;
}

.micro-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 6px 10px;

  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);

  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.micro-tag::before {
  width: 5px;
  height: 5px;

  content: "";

  background: var(--orange);
  border-radius: 50%;
}

.bento-card .micro-tag {
  position: relative;
  top: -12px;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 8vw;
}

.story-sticky {
  position: sticky;
  top: 130px;
  align-self: start;
}

.story-sticky h2 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.story-copy p {
  font-size: 1.02rem;
}

.story-copy p:first-child {
  color: var(--text);

  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  min-height: 340px;
  padding: 30px;

  background: var(--surface);
  border-top: 3px solid var(--orange);
}

.value-card .card-icon {
  margin-bottom: 70px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.team-card {
  overflow: hidden;
  background: var(--surface);
}

.team-portrait {
  display: grid;

  min-height: 330px;
  overflow: hidden;

  place-items: center;

  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(255, 116, 23, 0.22),
      transparent 42%
    ),
    #101010;
}

.portrait-shape {
  position: relative;

  width: 125px;
  height: 145px;

  background: #252527;
  border-radius: 48% 48% 42% 42%;
}

.portrait-shape::after {
  position: absolute;
  top: 120px;
  left: 50%;

  width: 230px;
  height: 220px;

  content: "";

  background: #252527;
  border-radius: 50% 50% 0 0;

  transform: translateX(-50%);
}

.team-info {
  padding: 21px;
}

.team-info h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.team-info p {
  margin: 0;
  font-size: 0.8rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;

  border-top: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  padding: 38px 20px 0 0;
}

.timeline-item::before {
  position: absolute;
  top: -7px;
  left: 0;

  width: 13px;
  height: 13px;

  content: "";

  background: var(--orange);
  border-radius: 50%;
}

.timeline-item strong {
  display: block;

  margin-bottom: 28px;

  color: var(--orange);
}

.timeline-item h3 {
  font-size: 1.25rem;
}

/* ================================================================
   SERVICES PAGE
================================================================ */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 38px;
}

.filter-button,
.faq-category,
.billing-button {
  padding: 10px 16px;

  color: var(--muted);
  background: transparent;

  border: 1px solid var(--line);
  border-radius: var(--radius-pill);

  cursor: pointer;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;

  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

.filter-button:hover,
.filter-button.active,
.faq-category:hover,
.faq-category.active,
.billing-button.active {
  color: #111;
  background: var(--aurora);
  border-color: var(--orange);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;

  min-height: 390px;
  padding: 30px;

  background: var(--surface);
  border: 1px solid var(--line);

  transition:
    background-color var(--transition),
    transform var(--transition);
}

.service-card[hidden] {
  display: none;
}

.service-card:hover {
  background: var(--surface-2);
  transform: translateY(-5px);
}

.service-card .card-icon {
  margin-bottom: 65px;
}

.service-card p {
  margin-bottom: 28px;
}

.service-card .text-link {
  margin-top: auto;
}

.integration-cloud {
  position: relative;

  display: grid;

  min-height: 520px;
  overflow: hidden;

  place-items: center;

  background:
    radial-gradient(circle, rgba(255, 116, 23, 0.15), transparent 40%),
    var(--surface);

  border: 1px solid var(--line);
}

.integration-cloud::before {
  position: absolute;
  inset: 0;

  content: "";
  opacity: 0.12;

  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);

  background-size: 50px 50px;
}

.integration-core {
  z-index: 2;

  display: grid;

  width: 130px;
  height: 130px;

  place-items: center;

  background: #090909;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;

  box-shadow: 0 0 60px rgba(255, 116, 23, 0.35);
}

.integration-core img {
  width: 86px;
}

.integration-item {
  position: absolute;
  z-index: 2;

  display: grid;

  width: 66px;
  height: 66px;

  place-items: center;

  color: var(--text);
  background: var(--surface-2);

  border: 1px solid var(--line);
  border-radius: 50%;

  font-size: 0.68rem;
  font-weight: 800;
}

.integration-item:nth-of-type(1) {
  inset: 15% auto auto 18%;
}

.integration-item:nth-of-type(2) {
  inset: 17% 19% auto auto;
}

.integration-item:nth-of-type(3) {
  inset: auto auto 15% 22%;
}

.integration-item:nth-of-type(4) {
  inset: auto 23% 14% auto;
}

.integration-item:nth-of-type(5) {
  inset: 46% auto auto 8%;
}

.integration-item:nth-of-type(6) {
  inset: 44% 8% auto auto;
}

/* ================================================================
   SERVICE DETAILS
================================================================ */

.detail-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 7vw;
}

.detail-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;

  display: grid;
  gap: 4px;

  padding: 14px;

  background: var(--surface);
  border: 1px solid var(--line);
}

.detail-sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 14px;

  color: var(--muted);
  background: transparent;

  border: 1px solid transparent;
  border-radius: 0;

  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;

  transform: none;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.detail-sidebar a:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line);
  transform: none;
}

.detail-sidebar a.active,
.detail-sidebar a.active:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line);

  box-shadow: inset 3px 0 0 var(--orange);

  transform: none;
}

.detail-sidebar a.active svg {
  color: var(--orange);
}

.detail-sidebar svg {
  width: 15px;
  height: 15px;
}

.detail-content > section {
  padding-bottom: 85px;
  scroll-margin-top: 130px;
}

.detail-content > section:not(:last-child) {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.detail-content h2 {
  font-size: clamp(2.5rem, 5vw, 5.2rem);
}

.detail-content > section > p {
  font-size: 1.02rem;
}

.check-list {
  display: grid;
  gap: 14px;

  margin-top: 25px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;

  color: var(--muted);
}

.check-list svg {
  flex: 0 0 18px;

  margin-top: 4px;

  color: var(--orange);
}

.architecture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;

  margin-top: 35px;

  background: var(--line);
}

.architecture-step {
  position: relative;

  padding: 28px;

  background: var(--surface);
}

.architecture-step strong,
.architecture-step span {
  display: block;
}

.architecture-step strong {
  margin-bottom: 10px;
}

.architecture-step span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ================================================================
   PRICING AND METRICS
================================================================ */

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  color: #111;
  background: var(--aurora);
}

.metric {
  padding: 34px;
  border-right: 1px solid rgba(17, 17, 17, 0.18);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;

  margin-bottom: 22px;

  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.metric span {
  color: #111;

  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;

  margin-bottom: 48px;
}

.billing-toggle {
  display: inline-flex;
  gap: 5px;

  padding: 5px;

  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.billing-button {
  border-color: transparent;
}

.currency-select {
  min-height: 46px;
  padding: 0 38px 0 15px;

  color: var(--text);
  background: var(--surface);

  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pricing-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 580px;
  padding: 31px;

  background: var(--surface);
  border-top: 3px solid var(--line);
}

.pricing-card.featured {
  color: #111;
  background: var(--aurora);
  border-color: var(--orange);
}

.pricing-card.featured p,
.pricing-card.featured .check-list li,
.pricing-card.featured .price-note {
  color: rgba(17, 17, 17, 0.68);
}

.pricing-card.featured .check-list svg {
  color: #111;
}

.pricing-card.featured .button-primary {
  color: #fff;
  background: #111;
}

.popular-label {
  position: absolute;
  top: 20px;
  right: 20px;

  padding: 6px 9px;

  color: #111;
  background: #fff;

  border-radius: var(--radius-pill);

  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.35rem;
}

.price {
  display: flex;
  align-items: flex-start;

  margin: 38px 0 7px;

  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.08em;
}

.currency-symbol {
  margin: 7px 6px 0 0;

  font-size: 1.1rem;
  letter-spacing: 0;
}

.price-note {
  margin-bottom: 28px;
  font-size: 0.76rem;
}

.pricing-card .check-list {
  margin: 22px 0 32px;
}

.pricing-card .button {
  margin-top: auto;
}

/* ================================================================
   COMPARISON TABLE
================================================================ */

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.comparison-table {
  width: 100%;
  min-width: 720px;

  border-collapse: collapse;

  background: var(--surface);
}

.comparison-table th,
.comparison-table td {
  padding: 19px 22px;

  border-bottom: 1px solid var(--line);

  text-align: left;
}

.comparison-table th {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

.comparison-table td {
  color: var(--muted);
}

.comparison-table td:not(:first-child),
.comparison-table th:not(:first-child) {
  text-align: center;
}

.comparison-table svg {
  width: 18px;
  margin-inline: auto;

  color: var(--orange);
}

/* ================================================================
   ACCORDION
================================================================ */

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  gap: 22px;
  padding: 25px 2px;

  color: var(--text);
  background: transparent;
  border: 0;

  cursor: pointer;
  text-align: left;

  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.accordion-trigger svg {
  flex: 0 0 20px;

  color: var(--orange);

  transition: transform var(--transition);
}

.accordion-item.active .accordion-trigger svg {
  transform: rotate(45deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;

  transition: grid-template-rows 0.35s ease;
}

.accordion-item.active .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel > div {
  overflow: hidden;
}

.accordion-panel p {
  max-width: 760px;
  margin: 0;
  padding: 0 46px 26px 2px;
}

/* ================================================================
   CONTACT
================================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 18px;
}

.contact-card {
  padding: 34px;

  background: var(--surface);
  border-top: 3px solid var(--orange);
}

.contact-card h2 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
}

.contact-list {
  display: grid;
  gap: 8px;

  margin-top: 34px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px;

  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.contact-item .card-icon {
  flex: 0 0 42px;

  width: 42px;
  height: 42px;
  margin: 0;
}

.contact-item small,
.contact-item strong {
  display: block;
}

.contact-item small {
  color: var(--muted);
}

.availability {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 26px;

  color: var(--muted);

  font-size: 0.82rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px;

  color: var(--text);
  background: var(--bg-soft);

  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;

  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);

  box-shadow: 0 0 0 3px rgba(255, 116, 23, 0.13);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: var(--danger);
}

.field-error {
  min-height: 18px;
  color: var(--danger);
  font-size: 0.7rem;
}

.form-status {
  display: none;

  margin-top: 17px;
  padding: 14px;

  color: #111;
  background: var(--success);
}

.form-status.visible {
  display: block;
}

/* ================================================================
   FAQ
================================================================ */

.faq-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 7vw;
}

.faq-categories {
  position: sticky;
  top: 120px;
  align-self: start;

  display: grid;
  gap: 7px;
}

.faq-category {
  border-radius: 0;
  text-align: left;
}

.faq-group[hidden] {
  display: none;
}

.faq-group h2 {
  margin-bottom: 35px;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}

/* ================================================================
   LEGAL
================================================================ */

.legal-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 7vw;
}

.legal-nav {
  position: sticky;
  top: 120px;
  align-self: start;

  border-top: 1px solid var(--line);
}

.legal-nav a {
  display: block;

  padding: 11px 0;

  color: var(--muted);
  border-bottom: 1px solid var(--line);

  font-size: 0.76rem;
}

.legal-nav a:hover {
  color: var(--orange);
}

.legal-content section {
  padding-bottom: 48px;
}

.legal-content h2 {
  font-size: 2.1rem;
}

.legal-content h3 {
  margin-top: 28px;
  font-size: 1.2rem;
}

.legal-content ul {
  display: grid;
  gap: 9px;

  padding-left: 20px;

  color: var(--muted);
  list-style: disc;
}

/* ================================================================
   404
================================================================ */

.error-page {
  display: grid;

  min-height: 100vh;
  padding: 120px 20px 60px;

  place-items: center;

  text-align: center;

  background:
    linear-gradient(rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.9)),
    url("../images/oryx-ai-hero.png") center / cover;
}

.error-code {
  color: var(--orange);

  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(8rem, 25vw, 20rem);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.11em;

  filter: drop-shadow(0 0 30px rgba(255, 116, 23, 0.25));
}

.error-content h1 {
  margin-top: 38px;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.error-content p {
  max-width: 560px;
  margin: 0 auto 28px;

  color: rgba(255, 255, 255, 0.72);
}

/* ================================================================
   FOOTER
================================================================ */

.site-footer {
  margin: 0;
  padding: 52px 0 25px;

  color: #fff;
  background: #080808;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 0.55fr);
  gap: 50px;

  padding: 45px 0 58px;
}

.footer-brand .brand {
  justify-self: start;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 22px;

  color: rgba(255, 255, 255, 0.55);
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.socials .icon-button svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials .icon-button:hover {
  color: #111;
  background: var(--orange, #ff7417);
  border-color: var(--orange, #ff7417);
}

.footer-column h3 {
  margin-bottom: 22px;

  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;

  width: max-content;
  padding: 5px 0;

  color: rgba(255, 255, 255, 0.55);

  font-size: 0.82rem;
}

.footer-column a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding-top: 24px;

  color: rgba(255, 255, 255, 0.48);

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  font-size: 0.72rem;
}

.footer-legal {
  display: flex;
  gap: 19px;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 30px;
  bottom: 30px;

  visibility: hidden;
  opacity: 0;

  transform: translateY(12px);
}

.back-to-top.visible {
  visibility: visible;
  opacity: 1;

  transform: translateY(0);
}

/* ================================================================
   REVEAL AND ACCESSIBILITY
================================================================ */

[data-reveal] {
  opacity: 0;

  transform: translateY(28px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;

  transition-delay: var(--delay, 0ms);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}

html[data-theme="light"] .button-secondary {
  color: #ffffff;
}

html[data-theme="light"] .button-secondary svg {
  color: #ffffff;
  stroke: #ffffff;
}
