/* Wickmark Group — investigative validation identity v2 */

:root {
  --bg: #0c0e11;
  --bg-elevated: #12161c;
  --surface: #181e26;
  --border: #2a3441;
  --border-subtle: #1e252e;
  --text: #eef1f4;
  --text-muted: #9aa3ad;
  --text-soft: #6f7a86;
  --accent: #c9a86c;
  --accent-muted: #9a7f52;
  --copper: #b8894a;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --max-width: 68rem;
  --space: 1.5rem;
  --radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space);
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: 0.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 17, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-link:hover .logo-wordmark-img { filter: brightness(1.08); }
.logo-img { display: block; object-fit: contain; }
.logo-img--header { height: 3rem; width: 3rem; }
.logo-img--footer { height: 2.5rem; width: 2.5rem; }
.logo-wordmark-img {
  display: block;
  height: 1.35rem;
  width: auto;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-wordmark__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f2dfa0 0%, #d9b872 22%, #a87438 48%, #c9a86c 58%, #8a6230 78%, #e2c992 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
}
.logo-wordmark__suffix {
  font-family: var(--font-serif);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #d4b87a 0%, #9a7f52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 0.15em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-link--cta {
  color: var(--accent);
  border: 1px solid var(--accent-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
}
.nav-link--cta:hover { color: var(--text); border-color: var(--accent); }

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space);
  width: 100%;
}
.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.section:last-of-type { border-bottom: none; }
.section--alt { background: var(--bg-elevated); }
.section--statement { padding: 3rem 0; background: var(--surface); border-block: 1px solid var(--border); }
.section--bg { overflow: hidden; background: var(--bg); }
.section--bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 17, 0.82);
  pointer-events: none;
  z-index: 0;
}
.section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
.section-bg--assess {
  background-image: url('assets/website/backgrounds/access-control-blueprint.png');
  background-position: 15% center;
  opacity: 0.11;
}
.section-bg--approach {
  background-image: url('assets/website/backgrounds/facility-blueprint.png');
  background-position: 85% center;
  opacity: 0.1;
}
.section-content { position: relative; z-index: 1; }

.section-label {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-muted);
}
.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 36rem;
}
.section-lead {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 40rem;
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-muted);
}

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/website/backgrounds/facility-blueprint.png') 72% center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12,14,17,0.96) 0%, rgba(12,14,17,0.88) 52%, rgba(12,14,17,0.72) 100%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  max-width: 22ch;
}
.hero-lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  max-width: 38rem;
  line-height: 1.7;
}
.hero-facts {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  max-width: 38rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.hero-facts strong { color: var(--text); font-weight: 600; }
.hero-slogan {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Attack path diagram */
.path-diagram {
  margin: 0;
  padding: 1rem;
  background: rgba(18, 22, 28, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.path-diagram__caption {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.path-diagram__svg { display: block; width: 100%; height: auto; }

/* Differentiator statement */
.path-statement {
  margin: 0;
  padding: 0;
  border: none;
}
.path-statement__quote {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  max-width: 48rem;
}
.path-statement__quote em {
  font-style: normal;
  color: var(--accent);
}
.path-statement__sub {
  margin: 0;
  color: var(--text-muted);
  max-width: 42rem;
  font-size: 0.9375rem;
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.industry-grid li {
  padding: 0.65rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

/* Validation domains */
.domain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.domain-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.25rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(18, 22, 28, 0.6);
  counter-increment: domain;
}
.domain-list li:last-child { border-bottom: none; }
.domain-list li::before {
  content: counter(domain, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-muted);
  padding-top: 0.15rem;
}
.domain-list { counter-reset: domain; }
.domain-list__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  grid-column: 2;
}
.domain-list__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  grid-column: 2;
}

/* Services list */
.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.service-list__item {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) 1fr;
  gap: 1rem 2rem;
  align-items: start;
}
.service-list__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.service-list__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Methodology timeline */
.method-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.method-timeline li {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: 1rem 2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}
.method-timeline li:last-child { border-bottom: none; }
.method-timeline__phase {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.method-timeline__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Deliverables */
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.deliverable-card {
  padding: 1.5rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent-muted);
  border-radius: var(--radius);
}
.deliverable-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}
.deliverable-card__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Trust & contact */
.trust-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  max-width: 48rem;
}
.trust-block p { margin: 0; color: var(--text-muted); line-height: 1.7; }
.trust-block p + p { margin-top: 0.85rem; }

.contact-section { background: var(--bg-elevated); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-aside p { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.9375rem; }
.contact-next { font-size: 0.875rem !important; padding: 0.85rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-email { display: inline-block; margin-top: 0.25rem; font-size: 1rem; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.35rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn-primary:hover { background: #d4b87a; border-color: #d4b87a; color: var(--bg); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* Form */
.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.form-status.is-success { background: #1a2e1a; border: 1px solid #3d6b3d; color: #b8ddb8; }
.form-status.is-error { background: #2e1a1a; border: 1px solid #6b3d3d; color: #ddb8b8; }
.form-status.is-warning { background: #2e2a1a; border: 1px solid #6b5a3d; color: #ddd0b8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.15rem; }
.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-soft); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-soft); }
.form-textarea { min-height: 7rem; resize: vertical; }
.form-privacy { margin: 0 0 1rem; font-size: 0.8125rem; color: var(--text-soft); line-height: 1.55; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.75rem var(--space);
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.65rem; }
.footer-legal { margin: 0; font-size: 0.8125rem; color: var(--text-soft); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a {
  font-size: 0.8125rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .path-diagram { max-width: 28rem; }
  .deliverable-grid { grid-template-columns: 1fr; }
  .service-list__item,
  .method-timeline li { grid-template-columns: 1fr; gap: 0.35rem; }
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 0 3rem; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--space) 1rem;
  }
  .nav.is-open { display: flex; }
  .nav-link { padding: 0.65rem 0; border-bottom: 1px solid var(--border-subtle); }
  .nav-link:last-child { border-bottom: none; }
  .nav-link--cta { text-align: center; margin-top: 0.5rem; }
  .site-header, .header-inner { position: relative; }
  .logo-wordmark-img { height: 1.15rem; }
  .section { padding: 3rem 0; }
  .domain-list li { grid-template-columns: 1fr; gap: 0.25rem; }
  .domain-list li::before { grid-column: 1; }
  .domain-list__title,
  .domain-list__desc { grid-column: 1; }
}
