/*
Theme Name: Frexlancers Marketing
Theme URI: https://frexlancers.com
Author: Frederick Mlungisi Dandure
Author URI: https://frexlancers.com
Description: A bold, modern theme for Frexlancers Marketing — AI, Data & Digital Strategies for Africa. Features the brand identity, teal palette, and editorial design system.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frexlancers
Tags: custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready

This theme is built for Frexlancers Marketing.
*/

/* ── CSS CUSTOM PROPERTIES ─────────────────────────── */
:root {
  --c1: #04342C;
  --c2: #085041;
  --c3: #0F6E56;
  --c4: #1D9E75;
  --c5: #5DCAA5;
  --c6: #9FE1CB;
  --c7: #E1F5EE;
  --white: #FAFFFE;
  --ink: #0D1F1A;
  --ink2: #2C3E38;
  --muted: #6B8C82;
  --rule: #C8EAE0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --nav-h: 64px;
  --max-w: 1200px;
  --radius: 6px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c4); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c5); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── TYPOGRAPHY ────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.3px;
  color: var(--ink);
}

h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(22px, 3vw, 32px); }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

p { margin-bottom: 1rem; color: var(--ink2); font-weight: 300; line-height: 1.8; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT CONTAINERS ─────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1400px; }

/* ── SECTION SPACING ───────────────────────────────── */
.section         { padding: 96px 0; }
.section--sm     { padding: 64px 0; }
.section--lg     { padding: 128px 0; }
.section--dark   { background: var(--c1); }
.section--tinted { background: var(--c7); }
.section--rule   { background: var(--rule); }

/* ── GRID UTILITIES ────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── SECTION TAG ───────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c4);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--c4);
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  text-decoration: none;
  font-family: var(--font-body);
  white-space: nowrap;
}

.btn--primary {
  background: var(--c4);
  color: var(--c1);
  border-color: var(--c4);
}
.btn--primary:hover {
  background: var(--c5);
  border-color: var(--c5);
  color: var(--c1);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--c4);
  border-color: var(--c4);
}
.btn--ghost:hover {
  background: var(--c4);
  color: var(--c1);
}

.btn--ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost-white:hover {
  border-color: var(--c5);
  color: var(--c5);
}

.btn--lg { padding: 16px 32px; font-size: 14px; }
.btn--full { width: 100%; justify-content: center; }

/* ── NAVIGATION ────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--c1);
  border-bottom: 1px solid var(--c2);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.nav-logo-name span { color: var(--c5); }
.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--c5);
  letter-spacing: 3px;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* WordPress menu items */
.nav-menu .menu-item a {
  font-size: 13px;
  color: var(--c6);
  padding: 8px 14px;
  border-radius: 4px;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.nav-menu .menu-item a:hover,
.nav-menu .menu-item.current-menu-item a {
  color: #fff;
}

.nav-menu .menu-item--cta a {
  background: var(--c4);
  color: var(--c1);
  font-weight: 500;
  padding: 9px 20px;
}
.nav-menu .menu-item--cta a:hover {
  background: var(--c5);
  color: var(--c1);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c5);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── SITE HEADER OFFSET ────────────────────────────── */
/* Hero sections and page-hero handle their own top offset via padding.
   Only non-hero pages (default page.php) need a nudge. */
.site-content { padding-top: 0; }

/* Full-bleed hero sections sit flush against the fixed nav */
.home-hero,
.page-hero,
.blog-hero,
.contact-hero,
.about-hero {
  padding-top: calc(var(--nav-h) + 64px);
}

/* home-hero is full viewport so override with min-height only */
.home-hero {
  padding-top: 0;
  min-height: 100vh;
}
.home-hero .home-hero__left {
  padding-top: calc(var(--nav-h) + 48px);
}

/* Default page template (page.php) — no hero, needs the offset */
.page-template-default .site-content,
body.page:not(.page-template-page-about):not(.page-template-page-contact):not(.page-template-page-resources):not(.page-template-page-services):not(.home):not(.blog) .site-content {
  padding-top: var(--nav-h);
}

/* ── PAGE HERO (inner pages) ───────────────────────── */
.page-hero {
  background: var(--c1);
  padding: calc(var(--nav-h) + 64px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c4);
}
.page-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c5);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--c5);
}
.page-hero h1 { color: #fff; }
.page-hero h1 em { color: var(--c5); font-style: italic; }
.page-hero p { color: var(--c6); font-size: 16px; max-width: 540px; margin-top: 16px; }

/* ── HOME HERO ─────────────────────────────────────── */
.home-hero {
  min-height: 100vh;
  background: var(--c1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.home-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 80px;
  position: relative;
  z-index: 2;
}

.home-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c5);
  letter-spacing: 4px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.home-hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--c5);
}

.home-hero h1 {
  color: #fff;
  margin-bottom: 24px;
}
.home-hero h1 em { color: var(--c5); }

.home-hero__sub {
  font-size: 17px;
  color: var(--c6);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 44px;
  font-weight: 300;
}

