/* Oxinnov Home v3 — creative scroll experience */

body.page-home {
  --ox-bg: #090b12;
  --ox-bg-elevated: #12151f;
  --ox-surface: #181c28;
  --ox-light: #f3f1fa;
  --ox-light-2: #e8e5f2;
  --ox-ink: #12131a;
  --ox-ink-soft: #3d4456;
  --ox-white: #ffffff;
  --ox-fog: #c4cad8;
  --ox-fog-strong: #e6e9f2;
  --ox-violet: #6b52d1;
  --ox-violet-bright: #8b74f0;
  --ox-orange: #ff5a1f;
  --ox-orange-soft: #ff7a45;
  --ox-line-dark: rgba(255, 255, 255, 0.12);
  --ox-line-light: rgba(18, 19, 26, 0.1);
  --ox-display: "Outfit", "Segoe UI", sans-serif;
  --ox-body: "DM Sans", "Segoe UI", sans-serif;
  --ox-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ox-nav: 70px;

  margin: 0;
  background: var(--ox-bg);
  color: var(--ox-fog-strong);
  font-family: var(--ox-body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.page-home .contentPage {
  padding: 0 !important;
  margin: 0;
  background: var(--ox-bg);
}

/* —— Nav —— */
body.page-home #header {
  position: fixed !important;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: var(--ox-nav);
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  transition: background 0.35s var(--ox-ease), box-shadow 0.35s;
}

body.page-home #header.is-solid {
  background: rgba(9, 11, 18, 0.92) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--ox-line-dark);
}

body.page-home #header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--ox-nav);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  float: none;
}

body.page-home #header .header-logo {
  float: none !important;
  width: auto !important;
  display: flex;
  align-items: center;
  margin: 0;
}

body.page-home #header .header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

body.page-home #header .header-logo-img {
  float: none !important;
  max-height: 36px !important;
}

body.page-home #header .header-logo span {
  font-family: var(--ox-display) !important;
  font-weight: 600 !important;
  font-size: 1.15rem !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  margin: 0 0 0 0.5rem !important;
  color: #fff !important;
}

body.page-home #header ul.header-menu {
  float: none !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

body.page-home #header .header-menu > li {
  display: inline-block;
  position: relative;
}

body.page-home #header .header-menu > li > a {
  font-family: var(--ox-body) !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--ox-fog-strong) !important;
  background: transparent !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 999px !important;
}

body.page-home #header .header-menu > li.active > a,
body.page-home #header .header-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

body.page-home #header .header-menu-dropdown {
  margin-left: 0 !important;
  border-radius: 14px !important;
  background: rgba(12, 14, 22, 0.96) !important;
  min-width: 230px;
}

body.page-home #header .header-menu-button-open-mobile {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  float: none;
  margin: 0;
}

body.page-home #header .waves,
body.page-home #header .wavessmall {
  display: none !important;
}

body.page-home #footerpage {
  background: #070910 !important;
  border-top: 1px solid var(--ox-line-dark);
  color: var(--ox-fog);
}

body.page-home #footerpage h3 {
  font-family: var(--ox-display);
  color: #fff !important;
}

body.page-home #footerpage a {
  color: #9ec0ff !important;
}

/* —— Primitives —— */
/* Global scroll progress */
.ox-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 1100;
  background: linear-gradient(90deg, var(--ox-violet), var(--ox-orange));
  transform-origin: left center;
  pointer-events: none;
}

.ox-wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.ox-section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; }

.ox-section--dark {
  background: var(--ox-bg);
  color: var(--ox-fog-strong);
}

.ox-section--light {
  background: var(--ox-light);
  color: var(--ox-ink);
}

.ox-section--light .ox-title { color: var(--ox-ink); }
.ox-section--light .ox-lead { color: var(--ox-ink-soft); }
.ox-section--light .ox-kicker { color: var(--ox-orange); }
.ox-section--light .ox-link { color: var(--ox-ink); border-color: rgba(255, 90, 31, 0.55); }

