/* =============================================================
   Wesley Dearmore LLC — single-page industrial site
   Design intent: industrial premium, bank-ready credibility.
   Palette: graphite/charcoal/steel neutrals + restrained
   safety-amber accent. No stock photos — geometry, type, grid.
   ============================================================= */

:root {
  /* Type */
  --font-display: 'Cabinet Grotesk', 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'General Sans', 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Steel / graphite palette */
  --bg: #f4f4f1;          /* paper / canvas (cool warm gray) */
  --bg-2: #ebeae5;        /* alternating section */
  --surface: #ffffff;
  --ink: #14171a;         /* deep graphite */
  --ink-2: #2a2f34;       /* secondary text */
  --ink-3: #5b6168;       /* tertiary */
  --rule: #d8d6d0;        /* hairlines */
  --rule-strong: #b9b7b0;

  --dark: #14171a;        /* dark surface */
  --dark-2: #1d2125;
  --dark-3: #2a2f34;
  --on-dark: #e8e7e3;
  --on-dark-muted: #9aa0a6;
  --on-dark-rule: #2f343a;

  /* Accent — safety amber, muted/industrial */
  --accent: #d98a1c;
  --accent-deep: #b06a0d;
  --accent-soft: #f5cf94;

  /* Sizes */
  --container: 1200px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);

  --radius: 2px;
  --radius-lg: 4px;
}

/* Reset-ish */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
  text-decoration: none;
  font-size: 0.875rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ====================== Header ====================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark { color: var(--ink); display: inline-flex; }
.brand__type { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.brand__suffix {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.875rem;
  padding: 0.55rem 0.85rem;
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover { color: var(--ink); }
.nav__cta {
  margin-left: 0.5rem;
  background: var(--ink);
  color: #fff !important;
  padding: 0.55rem 1rem !important;
}
.nav__cta:hover { background: var(--accent-deep); }

@media (max-width: 820px) {
  .nav { display: none; }
}

/* ====================== Hero ====================== */

.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 20%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, black 0%, transparent 75%);
  pointer-events: none;
}
.hero__inner { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.75rem;
  padding: 0.45rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

.hero__title {
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  max-width: 22ch;
  margin-bottom: 1.5rem;
}
.hero__title-accent {
  color: var(--ink-2);
  font-weight: 500;
  position: relative;
}
.hero__title-accent::after {
  content: '';
  display: block;
  width: 84px;
  height: 4px;
  background: var(--accent);
  margin-top: 0.85rem;
}

.hero__lede {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  color: var(--ink-2);
  max-width: 62ch;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.hero__meta > div {
  padding: 1.25rem 1.25rem 1.25rem 0;
  border-right: 1px solid var(--rule);
}
.hero__meta > div:last-child { border-right: none; }
.hero__meta dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.4rem;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

@media (max-width: 640px) {
  .hero__meta > div { border-right: none; border-bottom: 1px solid var(--rule); padding: 1rem 0; }
  .hero__meta > div:last-child { border-bottom: none; }
}

/* ====================== Strip ====================== */

.strip {
  background: var(--ink);
  color: var(--on-dark);
  border-bottom: 1px solid var(--on-dark-rule);
}
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.strip__item {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-right: 1px solid var(--on-dark-rule);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.strip__item:last-child { border-right: none; }
.strip__item:not(:first-child) { padding-left: 1.5rem; }
.strip__num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.strip__item p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--on-dark);
}

@media (max-width: 900px) {
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(2) { border-right: none; }
  .strip__item:nth-child(1),
  .strip__item:nth-child(2) { border-bottom: 1px solid var(--on-dark-rule); }
}
@media (max-width: 540px) {
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item { border-right: none; border-bottom: 1px solid var(--on-dark-rule); padding-left: 0 !important; }
  .strip__item:last-child { border-bottom: none; }
}

/* ====================== Sections ====================== */

.section {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--rule);
}
.section--alt {
  background: var(--bg-2);
}
.section--dark {
  background: var(--dark);
  color: var(--on-dark);
  border-bottom-color: var(--on-dark-rule);
}

