/* ===========================================================
   CAMERON GRIGSBY — PORTFOLIO STYLESHEET
   VERSION: 2 — March 17 2026
   ===========================================================

   HOW TO CUSTOMIZE THIS FILE:
   • All colors are defined at the top in the :root block.
     Change --green to any hex color to retheme the entire site.
   • Change --serif / --sans to use different fonts.
     (Also update the Google Fonts URL in index.html)
   • Each section is labeled clearly with comments so you can
     find and edit any part of the page quickly.

   QUICK REFERENCE:
   --green   = brand color (Baylor green)
   --bg      = dark page background
   --white   = main text color
   --muted   = secondary / faded text
   =========================================================== */


/* ─── CSS VARIABLES — edit these to restyle the site ─────── */
:root {
  --bg:         #0c1014;               /* Main page background */
  --card-bg:    #111820;               /* Card / panel background */
  --border:     #1e2630;               /* Border lines */
  --green:      #27a55d;               /* Brand color — change this! */
  --green-lt:   rgba(39,165,93,0.10);  /* Light tint of green */
  --green-glow: rgba(39,165,93,0.45);  /* Glow for hover effects */
  --white:      #e8eaf0;               /* Primary text */
  --muted:      #6b7585;               /* Secondary text */

  /* Fonts — match names to the Google Fonts link in index.html */
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w:    1280px;  /* Max content width */
  --pad-h:    2rem;    /* Left/right page padding */
  --gap:      6rem;    /* Top/bottom space between sections */
}


/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }


/* ─── UTILITY ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

/* Small green uppercase label above headings */
.label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

/* Section heading */
.heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}


/* ─── SCROLL-IN ANIMATIONS ──────────────────────────────── */
/* Elements start hidden; script.js adds .visible when they scroll into view */
.anim-up    { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.anim-left  { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
.anim-right { opacity: 0; transform: translateX(28px);  transition: opacity .65s ease, transform .65s ease; }

.anim-up.in, .anim-left.in, .anim-right.in { opacity: 1; transform: none; }

/* Stagger delays for child elements */
.stagger > *:nth-child(1) { transition-delay: 0.00s; }
.stagger > *:nth-child(2) { transition-delay: 0.10s; }
.stagger > *:nth-child(3) { transition-delay: 0.20s; }
.stagger > *:nth-child(4) { transition-delay: 0.30s; }
.stagger > *:nth-child(5) { transition-delay: 0.40s; }
.stagger > *:nth-child(6) { transition-delay: 0.50s; }
.stagger > *:nth-child(7) { transition-delay: 0.60s; }
.stagger > *:nth-child(8) { transition-delay: 0.70s; }


/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover {
  background: #20984f;
  transform: translateY(-2px);
  box-shadow: 0 0 26px var(--green-glow), 0 0 52px rgba(39,165,93,.18);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(39,165,93,.5);
}
.btn-outline:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(39,165,93,.3);
}


/* ─── NAVIGATION ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}

/* Added by JS when user scrolls down */
#navbar.scrolled {
  background: rgba(12,16,20,.95);
  backdrop-filter: blur(14px);
  border-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.2rem var(--pad-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -.02em;
}
.nav-logo:hover { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

/* Contact button in nav */
.nav-links .nav-cta {
  padding: .55rem 1.25rem;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}
.nav-links .nav-cta:hover {
  background: #20984f;
  color: #fff;
  box-shadow: 0 0 16px var(--green-glow);
}

/* Hamburger — mobile only */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem var(--pad-h) 1.5rem;
  background: rgba(12,16,20,.98);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }

.mobile-link {
  padding: .75rem 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--white); }

.mobile-link-cta {
  margin-top: .75rem;
  padding: .875rem 1.5rem;
  background: var(--green);
  color: #fff !important;
  font-weight: 700;
  text-align: center;
  border: none !important;
}


/* ─── HERO ──────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}

/* Dark gradient so text is always readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, var(--bg) 38%, rgba(12,16,20,.8) 65%, rgba(12,16,20,.25) 100%),
    linear-gradient(to top,   var(--bg) 0%, transparent 40%, rgba(12,16,20,.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

/* ── Location badge ── */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .875rem;
  border: 1px solid rgba(39,165,93,.35);
  background: rgba(39,165,93,.06);
  color: var(--green);
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.location-badge svg { width: 11px; height: 11px; }