.ox-section--dark .ox-title { color: #fff; }
.ox-section--dark .ox-lead { color: var(--ox-fog); }
.ox-section--dark .ox-kicker { color: var(--ox-orange-soft); }

.ox-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ox-kicker--on-dark { color: rgba(255, 255, 255, 0.85) !important; }

.ox-title {
  margin: 0 0 1rem;
  font-family: var(--ox-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.8vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.ox-lead {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.ox-section__head { margin-bottom: 2.75rem; max-width: 40rem; }
.ox-section__head--center { margin-inline: auto; text-align: center; }
.ox-section__head--center .ox-lead { margin-inline: auto; }
.ox-section__head--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ox-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
  transition: gap 0.3s var(--ox-ease), color 0.3s;
}

.ox-link::after { content: "→"; }
.ox-link:hover { gap: 0.7rem; text-decoration: none; color: var(--ox-orange); }

.ox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--ox-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.3s var(--ox-ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}

.ox-btn--primary {
  background: linear-gradient(120deg, var(--ox-violet), var(--ox-orange));
  color: #fff !important;
  box-shadow: 0 14px 36px rgba(255, 90, 31, 0.28);
}

.ox-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(107, 82, 209, 0.35);
  color: #fff !important;
}

.ox-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff !important;
}

.ox-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

.ox-btn--light {
  background: #fff;
  color: var(--ox-ink) !important;
}

.ox-btn--light:hover {
  transform: translateY(-2px);
  background: #fff;
  color: var(--ox-ink) !important;
}

body.ox-anim [data-split] .ox-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.28em;
}

body.ox-anim [data-split] .ox-word__inner {
  display: inline-block;
  will-change: transform;
}

body.ox-anim [data-fade] {
  will-change: opacity, transform;
}

/* —— HERO —— */
.ox-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--ox-nav) + 2rem) 0 4rem;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(90% 70% at 70% 20%, rgba(107, 82, 209, 0.28), transparent 55%),
              radial-gradient(70% 60% at 15% 80%, rgba(255, 90, 31, 0.18), transparent 50%),
              var(--ox-bg);
}

.ox-hero__canvas {
  position: absolute;
  inset: 0;
  top: var(--ox-nav);
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ox-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
}

.ox-hero__glow--a {
  width: 42vw; height: 42vw; max-width: 480px; max-height: 480px;
  top: -8%; right: 8%;
  background: radial-gradient(circle, rgba(139, 116, 240, 0.9), transparent 70%);
}

.ox-hero__glow--b {
  width: 36vw; height: 36vw; max-width: 400px; max-height: 400px;
  bottom: 5%; left: -5%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.75), transparent 70%);
}

.ox-hero__glow--c {
  width: 24vw; height: 24vw; max-width: 260px; max-height: 260px;
  top: 40%; left: 40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

.ox-hero__art-wrap {
  position: absolute;
  width: min(520px, 52vw);
  height: min(520px, 52vw);
  right: 3%;
  top: 54%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.ox-hero__art {
  width: 100%;
  height: 100%;
  opacity: 0.95;
  display: block;
}

.ox-hero__orbit-path--2 {
  transform-origin: 320px 320px;
  animation: ox-spin 32s linear infinite;
}

.ox-hero__orbit-path--3 {
  transform-origin: 320px 320px;
  animation: ox-spin-rev 22s linear infinite;
}

.ox-hero__nodes {
  transform-origin: 320px 320px;
  animation: ox-spin 40s linear infinite;
}

.ox-hero__x {
  transform-origin: 320px 320px;
  animation: ox-x-pulse 6s ease-in-out infinite alternate;
}

@keyframes ox-spin { to { transform: rotate(360deg); } }
@keyframes ox-spin-rev { to { transform: rotate(-360deg); } }
@keyframes ox-x-pulse {
  from { opacity: 0.75; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1.02); }
}

.ox-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-right: auto;
  margin-left: max(1.25rem, calc((100% - 1120px) / 2));
  width: auto;
  padding-right: 0;
}

.ox-hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ox-orange-soft);
}

.ox-hero__brand {
  margin: 0 0 0.9rem;
  font-family: var(--ox-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}

.ox-hero__title {
  margin: 0 0 1.1rem;
  font-family: var(--ox-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 28ch;
}

.ox-hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #b5a5ff, #ff8a55);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ox-hero__lead {
  margin: 0 0 1.35rem;
  max-width: 32rem;
  color: #d5dae6;
  font-size: 1.05rem;
  line-height: 1.65;
}

.ox-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.75rem;
  margin: 0 0 1.75rem;
}

.ox-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 7.5rem;
}