.section__head {
  max-width: 64ch;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.section__kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section__kicker::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
}
.section__kicker--on-dark { color: var(--accent); }
.section__title {
  font-size: clamp(1.6rem, 2.8vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 24ch;
}
.section__title--on-dark { color: var(--on-dark); }
.section__intro {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 62ch;
}
.section--dark .section__intro,
.section--dark p { color: var(--on-dark-muted); }

/* ====================== Cards (services) ====================== */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.card {
  background: var(--surface);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 2rem 1.75rem 1.75rem;
  position: relative;
  transition: background 0.2s ease;
}
.card:hover { background: #fff; }
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.card:hover::before { width: 56px; }
.card__num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.card p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.6; }

@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ====================== Approach / steps ====================== */

.approach__head { max-width: 64ch; margin-bottom: 3rem; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.steps li {
  padding: 1.75rem 1.5rem 1.5rem 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.steps li:last-child { border-right: none; }
.steps li:not(:first-child) { padding-left: 1.5rem; }
.steps__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 1rem;
}
.steps h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}
.steps p { color: var(--ink-2); font-size: 0.9375rem; }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { border-bottom: 1px solid var(--rule); padding-bottom: 1.5rem; }
  .steps li:nth-child(2) { border-right: none; }
  .steps li:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: none; border-bottom: 1px solid var(--rule); padding-left: 0 !important; }
  .steps li:last-child { border-bottom: none; }
}

/* ====================== Split layout (safety / advisory) ====================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.split--reverse { grid-template-columns: 1.15fr 1fr; }
.split--reverse .split__left { order: 2; }
.split--reverse .panels { order: 1; }
.split__left { max-width: 46ch; }
.split__left p { color: var(--ink-2); font-size: 1rem; line-height: 1.65; }

@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__left { order: 0; }
  .split--reverse .panels { order: 0; }
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.checklist__tick {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 1.5px solid var(--ink);
  position: relative;
  background: var(--surface);
}
.checklist__tick::after {
  content: '';
  position: absolute;
  left: 3px; top: 6px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.checklist h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.checklist p { color: var(--ink-2); font-size: 0.9375rem; }

/* Panels (advisory) */
.panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  position: relative;
}
.panel::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 28px;
  background: var(--accent);
}
.panel h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.panel p { color: var(--ink-2); font-size: 0.9375rem; }

@media (max-width: 600px) { .panels { grid-template-columns: 1fr; } }

/* ====================== Industries ====================== */

.industries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.industries li {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.industries li::before {
  content: '';
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  width: 24px; height: 1.5px;
  background: var(--accent);
}
.industries h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
}
.industries p { color: var(--ink-2); font-size: 0.9375rem; }

@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .industries { grid-template-columns: 1fr; } }

/* ====================== Readiness (dark) ====================== */

.readiness { color: var(--on-dark); }
.readiness__head { max-width: 64ch; margin-bottom: 3rem; }
.readiness__intro { color: var(--on-dark-muted); font-size: 1.0625rem; line-height: 1.65; max-width: 62ch; }

.ready-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--on-dark-rule);
  border: 1px solid var(--on-dark-rule);
}
.ready-card {
  background: var(--dark-2);
  padding: 1.75rem 1.6rem;
  position: relative;
}
.ready-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 3px;
  background: var(--accent);
}
.ready-card h3 {
  color: var(--on-dark);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0.65rem 0 0.55rem;
}
.ready-card p { color: var(--on-dark-muted); font-size: 0.9375rem; }

.readiness__note {
  margin-top: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  max-width: 62ch;
}

@media (max-width: 720px) {
  .ready-grid { grid-template-columns: 1fr; }
}

/* ====================== Contact ====================== */

.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__head { max-width: 52ch; }
.contact__head p { color: var(--ink-2); font-size: 1rem; }

.contact__card {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 2rem;
  border-radius: var(--radius);
  font-style: normal;
  position: relative;
}
.contact__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 64px; height: 3px;
  background: var(--accent);
}
.contact__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 0.65rem;
}
.contact__company {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.contact__addr {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.contact__email {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  font-style: normal;
}
.contact__email span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact__email a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.22em;
}
.contact__note {
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; }
}

/* ====================== Footer ====================== */

.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2.5rem;
}
.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--on-dark);
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 0 0 0.25rem;
}
.footer__sub {
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  margin: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer__cols p { font-size: 0.875rem; color: var(--on-dark-muted); margin: 0 0 0.35rem; }
.footer__cols a {
  color: var(--on-dark);
  text-decoration-color: var(--accent);
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}
.footer__h {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-bottom: 0.75rem !important;
}

.footer__bottom {
  border-top: 1px solid var(--on-dark-rule);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__bottom p { color: var(--on-dark-muted); font-size: 0.8125rem; margin: 0; }
.footer__legal { max-width: 56ch; }

@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; }
}

/* ====================== Motion ====================== */

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

/* Print niceties */
@media print {
  .site-header, .nav, .hero__cta-row { display: none; }
  body { background: #fff; color: #000; }
  .section, .strip, .site-footer { background: #fff !important; color: #000 !important; }
}
