/* ============================================================
   Veritus Insight — built from Figma "Desktop - 2"
   Design frame: 1440 × 6693
   Font: Albert Sans (400 / 600 / 700)
   ============================================================ */

:root {
  --black: #000000;
  --white: #ffffff;
  --off-white: #f5f5f5;

  --content: 1162px;   /* main text column width in the 1440 design */
  --card-w: 720px;     /* industry card width */
  --gutter: clamp(20px, 5vw, 48px);

  --ff: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scales (max values match the Figma px sizes) */
  --fs-hero: clamp(1.85rem, 8.2vw, 7.03rem);    /* 112.5px */
  --fs-h2: clamp(1.6rem, 5vw, 3.75rem);         /* 60px   */
  --fs-block: clamp(1.25rem, 2.4vw, 1.9375rem); /* 31px   */
  --fs-lead: clamp(0.9rem, 1.35vw, 1.25rem);    /* 20px   */
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff);
  background: var(--white);
  color: var(--black);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, p { margin: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 92vh, 948px);
  display: flex;
  background: #0c0d10 url("../assets/img/hero.png") center bottom / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.45) 100%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px) var(--gutter) clamp(48px, 8vh, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__brand {
  position: absolute;
  top: clamp(28px, 4vw, 48px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
}

.hero__logo {
  width: clamp(220px, 27vw, 404px);
  height: auto;
}

.hero__title {
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 0.92;
  font-size: var(--fs-hero);
  max-width: 1352px;
  margin-top: clamp(64px, 12vh, 120px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  overflow-wrap: break-word;
}

/* ============================================================
   INTRO  (black band)
   ============================================================ */
.intro {
  background: var(--black);
  color: var(--white);
  padding: clamp(48px, 7vw, 88px) var(--gutter);
}

.intro__inner {
  max-width: 957px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25em;
  text-align: center;
}

.intro p {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--fs-lead);
  line-height: 1.55;
}

/* ============================================================
   Shared section heading
   ============================================================ */
.section-heading {
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
}
.section-heading--light { color: var(--white); }

/* ============================================================
   WHY  (white section)
   ============================================================ */
.why {
  background: var(--white);
  color: var(--black);
  padding: clamp(56px, 8vw, 104px) var(--gutter);
}

.why__inner {
  max-width: var(--content);
  margin-inline: auto;
}

.features {
  list-style: none;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 60px);
}

.feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature__icon {
  height: clamp(74px, 8vw, 110px);
  width: auto;
  margin-bottom: clamp(18px, 2vw, 28px);
}

.feature__title {
  font-weight: 700;
  font-size: var(--fs-block);
  line-height: 1.2;
  margin-bottom: 0.4em;
}

.feature__text {
  font-weight: 400;
  font-size: var(--fs-block);
  line-height: 1.35;
  max-width: 1080px;
}

/* ============================================================
   INDUSTRIES  (black section, image cards)
   ============================================================ */
.industries {
  background: var(--black);
  color: var(--white);
  padding: clamp(56px, 8vw, 104px) var(--gutter);
}

.industries__inner {
  max-width: var(--content);
  margin-inline: auto;
}

.cards {
  list-style: none;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 44px);
}

.card {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: var(--card-w);
  aspect-ratio: 720 / 480;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111 var(--card-bg) center bottom / cover no-repeat;
}

.card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.62) 100%);
}

.card__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(24px, 4vw, 52px);
  max-width: 616px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card__icon {
  height: clamp(60px, 7vw, 92px);
  width: auto;
  margin-bottom: clamp(16px, 2vw, 26px);
}

.card__title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--fs-block);
  line-height: 1.15;
  margin-bottom: 0.4em;
}

.card__text {
  font-weight: 400;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  line-height: 1.3;
}

/* ============================================================
   ABOUT  (image background)
   ============================================================ */
.about {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: #14161a url("../assets/img/about.png") center bottom / cover no-repeat;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}

.about__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.72) 100%);
}

.about__inner {
  max-width: 957px;
  margin-inline: auto;
  text-align: center;
}

.about__text {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 0.85em;
}

.about__text p {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--fs-lead);
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  color: var(--off-white);
  padding: clamp(36px, 5vw, 56px) var(--gutter);
}

.footer__inner {
  max-width: var(--content);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__email {
  font-size: var(--fs-lead);
  text-decoration: none;
  color: var(--off-white);
  transition: opacity 0.2s ease;
}
.footer__email:hover { opacity: 0.7; }

.footer__legal {
  font-size: 0.85rem;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Small screens
   ============================================================ */
@media (max-width: 600px) {
  .hero { min-height: 78vh; }
  .hero__title { margin-top: clamp(80px, 16vh, 140px); }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
