/* Devfox Services — Logic Defined, Design Refined */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&family=Grand+Hotel&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --sk-bg: #080808;
  --sk-bg-light: #f5f4ef;
  --sk-gold: #c9a84c;
  --sk-gold-dim: rgba(201, 168, 76, 0.35);
  --sk-text: #f0efe8;
  --sk-text-muted: rgba(240, 239, 232, 0.65);
  --sk-dark-on-gold: #1a1810;
  --sk-font: 'Outfit', system-ui, sans-serif;
  --sk-script: 'Grand Hotel', cursive;
  --sk-mono: 'JetBrains Mono', ui-monospace, monospace;
  --sk-ease: cubic-bezier(0.22, 0.82, 0.28, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Services: section snap is enabled dynamically by services.js only while
   the viewport is over the pillars region. The base CSS defines the snap
   targets; the html.sk-snap-active class actually turns snapping on. */
html.sk-services-page {
  scroll-behavior: auto;
  scroll-padding-top: 0;
}

html.sk-services-page.sk-snap-active {
  scroll-snap-type: y mandatory;
}

body.sk-services .mil-wrapper {
  overflow: visible;
}

body.sk-services .sk-pillar {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

body.sk-services {
  font-family: var(--sk-font);
  font-weight: 300;
  background-color: #080808 !important;
  color: #f0efe8;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Logo → content spacing (75% of prior 1cm / 7.5rem clearance) */
  --sk-frame-x: 60px;
  --sk-logo-width: 5.625rem;
  --sk-logo-gap: 0.75cm;
  --sk-logo-clear: calc(var(--sk-frame-x) + var(--sk-logo-width) + var(--sk-logo-gap));
}

body.sk-services .mil-wrapper,
body.sk-services .mil-content,
body.sk-services .mil-main-transition {
  background-color: #080808;
}

body.sk-services .mil-content {
  position: relative;
  z-index: 1;
}

/* Preloader + progress on dark page */
body.sk-services .mil-preloader {
  background-color: #080808 !important;
  z-index: 200;
}

/* Hide logo + menu during intro; show when preloader finishes */
body.sk-services .mil-preloader:not(.mil-hidden)~.mil-frame {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.sk-services .mil-preloader.mil-hidden~.mil-frame {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
}

body.sk-services .mil-progress-track {
  background-color: rgba(240, 239, 232, 0.08);
}

/* Site frame — color inversion re-enabled */
body.sk-services .mil-frame {
  mix-blend-mode: difference !important;
}

body.sk-services .mil-frame .mil-logo,
body.sk-services .mil-frame .mil-link,
body.sk-services .mil-frame .mil-back-to-top .mil-link {
  color: #ffffff !important;
  pointer-events: all;
}

body.sk-services .mil-frame .mil-menu-bar {
  background-color: #f0efe8 !important;
}

body.sk-services .mil-frame-bottom {
  justify-content: flex-end !important;
}

body.sk-services .mil-frame-bottom .mil-current-page {
  display: none !important;
}

body.sk-services .mil-frame-bottom .mil-back-to-top .mil-link svg path {
  fill: #ffffff !important;
}

body.sk-services .mil-back-to-top {
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* Breadcrumbs — top of hero (reference: Homepage / Services) */
.sk-services-breadcrumbs {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-bottom: 2.5rem;
  margin-left: 0;
  z-index: 2;
}

.sk-services-breadcrumbs::before {
  content: "";
  position: absolute;
  right: calc(100% + 30px);
  top: 50%;
  width: min(42vw, 520px);
  height: 1px;
  background-color: rgba(240, 239, 232, 0.1);
  transform: translateY(-50%);
  pointer-events: none;
}

.sk-services-breadcrumbs li {
  list-style: none;
}

.sk-services-breadcrumbs li::after {
  content: "/";
  margin: 0 15px;
  color: rgba(240, 239, 232, 0.45);
}

.sk-services-breadcrumbs li a {
  color: #f0efe8 !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 11px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.sk-services-breadcrumbs li a:hover {
  color: #c9a84c !important;
}

.sk-services-breadcrumbs li:last-child::after {
  display: none;
}

.sk-services-breadcrumbs li:last-child a {
  opacity: 0.45 !important;
  font-weight: 500;
  pointer-events: none;
  cursor: default;
}

body.sk-services a {
  color: inherit;
  text-decoration: none;
}

/* Footer styles unified globally in css/footer-component.css */

.sk-cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #c9a84c;
  opacity: 0.35;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
  transition: opacity 0.3s ease;
}

.sk-cursor-dot.is-hidden {
  opacity: 0;
}

/* ——— Typography utilities ——— */
.sk-thin {
  font-weight: 200;
}

.sk-bold {
  font-weight: 700;
}

.sk-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sk-gold);
}

.sk-reveal {
  overflow: hidden;
}

.sk-reveal__inner {
  display: block;
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.85s var(--sk-ease), opacity 0.85s var(--sk-ease);
}

.sk-reveal.is-visible .sk-reveal__inner {
  transform: translateY(0);
  opacity: 1;
}

.sk-scroll-headline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sk-scroll-headline .sk-reveal:nth-child(2) .sk-reveal__inner {
  transition-delay: 0.12s;
}

/* ——— Hero ——— */
.sk-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(8.5rem, 15vh, 11rem) 0 5rem;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

/* Vertical gap: logo row + 1cm before hero text (30px tighter to frame) */
body.sk-services .sk-hero {
  padding-top: calc(clamp(8.5rem, 15vh, 11rem) + var(--sk-logo-gap) - 30px);
}

body.sk-services .sk-hero__inner.container {
  position: relative;
  padding-left: 30px;
}

@media screen and (min-width: 1201px) {
  body.sk-services .sk-hero__inner.container {
    padding-left: max(30px, calc(var(--sk-logo-clear) - (100vw - 1260px) / 2));
  }
}

.sk-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 239, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 239, 232, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  pointer-events: none;
}