/* ── Name ── */
/* TO CHANGE THE NAME: edit the <span> text inside .hero-name in index.html */
.hero-name {
  font-family: var(--serif);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.name-first {
  display: block;
  font-size: clamp(3.2rem, 7vw, 6rem);
  color: var(--white);
}
.name-last {
  display: block;
  font-size: clamp(3.2rem, 7vw, 6rem);
  color: var(--green);
  font-style: italic;
}

/* ── Title line ── */
.hero-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.green-rule { width: 48px; height: 2px; background: var(--green); flex-shrink: 0; }
.hero-title p { font-size: 1.05rem; font-weight: 300; color: var(--muted); letter-spacing: .03em; }

/* ── Quote ── */
/* TO CHANGE QUOTE: edit the text inside <blockquote class="hero-quote"> */
.hero-quote {
  padding-left: 1.2rem;
  border-left: 2px solid rgba(39,165,93,.5);
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(232,234,240,.82);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* ── Stats row ── */
/* TO CHANGE STATS: edit the text inside each .stat-val / .stat-lbl */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.stat-val {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-lbl {
  display: block;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}

/* ── CTA buttons ── */
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Headshot ── */
/* TO CHANGE PHOTO: replace images/cameron-headshot.png */
.hero-photo { position: relative; flex-shrink: 0; }

.photo-frame { position: relative; }
.photo-frame::before {
  content: '';
  position: absolute; inset: -12px;
  border: 1px solid rgba(39,165,93,.12);
  pointer-events: none;
}
.photo-frame::after {
  content: '';
  position: absolute;
  top: -12px; right: -12px;
  width: 72px; height: 72px;
  border-top: 2px solid rgba(39,165,93,.6);
  border-right: 2px solid rgba(39,165,93,.6);
  pointer-events: none;
}

.headshot {
  width: 380px;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
}

/* Green badge below headshot */
/* TO CHANGE BADGE TEXT: edit .badge-sub and .badge-title in index.html */
.photo-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--green);
  padding: .75rem 1.25rem;
  z-index: 10;
}
.badge-sub   { font-size: .58rem; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.72); font-weight: 500; margin-bottom: 2px; }
.badge-title { font-size: .78rem; color: #fff; font-weight: 700; }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; animation: fadeIn 1s ease .8s forwards;
}
.scroll-hint span { font-size: .58rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(39,165,93,.6), transparent); }

@keyframes fadeIn { to { opacity: 1; } }


/* ─── MARQUEE TICKER ─────────────────────────────────────── */
/* The scrolling skills strip between hero and about */
.marquee-wrap {
  overflow: hidden;
  padding: .875rem 0;
  border-top: 1px solid rgba(39,165,93,.15);
  border-bottom: 1px solid rgba(39,165,93,.15);
  background: rgba(12,16,20,.6);
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.m-item {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.m-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--green); }


/* ─── ABOUT ──────────────────────────────────────────────── */
#about {
  padding: var(--gap) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(17,24,32,.5);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* TO CHANGE BIO TEXT: edit the <p> tags inside .about-body in index.html */
.about-body { display: flex; flex-direction: column; gap: 1rem; color: var(--muted); font-size: .92rem; line-height: 1.8; }

.about-photo-col { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }

.about-headshot-wrap {
  position: relative;
  width: 190px; height: 190px;
}
.about-headshot-wrap::before,
.about-headshot-wrap::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
}
.about-headshot-wrap::before { border: 2px solid rgba(39,165,93,.4); transform: scale(1.1); }
.about-headshot-wrap::after  { border: 1px solid rgba(39,165,93,.2); transform: scale(1.25); }

.about-headshot { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: relative; z-index: 1; filter: grayscale(20%); }

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  width: 100%;
}
.about-stat { background: var(--card-bg); padding: 1.75rem; text-align: center; }
.as-val { font-family: var(--serif); font-size: 2.4rem; color: var(--green); line-height: 1; display: block; margin-bottom: .4rem; }
.as-lbl { font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }


