/* Keke Lyles — personal site
   Palette: deep charcoal / soft sand / warm accent */

:root {
  --ink: #1a1f1c;
  --ink-soft: #3d4540;
  --muted: #6b736c;
  --line: #dde2dc;
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --surface: #ffffff;
  --accent: #9a6b3f;
  --accent-deep: #7a5230;
  --accent-soft: rgba(154, 107, 63, 0.12);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(26, 31, 28, 0.08);
  --max: 1120px;
  --narrow: 720px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.wrap.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header:hover,
.site-header:focus-within {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink) !important;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper) !important;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.75rem 0.25rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }
  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  padding: 3.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 880px) {
  .hero {
    padding: 5.5rem 0 6rem;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lede {
  margin: 0 0 2rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.portrait {
  margin: 0 auto;
  max-width: 380px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center 12%;
}

.section {
  padding: 4.5rem 0;
}

@media (min-width: 880px) {
  .section {
    padding: 5.75rem 0;
  }
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-intro {
  margin: 0;
  color: var(--ink-soft);
  max-width: 38rem;
  font-size: 1.08rem;
}

.section-head {
  margin-bottom: 2.75rem;
}

/* About */
.about {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.about h2 {
  margin-bottom: 1.5rem;
}

.about-body p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.about-body p:last-child {
  margin-bottom: 0;
}

/* Stats */

/* Mission */
.mission-band {
  padding: 4.25rem 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 880px) {
  .mission-band {
    padding: 5.25rem 0;
  }
}

.mission-inner {
  text-align: left;
}

.mission-body {
  margin: 0;
}

.mission-lead {
  margin: 0 0 1.15rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.mission-lead::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  margin: 0.35rem 0 1.35rem;
}

.mission-body p:not(.mission-lead) {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 40rem;
}

.mission-body p:last-child {
  margin-bottom: 0;
}

.stats-band {
  padding: 2.75rem 0;
  background: var(--ink);
  color: var(--paper);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.25rem;
}

@media (min-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #f0e6d8;
}

.stat-label {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(247, 245, 240, 0.68);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  gap: 0.75rem;
  padding: 0 0 2.5rem 1.5rem;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.45rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--paper);
}

@media (min-width: 720px) {
  .timeline-item {
    grid-template-columns: 11.5rem 1fr;
    gap: 2rem;
    padding-left: 2rem;
  }
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.timeline-meta time {
  font-size: 0.9rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.role-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-body h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 560;
  line-height: 1.35;
}

.timeline-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Consulting */
.consulting {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.services-featured {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 720px) {
  .services-featured {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.services-grid-secondary {
  margin-top: 0;
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

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

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: #c9b8a3;
  box-shadow: var(--shadow);
}

.service-card.service-card-featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.service-card.service-card-featured:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.service-card.service-card-featured .service-num {
  color: #f0e6d8;
}

.service-card.service-card-featured h3 {
  color: var(--paper);
}

.service-card.service-card-featured p {
  color: rgba(247, 245, 240, 0.82);
}

.service-num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--accent);
}

.service-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 550;
  font-family: var(--font-serif);
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.consulting-note {
  margin-top: 2.5rem;
  padding: 1.75rem 1.75rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.consulting-note p {
  margin: 0;
  max-width: 28rem;
  color: rgba(247, 245, 240, 0.85);
}

.consulting-note .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.consulting-note .btn-primary:hover {
  background: #f0e6d8;
  border-color: #f0e6d8;
  color: var(--ink);
}

/* Logo grid */
.logo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 560px) {
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.logo-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 5.5rem;
  padding: 1rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.logo-grid img {
  height: 48px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.82;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.logo-grid li:hover img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
}

.logo-caption {
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: center;
  color: var(--muted);
  max-width: 11rem;
}

.logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.logo-grid li:hover .logo-tile {
  color: var(--ink);
  border-color: #c9b8a3;
  background: #fff;
}

/* Credentials */
.credentials {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.cred-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .cred-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
}

.cred-block h3 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.cred-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cred-block ul:not(.cred-chips) li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(26, 31, 28, 0.1);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.cred-block ul:not(.cred-chips) li:last-child {
  border-bottom: 0;
}

.cred-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cred-chips li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}


/* Press */
.press {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.press-quote {
  margin: 0 0 2.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.press-quote blockquote {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
}

.press-quote blockquote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

.press-quote figcaption {
  font-size: 0.88rem;
  color: var(--muted);
}

.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.press-item {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.45rem;
}

@media (min-width: 720px) {
  .press-item {
    grid-template-columns: 12.5rem 1fr;
    column-gap: 1.75rem;
    align-items: start;
  }

  .press-meta {
    grid-row: 1 / span 3;
  }
}

.press-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.press-outlet {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.press-date {
  font-size: 0.88rem;
  color: var(--muted);
}

.press-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
}

.press-title:hover {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.press-byline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.press-subhead {
  margin: 2.75rem 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.press-podcasts {
  margin-top: 2.75rem;
  padding-top: 0.5rem;
}

.press-podcasts .press-subhead {
  margin-top: 0;
}

.press-byline a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.press-byline a:hover {
  color: var(--ink);
}

/* Contact */
.contact {
  padding-bottom: 5rem;
}

.contact-inner h2 {
  margin-bottom: 0.75rem;
}

.contact .section-intro {
  margin-bottom: 2.25rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-list li {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.contact-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.1rem;
  word-break: break-word;
}

.contact-list a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

.contact-list span:not(.contact-label) {
  font-size: 1.1rem;
  color: var(--ink);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-note {
  letter-spacing: 0.04em;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer a:hover {
  color: var(--accent-deep);
}


/* One-on-one */
.one-on-one { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Products page */
.products-hero {
  padding-bottom: 1.5rem;
}

.products-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.15;
  color: var(--ink);
}

.affiliate-disclosure {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.products-section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: none;
}

.products-category {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--ink);
}

.products-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

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

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: #c9b8a3;
  box-shadow: var(--shadow);
}

.product-card-placeholder {
  border-style: dashed;
}

.product-image-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px dashed var(--line);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.3rem 1.4rem;
  flex: 1;
}

.product-badge {
  margin: 0;
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 550;
  color: var(--ink);
}

.product-why {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.product-why-label {
  font-weight: 550;
  color: var(--ink);
}

.product-code {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.product-code-slot {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink-soft);
}

.product-shop {
  margin-top: auto;
  align-self: flex-start;
  margin-top: 0.75rem;
}

.product-shop[data-affiliate-placeholder="true"] {
  opacity: 0.72;
  pointer-events: none;
  cursor: default;
}

.products-cta {
  padding-top: 1rem;
}

.nav a[aria-current="page"] {
  color: var(--accent-deep);
  font-weight: 550;
}