.sk-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

body.sk-services .sk-hero__copy {
  position: relative;
  left: 0;
}

@media (min-width: 1024px) {
  .sk-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.sk-hero__copy {
  width: 100%;
  max-width: 40rem;
  padding-top: 0.25rem;
  margin-left: -20px;
}

@media (max-width: 1200px) {
  .sk-hero {
    padding-top: clamp(7.5rem, 16vw, 9.5rem);
  }

  body.sk-services .sk-hero {
    padding-top: calc(clamp(7.5rem, 16vw, 9.5rem) + var(--sk-logo-gap) - 45px);
  }

  body.sk-services #pillar-web .sk-pillar__grid {
    padding-top: calc(5.5rem + var(--sk-logo-gap));
  }
}

.sk-hero__headline {
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #f0efe8;
}

.sk-hero__sub {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(240, 239, 232, 0.65);
  font-weight: 300;
}

.sk-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(240, 239, 232, 0.08);
}

.sk-hero__stat strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sk-text);
  margin-bottom: 0.25rem;
}

.sk-hero__stat span {
  font-size: 12px;
  color: var(--sk-text-muted);
}

.sk-hero__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.sk-hero__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Full-bleed marquee — edge-to-edge viewport (break out of any parent padding) */
.sk-hero__marquee-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  transform: none;
  overflow: hidden;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: 1rem 0;
  z-index: 3;
  box-sizing: border-box;
}

.sk-hero__marquee {
  width: 100%;
  overflow: hidden;
}

.sk-marquee__track {
  display: inline-flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  animation: sk-marquee-scroll 50s linear infinite;
}

.sk-marquee__chunk {
  flex-shrink: 0;
  padding: 0 2.5rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sk-gold);
  white-space: nowrap;
}

@keyframes sk-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ——— Philosophy strip ——— */
.sk-philosophy {
  background: var(--sk-gold);
  padding: 1.15rem 0;
  overflow: hidden;
}


.sk-philosophy__track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.sk-philosophy__phrase {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sk-dark-on-gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--sk-ease), transform 0.6s var(--sk-ease);
}

.sk-philosophy.is-loaded .sk-philosophy__phrase {
  opacity: 1;
  transform: translateY(0);
}

