/* ========================================
   ANDRE DOWELL — Personal Brand Site
   Visual system: FATHERFIRST palette + typography
   ======================================== */

:root {
  --navy: #1B2D4F;
  --navy-deep: #14223C;
  --cream: #F5EDE0;
  --cream-dim: #EBE2D2;
  --orange: #E08A2C;
  --orange-dim: #C77B22;
  --grey: #6F7378;
  --red: #B73B3B;
  --gold: #D4AB42;

  --text-dark: #1B2D4F;
  --text-light: #FFFFFF;
  --text-muted: #6F7378;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --fs-display: clamp(2.75rem, 7vw, 5.5rem);
  --fs-h1: clamp(2rem, 4.5vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 3vw, 2.25rem);
  --fs-h3: 1.375rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h1); }
h3 { font-size: var(--fs-h2); }
h4 { font-size: var(--fs-h3); }

p { margin-bottom: var(--space-sm); }

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* === HEADER === */
.site-header {
  position: relative;
  z-index: 100;
  padding: var(--space-sm) 0;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dim);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.brand {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.brand-nickname {
  color: var(--orange);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.brand--light { color: var(--cream); }

.nav {
  display: flex;
  gap: var(--space-md);
}

.nav a {
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
}

.nav--light a { color: var(--cream); }

.nav a.active {
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

/* FATHERFIRST badge in header */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.ff-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s ease;
  background: rgba(245, 237, 224, 0.4);
}

.ff-badge:hover {
  background: var(--navy);
  color: var(--cream);
}

.ff-badge--light {
  border-color: var(--cream);
  color: var(--cream);
  background: rgba(20, 34, 60, 0.25);
}

.ff-badge--light:hover {
  background: var(--cream);
  color: var(--navy);
}

.ff-badge img {
  height: 16px;
  width: auto;
}

.ff-badge--light img {
  filter: brightness(0) invert(1);
}

@media (max-width: 880px) {
  .ff-badge span { display: none; }
  .ff-badge { padding: 0.4rem 0.5rem; }
}

/* === FULL-BLEED HERO (Home page) === */
.hero-fullbleed {
  position: relative;
  height: 72vh;
  min-height: 540px;
  max-height: 820px;
  width: 100%;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-fullbleed-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-fullbleed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 34, 60, 0.45) 0%,
    rgba(20, 34, 60, 0.15) 30%,
    rgba(20, 34, 60, 0.2) 60%,
    rgba(20, 34, 60, 0.85) 100%
  );
  z-index: 1;
}

.hero-fullbleed-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0 var(--space-md) 8vh;
  color: var(--cream);
}

.hero-fullbleed-content h1 {
  font-size: clamp(2.25rem, 7vw, 6rem);
  color: var(--cream);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

@media (max-width: 540px) {
  .hero-fullbleed-content h1 {
    font-size: clamp(1.875rem, 9vw, 2.75rem);
    white-space: normal;
  }
}

.hero-fullbleed-content .hero-positioning {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--orange);
  font-style: italic;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.6);
  font-family: Georgia, serif;
  letter-spacing: 0.04em;
  margin: 0;
}

@media (max-width: 880px) {
  .hero-fullbleed-img {
    object-position: center 28%;
  }
  .hero-fullbleed {
    height: 75vh;
    min-height: 520px;
  }
}

/* === STANDARD HERO (About, Speaking, Contact) === */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background: var(--cream);
}

.hero--navy { background: var(--navy); color: var(--cream); }
.hero--navy h1, .hero--navy h2 { color: var(--cream); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-content { padding-right: var(--space-sm); }

.hero-eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.hero-positioning {
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--orange);
  margin: var(--space-md) 0;
  font-style: italic;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--grey);
}

.hero-intro {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: var(--space-md);
  max-width: 36rem;
}

.cta-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  font-family: inherit;
}