/* ─── CAPABILITIES ──────────────────────────────────────── */
#capabilities { padding: var(--gap) 0; }

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* TO EDIT CAPABILITIES: find each .cap-card in index.html and change name/description */
.cap-card {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.cap-card:hover {
  border-color: rgba(39,165,93,.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -15px rgba(39,165,93,.2);
}

.cap-icon {
  width: 48px; height: 48px;
  background: var(--green-lt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--green);
  transition: background .3s, color .3s;
}
.cap-card:hover .cap-icon { background: var(--green); color: #fff; }

.cap-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.cap-name { font-family: var(--serif); font-size: 1.1rem; color: var(--white); margin-bottom: .6rem; }
.cap-desc { font-size: .8rem; color: var(--muted); line-height: 1.65; }


/* ─── PORTFOLIO ──────────────────────────────────────────── */
#portfolio {
  padding: var(--gap) 0;
  background: rgba(17,24,32,.4);
  border-top: 1px solid var(--border);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* TO EDIT A CARD: find the matching .pcard in index.html and update title/desc/image */
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .3s;
}
.pcard:hover { border-color: rgba(39,165,93,.4); }

/* Featured card (Select Series) gets a glow border */
.pcard-featured {
  border-color: rgba(39,165,93,.4);
  box-shadow: 0 0 28px rgba(39,165,93,.07);
}

.pcard-img {
  height: 256px;
  overflow: hidden;
  background: #090c12;
}
.pcard-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .7s ease;
}
.pcard:hover .pcard-img img { transform: scale(1.05); }

.pcard-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pcard-cat {
  display: inline-block;
  padding: .22rem .7rem;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green);
  background: var(--green-lt);
  margin-bottom: .875rem;
  align-self: flex-start;
}
.pcard-featured .pcard-cat { background: rgba(39,165,93,.12); border: 1px solid rgba(39,165,93,.3); }

.pcard-title { font-family: var(--serif); font-size: 1.1rem; color: var(--white); margin-bottom: .6rem; line-height: 1.3; }
.pcard-desc  { font-size: .8rem; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }

/* Divider line at bottom of most cards */
.pcard-rule { height: 1px; background: var(--border); transition: background .3s; }
.pcard:hover .pcard-rule { background: rgba(39,165,93,.4); }

/* "View Flipbook" button on the Select Series card */
.pcard-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  background: var(--green);
  color: #fff;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  align-self: flex-start;
  transition: all .3s;
}
.pcard-link:hover {
  background: #20984f;
  transform: translateY(-2px);
  box-shadow: 0 0 16px var(--green-glow);
}
.pcard-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }


/* ─── EXPERIENCE / TIMELINE ──────────────────────────────── */
#experience { padding: var(--gap) 0; }

.experience-inner { max-width: 820px; margin: 0 auto; }

/* TO EDIT JOBS: find each .t-item in index.html */
.timeline {
  position: relative;
  border-left: 1px solid var(--border);
  margin-left: .75rem;
  padding-bottom: 2rem;
}

.t-item { position: relative; padding: 0 0 3rem 3rem; }

/* Green dot on the timeline line */
.t-dot {
  position: absolute; left: -5px; top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--bg);
}
/* Hollow dot for education entry */
.t-dot-hollow {
  background: var(--bg);
  border: 2px solid var(--muted);
  box-shadow: 0 0 0 4px var(--bg);
}

.t-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .25rem;
}
.t-role    { font-family: var(--serif); font-size: 1.25rem; color: var(--white); }
.t-period  { font-size: .78rem; font-weight: 600; color: var(--green); letter-spacing: .05em; }
.t-company { font-size: .95rem; color: var(--white); font-weight: 500; margin-bottom: .875rem; }
.t-desc    { font-size: .85rem; color: var(--muted); line-height: 1.75; }

.edu-tag {
  display: inline-block;
  padding: .18rem .7rem;
  background: var(--border);
  font-size: .62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .5rem;
}


/* ─── GIVING BACK / HEROES RANCH ─────────────────────────── */
#giving-back {
  padding: var(--gap) 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
#giving-back::before {
  content: '';
  position: absolute; bottom: 0; left: 0; width: 45%; height: 50%;
  background: radial-gradient(ellipse at bottom left, rgba(39,165,93,.05) 0%, transparent 70%);
  pointer-events: none;
}

.giving-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

/* ── Slideshow ── */
/* TO ADD/REMOVE SLIDES: find the .slideshow div and edit .slide items */
.slideshow {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #050810;
}

.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }

.slide-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(12,16,20,.92) 0%, rgba(12,16,20,.1) 55%, transparent 100%);
}

.slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem; z-index: 3;
}
.slide-lbl {
  display: inline-block;
  padding: .18rem .6rem;
  background: rgba(39,165,93,.18);
  border: 1px solid rgba(39,165,93,.3);
  color: var(--green);
  font-size: .6rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.slide-ttl { font-size: .875rem; color: var(--white); font-weight: 500; line-height: 1.4; margin-bottom: .25rem; }
.slide-sub { font-size: .72rem; color: var(--muted); line-height: 1.5; }

/* Dots */
.slide-dots {
  position: absolute; top: .75rem; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 6px;
}
.sdot {
  width: 6px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.2);
  border: none; cursor: pointer;
  transition: all .3s; padding: 0;
}
.sdot.active { width: 20px; background: var(--green); }