.sk-philosophy__phrase:nth-child(1) {
  transition-delay: 0.1s;
}

.sk-philosophy__phrase:nth-child(3) {
  transition-delay: 0.25s;
}

.sk-philosophy__phrase:nth-child(5) {
  transition-delay: 0.4s;
}

.sk-philosophy__phrase:nth-child(7) {
  transition-delay: 0.55s;
}

.sk-philosophy__dot {
  color: var(--sk-dark-on-gold);
  opacity: 0.5;
  margin: 0 0.75rem;
  font-size: 8px;
}

.sk-philosophy__scroll {
  display: none;
}

@media (max-width: 768px) {
  .sk-philosophy__track--static {
    display: none;
  }

  .sk-philosophy__scroll {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  .sk-philosophy__scroll .sk-marquee__track {
    animation-duration: 35s;
  }

  .sk-philosophy__scroll .sk-marquee__chunk {
    padding: 0 1.5rem;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--sk-dark-on-gold);
  }
}

/* ——— Pillars ——— */
.sk-pillars-wrap {
  position: relative;
}

.sk-pillars-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--sk-bg);
  transition: background 1.2s ease;
}

.sk-pillars {
  position: relative;
  z-index: 1;
}

.sk-pillar {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 10vw, 6rem) clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(240, 239, 232, 0.04);
  box-sizing: border-box;
}

/* @media screen and (min-width: 1201px) {
  .sk-pillar {
    Global shift on .mil-content handles this
  }
} */

.sk-pillars {
  position: relative;
}

.sk-pillar__grid {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
}

@media screen and (min-width: 1201px) {
  .sk-pillar__grid {
    padding-left: max(30px, calc(var(--sk-logo-clear) - (100vw - 1320px) / 2));
  }
}

/* First pillar: keep browser visual 1cm clear of fixed logo */
body.sk-services #pillar-web {
  scroll-margin-top: 6rem;
}

body.sk-services #pillar-web .sk-pillar__grid {
  padding-top: calc(4.25rem + var(--sk-logo-gap));
}

@media screen and (min-width: 992px) {
  body.sk-services #pillar-web .sk-pillar__visual {
    margin-top: var(--sk-logo-gap);
    max-width: calc(100% - var(--sk-logo-gap));
  }
}

@media (min-width: 992px) {
  .sk-pillar__grid {
    grid-template-columns: 40% 60%;
    gap: 4rem;
  }
}

.sk-pillar__visual {
  position: relative;
  min-height: 283px;
  aspect-ratio: 4/3;
}

@media (min-width: 992px) {
  .sk-pillar__visual {
    min-height: 360px;
  }
}

body.sk-services .sk-pillar__content {
  position: relative;
  left: 0;
}

.sk-pillar__content .sk-label {
  margin-bottom: 1rem;
}

.sk-pillar__title,
.sk-pillar__title .sk-reveal__inner {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #f0efe8 !important;
  /* Force visibility on dark background */
}

.sk-pillar__body {
  font-size: 1rem;
  color: var(--sk-text-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.sk-pillar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.sk-tag {
  position: relative;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(240, 239, 232, 0.15);
  color: var(--sk-text-muted);
  cursor: default;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.sk-tag:hover {
  border-color: var(--sk-gold-dim);
  color: var(--sk-text);
}

.sk-tag__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  width: max-content;
  max-width: 220px;
  padding: 0.5rem 0.75rem;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
  color: var(--sk-dark-on-gold);
  background: var(--sk-gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--sk-ease);
  z-index: 10;
}

.sk-tag:hover .sk-tag__tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sk-pillar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sk-gold);
  transition: gap 0.3s var(--sk-ease);
}

.sk-pillar__cta:hover {
  gap: 1.1rem;
}

.sk-pillar__cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Pillar visuals */
.sk-visual-browser {
  width: 100%;
  height: 100%;
}

.sk-visual-planes {
  width: 100%;
  height: 100%;
  perspective: 800px;
}

.sk-visual-planes__scene {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: sk-planes-rotate 24s ease-in-out infinite alternate;
}

