/* Azent homepage — design tokens */
:root {
  /* Monochrome. The accent is black, so on dark surfaces the role that used to
     be carried by colour is carried by --on-dark instead: see .btn--primary,
     .badge, .brand__peak and .hero-tab__bar. --on-accent is what sits on top of
     an --accent surface (currently only the .callout band). */
  --ink: #000000;
  --ink-2: #1C1C1C;
  --ink-deep: #000000;
  --line-dark: #2A2A2A;
  --line-dark-2: #3D3D3D;
  --on-dark: #FFFFFF;
  --on-dark-muted: #E6E6E6;
  --on-dark-subtle: #B3B3B3;
  --paper: #F3F3F3;
  --paper-2: #E7E7E7;
  --surface: #FFFFFF;
  --line: #E0E0E0;
  --line-dashed: #BDBDBD;
  --muted: #4A4A4A;
  --accent: #000000;
  --on-accent: #FFFFFF;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-sans: 'Mulish', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  --container: 1240px;
  --gutter: 24px;
  --header-h: 84px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --pill: 999px;

  --slide-duration: 8s;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: #000000; }
h1, h2, h3, h4,
.brand__word, .callout__title, .story__title, .footer-promo__title, .person__name {
  font-family: var(--font-display);
  font-feature-settings: "ss01";
}

a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1, h2, h3, p, blockquote { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--dark { color: var(--on-dark-muted); }
.eyebrow--ink { color: var(--on-accent); }

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.section-head { display: flex; flex-direction: column; gap: 14px; }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 16px 26px;
  border-radius: var(--pill);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
/* Every .btn--primary on this site sits on a dark surface (header, hero slides,
   closing CTA), so with a black accent it inverts to white rather than vanishing. */
.btn--primary { background: var(--on-dark); color: var(--ink); font-weight: 600; }
.btn--primary:hover { color: var(--ink); background: var(--on-dark-muted); }
.btn--ink { background: var(--ink); color: var(--on-dark); font-weight: 600; }
.btn--ink:hover { color: var(--on-dark); background: var(--line-dark); }
.btn--sm { padding: 12px 18px; font-size: 15px; }

.link-caps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.link-caps .icon { transition: transform .15s ease; }
.link-caps:hover .icon, a:hover > .link-caps .icon { transform: translateX(4px); }
.link-caps--light { color: var(--on-dark); }

.icon { flex: none; }

/* Header: transparent over the hero video, solid once scrolled */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--on-dark);
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-solid { background: var(--ink-deep); box-shadow: 0 1px 0 var(--line-dark); }
.site-header__inner {
  min-height: var(--header-h);
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--on-dark); }
/* Ascent mark: an open A shaped like a peak, with an inner stroke for the path up */
.brand__mark { flex: none; display: block; width: 34.5px; height: 34.5px; }
.brand__peak { stroke: var(--on-dark); }
.brand__path { stroke: var(--on-dark-subtle); }
/* Wordmark: "Azent" carries the weight, "Inc" sits quietly on the same baseline */
.brand__word { display: inline-flex; align-items: baseline; gap: 5px; }
.brand__suffix {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-subtle);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-size: 15px;
}
.main-nav__link { color: var(--on-dark); text-decoration: none; font-size: 18px; }
.main-nav__link:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 5px; }

/* Hero carousel — full-bleed video per slide, tabs with progress along the bottom */
.hero {
  position: relative;
  min-height: max(640px, min(100svh, 920px));
  background: var(--ink-deep);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
  /* Placeholder ground shown until a video file is in place */
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px);
}
.hero-slide:nth-child(2) { background-color: var(--ink-2); }
.hero-slide:nth-child(3) { background-color: var(--ink-2); }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }

.hero-slide__video {
  /* The clips are shot lime. Black has no hue to tint toward, so the grade is a
     straight desaturation; the contrast lift keeps the lines from going flat. */
  filter: grayscale(1) contrast(1.06) brightness(0.98);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide.is-missing .hero-slide__video { display: none; }
.hero-slide.is-missing::after {
  content: "[Background video: " attr(data-video-src) "]";
  position: absolute;
  right: var(--gutter);
  top: calc(var(--header-h) + 16px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-subtle);
  border: 1px dashed var(--line-dark-2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

/* Keeps white type readable over any footage */
.hero-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .2) 100%),
              linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, 0) 40%);
}

