@font-face {
  font-family: "Teknaf";
  src: url("assets/fonts/Teknaf-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Teknaf";
  src: url("assets/fonts/Teknaf-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Teknaf";
  src: url("assets/fonts/Teknaf-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.theme-zotech {
  --brand-blue: #1e4ce0;
  --brand-green: #05d398;
  --black: #000000;
  --white: #ffffff;

  --bg: #000000;
  --bg-alt: #050811;
  --surface-1: rgba(255, 255, 255, 0.02);
  --surface-2: rgba(7, 12, 24, 0.92);
  --surface-3: rgba(11, 18, 35, 0.84);
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(30, 76, 224, 0.38);
  --text-primary: rgba(255, 255, 255, 0.98);
  --text-secondary: rgba(255, 255, 255, 0.74);
  --text-muted: rgba(255, 255, 255, 0.52);
  --accent-gradient: linear-gradient(135deg, #1e4ce0 0%, #05d398 100%);
  --accent-glow: 0 0 0 1px rgba(30, 76, 224, 0.14), 0 18px 44px rgba(30, 76, 224, 0.14);
  --card-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --container: 1180px;
  --section-space: 54px;
  --font-primary: "Teknaf", "Avenir Next", "Montserrat", "Century Gothic", "Trebuchet MS",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 82% 10%, rgba(30, 76, 224, 0.16), transparent 18%),
    radial-gradient(circle at 14% 18%, rgba(5, 211, 152, 0.09), transparent 16%),
    linear-gradient(180deg, #06080f 0%, #020306 36%, #000000 100%);
}

::selection {
  background: rgba(30, 76, 224, 0.32);
  color: var(--white);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(135deg, rgba(30, 76, 224, 0.11) 0, rgba(30, 76, 224, 0.11) 1px, transparent 1px, transparent 72px),
    linear-gradient(315deg, rgba(5, 211, 152, 0.07) 0, rgba(5, 211, 152, 0.07) 1px, transparent 1px, transparent 92px);
  background-size: 180px 180px, 220px 220px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 78%);
}

body::after {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  opacity: 0.16;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 1px solid rgba(5, 211, 152, 0.72);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.05rem, 7.8vw, 5.9rem);
  line-height: 0.93;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 0.96;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.02;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding-bottom: 32px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(2, 4, 10, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: clamp(132px, 16vw, 172px);
  min-width: 132px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  flex: none;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-primary);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--accent-gradient);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  box-shadow: var(--accent-glow);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  box-shadow: none;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(5, 211, 152, 0.42);
  box-shadow: 0 0 0 1px rgba(5, 211, 152, 0.12);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
}

main {
  display: grid;
}

.section {
  position: relative;
  padding: var(--section-space) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 86px;
  height: 1px;
  background: var(--accent-gradient);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  padding: 104px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 34px 0 auto auto;
  width: min(42vw, 500px);
  height: 340px;
  border: 1px solid rgba(30, 76, 224, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(30, 76, 224, 0.08), transparent 58%),
    linear-gradient(315deg, rgba(5, 211, 152, 0.06), transparent 65%);
  clip-path: polygon(12% 0%, 100% 0%, 100% 74%, 88% 100%, 0% 100%, 0% 24%);
  opacity: 0.72;
}

.hero-copy,
.hero-stage,
.contact-card {
  position: relative;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--brand-green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-text,
.intro-text,
.hero-stage-copy p,
.service-card p,
.featured-card p,
.process-card p,
.industry-card p,
.contact-copy p:last-child {
  color: var(--text-secondary);
  font-size: 1.03rem;
  line-height: 1.82;
}

.hero-text {
  max-width: 62ch;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.signal-chip,
.stack-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 700;
}

.signal-chip {
  border-color: rgba(30, 76, 224, 0.18);
}

.hero-stage-card,
.card-shell {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    var(--surface-2);
  box-shadow: var(--card-shadow);
}

.card-shell::before,
.hero-stage-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 92px;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0.9;
}

.angle-card::after,
.hero-stage-card::after {
  content: "< >";
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(30, 76, 224, 0.16);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-stage-card {
  display: grid;
  gap: 28px;
  min-height: 100%;
  padding: 26px;
  overflow: hidden;
}

.hero-stage-pattern {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 158px;
  align-content: start;
}

.hero-stage-pattern span {
  display: block;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(30, 76, 224, 0.24), rgba(5, 211, 152, 0.08) 52%, transparent 52%),
    rgba(255, 255, 255, 0.015);
  clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
}

.hero-stage-pattern span:nth-child(2) {
  width: 88%;
}

.hero-stage-pattern span:nth-child(3) {
  width: 76%;
}

.panel-label,
.featured-type,
.featured-outcome-label {
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-stage-copy {
  display: grid;
  gap: 14px;
}

.hero-stage-copy h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.hero-stage-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stage-metric {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.stage-metric-value {
  font-size: 1.35rem;
  font-weight: 700;
}

.stage-metric-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: end;
}

.intro-copy h2 {
  max-width: 13ch;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 14ch;
}

.services-grid,
.featured-grid,
.process-grid,
.industry-list {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.industry-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.featured-card,
.process-card,
.industry-card,
.contact-card {
  overflow: hidden;
}

.service-card,
.featured-card,
.process-card,
.industry-card {
  padding: 24px;
}

.service-card {
  display: grid;
  gap: 16px;
  min-height: 298px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover,
.service-card:focus-within,
.featured-card:hover,
.featured-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(30, 76, 224, 0.38);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

.service-index,
.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(30, 76, 224, 0.3);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(30, 76, 224, 0.16), rgba(5, 211, 152, 0.08)),
    rgba(255, 255, 255, 0.01);
  color: var(--text-primary);
  font-weight: 700;
}

.service-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.service-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand-green);
  box-shadow: 0 0 14px rgba(5, 211, 152, 0.18);
}

