/*
Theme Name: L Weir Consulting
Theme URI: https://lweirconsultingllc.com
Author: Built for Lori Weir
Description: Custom theme for L Weir Consulting LLC, College Strategy. Navy/gold/teal editorial design with Cormorant Garamond + Jost.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: lweir
*/

/* ─── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  --navy:    #1B3A6B;
  --gold:    #C9973F;
  --teal:    #2A7B8C;
  --cream:   #FAF8F4;
  --ltgray:  #F2F0EC;
  --mgray:   #8A8680;
  --dktext:  #1E1E1E;
  --border:  rgba(27,58,107,0.12);
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Jost', system-ui, sans-serif;
  --page-w:  1180px;
}

/* ─── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--dktext);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; }
a { color: var(--teal); }

/* ─── SITE HEADER ─────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  padding: 0 36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 76px;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 200;
}
.brand { display:flex; flex-direction:row; align-items:center; gap:12px; line-height:1.2; text-decoration:none; }
.brand-text { display:flex; flex-direction:column; line-height:1.2; }
.brand-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .4px;
  line-height: 1.1;
}
.brand-sub {
  font-size: 8.5px;
  color: rgba(201,214,232,.65);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.2;
}
.brand-ieca {
  height:50px; width:auto; display:block;
  background:#fff; padding:4px 6px; border-radius:3px;
  align-self:center;
}
.header-right { display:flex; align-items:center; gap: 24px; }
.nav-links { display:flex; gap:24px; list-style:none; margin:0; padding:0; }
.nav-links a {
  font-size:13px;
  color: rgba(201,214,232,.85);
  text-decoration:none;
  letter-spacing:.4px;
  transition:.2s;
}
.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color:#fff; }
.contact-btn {
  background: var(--gold);
  color: #fff;
  border:none; cursor:pointer;
  font-family:var(--sans);
  font-size:12px; font-weight:600;
  padding: 9px 20px;
  border-radius:3px;
  letter-spacing:.5px;
  transition: opacity .2s;
  text-transform: uppercase;
  text-decoration:none;
  display:inline-block;
}
.contact-btn:hover { opacity:.88; }

/* mobile nav toggle */
.nav-toggle { display:none; background:none; border:none; color:#fff; font-size:22px; cursor:pointer; }

/* ─── HERO SECTION ────────────────────────────────────────────── */
.hero { position:relative; background: var(--navy); min-height: 380px; display:flex; align-items:stretch; }
.hero-text-col { flex: 1; padding: 56px 48px 52px; display:flex; flex-direction:column; justify-content:center; }
.hero-photo-col { width: 44%; background: #243F6B; position:relative; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.hero-photo-col img { width:100%; height:100%; object-fit:cover; display:block; }
.hero-photo-col img.hero-photo-contain { object-fit:cover; object-position:center top; }
.hero-eyebrow { font-size:10px; font-weight:600; color:var(--gold); letter-spacing:2.5px; text-transform:uppercase; margin-bottom:16px; }
.hero-h1 { font-family: var(--serif); font-size: 44px; font-weight: 400; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.hero-h1 em { font-style:italic; color: rgba(201,214,232,.85); }
.hero-rule { width:48px; height:2px; background:var(--gold); margin-bottom:20px; }
.hero-body { font-size:15px; color:rgba(201,214,232,.85); line-height:1.75; max-width:380px; font-weight:300; }

/* ─── SECTION SHARED ──────────────────────────────────────────── */
.section { padding: 64px 48px; max-width: var(--page-w); margin: 0 auto; }
.section-full { max-width:none; }
.section-alt { background: var(--ltgray); }
.section-navy { background: var(--navy); }
.section-cream { background: var(--cream); }
.bg-white { background:#fff; }
.bg-alt { background: var(--ltgray); }

.eyebrow { font-size:10px; font-weight:600; color:var(--gold); letter-spacing:2.5px; text-transform:uppercase; margin-bottom:12px; }
.section-h2 { font-family:var(--serif); font-size:34px; font-weight:400; color:var(--navy); line-height:1.2; margin-bottom:20px; }
.section-h2.light { color:#fff; }
.section-body { font-size:15px; color:#555; line-height:1.8; max-width:600px; font-weight:300; }
.section-body.light { color:rgba(201,214,232,.85); }
.gold-rule { width:48px; height:2px; background:var(--gold); margin-bottom:24px; }

/* ─── TWO-COLUMN LAYOUT ────────────────────────────────────────── */
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap:48px; align-items:start; }
.two-col-wide { grid-template-columns: 1.1fr .9fr; }

/* ─── INLINE PHOTO BLOCK ──────────────────────────────────────── */
.photo-block { border-radius:4px; overflow:hidden; background: var(--ltgray); border: 1px solid var(--border); }
.photo-block img { width:100%; height:100%; object-fit:cover; display:block; }

/* ─── QUOTE BLOCK ──────────────────────────────────────────────── */
.quote-block { border-left: 3px solid var(--gold); padding: 20px 24px; background: rgba(201,151,63,.06); border-radius: 0 4px 4px 0; margin: 32px 0; }
.quote-block blockquote { font-family:var(--serif); font-size:19px; font-style:italic; color:var(--navy); line-height:1.6; font-weight:400; }
.quote-block cite { display:block; margin-top:10px; font-size:12px; color:var(--mgray); font-style:normal; letter-spacing:.5px; }
.quote-block.light blockquote { color:#fff; }
.quote-block.light { background:rgba(255,255,255,.07); border-color:var(--gold); }
.quote-block.light cite { color:rgba(201,214,232,.6); }

/* ─── TESTIMONIAL CARDS ────────────────────────────────────────── */
.testimonial-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:20px; margin-top:32px; }
.t-card { background:#fff; border:1px solid var(--border); border-radius:4px; padding:28px; border-top:3px solid var(--gold); position:relative; }
.t-card::before { content:'\201C'; font-family:var(--serif); font-size:60px; color:var(--gold); opacity:.2; position:absolute; top:12px; left:20px; line-height:1; }
.t-quote { font-family:var(--serif); font-size:16px; font-style:normal; color:var(--dktext); line-height:1.65; padding-top:16px; }
.t-attr { margin-top:16px; font-size:12px; color:var(--mgray); font-weight:500; letter-spacing:.3px; }

/* ─── SERVICE CARDS ────────────────────────────────────────────── */
.service-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:32px; }
.service-card { background:#fff; border:1px solid var(--border); border-radius:4px; overflow:hidden; }
.service-card-head { padding:18px 22px; display:flex; align-items:center; gap:14px; }
.grade-badge { width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:18px; font-weight:500; color:#fff; flex-shrink:0; }
.service-card-title { font-size:15px; font-weight:600; color:var(--navy); }
.service-card-sub { font-size:12px; color:var(--mgray); margin-top:2px; }
.service-card-body { padding:0 22px 22px; }
.service-card-body ul { list-style:none; }
.service-card-body li { font-size:13.5px; color:#555; padding:6px 0; border-bottom:1px solid var(--border); display:flex; align-items:flex-start; gap:8px; line-height:1.5; }
.service-card-body li:last-child { border:none; }
.service-card-body li::before { content:''; flex-shrink:0; width:5px; height:5px; border-radius:50%; background:var(--gold); margin-top:7px; }

/* ─── MILESTONE GRID ──────────────────────────────────────────── */
.milestone-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.milestone-col { border-top:3px solid var(--gold); padding-top:18px; }
.milestone-emoji { font-size:22px; margin-bottom:10px; }
.milestone-grade { font-size:10px; font-weight:600; color:var(--gold); letter-spacing:2px; margin-bottom:6px; text-transform:uppercase; }
.milestone-title { font-family:var(--serif); font-size:18px; color:var(--navy); margin-bottom:10px; }
.milestone-body { font-size:13.5px; color:#666; line-height:1.7; }
.caps-wide { width:100%; height:340px; overflow:hidden; border-radius:4px; margin-bottom:40px; }
.caps-wide img { width:100%; height:100%; object-fit:cover; object-position:center 40%; display:block; }

/* ─── CREDENTIALS BOX ─────────────────────────────────────────── */
.cred-box { background:var(--ltgray); padding:22px 24px; border-radius:4px; border:1px solid var(--border); }
.cred-item { border-bottom:1px solid var(--border); padding-bottom:14px; margin-bottom:14px; }
.cred-item:last-child { border:none; margin-bottom:0; padding-bottom:0; }
.cred-tick { width:32px; height:2px; background:var(--gold); margin-bottom:8px; }
.cred-title { font-size:12.5px; font-weight:600; color:var(--navy); line-height:1.4; margin-bottom:4px; }
.cred-org { font-size:12px; color:var(--mgray); line-height:1.6; margin-bottom:4px; }
.cred-note { font-size:11.5px; color:#777; line-height:1.65; font-style:italic; }

/* ─── CONTACT BAR ──────────────────────────────────────────────── */
.contact-bar { background:var(--navy); padding:32px 48px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.contact-bar-text h3 { font-family:var(--serif); font-size:24px; font-weight:400; color:#fff; margin-bottom:4px; }
.contact-bar-text p { font-size:14px; color:rgba(201,214,232,.7); font-style:italic; }
.contact-bar-text .contact-line { font-size:13px; color:rgba(201,214,232,.65); margin-top:4px; font-style:normal; }

/* ─── SITE FOOTER ──────────────────────────────────────────────── */
.site-footer { background: #0F2347; padding: 28px 48px; border-top: 2px solid var(--gold); }
.footer-inner { max-width: var(--page-w); margin:0 auto; }
.footer-top { display:flex; justify-content:space-between; align-items:center; padding-bottom:20px; border-bottom:1px solid rgba(255,255,255,.08); margin-bottom:16px; gap:24px; flex-wrap:wrap; }
.footer-contact { font-size:13px; color:rgba(201,214,232,.7); line-height:1.8; }
.footer-contact a { color:rgba(201,214,232,.85); text-decoration:none; }
.ieca-badge { display:flex; flex-direction:column; align-items:center; gap:4px; }
.ieca-badge .ieca-img { background:#fff; border-radius:4px; padding:6px 14px; display:inline-block; }
.ieca-badge .ieca-img img { height:44px; width:auto; display:block; }
.ieca-badge .ieca-sub { font-size:9px; color:rgba(201,214,232,.35); margin-top:4px; letter-spacing:.5px; text-align:center; }
.footer-copy { font-size:11px; color:rgba(201,214,232,.35); text-align:center; letter-spacing:.3px; }

/* ─── NEWSFEED ─────────────────────────────────────────────────── */
.news-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.news-month { grid-column:1/-1; margin-bottom:8px; }
.news-month-head { display:flex; align-items:center; gap:16px; }
.news-month-label { font-size:11px; font-weight:700; color:var(--navy); letter-spacing:2px; text-transform:uppercase; border-bottom:2px solid var(--gold); padding-bottom:4px; }
.news-month-rule { flex:1; height:1px; background:var(--border); }
.news-card { border:1px solid var(--border); border-radius:4px; overflow:hidden; border-top:3px solid var(--teal); padding:24px; }
.news-card.featured { grid-column:1/-1; border-top:3px solid var(--gold); padding:28px 32px; }
.news-meta { font-size:10px; font-weight:600; color:var(--gold); letter-spacing:2px; margin-bottom:12px; text-transform:uppercase; }
.news-card h3 { font-family:var(--serif); font-size:21px; color:var(--navy); line-height:1.3; margin-bottom:12px; font-weight:500; }
.news-card.featured h3 { font-size:26px; line-height:1.25; margin-bottom:14px; }
.news-link { font-size:12px; color:var(--teal); font-weight:600; text-decoration:none; }
.news-card.featured .news-link { font-size:13px; }
.news-excerpt { font-size:13px; color:#666; line-height:1.7; margin-bottom:12px; font-style:italic; }
.news-note { grid-column:1/-1; border:1px dashed rgba(42,123,140,.3); border-radius:4px; padding:24px; text-align:center; }
.news-note p { font-size:13px; color:var(--mgray); font-style:italic; }

/* ─── CONTACT PAGE FORM ───────────────────────────────────────── */
.contact-wrap { max-width:640px; margin:0 auto; }
.contact-wrap .wpforms-container,
.contact-wrap .fluentform { margin-top:24px; }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 880px) {
  .site-header { padding:0 18px; }
  .nav-toggle { display:block; }
  .header-right { position:absolute; top:76px; left:0; right:0; background:var(--navy); flex-direction:column; gap:0; padding:0; display:none; border-bottom:3px solid var(--gold); }
  .header-right.open { display:flex; }
  .nav-links { flex-direction:column; gap:0; width:100%; }
  .nav-links li { width:100%; border-bottom:1px solid rgba(255,255,255,.08); }
  .nav-links a { display:block; padding:14px 18px; }
  .header-right .contact-btn { margin:14px 18px 18px; }
  .hero { flex-direction:column; }
  .hero-photo-col { width:100%; min-height:240px; }
  .hero-h1 { font-size:32px; }
  .section { padding:40px 22px; }
  .two-col, .two-col-wide { grid-template-columns:1fr; gap:28px; }
  .testimonial-grid, .service-cards, .news-grid { grid-template-columns:1fr; }
  .milestone-grid { grid-template-columns:1fr 1fr; }
  .contact-bar, .site-footer { padding:24px 22px; }
  .t-card[style*="grid-column"] { grid-column:auto !important; }
}
@media (max-width: 520px) {
  .milestone-grid { grid-template-columns:1fr; }
  .hero-h1 { font-size:28px; }
}

/* ─── CONTACT FORM POLISH ─────────────────────────────────────── */
.contact-wrap .fluentform textarea { padding-top:10px; }
.contact-wrap .fluentform .ff-btn-submit { background:var(--gold) !important; border-color:var(--gold) !important; text-transform:uppercase; letter-spacing:.5px; }
.page-template-page-contact .section { padding-bottom:48px; }

/* ─── FOOTER CTA (merged footer) ──────────────────────────────── */
.footer-cta { display:flex; justify-content:center; padding-bottom:24px; margin-bottom:20px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-cta .contact-btn { font-size:13px; padding:12px 32px; }

/* ─── NEWSFEED PAGINATION ─────────────────────────────────────── */
.news-pagination { display:flex; justify-content:center; gap:8px; margin-top:40px; }
.news-pagination .np-num {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:38px; height:38px; padding:0 10px;
  border:1px solid var(--border); border-radius:4px;
  font-size:14px; font-weight:500; color:var(--navy);
  text-decoration:none; transition:.15s;
}
.news-pagination .np-num:hover { border-color:var(--gold); color:var(--gold); }
.news-pagination .np-num.current { background:var(--navy); color:#fff; border-color:var(--navy); }

/* ─── RICH TEXT PARAGRAPH SPACING (fixes Mission/About body) ──────
   The global reset zeroes margins; restore paragraph spacing inside
   editable rich-text areas so WYSIWYG content breathes without manual
   &nbsp; or <br> hacks. */
.section-body p { margin-bottom: 1em; }
.section-body p:last-child { margin-bottom: 0; }
.section-body ul, .section-body ol { margin: 0 0 1em 1.2em; }
.section-body h2, .section-body h3 { margin: 0 0 .4em; }

/* ─── TYPE SIZE BUMP (client: supporting text too small) ──────────
   Raises body/reading text ~1-2px for legibility. Eyebrows, labels,
   and badges stay small by design. */
.section-body      { font-size: 16.5px; line-height: 1.85; }
.hero-body         { font-size: 16px; }
.t-quote           { font-size: 17px; }
.service-card-body li { font-size: 14.5px; }
.milestone-body    { font-size: 14.5px; }
.news-card h3      { font-size: 22px; }
.cred-org          { font-size: 13px; }
.cred-note         { font-size: 12.5px; }
.footer-contact    { font-size: 14px; }
.quote-block blockquote { font-size: 20px; }

/* ─── À LA CARTE (de-emphasized 4th service card) ────────────────
   Lori prefers people choose the full grade-based service, so this
   short-term option is intentionally quieter than the others. */
.service-card--muted {
  background: var(--cream);
  border-style: dashed;
  border-color: rgba(27,58,107,.18);
  opacity: .9;
  align-self: start; /* don't stretch to match taller grade cards */
}
.service-card--muted .service-card-title { color: var(--mgray); font-weight: 500; }
.service-card--muted .service-card-sub { color: var(--mgray); }
.service-card--muted .service-card-body li { color: #777; }
.service-card--muted .service-card-body li::before { background: var(--mgray); }
.grade-badge--muted {
  background: transparent !important;
  color: var(--mgray);
  border: 1px dashed var(--mgray);
  font-size: 12px;
}