@keyframes sk-planes-rotate {
  0% {
    transform: rotateX(12deg) rotateY(-18deg);
  }

  100% {
    transform: rotateX(18deg) rotateY(22deg);
  }
}

.sk-plane {
  position: absolute;
  opacity: 1;
}

.sk-plane--gold {
  background: rgba(201, 168, 76, 0.55);
  border: 1px solid rgba(201, 168, 76, 0.35);
}

.sk-plane--white {
  background: rgba(240, 239, 232, 0.25);
  border: 1px solid rgba(240, 239, 232, 0.2);
}

.sk-plane--slate {
  background: rgba(140, 140, 160, 0.35);
  border: 1px solid rgba(140, 140, 160, 0.25);
}

.sk-plane--amber {
  background: rgba(180, 120, 40, 0.4);
  border: 1px solid rgba(180, 120, 40, 0.3);
}

.sk-plane--white-outline {
  background: rgba(240, 239, 232, 0.08);
  border: 1px solid rgba(240, 239, 232, 0.25);
}

.sk-neural {
  width: 100%;
  height: 100%;
  display: block;
}

.sk-neural__node {
  fill: #c9a84c;
  transform-origin: center;
  transform-box: fill-box;
  animation: sk-neural-node-pulse 2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.14s);
}

.sk-neural__link {
  stroke: #c9a84c;
  stroke-width: 0.75;
  opacity: 0.25;
  animation: sk-neural-link-flash 2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

@keyframes sk-neural-node-pulse {

  0%,
  100% {
    opacity: 0.55;
    filter: drop-shadow(0 0 0 transparent);
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.55));
  }
}

@keyframes sk-neural-link-flash {

  0%,
  70%,
  100% {
    opacity: 0.25;
  }

  40%,
  55% {
    opacity: 0.8;
  }
}

/* ——— Custom Software pillar visual ——— */
.sk-visual-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ——— Process ——— */
.sk-section--light {
  background: var(--sk-bg-light);
  color: #1a1a18;
}

.sk-process {
  background: #080808;
  color: var(--sk-text);
  padding: clamp(5rem, 12vw, 8rem) clamp(1.25rem, 4vw, 3rem);
}

/* Clear fixed .mil-frame (logo); otherwise labels sit under the logo when this section reaches the top */
body.sk-services .sk-process {
  scroll-margin-top: 6.5rem;
  padding-top: calc(clamp(5rem, 12vw, 8rem) + 3rem);
}

@media screen and (min-width: 1201px) {
  body.sk-services .sk-process {
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
  }
}

.sk-process__header {
  max-width: 1400px;
  margin: 0 auto 3.5rem;
}

@media screen and (min-width: 1201px) {

  .sk-process__header,
  .sk-process__board {
    margin-left: calc(var(--sk-frame-x) + var(--sk-logo-width) + 5mm) !important;
    margin-right: auto !important;
  }
}


.sk-process__header h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--sk-text);
}

.sk-process__board {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.sk-process__gold-rule {
  display: block;
  width: 100%;
  height: 0.5px;
  background: #c9a84c;
  margin-bottom: 2.5rem;
}

.sk-process__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .sk-process__cols {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.sk-process__col {
  position: relative;
  padding: 0 1.5rem 0 0;
  min-height: 12rem;
}

@media (min-width: 769px) {
  .arrow-down {
    transform: rotate(-90deg);
    margin-left: 210px;
    margin-top: -30px;
  }
}

@media (min-width: 900px) {
  .sk-process__col {
    padding: 0 2rem;
  }

  .sk-process__col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sk-process__col:first-child {
    padding-left: 0;
  }

  .sk-process__col:last-child {
    padding-right: 0;
  }
}

.sk-process__num {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: #f0efe8;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

@media (min-width: 900px) {
  .sk-process__col .sk-process__num {
    left: 0;
  }
}

.sk-process__dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9a84c;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.sk-process__name {
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 700;
  color: #f0efe8;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.sk-process__desc {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(240, 239, 232, 0.45);
  max-width: 16rem;
}

/* ——— Tech stack ——— */
.sk-stack {
  padding: clamp(5rem, 12vw, 8rem) clamp(1.25rem, 4vw, 3rem);
  position: relative;
}

.sk-stack.sk-section--light {
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-bottom: clamp(2.75rem, 6vw, 4rem);
}

/* @media screen and (min-width: 1201px) {
  .sk-stack {
    Global shift on .mil-content handles this
  }
} */

.sk-stack__header {
  max-width: 1400px;
  margin: 0 auto 3.5rem;
}

/* @media screen and (min-width: 1201px) {
  .sk-stack__header {
    Parent .sk-stack padding-left: 83px handles this
  }
} */

.sk-stack__header h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}

.sk-stack__grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .sk-stack__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }
}