/* Arrows */
.slide-arrows {
  position: absolute; top: .75rem; right: .75rem;
  z-index: 5; display: flex; gap: 6px;
}
.sarrow {
  width: 28px; height: 28px;
  background: rgba(12,16,20,.6);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.sarrow:hover { border-color: rgba(39,165,93,.5); color: var(--green); }
.sarrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Contribution cards ── */
/* TO EDIT: find each .contrib-card in index.html */
.contrib-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contrib-card {
  padding: 1.4rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color .3s;
}
.contrib-card:hover { border-color: rgba(39,165,93,.4); }

.contrib-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--green-lt);
  border: 1px solid rgba(39,165,93,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.contrib-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.contrib-title { font-size: .8rem; font-weight: 600; color: var(--white); margin-bottom: .4rem; }
.contrib-desc  { font-size: .74rem; color: var(--muted); line-height: 1.6; }

/* Heroes Ranch callout bar */
.hr-callout {
  border: 1px solid rgba(39,165,93,.2);
  background: rgba(39,165,93,.04);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hr-callout-icon {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: rgba(39,165,93,.1);
  border: 1px solid rgba(39,165,93,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.hr-callout-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.hr-callout-body { flex: 1; }
.hr-callout-title { font-family: var(--serif); font-size: 1.1rem; color: var(--white); margin-bottom: .4rem; }
.hr-callout-text  { font-size: .8rem; color: var(--muted); line-height: 1.7; }


/* ─── BEYOND WORK ─────────────────────────────────────────── */
#beyond-work {
  padding: var(--gap) 0;
  background: rgba(17,24,32,.4);
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
#beyond-work::before {
  content: '';
  position: absolute; top: 0; right: 0; width: 40%; height: 60%;
  background: radial-gradient(ellipse at top right, rgba(39,165,93,.05) 0%, transparent 70%);
  pointer-events: none;
}

.beyond-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

/* TO EDIT PERSONAL TEXT: update the <p> tags inside .beyond-copy */
.beyond-copy { display: flex; flex-direction: column; gap: 1.25rem; }
.beyond-copy p { font-size: .92rem; color: var(--muted); line-height: 1.85; }
.beyond-copy strong { color: var(--white); font-weight: 600; }

.beyond-quote {
  margin-top: .75rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--green);
}
.beyond-quote p { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--white) !important; line-height: 1.65; }
.beyond-quote cite { display: block; margin-top: .7rem; font-size: .62rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); font-style: normal; }

.pillar-cards { display: flex; flex-direction: column; gap: 1rem; }

.pillar-card {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.4rem;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color .3s;
}
.pillar-card:hover { border-color: rgba(39,165,93,.4); }

.pillar-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--green-lt);
  border: 1px solid rgba(39,165,93,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.pillar-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.pillar-lbl    { font-size: .8rem; font-weight: 600; color: var(--white); margin-bottom: .35rem; }
.pillar-detail { font-size: .74rem; color: var(--muted); line-height: 1.6; }

.family-tag {
  margin-top: .5rem;
  padding: 1.2rem;
  background: rgba(39,165,93,.06);
  border: 1px solid rgba(39,165,93,.2);
  text-align: center;
}
.family-tag-lbl { font-size: .6rem; text-transform: uppercase; letter-spacing: .15em; color: var(--green); font-weight: 600; margin-bottom: .7rem; }
.family-members { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.family-members strong { color: var(--white); }
.family-sep { color: var(--border); }


/* ─── TESTIMONIALS ───────────────────────────────────────── */
#testimonials {
  padding: var(--gap) 0;
  border-top: 1px solid var(--border);
  background: rgba(17,24,32,.3);
  position: relative;
}

/* Featured testimonial (Brandon Roloff) */
/* TO EDIT: update the text inside #featured-testimonial in index.html */
.t-featured {
  position: relative;
  border: 1px solid rgba(39,165,93,.3);
  background: linear-gradient(135deg, #0c1020, #07091a);
  padding: 2.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
}
.t-featured::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--green);
}
.t-featured .q-icon {
  position: absolute; top: 1.5rem; right: 2rem;
  opacity: .08; color: var(--green);
}
.t-featured .q-icon svg { width: 80px; height: 80px; stroke: currentColor; fill: none; stroke-width: 1; }

