/* Dewand A. Neely - Fractional/Interim CIO marketing site (Purdue-leaning black & gold) */
:root {
  --black: #0a0a0a;
  --near-black: #141414;
  --gold: #CFB991;
  --gold-bright: #D4A017;
  --cream: #F7F4ED;
  --card-bg: #FFFFFF;
  --card-border: #E5DCC8;
  --charcoal: #2C2C2C;
  --muted: #5A5A5A;
  --white: #ffffff;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1100px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--black);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(207, 185, 145, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(207, 185, 145, 0.45);
  color: var(--gold);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  outline: none;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.92;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom-color: var(--gold);
}

/* Hero — split layout */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 3.25rem 0 3.5rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}


h1.hero-subtitle {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.35;
}

.hero-subtitle {
  margin: 0 0 1.25rem;
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
  font-weight: 500;
  color: var(--gold);
  max-width: 40rem;
}

.hero-opener {
  margin: 0 0 1.75rem;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.hero-visual {
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(207, 185, 145, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background: var(--gold-bright);
  color: var(--black);
  border-color: var(--gold-bright);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #e0b020;
  border-color: #e0b020;
  color: var(--black);
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-title {
  margin: 0 0 1.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36rem;
}

/* How I Help — ops band above title */
.section-band {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  max-height: 220px;
}

.section-band img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.help-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
}

.help-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.35;
}

.help-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Experience metrics */
.section-alt {
  background: #f0ebe0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.metric-tile {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1.35rem 1.25rem;
  border-top: 3px solid var(--gold);
}

.metric-label {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.metric-tile p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Focus callout + accent image */
.focus-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
}

.focus-accent {
  width: 88px;
  flex-shrink: 0;
}

.focus-accent img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--card-border);
}

.focus-callout {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--gold-bright);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.5rem 1.35rem;
}

.focus-callout h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--black);
}

.focus-callout p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
}

/* Engagement strip */
.engagement {
  background: var(--black);
  color: var(--gold);
  padding: 2rem 0;
}

.engagement h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.engagement-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.engagement-list li {
  background: rgba(207, 185, 145, 0.08);
  border: 1px solid rgba(207, 185, 145, 0.4);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Contact footer */
.site-footer {
  background: var(--near-black);
  color: var(--white);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(207, 185, 145, 0.25);
}

.site-footer h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

.contact-block {
  margin: 0 0 1.25rem;
  font-size: 0.975rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.contact-block a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-block a:hover,
.contact-block a:focus-visible {
  color: var(--gold);
}


/* Mobile */
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 0.85rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
    padding-top: 0.65rem;
    padding-bottom: 0.35rem;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.15rem;
  }

  .site-nav a {
    display: block;
    padding: 0.5rem 0;
  }

  .hero {
    padding: 2.25rem 0 2.5rem;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-band {
    max-height: 160px;
  }

  .section-band img {
    height: 160px;
  }

  .focus-layout {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .focus-accent {
    width: 72px;
  }

  .focus-accent img {
    width: 72px;
    height: 72px;
  }

  .engagement-list li {
    white-space: normal;
  }
}

@media (max-width: 400px) {
  .help-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 15px;
  }
}
