/* ===== Rhett McClure — site styles =====
   Brand colors and fonts pulled from the original WordPress site. */
:root {
  --accent: #ff004f;        /* magenta accent */
  --accent-2: #00d084;      /* green CTA */
  --dark: #2b2b2b;          /* footer / banners */
  --ink: #313131;           /* body text */
  --muted: #8c9597;
  --line: #ececec;
  --maxw: 1140px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--ink); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--accent); }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.82rem;
  letter-spacing: .02em; color: var(--ink); text-transform: uppercase;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--accent); text-decoration: none; }

/* mobile menu toggle */
.nav-toggle, .nav-toggle-label { display: none; }
@media (max-width: 860px) {
  .nav-toggle-label {
    display: block; cursor: pointer; width: 28px; height: 22px; position: relative;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    content: ""; position: absolute; left: 0; width: 28px; height: 3px;
    background: var(--ink); border-radius: 2px;
  }
  .nav-toggle-label span { top: 10px; }
  .nav-toggle-label span::before { top: -8px; }
  .nav-toggle-label span::after { top: 8px; }
  .site-nav { flex-basis: 100%; max-height: 0; overflow: hidden; transition: max-height .25s ease; }
  .nav-toggle:checked ~ .site-nav { max-height: 520px; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 12px 0; }
}

/* ===== Home hero ===== */
.hero {
  position: relative; background-size: cover; background-position: center;
  color: #fff; text-align: center;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(20,20,25,0.45); }
.hero-inner { position: relative; padding: 130px 24px; }
.hero-title { color: #fff; font-weight: 900; font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0 0 14px; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero-sub { color: #f2f2f2; font-size: 1.05rem; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  padding: 13px 30px; border-radius: 3px; transition: all .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-solid { background: var(--accent-2); color: #fff; border: 2px solid var(--accent-2); }
.btn-solid:hover { filter: brightness(1.05); color: #fff; }

/* ===== Intro / video ===== */
.intro { padding: 64px 0 36px; text-align: center; }
.intro-lead { font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; color: var(--muted); margin: 0 0 28px; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 6px; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== Skill bars ===== */
.skills { padding: 24px 0 56px; }
.skill-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.skill-list li { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 16px; }
.skill-name { font-family: var(--font-head); font-weight: 600; color: var(--accent); }
.skill-bar { background: var(--line); height: 8px; border-radius: 4px; overflow: hidden; }
.skill-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
@media (max-width: 560px) { .skill-list li { grid-template-columns: 1fr; gap: 6px; } }

/* ===== Contact strip ===== */
.contact-strip { border-top: 1px solid var(--line); padding: 40px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; align-items: start; }
.contact-strip h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin: 0 0 6px; }
.contact-strip p { margin: 0; }
.contact-social { display: flex; gap: 16px; flex-wrap: wrap; }
.contact-social a { font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Interior page banner + body ===== */
.page-banner {
  background: var(--dark) center/cover no-repeat;
  color: #fff; text-align: center; padding: 90px 24px;
  position: relative;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(25,25,30,0.55); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0; }
.post-date { color: #e6e6e6; margin: 10px 0 0; font-family: var(--font-head); }

.page-body { padding: 56px 0 80px; }
.page-body h2 { margin-top: 2em; font-size: 1.5rem; }
.page-body h3 { margin-top: 1.6em; font-size: 1.15rem; }
.page-body img { border-radius: 6px; }
.page-body ul, .page-body ol { padding-left: 1.3em; }
.back-link { margin-top: 3em; }

/* ===== Video reel grid ===== */
.reel-intro { font-size: 1.1rem; color: var(--muted); margin: 0 0 32px; text-align: center; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr; } }

/* ===== Blog list ===== */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.post-list .post-item { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.post-list h2 { margin: 0 0 4px; font-size: 1.4rem; }
.post-list .meta { color: var(--muted); font-family: var(--font-head); font-size: .85rem; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: #cfcfcf; padding: 48px 0 28px; margin-top: 40px; }
.footer-services {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.footer-services li { font-family: var(--font-head); font-weight: 600; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: .85rem; }
.footer-social { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.footer-social a { color: #cfcfcf; font-size: .85rem; }
.footer-social a:hover { color: #fff; }
@media (max-width: 700px) { .footer-services { grid-template-columns: 1fr 1fr; } .footer-bottom { justify-content: center; text-align: center; } }