.t-header {
  display: flex; align-items: flex-start; gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.t-avatar {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  background: rgba(39,165,93,.18);
  border: 1px solid rgba(39,165,93,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 600; color: var(--green);
}
.t-name    { font-size: .95rem; font-weight: 600; color: var(--white); margin-bottom: .2rem; }
.t-role    { font-size: .78rem; color: var(--muted); }
.t-context { font-size: .68rem; color: rgba(39,165,93,.7); margin-top: .25rem; letter-spacing: .04em; }
.t-badge {
  margin-left: auto; flex-shrink: 0; align-self: flex-start;
  padding: .18rem .7rem;
  background: rgba(39,165,93,.1);
  border: 1px solid rgba(39,165,93,.3);
  font-size: .62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--green);
}

.t-body { display: flex; flex-direction: column; gap: 1rem; }
.t-body p { font-size: .88rem; color: rgba(232,234,240,.88); line-height: 1.8; }

.t-foot {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-size: .74rem; color: var(--muted);
}
.t-foot span::before { content: '✓ '; color: var(--green); }

/* Two smaller testimonial cards */
.t-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.t-card {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #0d1120, #080c18);
  padding: 2rem; overflow: hidden;
  transition: border-color .3s;
}
.t-card:hover { border-color: rgba(39,165,93,.3); }

.t-card .q-icon { position: absolute; top: 1rem; right: 1.25rem; opacity: .07; color: var(--green); }
.t-card .q-icon svg { width: 48px; height: 48px; stroke: currentColor; fill: none; stroke-width: 1; }

.t-card-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.t-avatar-sm {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: rgba(39,165,93,.1);
  border: 1px solid rgba(39,165,93,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 600; color: var(--green);
}
.tc-name { font-size: .875rem; font-weight: 600; color: var(--white); }
.tc-role { font-size: .72rem; color: var(--muted); line-height: 1.4; margin-top: .15rem; }
.tc-date { font-size: .65rem; color: rgba(39,165,93,.65); margin-top: .25rem; }

.t-card blockquote { font-size: .8rem; color: rgba(232,234,240,.8); line-height: 1.75; }

/* LinkedIn bar */
/* TO CHANGE LINKEDIN URL: update the href in the .li-bar <a> tag */
.li-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 2rem;
  border: 1px solid var(--border);
  background: rgba(17,24,32,.5);
  flex-wrap: wrap;
}
.li-bar p { font-size: .82rem; color: var(--muted); }


/* ─── CONTACT ────────────────────────────────────────────── */
/* TO CHANGE EMAIL: update the href="mailto:..." link */
/* TO CHANGE LINKEDIN: update the href="https://www.linkedin.com/..." link */
#contact {
  padding: var(--gap) 0;
  border-top: 1px solid var(--border);
  background: rgba(17,24,32,.3);
  text-align: center;
}

.contact-inner { max-width: 680px; margin: 0 auto; }
.contact-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.contact-sub { font-size: .98rem; color: var(--muted); font-weight: 300; margin-bottom: 2.75rem; line-height: 1.7; }
.contact-ctas { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }


/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: var(--serif); font-size: 1.2rem; color: var(--white); }
.footer-copy { font-size: .72rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .72rem; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--green); }


/* ─── RESPONSIVE / MOBILE ────────────────────────────────── */
@media (max-width: 1024px) {
  .capabilities-grid  { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid     { grid-template-columns: repeat(2, 1fr); }
  .giving-grid        { grid-template-columns: 1fr; }
  .beyond-grid        { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --gap: 4rem; --pad-h: 1.25rem; }

  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content { grid-template-columns: 1fr; }
  .hero-photo   { display: none; }
  .hero-stats   { grid-template-columns: repeat(2, 1fr); }

  /* Sections */
  .about-grid        { grid-template-columns: 1fr; }
  .portfolio-grid    { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr 1fr; }
  .contrib-grid      { grid-template-columns: 1fr; }
  .t-pair            { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .contact-ctas { flex-direction: column; align-items: center; }
  .li-bar       { flex-direction: column; text-align: center; }
  .hr-callout   { flex-direction: column; text-align: center; align-items: center; }
}

@media (max-width: 480px) {
  .capabilities-grid { grid-template-columns: 1fr; }
  .family-members    { flex-direction: column; gap: .4rem; }
}
