/* ==========================================================================
   Chicago Show - styles.css
   Palette: charcoal #141413, brand blue #004194, deep navy #0B2547,
   white, off-white #F6F8FB, soft gray lines #E3E7EE
   ========================================================================== */

:root {
  --ink: #141413;
  --blue: #004194;
  --blue-dark: #003070;
  --navy: #0B2547;
  --paper: #FFFFFF;
  --off: #F6F8FB;
  --line: #E3E7EE;
  --slate: #4B5563;
  --slate-light: #9AA6B5;

  --font-display: "Montserrat", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(11, 37, 71, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 37, 71, 0.10);
  --shadow-lg: 0 16px 48px rgba(11, 37, 71, 0.16);

  --container: 1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }

/* Scroll offset for sticky header */
section[id], footer[id] { scroll-margin-top: 96px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  display: inline-block;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 6px;
}
.eyebrow-light { color: #7EA6E0; border-color: #7EA6E0; }

.section-lede {
  max-width: 640px;
  color: var(--slate);
  font-size: 1.06rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 12px 22px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; text-align: center; }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 6px;
  gap: 24px;
}

.wordmark { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.wordmark-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.wordmark-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.26em;
  color: var(--blue);
}

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.site-nav a:hover { color: var(--blue); border-color: var(--blue); }
.site-nav .nav-cta { color: #fff; border-bottom: none; }
.site-nav .nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s 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); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background:
    linear-gradient(180deg, var(--off) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 84px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note {
  font-size: 0.88rem;
  color: var(--slate);
  border-left: 3px solid var(--blue);
  padding-left: 12px;
  margin: 0;
}

/* Hero spec-sheet visual */
.hero-visual { position: relative; min-height: 420px; }
.spec-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 14px;
  width: 78%;
}
.spec-card-back { top: 0; right: 0; transform: rotate(2deg); }
.spec-card-front { bottom: 0; left: 0; transform: rotate(-1.5deg); box-shadow: var(--shadow-lg); }

/* The dieline-style placeholder art area */
.spec-art {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(var(--off) 1px, transparent 1px),
    linear-gradient(90deg, var(--off) 1px, transparent 1px);
  background-size: 24px 24px;
  background-color: #FBFCFE;
  border: 1.5px dashed #B9C6D8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spec-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--slate-light);
}
.spec-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--blue);
  border-style: solid;
  border-width: 0;
}
.spec-corner.tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.spec-corner.tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.spec-corner.bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.spec-corner.br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }

.spec-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--slate-light);
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trustbar {
  background: var(--navy);
  color: #fff;
  padding: 34px 0;
}
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-item { border-left: 2px solid var(--blue); padding-left: 16px; }
.trust-figure {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.trust-label {
  display: block;
  font-size: 0.85rem;
  color: #B9C9E2;
  margin-top: 2px;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 96px 0; }
.section-alt { background: var(--off); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 52px; }

/* Cards */
.cards-grid { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 20px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--blue);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card p { color: var(--slate); font-size: 0.95rem; margin: 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-card .spec-art { border-radius: 0; border-left: none; border-right: none; border-top: none; }
.gallery-card figcaption { padding: 18px 20px 20px; }
.gallery-type {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.gallery-card p { margin: 0; color: var(--slate); font-size: 0.92rem; }

/* When real images replace placeholders */
.gallery-card img, .spec-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cap-item {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.cap-item h3 { font-size: 0.95rem; margin-bottom: 8px; }
.cap-item h3::before {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  background: var(--blue);
  margin-bottom: 12px;
}
.cap-item p { margin: 0; color: var(--slate); font-size: 0.9rem; }

/* Industries */
.section-dark { background: var(--navy); }
.section-dark h2 { color: #fff; }
.industry-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.industry-list li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: #DCE6F5;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 10px 20px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.industry-list li:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

/* Process */
.process-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.process-steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.process-steps h3 { font-size: 0.92rem; margin-bottom: 8px; }
.process-steps p { margin: 0; color: var(--slate); font-size: 0.86rem; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.why-copy p { color: var(--slate); }
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.why-list li {
  padding: 16px 0 16px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.96rem;
  position: relative;
}
.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 10px;
  height: 3px;
  background: var(--blue);
}
.why-list li strong { color: var(--ink); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 56px;
}
.about-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}
.about-year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.about-rule { flex: 1; width: 2px; background: linear-gradient(var(--blue), var(--line)); min-height: 160px; }
.about-copy p { color: var(--slate); max-width: 640px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.section-contact { background: var(--navy); }
.section-contact h2 { color: #fff; }
.section-contact .contact-copy p { color: #C4D2E8; }
.contact-hint { font-size: 0.92rem; border-left: 3px solid var(--blue); padding-left: 12px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: #fff;
}
.form-field textarea { resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--slate); }
.hidden-field { display: none; }
.req { color: var(--blue); font-weight: 700; }
.form-status { margin: 12px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--blue); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: #C9CDD4;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .wordmark-name { color: #fff; display: block; }
.footer-tag { color: #7EA6E0; display: block; margin-top: 4px; }
.footer-addr { margin-top: 18px; font-size: 0.92rem; line-height: 1.7; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  color: #C9CDD4;
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 0.15s ease;
}
.footer-nav a:hover { color: #fff; }

.footer-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.footer-contact p { font-size: 0.92rem; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #C9CDD4;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.footer-social svg { flex-shrink: 0; }
.footer-social:hover { color: #fff; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: 0.82rem;
  color: #8A9099;
}
.footer-base p { margin: 0; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .gallery-card { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 0; max-width: 520px; }
  .spec-card { position: relative; width: 100%; transform: none; }
  .spec-card-back, .spec-card-front {
    top: auto; right: auto; bottom: auto; left: auto; transform: none;
  }
  .spec-card-front { margin-top: 18px; }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
  .cols-3, .gallery-grid, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-rail { flex-direction: row; }
  .about-rule { min-height: 0; height: 2px; width: auto; flex: 1; background: linear-gradient(90deg, var(--blue), var(--line)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 72px; }
  .cols-3, .gallery-grid, .cap-grid, .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trustbar-grid { gap: 20px; }

  /* Mobile nav */
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 24px;
    gap: 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 1rem; }
}

/* ---------- Footer Logo image ---------- */
.logo-img { height: 190px; width: auto; display: block; }
@media (max-width: 700px) { .logo-img { height: 140px; } }

/* Hero spec cards holding real photos */
.spec-card img { border-radius: 4px; }

/* ---------- Header Logo image ---------- */
.header-inner .logo-img { height: 86px; }
@media (max-width: 700px) { .header-inner .logo-img { height: 64px; } }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: #004194;
  color: #ffffff;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
}