.ox-hero__stat-num {
  font-family: var(--ox-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(105deg, #ffffff 10%, #b5a5ff 55%, #ff8a55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ox-hero__stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #c8cedc;
  letter-spacing: 0.01em;
}

.ox-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.ox-hero__foot {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  z-index: 2;
}

.ox-hero__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--ox-orange), transparent);
  animation: ox-line 1.6s ease-in-out infinite;
}

@keyframes ox-line {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* —— MARQUEE —— */
.ox-marquee {
  border-block: 1px solid var(--ox-line-dark);
  background: var(--ox-bg-elevated);
  padding: 1.85rem 0 1.75rem;
  overflow: hidden;
}

.ox-marquee__title {
  margin: 0 0 1.15rem;
  text-align: center;
  font-family: var(--ox-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.ox-marquee__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 0.55rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ox-violet), var(--ox-orange));
}

.ox-marquee__row {
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  overflow: hidden;
}

.ox-marquee__track {
  display: flex;
  align-items: center;
  gap: 3.25rem;
  width: max-content;
  will-change: transform;
}

.ox-marquee__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  filter: none;
  transition: opacity 0.25s, transform 0.25s, filter 0.25s;
}

.ox-marquee__logo:hover {
  opacity: 1;
  transform: scale(1.06);
}

.ox-marquee__logo picture,
.ox-marquee__logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* —— Decorative motion pieces —— */
.ox-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ox-section { position: relative; }

.ox-deco__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.ox-deco__orb--1 {
  width: 120px;
  height: 120px;
  top: 12%;
  right: 8%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.35), transparent 70%);
}

.ox-deco__orb--2 {
  width: 80px;
  height: 80px;
  bottom: 18%;
  left: 6%;
  background: radial-gradient(circle, rgba(107, 82, 209, 0.4), transparent 70%);
}

.ox-deco__ring {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -40px;
  bottom: 10%;
  border: 1px dashed rgba(107, 82, 209, 0.35);
  border-radius: 50%;
}

.ox-deco__slash {
  position: absolute;
  width: 2px;
  height: 180px;
  top: 10%;
  right: 12%;
  background: linear-gradient(to bottom, transparent, rgba(255, 90, 31, 0.7), transparent);
  transform: rotate(25deg);
}

.ox-deco__slash--2 {
  right: 16%;
  top: 22%;
  height: 140px;
  background: linear-gradient(to bottom, transparent, rgba(139, 116, 240, 0.7), transparent);
  transform: rotate(-18deg);
}

.ox-cta__shards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ox-cta__shard {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.ox-cta__shard:nth-child(1) { top: 18%; left: 12%; width: 14px; height: 14px; background: rgba(255, 255, 255, 0.4); }
.ox-cta__shard:nth-child(2) { top: 28%; right: 16%; width: 8px; height: 22px; }
.ox-cta__shard:nth-child(3) { bottom: 22%; left: 20%; width: 18px; height: 6px; background: rgba(255, 200, 150, 0.5); }
.ox-cta__shard:nth-child(4) { top: 55%; left: 8%; width: 6px; height: 6px; }
.ox-cta__shard:nth-child(5) { bottom: 30%; right: 12%; width: 12px; height: 12px; background: rgba(180, 160, 255, 0.55); }
.ox-cta__shard:nth-child(6) { top: 15%; right: 28%; width: 7px; height: 16px; }

/* —— ABOUT —— */
.ox-about__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.ox-about__sticky { position: sticky; top: calc(var(--ox-nav) + 1.5rem); }

.ox-about__stack { display: grid; gap: 1.15rem; }

.ox-panel {
  padding: 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid var(--ox-line-light);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(18, 19, 26, 0.05);
  transform: none;
}

.ox-panel__index {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--ox-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ox-orange);
}

.ox-panel h3 {
  margin: 0 0 0.2rem;
  font-family: var(--ox-display);
  font-size: 1.35rem;
  color: var(--ox-ink);
}

.ox-panel__role {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ox-violet);
}

.ox-panel p:last-child {
  margin: 0;
  color: var(--ox-ink-soft);
  font-size: 0.98rem;
}

/* —— SERVICES —— */
.ox-services__list {
  border-top: 1px solid var(--ox-line-dark);
  perspective: 900px;
}