.hero-slide__content {
  position: relative;
  width: 100%;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 168px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero-slide__content > * { max-width: 760px; }
.hero-slide.is-active .hero-slide__content > * { animation: rise .8s ease both; }
.hero-slide.is-active .hero-slide__content > :nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-slide__content > :nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-slide__content > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-slide__title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.125;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.hero-slide__title em { font-style: normal; color: inherit; }
.hero-slide__text { font-size: 18px; line-height: 1.78; color: var(--on-dark-muted); max-width: 580px; }

.hero__nav {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  padding-bottom: 32px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
}
.hero-tabs { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hero-tab {
  appearance: none;
  background: none;
  border: 0;
  padding: 0 0 4px;
  min-height: 44px;
  color: var(--on-dark-subtle);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-tab:hover, .hero-tab.is-active { color: var(--on-dark); }
.hero-tab__bar {
  position: relative;
  display: block;
  height: 3px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
}
.hero-tab__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--on-dark);
  transform-origin: left;
  transform: scaleX(0);
}
/* Its animationend (fired on the bar) is what advances the slideshow */
.hero-tab.is-active .hero-tab__bar::after { animation: fill var(--slide-duration) linear forwards; }
.hero.is-paused .hero-tab.is-active .hero-tab__bar::after,
.hero.is-holding .hero-tab.is-active .hero-tab__bar::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

.hero-pause {
  flex: none;
  width: 44px; height: 44px;
  border-radius: var(--pill);
  border: 1px solid var(--line-dark-2);
  background: rgba(0, 0, 0, .45);
  color: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.hero-pause:hover { border-color: var(--on-dark-subtle); }
.hero-pause__icon--play { display: none; }
.hero.is-paused .hero-pause__icon--play { display: block; }
.hero.is-paused .hero-pause__icon--pause { display: none; }

/* Trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); padding: 36px 0; }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.trust__label { font-size: 16px; color: var(--muted); font-weight: 500; }
.logo-row { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.logo-slot {
  width: 132px; height: 48px;
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--muted);
}

/* Section shells */
.section { padding: 104px 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__inner { display: flex; flex-direction: column; gap: 48px; }

/* Services bento */
.services-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.services-head .section-head { max-width: 640px; }
.services-head__note { font-size: 18px; line-height: 1.78; color: var(--muted); max-width: 440px; }
.bento { display: flex; flex-wrap: wrap; gap: 16px; }

.card {
  flex: 1 1 320px;
  min-width: 0;
  min-height: 260px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--ink);
  text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.card:hover { color: var(--ink); border-color: var(--line-dashed); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10); }
.card__body { display: flex; flex-direction: column; gap: 10px; }
.card__title { font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
.card__text { font-size: 18px; line-height: 1.78; color: var(--muted); }
.card--tall { min-height: 300px; }

.card--feature {
  flex: 2 1 560px;
  min-height: 300px;
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--on-dark);
  padding: 36px;
  gap: 32px;
}
.card--feature:hover { color: var(--on-dark); border-color: var(--ink); }
.card--feature .card__body { gap: 12px; }
.card--feature .card__title { font-size: 32px; }
.card--feature .card__text { font-size: 18px; line-height: 1.78; color: var(--on-dark-muted); max-width: 560px; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.badge {
  font-family: var(--font-mono);
  font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink); background: var(--on-dark);
  padding: 6px 10px; border-radius: var(--pill);
}

/* Full-width accent call-out */
.callout {
  display: block;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
}
.callout:hover { color: var(--on-accent); }
.callout__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.callout__copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1 1 480px; }
.callout__title { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.14; letter-spacing: -0.01em; font-weight: 700; }
.callout__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
}
.callout__link svg { transition: transform .2s ease; }
.callout:hover .callout__link svg { transform: translate(3px, -3px); }

