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

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f7fb;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --accent: #dc2626;
  --accent-strong: #ef4444;
  --accent-soft: rgba(239, 68, 68, 0.08);
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #fee2e2, #ffffff 60%),
    radial-gradient(circle at bottom right, #fee2e2, #ffffff 60%);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: #f9fafb;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-subtle);
}

.scroll-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.1s linear;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px white;
  overflow: hidden;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  /* font-family: "Hellschreiber Serif Light", serif; */
  font-family: "Clarendon", "Bookman Old Style", "Georgia", serif;
  font-size: 1.65rem;
  /* font-weight: bold; */
  letter-spacing: 0.16em;
  color: #800707;

  /* font-family: "Clarendon", "Bookman Old Style", "Georgia", serif; */
  /* font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman",
    serif;
  font-style: italic;
  font-weight: bold;
  color: #a2201f; */
  /* font-size: 30px; /* adjust as needed */
}

.brand-tagline {
  font-size: 0.75rem;
  /* color: var(--text-muted); */
  color: black;
  margin-left: 36.5px;
  margin-top: -5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.4rem;
  margin: 0;
  padding: 10px;
  font-weight: bold;
  color: black;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.16s ease, transform 0.12s ease;
}

.nav-links a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-links a.active:not(.btn-nav) {
  color: var(--text-main);
}

.btn-nav {
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* FULLSCREEN HERO + MOVING BANNERS */
.hero-full {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 4.2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.85;
  z-index: -2;
}

.hero-bg-left {
  top: -120px;
  left: -120px;
  background: rgba(248, 113, 113, 0.6);
}

.hero-bg-right {
  bottom: -120px;
  right: -120px;
  background: rgba(248, 250, 252, 0.9);
}

.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge-row {
  margin-bottom: 1.4rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.5);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: bolder;
  color: var(--accent-strong);
}

.hero-slider {
  position: relative;
  min-height: 300px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  padding: 2.4rem 2.2rem;
  border-radius: 26px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-slide:nth-child(1) {
  background-image: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.88),
      rgba(185, 28, 28, 0.75)
    ),
    url("../assets/banner1.png");
}

.hero-slide:nth-child(2) {
  background-image: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.88),
      rgba(30, 64, 175, 0.75)
    ),
    url("../assets/banner2.png");
}

.hero-slide:nth-child(3) {
  background-image: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.88),
      rgba(22, 163, 74, 0.75)
    ),
    url("../assets/banner3.png");
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide .eyebrow {
  color: #fecaca;
}

.hero-slide h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.7rem, 4.4vw + 1rem, 3.8rem);
  line-height: 1.04;
  margin: 0 0 1.1rem;
  color: #f9fafb;
}

.hero-slide .hero-subtitle {
  color: #e5e7eb;
  max-width: 640px;
  margin: 0 auto;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 2.1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.75rem 1.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, transform 0.12s ease,
    box-shadow 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(220, 38, 38, 0.5);
}

.btn-ghost {
  background: #ffffff;
  border-color: var(--border-subtle);
  color: #111827;
}

.btn-ghost:hover {
  background: #f9fafb;
}

.btn-wide {
  width: 100%;
  justify-content: center;
}

.hero-slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 2.4rem;
}

.metric {
  display: block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.5rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* SECTIONS */
.section-header h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.9rem;
  margin: 0 0 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 2.4rem;
}

.card {
  background: var(--surface-soft);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.45);
  border-color: rgba(248, 113, 113, 0.7);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

/* INDUSTRIES */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.1rem;
}

.chip-pill {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
  color: var(--text-muted);
}

/* CAREERS */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.4rem;
  margin-top: 2.4rem;
}

.card-outline {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.3);
}

.simple-list {
  list-style: none;
  padding-left: 0;
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.simple-list li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.simple-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
}

.muted-note {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CONTACT BAND */
.section-band {
  background: radial-gradient(
    circle at top,
    rgba(248, 113, 113, 0.35),
    transparent 70%
  );
}

.band-inner {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  border-radius: 22px;
  padding: 2rem 2.3rem;
  border: 1px solid rgba(248, 250, 252, 0.7);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  box-shadow: 0 20px 60px rgba(185, 28, 28, 0.55);
  color: #fef2f2;
}

.band-inner h2 {
  margin-top: 0;
}

.band-inner p {
  margin-bottom: 0;
  color: #fee2e2;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fee2e2;
}

.field input,
.field select,
.field textarea {
  border-radius: 10px;
  border: 1px solid rgba(248, 250, 252, 0.9);
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #fecaca;
  box-shadow: 0 0 0 1px rgba(254, 226, 226, 0.7);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-status {
  margin: 0;
  font-size: 0.8rem;
  color: #f9fafb;
}

/* FOOTER */
.footer {
  background: #ffffff;
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem 0 1rem;
}

.footer-block h4 {
  margin: 0 0 0.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.95rem;
}

.footer-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  padding: 0.8rem 0 1.2rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FLOATING CTA + SCROLL TOP */
.floating-cta {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 50;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.55);
}

.scroll-top {
  position: fixed;
  right: 1.6rem;
  bottom: 4.4rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: #ffffff;
  color: #111827;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  transform: translateY(4px);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-full {
    min-height: calc(100vh - 56px);
    padding-top: 3.8rem;
  }

  .hero-inner {
    max-width: 100%;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: center;
  }

  .hero-badge-row {
    margin-bottom: 1.1rem;
  }

  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .band-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    inset: 3.1rem 1rem auto 1rem;
    background: #ffffff;
    border-radius: 18px;
    padding: 0.9rem;
    flex-direction: column;
    gap: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
    transform-origin: top;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero-inner {
    text-align: left;
  }

  .hero-slide {
    align-items: flex-start;
  }

  .hero-slide .hero-subtitle {
    margin: 0;
  }

  .hero-cta-row {
    justify-content: flex-start;
  }

  .hero-metrics {
    justify-content: flex-start;
  }
}