.ox-service-row {
  display: grid;
  grid-template-columns: 3.2rem 1fr 1.4fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.45rem 0.4rem;
  border-bottom: 1px solid var(--ox-line-dark);
  color: inherit;
  text-decoration: none !important;
  transition: background 0.35s, padding 0.35s var(--ox-ease);
  transform-style: preserve-3d;
}

.ox-service-row:hover {
  background: linear-gradient(90deg, rgba(107, 82, 209, 0.16), rgba(255, 90, 31, 0.08));
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.ox-service-row__num {
  font-family: var(--ox-display);
  font-weight: 700;
  color: var(--ox-orange-soft);
}

.ox-service-row__title {
  font-family: var(--ox-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.ox-service-row__desc { color: var(--ox-fog); font-size: 0.96rem; }

.ox-service-row__arrow {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ox-line-dark);
  color: #fff;
  transition: transform 0.35s var(--ox-ease), background 0.35s, border-color 0.35s;
}

.ox-service-row:hover .ox-service-row__arrow {
  transform: translateX(4px);
  background: var(--ox-orange);
  border-color: var(--ox-orange);
}

/* —— WORK horizontal —— */
.ox-work {
  padding: 0;
  overflow: hidden;
}

.ox-work__pin {
  padding: clamp(4rem, 8vw, 6rem) 0 2.5rem;
}

.ox-work__head {
  margin-bottom: 2rem;
}

.ox-work__viewport {
  overflow: hidden;
  padding-left: max(1.25rem, calc((100% - 1120px) / 2));
}

.ox-work__rail {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  padding-right: 10vw;
  will-change: transform;
  perspective: 1200px;
}

.ox-work-card {
  flex: 0 0 auto;
  width: min(280px, 70vw);
  transform-style: preserve-3d;
}

.ox-work-card__link {
  display: block;
  color: inherit;
  text-decoration: none !important;
}

.ox-work-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ox-surface);
  border: 1px solid var(--ox-line-dark);
  clip-path: inset(0 0 0 0);
}

.ox-work-card__media.is-reveal {
  clip-path: inset(0 0 0 0);
}

/* —— Kinetic band —— */
.ox-band {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ox-bg-elevated), var(--ox-bg));
  border-bottom: 1px solid var(--ox-line-dark);
}

.ox-band__inner {
  overflow: hidden;
}

.ox-band__track {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  width: max-content;
  will-change: transform;
  font-family: var(--ox-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  white-space: nowrap;
}

.ox-band__track span[aria-hidden="true"] {
  color: var(--ox-orange);
  font-size: 0.45em;
  opacity: 0.9;
}

.ox-band__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ox-band__blob {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  top: -40%;
  left: 15%;
  background: radial-gradient(circle, rgba(107, 82, 209, 0.45), transparent 70%);
  filter: blur(8px);
}

.ox-band__blob--2 {
  top: auto;
  bottom: -50%;
  left: auto;
  right: 10%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.4), transparent 70%);
}

/* Reveal curtain for media */
.ox-reveal-media {
  clip-path: inset(12% 12% 12% 12% round 14px);
  transform: scale(1.08);
}

.ox-work-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 11, 18, 0.05), rgba(9, 11, 18, 0.35));
  pointer-events: none;
}

.ox-work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.01);
  transition: transform 0.7s var(--ox-ease);
  filter: contrast(1.05) saturate(1.02);
}

.ox-work-card__link:hover .ox-work-card__media img {
  transform: scale(1.07);
}

.ox-work-card__meta {
  padding: 1rem 0.15rem 0;
}

.ox-work-card__meta h3 {
  margin: 0 0 0.3rem;
  font-family: var(--ox-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.ox-work-card__meta p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ox-fog);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ox-work-card--cta {
  display: grid;
  place-items: center;
  width: min(260px, 70vw);
}

.ox-work-card__cta {
  display: grid;
  place-items: center;
  gap: 0.7rem;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  color: #fff !important;
  text-decoration: none !important;
  font-family: var(--ox-display);
  font-weight: 600;
  transition: background 0.3s, border-color 0.3s;
}

.ox-work-card__cta:hover {
  background: rgba(255, 90, 31, 0.15);
  border-color: var(--ox-orange);
}

.ox-work__progress {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 1.75rem auto 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.ox-work__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ox-violet), var(--ox-orange));
}

/* —— WAYS —— */
.ox-ways__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  perspective: 1000px;
}

