@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --color-background: #ffffff;
  --color-foreground: #474242;
  --color-primary: #e66d27;
  --color-primary-dark: #c85e1f;
  --color-primary-light: #fff5eb;
  --color-secondary: #e66d27;
  --color-black: #030101;
  --color-dark: #131111;
  --color-gray-dark: #474242;
  --color-gray: #c4c4c4;
  --color-gray-soft: #f4f4f4;
  --color-gray-lightest: #f7fafb;

  --font-inter: 'Inter', sans-serif;

  --animate-marquee: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.z-1 { z-index: 1; }
.z-60 { z-index: 60; }

/* Filled lucide shield-check: fill the shield, cut the check out with the background color */
.icon-filled-check path:first-child {
  fill: currentColor;
  stroke: none;
}
.icon-filled-check path:last-child {
  fill: none;
  stroke: var(--color-dark);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Custom leading ── */
.leading-0-625 { line-height: 0.625 !important; }
.leading-0-8 { line-height: 0.8 !important; }
.leading-1-1 { line-height: 1.1 !important; }
.leading-1-2 { line-height: 1.2 !important; }
.leading-1-3 { line-height: 1.3 !important; }
.leading-1-4 { line-height: 1.4 !important; }

.title-lg {
  font-size: 32px;
  line-height: 1.3;
}
.title-md {
  font-size: 28px;
  line-height: 1.4;
}
.title-tech {
  font-size: 30px;
  line-height: 1.4;
}
.title-sm {
  font-size: 18px;
  line-height: normal;
}
.title-xs {
  font-size: 15px;
  line-height: 1.5;
}
@media (min-width: 1920px) {
  .title-xs { font-size: 16px; }
}
html.viewport-fallback .title-xs { font-size: 16px; }
@media (min-width: 1920px) {
  .title-lg { font-size: 56px; line-height: 1.4; }
  .title-md { font-size: 48px; }
  .title-tech { font-size: 52px; }
  .title-sm { font-size: 20px; }
}
html.viewport-fallback .title-lg { font-size: 56px; line-height: 1.4; }
html.viewport-fallback .title-md { font-size: 48px; }
html.viewport-fallback .title-tech { font-size: 52px; }
html.viewport-fallback .title-sm { font-size: 20px; }

.core-value-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1920px) {
  .core-value-col {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    flex: 1;
    min-height: 185px;
    gap: 1.5rem;
  }
  .core-value-icon {
    height: 72px;
    width: 72px;
    flex-shrink: 0;
  }
}
html.viewport-fallback .core-value-col {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  flex: 1;
  min-height: 185px;
  gap: 1.5rem;
}
html.viewport-fallback .core-value-icon {
  height: 72px;
  width: 72px;
  flex-shrink: 0;
}

/* ── Custom backgrounds ── */
.section-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.bg-hero {
  background-color: #030101;
  background-image: url('assets/hero-ripple.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.bg-gradient-overlay {
  background-image: radial-gradient(transparent 0%, rgba(0, 0, 0, 0.35) 100%);
}

/* ── Object positioning (percentages / off-scale) ── */
.object-pos-nl-flag {
  object-position: left -11.54% top -40%;
  width: 123.08%;
  height: 182.86%;
}
.object-pos-impact-2 {
  left: -7.71%;
  top: 0;
  width: 115.42%;
}
.object-pos-dark-card {
  left: -65.86%;
  top: 6.93%;
  width: 193.05%;
}

/* ── Anchor scroll offset for fixed navbar ── */
section[id],
[id="development-support"],
[id="extended-development"],
[id="quality-engineering"] {
  scroll-margin-top: 6rem;
}
@media (min-width: 1920px) {
  section[id],
  [id="development-support"],
  [id="extended-development"],
  [id="quality-engineering"] {
    scroll-margin-top: 7.5rem;
  }
}
html.viewport-fallback section[id],
html.viewport-fallback [id="development-support"],
html.viewport-fallback [id="extended-development"],
html.viewport-fallback [id="quality-engineering"] {
  scroll-margin-top: 7.5rem;
}

/* ── Desktop scale-out fallback (when viewport meta width=1920 is ignored) ── */
html.viewport-fallback {
  overflow-x: hidden;
  width: 1920px;
}
html.viewport-fallback body {
  width: 1920px;
  min-width: 1920px;
  overflow-x: hidden;
}
html.viewport-fallback #mobile-menu-overlay {
  width: 1920px;
  height: 100%;
  left: 0 !important;
  top: 0 !important;
}
html.viewport-fallback .section-bleed {
  width: 1920px;
  margin-left: calc(50% - 960px);
  margin-right: calc(50% - 960px);
}

/* ── Hover pause for marquee ── */
.hover-pause:hover {
  animation-play-state: paused;
}

/* ── Hamburger animation ── */
.translate-y-8px { transform: translateY(8px); }
.-translate-y-8px { transform: translateY(-8px); }

/* ── Navbar scroll hide ── */
#navbar {
  transition: transform 0.3s ease;
}
.navbar-hidden {
  transform: translateY(-100%);
}

/* ── Footer column width (calc alternative) ── */
.md-w-calc-half-minus-12 {
  width: calc(50% - 12px);
}