.sk-terminal {
  font-family: var(--sk-mono);
  font-size: 12px;
  line-height: 1.75;
  padding: 1.5rem 1.75rem;
  background: rgba(240, 239, 232, 0.03);
  border: 1px solid rgba(240, 239, 232, 0.08);
  border-radius: 4px;
  color: var(--sk-text-muted);
  overflow-x: auto;
}

.sk-terminal .comment {
  color: rgba(201, 168, 76, 0.7);
}

.sk-terminal .key {
  color: var(--sk-text);
}

.sk-terminal .val {
  color: rgba(240, 239, 232, 0.45);
}

.sk-stack__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}

@media (min-width: 640px) {
  .sk-stack__cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sk-stack__col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sk-gold);
  margin-bottom: 1rem;
}

.sk-stack__col ul {
  list-style: none;
}

.sk-stack__col li {
  font-size: 0.9rem;
  color: var(--sk-text-muted);
  padding: 0.35rem 0;
  transition: color 0.25s ease;
  cursor: default;
}

.sk-stack__col li.is-highlight,
.sk-stack__col li:hover {
  color: var(--sk-text);
}

/* Tech stack on cream (.sk-section--light — readable contrast + balanced grid) */
.sk-stack.sk-section--light .sk-stack__header h2,
.sk-stack.sk-section--light .sk-scroll-headline .sk-thin,
.sk-stack.sk-section--light .sk-scroll-headline .sk-bold {
  color: #1a1a18;
}

.sk-stack.sk-section--light .sk-stack__header {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.sk-stack.sk-section--light .sk-stack__col li {
  color: rgba(26, 26, 24, 0.78);
}

.sk-stack.sk-section--light .sk-stack__col li.is-highlight,
.sk-stack.sk-section--light .sk-stack__col li:hover {
  color: #1a1a18;
}

.sk-stack.sk-section--light .sk-terminal {
  background: #1a1a1a;
  border: 1px solid rgba(26, 26, 24, 0.15);
  border-radius: 6px;
  color: #e5e3de;
  box-shadow: 0 18px 48px rgba(26, 26, 24, 0.08);
  width: 100%;
  max-width: 400px;
}

.sk-stack.sk-section--light .sk-terminal .comment {
  color: #c9a84c;
}

.sk-stack.sk-section--light .sk-terminal .key {
  color: #f5f4ef;
}

.sk-stack.sk-section--light .sk-terminal .val {
  color: rgba(240, 239, 232, 0.65);
}

@media (min-width: 992px) {
  .sk-stack.sk-section--light .sk-stack__grid {
    /* Fixed-width code column so FRONTEND isn’t pushed to the far right */
    grid-template-columns: minmax(260px, min(400px, 38vw)) minmax(0, 1fr);
    gap: 1.5rem 1.75rem;
    align-items: start;
    justify-items: stretch;
  }

  .sk-stack.sk-section--light .sk-stack__cols {
    min-width: 0;
    gap: 1.25rem 1.25rem;
  }
}

@media screen and (min-width: 1201px) {
  body.sk-services .sk-stack.sk-section--light {
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
  }

  body.sk-services .sk-stack.sk-section--light .sk-stack__header,
  body.sk-services .sk-stack.sk-section--light .sk-stack__grid {
    margin-left: calc(var(--sk-frame-x) + var(--sk-logo-width) + 5mm) !important;
    margin-right: auto !important;
  }
}

/* ——— CTA ——— */
.sk-cta {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 10vw, 6rem) clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
}