/* Industries */
.industries .section-head { max-width: 720px; }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--line);
}
.industry {
  padding: 28px 24px 32px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  display: flex; flex-direction: column; gap: 12px;
}
.industry:hover { color: var(--ink); }
.industry:hover .industry__title { text-decoration: underline; text-underline-offset: 4px; }
.industry__num { font-family: var(--font-mono); font-size: 16px; color: var(--muted); }
.industry__title { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.industry__text { font-size: 16px; line-height: 1.3; color: var(--muted); }

/* Featured client stories */
.stories__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 24px; }
.story {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}
.story:hover { color: var(--ink); }
.story__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  border: 1px dashed var(--line-dashed);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--muted);
  margin-bottom: 6px;
  transition: transform .3s ease;
}
.story:hover .story__media { transform: scale(1.015); }
.story__title { font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
.story:hover .story__title { text-decoration: underline; text-underline-offset: 4px; }
.story__metric { font-family: var(--font-mono); font-size: 16px; color: var(--muted); }

/* Testimonial */
.testimonial { background: var(--surface); border-top: 1px solid var(--line); }
.testimonial__inner { max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: 32px; }
.testimonial blockquote { font-size: clamp(26px, 3vw, 44px); line-height: 1.25; letter-spacing: -0.01em; font-weight: 500; }
.person { display: flex; align-items: center; gap: 16px; }
.person__photo {
  width: 56px; height: 56px;
  border-radius: var(--pill);
  border: 1px dashed var(--line-dashed);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted);
}
.person__info { display: flex; flex-direction: column; gap: 2px; }
.person__name { font-size: 18px; font-weight: 700; }
.person__role { font-size: 16px; color: var(--muted); }

/* "Talk to an expert" strip */
.expert { background: var(--paper-2); border-top: 1px solid var(--line); }
.expert__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.expert__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.expert__title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.14; letter-spacing: -0.01em; font-weight: 700; }
.expert__text { font-size: 18px; line-height: 1.78; color: var(--muted); max-width: 560px; }
.expert__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Velaris animated background. The canvas sits behind the section's own
   content; --velaris hosts flip to light type because the gradient is dark. */
.velaris-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.expert--velaris {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-deep);
  border-top-color: var(--line-dark);
  color: var(--on-dark);
}
.expert--velaris .expert__inner { position: relative; z-index: 1; }
.expert--velaris .expert__text { color: var(--on-dark-muted); }

/* Footer */
.site-footer { background: var(--ink-deep); color: var(--on-dark); padding: 0 0 40px; }
.site-footer__inner { display: flex; flex-direction: column; gap: 56px; }
.footer-promos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-bottom: 1px solid var(--line-dark);
}
.footer-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 56px 32px 48px 0;
  color: var(--on-dark);
  text-decoration: none;
}
.footer-promo:hover { color: var(--on-dark); }
.footer-promo__title { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.footer-promo__text { font-size: 18px; line-height: 1.78; color: var(--on-dark-muted); max-width: 460px; }

.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand__name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 25px; letter-spacing: -0.02em; }
.footer-brand__text { font-size: 16px; line-height: 1.3; color: var(--on-dark-subtle); max-width: 320px; }
.footer-col { flex: 0 1 200px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer-col--wide { flex-basis: 240px; }
.footer-col__head { font-weight: 700; }
.footer-col a, .footer-col span:not(.footer-col__head) { color: var(--on-dark-subtle); text-decoration: none; }
.footer-col a:hover { color: var(--on-dark); }
.social {
  margin-top: 6px;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-dark-2);
  display: flex; align-items: center; justify-content: center;
}
.footer-col a.social { color: var(--on-dark); }
.footer-col a.social:hover { border-color: var(--on-dark-subtle); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px; color: var(--on-dark-subtle);
}
.footer-bottom a { color: var(--on-dark-subtle); }
.footer-bottom a:hover { color: var(--on-dark); }

/* Phones */
@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 120px; }
  .main-nav { gap: 4px 20px; }
  .hero-slide__content { padding-bottom: 140px; }
  .hero-slide__text { font-size: 17px; }
  .hero-tabs { gap: 12px; }
  .hero-tab { font-size: 13px; }
  .hero-slide.is-missing::after { display: none; }
  .section { padding: 72px 0; }
  .footer-promo { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .story__media, .hero-slide { transition: none; }
  .btn:hover, .card:hover, .story:hover .story__media { transform: none; }
  .hero-slide.is-active .hero-slide__content > * { animation: none; }
}