.home-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.home-hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--c5);
  line-height: 1;
}
.stat__label {
  font-size: 11px;
  color: var(--c6);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.home-hero__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(var(--c5) 1px, transparent 1px),
    linear-gradient(90deg, var(--c5) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    rgba(29,158,117,0.15) 0%, transparent 65%);
}

.hero-africa-wrap {
  position: relative;
  z-index: 2;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.hero-data-point {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c5);
  opacity: 0.8;
  white-space: nowrap;
  z-index: 3;
}
.hero-data-point::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c4);
  box-shadow: 0 0 10px var(--c4);
  flex-shrink: 0;
}

/* ── VALUE STRIP ───────────────────────────────────── */
.value-strip {
  background: var(--c4);
  padding: 18px 0;
  overflow: hidden;
}
.value-strip__inner {
  display: flex;
  gap: 48px;
  padding: 0 48px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.value-strip__inner::-webkit-scrollbar { display: none; }
.value-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c1);
  white-space: nowrap;
}
.value-strip__item::before { content: '✦'; opacity: 0.5; }

/* ── SERVICE CARDS ─────────────────────────────────── */
.service-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(4,52,44,0.1);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--c7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.service-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── TRUST / QUOTE BLOCK ───────────────────────────── */
.trust-block {
  background: var(--c2);
  border-radius: 12px;
  padding: 48px;
  border-left: 4px solid var(--c4);
}
.trust-block__quote {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 20px;
}
.trust-block__author {
  font-size: 13px;
  color: var(--c5);
  font-weight: 500;
}
.trust-block__stats {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--c3);
}
.trust-stat__num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--c5);
  line-height: 1;
}
.trust-stat__label {
  font-size: 11px;
  color: var(--c6);
  margin-top: 4px;
}

/* ── CTA BLOCK ─────────────────────────────────────── */
.cta-block {
  background: var(--c1);
  border-radius: 14px;
  padding: 64px 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(29,158,117,0.15) 0%, transparent 70%);
}
.cta-block h2 { color: #fff; margin-bottom: 12px; }
.cta-block p  { color: var(--c6); font-size: 15px; margin: 0; }
.cta-block__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.cta-block__note {
  font-size: 11px;
  color: var(--c5);
  text-align: center;
  margin-top: 4px;
}

/* ── BLOG CARDS ────────────────────────────────────── */
.blog-list-item {
  border-top: 2px solid var(--rule);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  transition: border-color var(--transition);
  cursor: pointer;
}
.blog-list-item:hover { border-color: var(--c4); }

.blog-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(4,52,44,0.08);
  border-color: var(--c5);
}

.post-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c4);
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}
.post-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
}
.post-excerpt { font-size: 13px; color: var(--muted); line-height: 1.65; }
.post-meta { font-size: 11px; color: var(--muted); margin-top: 12px; }

/* ── NEWSLETTER ────────────────────────────────────── */
.newsletter-block {
  background: var(--c1);
  padding: 72px 0;
}
.newsletter-block h2 { color: #fff; margin-bottom: 12px; }
.newsletter-block p  { color: var(--c6); margin-bottom: 28px; }

.newsletter-form { display: flex; gap: 0; max-width: 440px; }
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: var(--c2);
  border: 1px solid var(--c3);
  border-right: none;
  color: #fff;
  font-size: 14px;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: var(--c5); opacity: 0.5; }
.newsletter-form button {
  background: var(--c4);
  color: var(--c1);
  padding: 14px 22px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0 var(--radius) var(--radius) 0;
  white-space: nowrap;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--c5); }
.newsletter-note { font-size: 11px; color: var(--c5); opacity: 0.7; margin-top: 10px; }

/* ── CONTACT FORM ──────────────────────────────────── */
.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 0; }

/* Two-column grid for name + organisation fields */
.frex-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .frex-form-grid { grid-template-columns: 1fr; }
}

/* Field wrapper */
.frex-field { margin-bottom: 20px; }
.frex-field label,
.wpcf7-form label,
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c4);
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* All inputs */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select,
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-bottom: 0;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus,
.form-input:focus,
.form-textarea:focus {
  border-color: var(--c4);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.1);
}
.wpcf7-form textarea,
.form-textarea { height: 140px; resize: vertical; }

/* Submit button — full width */
.wpcf7-form .wpcf7-submit,
.wpcf7-submit,
.form-submit {
  width: 100%;
  background: var(--c4);
  color: var(--c1);
  padding: 15px 28px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  margin-top: 8px;
}
.wpcf7-submit:hover,
.form-submit:hover {
  background: var(--c5);
  transform: translateY(-1px);
}
.wpcf7-submit:active { transform: translateY(0); }

/* Validation errors */
.wpcf7-not-valid {
  border-color: #e05555 !important;
}
.wpcf7-not-valid-tip {
  font-size: 11px;
  color: #e05555;
  margin-top: 4px;
  display: block;
}

/* Success message */
.wpcf7-response-output {
  margin-top: 16px !important;
  padding: 14px 18px !important;
  border-radius: var(--radius) !important;
  font-size: 13px !important;
  border: none !important;
}
.wpcf7-mail-sent-ok {
  background: var(--c7) !important;
  color: var(--c3) !important;
  border-left: 3px solid var(--c4) !important;
}
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked,
.wpcf7-validation-errors {
  background: #fff0f0 !important;
  color: #c0392b !important;
  border-left: 3px solid #e05555 !important;
}