.sk-cta.sk-section--light {
  min-height: 0;
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
  padding-bottom: clamp(4rem, 10vw, 6.5rem);
}

.sk-cta__mesh {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.1;
  pointer-events: none;
}

.sk-cta__mesh canvas {
  width: min(90vw, 640px);
  height: min(90vw, 640px);
}

.sk-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 52rem;
}

/* @media screen and (min-width: 1201px) {
  .sk-cta__inner {
    Global shift on .mil-content handles this
  }
} */

.sk-cta__headline {
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #1a1a18;
  margin-bottom: 1.25rem;
}

.sk-cta__sub {
  font-size: 1.05rem;
  color: rgba(26, 26, 24, 0.5);
  margin-bottom: 3rem;
  font-weight: 300;
}

/* ——— Footer ——— */
.sk-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  background: var(--sk-bg-light);
  border-top: 1px solid rgba(26, 26, 24, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 12px;
  color: rgba(26, 26, 24, 0.45);
}

.sk-footer a {
  color: rgba(26, 26, 24, 0.65);
}

.sk-footer a:hover {
  color: var(--sk-gold);
}

/* Mobile Optimization (<768px) */
@media screen and (max-width: 768px) {

  html.sk-services-page,
  html.sk-services-page.sk-snap-active {
    scroll-snap-type: none !important;
  }

  .sk-stack__cols {
    display: none;
  }






  .sk-process-head {
    display: flex;
    align-items: flex-start;
    gap: 6px;

  }

  .sk-process__dot {
    width: 8px;
    height: 8px;
    min-width: 6px;
    border-radius: 50%;
    background: #d4af37;
    margin-top: 7px;

  }

  .sk-process__name {
    margin: 0;
    line-height: 1.1;

  }


  .arrow-down {
    margin-top: 100px;
    margin-left: 30px;
  }



  .sk-pillar {
    margin-left: -10px;
  }


  body.sk-services {
    --sk-frame-x: 20px !important;
    --sk-logo-gap: 15px !important;
    --sk-logo-clear: 0px !important;
  }

  body.sk-services .mil-frame {
    mix-blend-mode: normal !important;
  }

  body.sk-services .sk-pillar {
    scroll-snap-align: none !important;
    min-height: auto !important;
    padding: 3rem 1.5rem !important;
  }

  body.sk-services #pillar-web .sk-pillar__grid {
    padding-top: 2rem !important;
  }

  .sk-pillar__grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .sk-hero__inner {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  body.sk-services .sk-hero__inner.container {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .sk-hero__copy {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .sk-hero__visual {
    max-width: 280px !important;
    max-height: 280px !important;
    margin: 1.5rem auto 20px !important;
  }

  .sk-cta__mesh canvas {
    width: 280px !important;
    height: 280px !important;
  }

  .sk-pillar__visual {
    min-height: 220px !important;
    aspect-ratio: 4/3 !important;
  }

  /* Structural Content Polish */
  body.sk-services .sk-hero {
    padding-top: 88px !important;
    padding-bottom: 2rem !important;
  }

  .sk-hero__headline {
    font-size: 2.25rem !important;
  }

  .sk-pillar__title,
  .sk-pillar__title .sk-reveal__inner {
    font-size: 1.8rem !important;
  }

  .sk-process__header h2,
  .sk-stack__header h2,
  .sk-cta__headline {
    font-size: 2rem !important;
  }

  .sk-process {
    padding-top: 5rem !important;
    padding-bottom: 3rem !important;
  }

  .sk-stack {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .sk-cta {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  /* Align the header logo with the hero content's left gutter (22px) */
  body.sk-services .mil-frame .mil-frame-top {
    padding-left: 3px !important;
    padding-right: 22px !important;
  }

  body.sk-services .mil-frame .mil-frame-top .mil-logo {
    margin-left: 0 !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sk-marquee__track {
    animation: none;
  }

  .sk-reveal__inner {
    transform: none;
    opacity: 1;
  }

  .sk-visual-planes__scene {
    animation: none;
  }

  .sk-neural__node,
  .sk-neural__link {
    animation: none;
  }

  .sk-cursor-dot {
    display: none;
  }
}