.featured-card {
  display: grid;
  gap: 16px;
  min-height: 260px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.featured-outcome {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-outcome p {
  color: var(--text-primary);
}

.process-card {
  display: grid;
  gap: 14px;
  min-height: 226px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    linear-gradient(135deg, rgba(30, 76, 224, 0.05), rgba(5, 211, 152, 0.03)),
    var(--surface-2);
}

.industry-card {
  display: grid;
  gap: 12px;
  min-height: 216px;
}

.accent-card {
  border-color: rgba(30, 76, 224, 0.32);
  background:
    linear-gradient(135deg, rgba(30, 76, 224, 0.16), rgba(5, 211, 152, 0.08)),
    rgba(3, 7, 16, 0.98);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
}

.contact-card .eyebrow {
  color: var(--brand-blue);
}

.contact-copy {
  display: grid;
  gap: 14px;
}

.contact-copy h2 {
  max-width: 13ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-actions .button {
  max-width: 100%;
}

#contact-email-link {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-actions .button-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.site-footer {
  padding: 16px 0 32px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

body.js-ready .reveal[data-reveal="pending"],
body.js-ready .reveal-delay[data-reveal="pending"] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease,
    filter 600ms ease;
  filter: blur(2px);
}

body.js-ready .reveal-delay[data-reveal="pending"] {
  transition-delay: 120ms;
}

.reveal.is-visible,
.reveal-delay.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 1080px) {
  .hero,
  .intro-band,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .featured-grid,
  .industry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  :root {
    --section-space: 44px;
  }

  .page-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
    border-radius: 14px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 16px;
    font-size: 0.9rem;
  }

  .hero {
    gap: 22px;
    padding-top: 66px;
  }

  .hero::before {
    width: 100%;
    inset: 50px 0 auto 0;
    height: 220px;
  }

  .hero-stage-metrics,
  .services-grid,
  .featured-grid,
  .process-grid,
  .industry-list {
    grid-template-columns: 1fr;
  }

  .hero-text,
  .intro-text,
  .hero-stage-copy p,
  .service-card p,
  .featured-card p,
  .process-card p,
  .industry-card p,
  .contact-copy p:last-child {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .hero-signals {
    margin-top: 28px;
  }

  .contact-card {
    gap: 20px;
  }

  .contact-copy h2 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  :root {
    --section-space: 36px;
  }

  .page-shell {
    width: min(calc(100% - 16px), var(--container));
    padding-bottom: 20px;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 3.7rem);
  }

  h2 {
    font-size: clamp(1.95rem, 9vw, 2.7rem);
  }

  .site-header {
    top: 8px;
    gap: 14px;
    padding: 12px;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .hero {
    gap: 18px;
    padding: 50px 0 32px;
  }

  .hero::before {
    inset: 42px 0 auto 0;
    height: 180px;
  }

  .signal-chip,
  .stack-chip {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .hero-stage-card,
  .service-card,
  .featured-card,
  .process-card,
  .industry-card,
  .contact-card {
    padding: 20px;
  }

  .contact-actions {
    width: 100%;
  }

  #contact-email-link {
    min-height: 56px;
    padding: 12px 16px;
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.js-ready .reveal[data-reveal="pending"],
  body.js-ready .reveal-delay[data-reveal="pending"] {
    opacity: 1;
    transform: none;
    transition: none;
    filter: none;
  }
}