/* ── ABOUT / SKILLS ────────────────────────────────── */
.skill-bar-wrap { margin-bottom: 20px; }
.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--c6);
  margin-bottom: 8px;
}
.skill-bar-track {
  height: 3px;
  background: var(--c2);
  border-radius: 2px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background: var(--c4);
  border-radius: 2px;
  transition: width 1s ease;
}

.timeline { border-left: 2px solid var(--rule); padding-left: 32px; }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c4);
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px var(--rule);
}
.timeline-item__year {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c4);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.timeline-item__role { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.timeline-item__org  { font-size: 12px; color: var(--muted); }

/* ── ABOUT PAGE — STICKY SIDEBAR ──────────────────────── */
/* align-self:start is REQUIRED for position:sticky to work inside CSS Grid.
   With stretch (default), the column fills the full grid height and the
   browser sees no scrollable distance — sticky never activates. */
.about-sticky-col {
  align-self: start;
}
.about-sticky-card {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.about-sticky-card::-webkit-scrollbar { display: none; }

/* ── RESEARCH CARD ─────────────────────────────────── */
.research-card {
  background: var(--c7);
  border-radius: var(--radius);
  padding: 36px;
  border-left: 4px solid var(--c4);
  margin-top: 40px;
}
.research-card__label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--c4);
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.research-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.35;
}
.research-card__desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── PRICING ───────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.pricing-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(4,52,44,0.08);
}
.pricing-card--featured {
  background: var(--c1);
  border-color: var(--c4);
}
.pricing-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--c4);
  color: var(--c1);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.pricing-card__tier {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c4);
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.pricing-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.pricing-card--featured .pricing-card__name { color: #fff; }
.pricing-card__price { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.pricing-card--featured .pricing-card__price { color: var(--c6); }
.pricing-card__features { margin-bottom: 32px; }
.pricing-card__features li {
  font-size: 13px;
  color: var(--ink2);
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-card--featured .pricing-card__features li {
  color: var(--c6);
  border-bottom-color: var(--c2);
}
.pricing-card__features li::before {
  content: '✓';
  color: var(--c4);
  font-weight: 600;
  flex-shrink: 0;
}

/* ── FOOTER ────────────────────────────────────────── */
#site-footer {
  background: var(--ink);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand-name span { color: var(--c5); }
.footer-tagline {
  font-size: 13px;
  color: #6B8C82;
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 20px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--c5);
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 13px;
  color: #6B8C82;
  margin-bottom: 10px;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-col a:hover { color: var(--c5); }
.footer-bottom {
  border-top: 1px solid #1A2E28;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 12px; color: #3D5A52; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a,
.footer-social-btn {
  width: 32px; height: 32px;
  border-radius: 4px;
  background: #1A2E28;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--c5);
  transition: background var(--transition);
  font-family: var(--font-mono);
  text-decoration: none;
}
.footer-socials a:hover { background: var(--c4); color: var(--c1); }

/* ── WORDPRESS CORE OVERRIDES ──────────────────────── */
.wp-block-image { margin-bottom: 1.5rem; }
.wp-block-image img { border-radius: var(--radius); }

.aligncenter { display: block; margin: 0 auto 1.5rem; }
.alignleft   { float: left; margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }

.has-drop-cap:not(:focus)::first-letter {
  font-family: var(--font-display);
  font-size: 4.5em;
  font-weight: 900;
  color: var(--c4);
  float: left;
  line-height: 0.7;
  margin: 0.1em 0.15em 0 0;
}

/* Single post content */
.entry-content h2, .entry-content h3 {
  margin: 2rem 0 1rem;
  color: var(--ink);
}
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.entry-content li { margin-bottom: 0.5rem; color: var(--ink2); }
.entry-content blockquote {
  border-left: 4px solid var(--c4);
  padding: 16px 24px;
  background: var(--c7);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.entry-content blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  margin: 0;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .grid-2    { grid-template-columns: 1fr; gap: 48px; }
  .grid-3    { grid-template-columns: repeat(2, 1fr); }
  .grid-4    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .cta-block { grid-template-columns: 1fr; }
  .home-hero { grid-template-columns: 1fr; min-height: auto; }
  .home-hero__right { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section   { padding: 64px 0; }
  .nav-menu  { display: none; }
  .nav-hamburger { display: flex; }
  .grid-3    { grid-template-columns: 1fr; }
  .grid-4    { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .home-hero__left { padding: 48px 24px; }
  .home-hero__stats { flex-wrap: wrap; gap: 24px; }
  .cta-block { padding: 40px 28px; }
}

/* ── ANIMATIONS ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up   { animation: fadeUp 0.6s ease both; }
.animate-delay-1   { animation-delay: 0.15s; }
.animate-delay-2   { animation-delay: 0.3s; }
.animate-delay-3   { animation-delay: 0.45s; }
