/* Blackwell Technologies — dark industrial marketing styles */

:root {
  --bg: #0b0d10;
  --bg-elevated: #12151a;
  --bg-alt: #151920;
  --surface: #1a1f27;
  --surface-hover: #222833;
  --border: rgba(180, 190, 205, 0.14);
  --border-strong: rgba(200, 210, 225, 0.28);
  --text: #e8ecf2;
  --text-muted: #9aa3b2;
  --steel: #8b95a5;
  --accent: #c4ccd8;
  --accent-bright: #e6ebf2;
  --metallic: linear-gradient(135deg, #9aa3b2 0%, #d7dde6 45%, #7d8796 100%);
  --glow: rgba(196, 204, 216, 0.18);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --header-h: 104px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Orbitron", "Inter", system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

a:hover {
  color: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--accent-bright);
  color: #111;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.5rem;
  margin-left: -0.5rem;
  border-radius: 10px;
  line-height: 0;
}

.brand img,
.brand img.brand-logo {
  height: 5rem; /* ~80px */
  width: auto;
  max-width: min(22rem, 55vw);
  object-fit: contain;
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.btn-primary {
  background: linear-gradient(180deg, #e8edf4 0%, #b8c0cc 100%);
  color: #101318;
  box-shadow: 0 8px 24px rgba(180, 190, 205, 0.18);
}

.btn-primary:hover {
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(180, 190, 205, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 88vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.94) 0%, rgba(8, 10, 12, 0.72) 48%, rgba(8, 10, 12, 0.35) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.35) 0%, rgba(8, 10, 12, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  margin-right: 1rem;
  animation: rise 0.9s var(--ease) both;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--steel);
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: 0.02em;
  font-weight: 600;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.accent {
  background: var(--metallic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-head.light .eyebrow,
.section-head.light .section-intro {
  color: #b7c0ce;
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 1.15rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.card.compact {
  padding: 1.25rem;
  box-shadow: none;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  color: var(--accent-bright);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
}

/* Product */
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.product-copy p {
  color: var(--text-muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--metallic);
  box-shadow: 0 0 0 3px rgba(196, 204, 216, 0.15);
}

.product-visual {
  margin: 0;
  background: #050607;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-visual figcaption {
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

/* Process */
.process-section {
  color: var(--text);
  overflow: hidden;
}

.process-bg {
  position: absolute;
  inset: 0;
}

.process-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
}

.process-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.88) 0%, rgba(8, 10, 12, 0.92) 100%),
    radial-gradient(circle at 20% 20%, rgba(180, 190, 205, 0.12), transparent 45%);
}

.process-section .container {
  position: relative;
  z-index: 1;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-steps li {
  background: rgba(18, 21, 26, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.step-num {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent-bright);
}

.process-steps p {
  margin: 0;
  color: #b0b9c7;
  font-size: 0.92rem;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}

.about-layout p {
  color: var(--text-muted);
}

.about-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.about-panel h3 {
  margin-bottom: 1rem;
}

.about-panel dl {
  margin: 0;
}

.about-panel dl > div {
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.about-panel dl > div:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.about-panel dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin-bottom: 0.25rem;
}

.about-panel dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-copy p {
  color: var(--text-muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0;
}

.contact-list li {
  margin-bottom: 1.1rem;
}

.contact-list .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin-bottom: 0.25rem;
}

.contact-list a {
  color: var(--text);
  font-weight: 500;
}

.contact-list a:hover {
  color: #fff;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.contact-map-card p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.map-link {
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.map-frame {
  margin-top: auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 180px;
  background:
    radial-gradient(circle at 30% 40%, rgba(180, 190, 205, 0.16), transparent 40%),
    linear-gradient(145deg, #1c222c, #0e1116);
}

.map-placeholder {
  height: 180px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.35rem;
  color: var(--text-muted);
}

.map-placeholder strong {
  color: var(--text);
  font-family: var(--display);
  letter-spacing: 0.04em;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #080a0c;
  padding: 2.75rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand img,
.footer-brand img.footer-logo {
  height: 3.5rem;
  width: auto;
  max-width: 16rem;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: none;
}

.footer-brand p,
.copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-contact a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-contact a:hover {
  color: #fff;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .card-grid.three,
  .card-grid.four,
  .process-steps,
  .product-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 76px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(12, 14, 18, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.6rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav .btn {
    margin-top: 0.75rem;
    border-bottom: 0;
  }

  .hero {
    align-items: flex-end;
    padding-top: 4rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.75rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* SVG logo — crisp on dark header/footer */
.brand-logo,
.footer-logo {
  display: block;
  width: auto;
  height: 5rem; /* ~80px desktop wordmark */
  max-width: 22rem;
  object-fit: contain;
  color: #fff;
}
.footer-logo {
  height: 3.5rem;
  max-width: 16rem;
  opacity: 0.95;
}
@media (max-width: 760px) {
  .brand-logo {
    height: 3.25rem;
    max-width: 15rem;
  }
}
.brand img,
.site-footer img[src*="logo"] {
  /* neutralize any PNG softening filters */
  filter: none;
  image-rendering: auto;
}
