/* AACT Consulting — consulting page. Dark navy + blueprint, matches the chooser. */
:root {
  --ink: #071019;
  --navy: #0a1a2c;
  --navy-2: #0d2238;
  --navy-3: #081523;
  --blue: #079cff;
  --blue-hi: #3db2ff;
  --orange: #FF6B1A;
  --orange-hi: #ff8a45;
  --text: #eaf3fa;
  --muted: #a9b8c5;
  --line: rgba(255, 255, 255, 0.10);
  --header: 72px;
  --wrap: 1120px;
  --font: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 20;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header — same bar language as the chooser */
.site-header {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(24px, 4vw, 64px);
  height: var(--header);
  max-width: 1440px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 36px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav a:hover { color: #fff; border-color: var(--blue); }

.header-signin {
  margin-left: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.header-signin:hover { border-color: var(--orange); color: #fff; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(7, 156, 255, 0.10), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--navy) 55%, var(--navy-3));
  border-bottom: 1px solid var(--line);
}
.hero-draw {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 156, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 156, 255, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(7, 156, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 156, 255, 0.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, 0.45) 58%, transparent 100%);
          mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, 0.45) 58%, transparent 100%);
  pointer-events: none;
}
.hero-draw::after {
  content: "";
  position: absolute;
  left: clamp(24px, 4vw, 64px);
  right: 40%;
  bottom: 28px;
  height: 8px;
  border-bottom: 1px solid rgba(7, 156, 255, 0.35);
  border-left: 1px solid rgba(7, 156, 255, 0.35);
  border-right: 1px solid rgba(7, 156, 255, 0.35);
  pointer-events: none;
}
.hero-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(48px, 9vh, 96px) clamp(24px, 4vw, 64px) clamp(72px, 12vh, 120px);
  min-height: 0;
}
.hero-copy { max-width: 760px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-hi);
}
.eyebrow span:not(.dot) { color: var(--blue-hi); }
.eyebrow .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 auto;
}
.eyebrow > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* numbered eyebrows: "01 Services" */
.section-head .eyebrow span:first-child,
.safety-band .eyebrow span:first-child {
  color: var(--muted);
  letter-spacing: 0.12em;
}
.section-head .eyebrow {
  color: var(--blue-hi);
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; color: #fff; }
h1 {
  font-size: clamp(2.05rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 22px;
  max-width: none;
}
h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  margin: 0;
}
h3 { font-size: 1.05rem; line-height: 1.3; margin: 0 0 8px; }

.lead, .about-copy p, .service-list p, .industry-list p, .safety-band p {
  color: var(--muted);
}
.lead {
  margin: 0 0 32px;
  font-size: 1.08rem;
  max-width: 42em;
}

.actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
  padding: 12px 20px;
  border-radius: 3px;
  border: 1px solid transparent;
  min-height: 44px;
  transition: background 0.15s, border-color 0.15s;
}
.btn-blue { background: var(--blue); color: #041018; }
.btn-blue:hover { background: var(--blue-hi); }
.btn-orange { background: var(--orange); color: #160801; }
.btn-orange:hover { background: var(--orange-hi); }
.text-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 2px;
}
.text-link:hover { border-color: var(--blue-hi); color: #fff; }

.hero-plan {
  justify-self: end;
  width: min(100%, 460px);
  opacity: 0.72;
  pointer-events: none;
}
.hero-plan img { width: 100%; height: auto; }

/* Sections */
.wrap {
  width: min(var(--wrap), calc(100% - 2 * clamp(24px, 4vw, 64px)));
  margin: 0 auto;
}
.section {
  padding: clamp(64px, 10vh, 104px) 0;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.section-alt { background: var(--navy); }
.section-head { margin: 0 0 40px; max-width: 28em; }
.section-head h2 { margin-top: 6px; }

/* Services: numbered rows, like a specification list */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  counter-reset: svc;
}
.service-list li {
  display: grid;
  grid-template-columns: 3.2rem minmax(160px, 0.7fr) minmax(0, 1.4fr);
  gap: 16px 28px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: svc;
}
.service-list li::before {
  content: counter(svc, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.service-list h3 { margin: 0; }
.service-list p { margin: 0; max-width: 46em; }

/* Industries */
.industry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.industry-list li {
  padding: 28px 32px 8px 0;
  border-right: 1px solid var(--line);
  padding-right: 36px;
}
.industry-list li:last-child { border-right: 0; padding-right: 0; }
.industry-list li + li { padding-left: 36px; }
.mark {
  width: 64px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 18px;
  display: block;
}
.industry-list p { margin: 0; }

/* About */
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.about-grid .section-head,
.contact-grid .section-head { margin-bottom: 0; }
.about-copy p { margin: 0 0 1em; font-size: 1.05rem; }
.about-copy p:last-child { margin-bottom: 0; }

/* Contact */
.contact-card {
  border: 1px solid var(--line);
  padding: 28px 32px;
  background: rgba(7, 16, 25, 0.35);
}
.contact-label {
  margin: 0 0 8px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.email-link {
  display: inline-block;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  word-break: break-word;
}
.email-link:hover { border-color: var(--blue-hi); }
.place { margin: 14px 0 24px; color: var(--muted); }

/* Safety band — orange rule, dark field, ties to the chooser */
.safety-band {
  background: #121518;
  border-top: 6px solid var(--orange);
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 8vh, 80px) 0;
}
.safety-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}
.safety-band .eyebrow { color: var(--orange-hi); margin-bottom: 10px; }
.safety-band .eyebrow.orange span { color: var(--orange-hi); }
.safety-band h2 { margin: 0 0 10px; max-width: 22em; }
.safety-band p { margin: 0; max-width: 40em; }

/* Footer */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.footer-bar {
  min-height: 58px;
  height: auto;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-bar a { color: var(--muted); text-decoration: none; }
.footer-bar a:hover { color: #fff; }
.footer-bar > a { margin-left: auto; }

/* Phone and narrow desktop */
@media (max-width: 980px) {
  .hero-frame { grid-template-columns: 1fr; min-height: 0; padding-bottom: 64px; }
  .break-desk { display: none; }
  .hero-plan { display: none; }
  .hero-draw::after { right: 24px; }
  h1 { max-width: none; }
  .service-list li { grid-template-columns: 3.2rem 1fr; }
  .service-list p { grid-column: 2; }
  .industry-list { grid-template-columns: 1fr; }
  .industry-list li,
  .industry-list li + li,
  .industry-list li:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .header-signin { display: none; }
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    margin: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0 clamp(24px, 4vw, 64px); }
  .site-nav a { display: block; padding: 14px 0; font-size: 1.05rem; }
  .footer-bar > a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
