/* ============================================================
   DelVal Consultants LLC — Safety Compliance Consulting
   Palette derived from the company logo:
   navy #0B2B56, fire red #C4151C, charcoal #1A1A1A, silver #A0A2A8
   ============================================================ */

/* Design tokens */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Brand palette */
  --navy: #0b2b56;
  --navy-deep: #071c3a;
  --red: #c4151c;
  --red-deep: #a10f16;
  --charcoal: #1a1a1a;
  --silver: #a0a2a8;

  --color-bg: #f6f7f8;
  --color-surface: #ffffff;
  --color-surface-2: #eef0f3;
  --color-divider: #dfe2e7;
  --color-text: var(--charcoal);
  --color-text-muted: #565b64;
  --color-text-inverse: #f7f9fb;

  --color-primary: var(--navy);
  --color-primary-hover: var(--navy-deep);
  --color-accent: var(--red);
  --color-accent-hover: var(--red-deep);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.2 0.01 250 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 250 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 250 / 0.12);

  --content-default: 1080px;
  --content-wide: 1200px;

  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  line-height: 1.15;
  font-family: var(--font-display);
  font-weight: 700;
}

p,
li,
figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

::selection {
  background: oklch(from var(--navy) l c h / 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

a,
button {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--navy);
}

.brand__tag {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav__link:hover {
  color: var(--navy);
}

.nav .btn {
  margin-left: var(--space-2);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--navy);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface);
}

.mobile-menu--open {
  display: flex;
}

.mobile-menu__link {
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text);
  padding-block: var(--space-2);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-menu__cta {
  margin-top: var(--space-2);
  justify-content: center;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--color-accent);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  border-color: oklch(from var(--navy) l c h / 0.35);
  color: var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: #ffffff;
}

.btn--small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn:active {
  transform: translateY(1px);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, oklch(from var(--navy) l c h / 0.06), transparent 70%),
    var(--color-bg);
}

.hero__grid {
  display: grid;
  gap: var(--space-10);
  padding-block: clamp(var(--space-12), 7vw, var(--space-24)) var(--space-10);
  align-items: center;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-5);
}

.hero__kicker-rule {
  display: inline-block;
  width: 2.5rem;
  height: 2px;
  background: var(--red);
}

.hero__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--space-5);
}

.hero__lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__logo {
  justify-self: center;
  width: min(340px, 80vw);
}

.hero__band {
  background: var(--navy);
}

.hero__band-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3) var(--space-6);
  padding-block: var(--space-4);
  color: var(--color-text-inverse);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__band-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .hero__logo {
    width: min(420px, 100%);
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}

.section--offset {
  background: var(--color-surface-2);
}

.section__head {
  max-width: 62ch;
  margin-bottom: var(--space-10);
}

.section__kicker {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-3);
}

.section__kicker--light {
  color: #e8b7ba;
}

.section__title {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-4);
}

.section__title--light {
  color: #ffffff;
}

.section__lede {
  color: var(--color-text-muted);
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: var(--space-6);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: oklch(from var(--navy) l c h / 0.08);
  color: var(--navy);
  margin-bottom: var(--space-5);
}

.card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.card__body {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

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

/* ---------- Full-bleed image ---------- */
.full-bleed {
  position: relative;
}

.full-bleed img {
  width: 100%;
  height: clamp(280px, 45vw, 520px);
  object-fit: cover;
  object-position: 50% 22%;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: var(--space-8);
  list-style: none;
}

.step {
  position: relative;
  padding-left: calc(var(--space-12) + var(--space-4));
}

.step__num {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: oklch(from var(--red) l c h / 0.35);
  line-height: 1;
}

.step__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.step__body {
  color: var(--color-text-muted);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Split section ---------- */
.split {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.split__copy p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.split__copy .section__title {
  margin-bottom: var(--space-6);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split__media {
    order: 2;
  }
}

/* ---------- Contact ---------- */
.contact {
  background:
    linear-gradient(in oklab, var(--navy-deep), var(--navy));
  color: var(--color-text-inverse);
}

.contact__inner {
  display: grid;
  gap: var(--space-10);
}

.contact__lede {
  color: oklch(from #ffffff l c h / 0.85);
  font-size: var(--text-lg);
}

.contact__methods {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.contact__method {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid oklch(from #ffffff l c h / 0.25);
  background: oklch(from #ffffff l c h / 0.07);
  text-decoration: none;
  color: #ffffff;
  min-height: 64px;
}

.contact__method:hover {
  background: oklch(from #ffffff l c h / 0.14);
  border-color: oklch(from #ffffff l c h / 0.45);
}

.contact__method-icon {
  flex-shrink: 0;
  color: #ffffff;
}

.contact__method-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(from #ffffff l c h / 0.7);
  display: block;
}

.contact__method-value {
  font-size: var(--text-base);
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media (min-width: 720px) {
  .contact__methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact__list {
  display: grid;
  gap: var(--space-5);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 700;
}

@media (min-width: 900px) {
  .contact__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-10);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__mark {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}

.footer__tag {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.footer__nav a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text-muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer__nav a:hover {
  color: var(--navy);
}

.footer__fineprint {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-4);
}

.footer__fineprint p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (max-width: 719px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__nav {
    gap: var(--space-2) var(--space-6);
  }
}