.btn--primary {
  background: var(--navy);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

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

.btn--light {
  border-color: var(--cream);
  color: var(--cream);
}

.btn--light:hover {
  background: var(--cream);
  color: var(--navy);
}

/* === SECTIONS === */
.section { padding: var(--space-xl) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--cream-dim { background: var(--cream-dim); }

.section-eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.section-title {
  margin-bottom: var(--space-lg);
  max-width: 50rem;
}

.section--navy .section-title { color: var(--cream); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* === MANTRA CALLOUT === */
.mantra {
  background: var(--navy);
  color: var(--cream);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.mantra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1080px;
  margin: 0 auto;
}

.mantra-rule {
  width: 40px;
  height: 2px;
  background: var(--orange);
  margin: 0 auto var(--space-md);
}

.mantra-word {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--orange);
  margin-bottom: var(--space-md);
}

.mantra-detail {
  font-size: 0.9375rem;
  color: var(--cream);
  opacity: 0.8;
  line-height: 1.55;
  max-width: 18rem;
  margin: 0 auto;
}

.mantra-line {
  margin-top: var(--space-lg);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--orange);
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: #FFFFFF;
  border-left: 3px solid var(--orange);
  padding: var(--space-md);
}

.service-card h4 {
  font-family: Georgia, serif;
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* === SECTION DIVIDER === */
.section-divider {
  background: var(--cream);
  padding: var(--space-lg) 0;
  text-align: center;
}

.section-divider-rule {
  width: 60px;
  height: 2px;
  background: var(--orange);
  margin: 0 auto;
}

/* === FATHERFIRST MODULE === */
.ff-module {
  background: var(--navy);
  color: var(--cream);
  padding: var(--space-xl) var(--space-md);
}

.ff-module-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.ff-logo-block {
  text-align: center;
}

.ff-logo {
  max-width: 240px;
  margin: 0 auto;
}

.ff-tagline {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--orange);
  margin-bottom: var(--space-md);
}

.ff-status {
  font-size: var(--fs-small);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.ff-body {
  color: var(--cream);
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

/* === LIST GRIDS === */
.list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.list-card {
  border-left: 3px solid var(--orange);
  padding: var(--space-sm) var(--space-md);
}

.list-card h4 {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.list-card .meta {
  font-size: 0.75rem;
  color: var(--orange);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

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

.list-card a.read-more {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

.list-card.placeholder {
  border-left-color: var(--grey);
  opacity: 0.7;
  font-style: italic;
}

.list-card.placeholder h4 { color: var(--grey); }
.list-card.placeholder .meta { color: var(--grey); }

/* === VALUES GRID === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.value-card {
  padding: var(--space-md);
  background: #FFFFFF;
  border-left: 3px solid var(--orange);
  display: flex;
  gap: var(--space-md);
  align-items: start;
}

.value-num {
  font-family: Georgia, serif;
  font-size: 2.25rem;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}

.value-card h4 {
  font-family: Georgia, serif;
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

/* === BIO SECTION === */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.bio-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--grey);
}

.bio-text {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.bio-text p { margin-bottom: var(--space-md); }

/* === BOARDS / RECOGNITIONS === */
.affiliation-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.affiliation-list li {
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--cream-dim);
  font-size: 0.9375rem;
  color: var(--navy);
}

.section--navy .affiliation-list li {
  border-top-color: rgba(245, 237, 224, 0.2);
  color: var(--cream);
}

.affiliation-list li strong {
  display: block;
  color: var(--orange);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.form-group { margin-bottom: var(--space-md); }

.form-group label {
  display: block;
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--grey);
  background: #FFFFFF;
  color: var(--navy);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--orange);
  outline-offset: -1px;
  border-color: transparent;
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-meta-block {
  background: #FFFFFF;
  padding: var(--space-md);
  border-left: 3px solid var(--orange);
}

.contact-meta-block h4 {
  font-family: Georgia, serif;
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.contact-meta-block a {
  color: var(--orange);
  font-weight: 500;
}

.contact-meta-block + .contact-meta-block { margin-top: var(--space-md); }

/* === FOOTER === */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: var(--space-lg) 0 var(--space-md);
  font-size: var(--fs-small);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-brand {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: var(--cream);
}

.footer-nav {
  display: flex;
  gap: var(--space-md);
}

.footer-nav a {
  color: var(--cream);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.footer-nav a:hover { opacity: 1; color: var(--orange); }

.footer-credit {
  width: 100%;
  text-align: center;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(245, 237, 224, 0.15);
  opacity: 0.5;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* === PHOTO CREDIT === */
.photo-credit {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
  text-align: right;
}

.photo-credit--light {
  color: rgba(245, 237, 224, 0.55);
}

/* === PRESS KIT === */
.press-kit-block {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--cream-dim);
}

.press-kit-label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.press-kit-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.press-kit-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.download-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

.download-link::before {
  content: "↓";
  font-size: 0.95rem;
  font-weight: 700;
}

/* === RESPONSIVE === */
@media (max-width: 880px) {
  .hero {
    padding-top: var(--space-md);
    min-height: auto;
  }
  .hero-grid,
  .ff-module-grid,
  .contact-grid,
  .bio-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  /* Hide the bio-section image on mobile (About page) so we don't
     stack the hero portrait on top of a second portrait. Desktop unchanged. */
  .bio-grid > div:first-child {
    display: none;
  }
  .hero-content { padding-right: 0; }
  .services-grid,
  .list-grid,
  .mantra-grid,
  .values-grid,
  .affiliation-list {
    grid-template-columns: 1fr;
  }
  .nav { gap: var(--space-sm); }
  .nav a { font-size: 0.7rem; letter-spacing: 0.1em; }
  :root {
    --space-xl: 4rem;
    --space-lg: 2.5rem;
  }
}