.ox-way {
  display: block;
  padding: 1.6rem 1.35rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ox-line-light);
  color: inherit;
  text-decoration: none !important;
  transition: transform 0.35s var(--ox-ease), box-shadow 0.35s;
}

.ox-way:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(18, 19, 26, 0.08);
}

.ox-way__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(107, 82, 209, 0.15), rgba(255, 90, 31, 0.18));
  color: var(--ox-violet);
}

.ox-way h3 {
  margin: 0 0 0.45rem;
  font-family: var(--ox-display);
  font-size: 1.2rem;
  color: var(--ox-ink);
}

.ox-way p { margin: 0; color: var(--ox-ink-soft); font-size: 0.95rem; }
.ox-way__strong { color: var(--ox-ink) !important; font-weight: 700; margin-bottom: 0.2rem !important; }

/* —— BLOG —— */
.ox-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  perspective: 1000px;
}

.ox-blog-card {
  display: block;
  color: inherit;
  text-decoration: none !important;
  transition: transform 0.35s var(--ox-ease);
}

.ox-blog-card:hover { transform: translateY(-5px); }

.ox-blog-card__media {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  border: 1px solid var(--ox-line-dark);
  background: var(--ox-surface);
}

.ox-blog-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ox-ease);
}

.ox-blog-card:hover .ox-blog-card__media img { transform: scale(1.06); }

.ox-blog-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--ox-display);
  font-size: 1.1rem;
  color: #fff;
}

.ox-blog-card p {
  margin: 0;
  color: var(--ox-fog);
  font-size: 0.9rem;
}

/* —— CTA —— */
.ox-cta {
  position: relative;
  padding: clamp(5rem, 12vw, 8.5rem) 0;
  text-align: center;
  overflow: hidden;
}

.ox-cta__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1a1433 0%, #5a3fb0 48%, #ff5a1f 100%);
}

.ox-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 40%);
}

.ox-cta__inner { position: relative; z-index: 1; max-width: 680px; }

.ox-cta__title {
  margin: 0 0 1rem;
  font-family: var(--ox-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.ox-cta__text {
  margin: 0 auto 1.7rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
  .ox-hero__ring-spin,
  .ox-hero__line { animation: none !important; }
  [data-split] .ox-word > span,
  [data-fade] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* —— Responsive —— */
@media (max-width: 991px) {
  .ox-hero__inner {
    margin-left: auto;
    margin-right: auto;
    padding-right: 0;
    text-align: left;
    width: min(1120px, calc(100% - 2.5rem));
  }

  .ox-hero__art-wrap {
    opacity: 0.4;
    right: -18%;
  }

  .ox-hero__thumb,
  .ox-hero__orbit,
  .ox-hero__ring { display: none; }

  .ox-about__layout { grid-template-columns: 1fr; }
  .ox-about__sticky { position: relative; top: auto; }

  .ox-service-row {
    grid-template-columns: 2.5rem 1fr auto;
    gap: 0.7rem;
  }

  .ox-service-row__desc { display: none; }

  .ox-ways__grid,
  .ox-blog__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body.page-home { --ox-nav: 62px; }

  .ox-wrap { width: calc(100% - 1.6rem); }

  .ox-hero {
    min-height: auto;
    padding-bottom: 3.5rem;
    place-items: start center;
    padding-top: calc(var(--ox-nav) + 1.5rem);
  }

  .ox-hero__canvas { opacity: 0.45; }
  .ox-hero__art-wrap { display: none; }

  .ox-hero__brand { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  .ox-hero__title { max-width: none; }

  .ox-work__viewport { padding-left: 0.8rem; padding-right: 0.8rem; overflow: visible; }

  .ox-work__rail {
    display: grid;
    grid-template-columns: 1fr;
    width: 100% !important;
    gap: 1.25rem;
    padding-right: 0;
    transform: none !important;
  }

  .ox-work-card,
  .ox-work-card--cta { width: 100%; }

  .ox-work-card__cta { aspect-ratio: auto; padding: 2rem 1rem; }

  .ox-work__progress { display: none; }

  body.page-home #header ul.header-menu {
    display: block;
    position: fixed !important;
  }

  body.page-home #header .header-logo span { font-size: 1.05rem !important; }
}

@media (min-width: 768px) {
  body.page-home #header .header-menu-button-open-mobile {
    display: none !important;
  }
}
