/* =============================================================
   Parker Webb - Personal / Professional Site
   Design: Polished corporate / finance
   Palette anchored to BrightStar navy (#011936)
   ============================================================= */

:root {
  --navy:        #011936;
  --navy-800:    #0a2342;
  --navy-700:    #143256;
  --ink:         #1a1f26;
  --slate:       #51606f;
  --line:        #e3e6ea;
  --paper:       #ffffff;
  --bone:        #f7f6f2;
  --gold:        #b8924a;
  --gold-soft:   #cda85f;
  --max:         1140px;
  --pad:         clamp(1.25rem, 5vw, 4rem);
  --radius:      4px;
  --shadow:      0 18px 50px -28px rgba(1, 25, 54, .35);
  --serif:       "Fraunces", Georgia, "Times New Roman", serif;
  --sans:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--navy); letter-spacing: -0.01em; }

a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

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

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .9rem;
  letter-spacing: .02em;
  padding: .85rem 1.6rem; border-radius: var(--radius);
  border: 1px solid var(--navy); cursor: pointer; transition: all .2s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.brand span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-family: var(--sans); font-size: .92rem; font-weight: 500; color: var(--slate); }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links .pill { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; background: var(--bone); color: var(--slate); padding: .15rem .45rem; border-radius: 100px; margin-left: .3rem; vertical-align: middle; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 80% -10%, rgba(184,146,74,.18), transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: 1.25rem; }
.hero .role { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; color: var(--gold-soft); letter-spacing: .01em; margin-bottom: 1.5rem; }
.hero .lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 34ch; margin-bottom: 2.25rem; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.portrait {
  aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center; color: rgba(255,255,255,.35);
  font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 1rem;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { max-width: 60ch; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.section-head p { color: var(--slate); font-size: 1.05rem; }
.bone { background: var(--bone); }

/* ---------- About in brief ---------- */
.brief-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.brief-grid p { color: var(--slate); font-size: 1.1rem; margin-bottom: 1.25rem; }
.facts { border-left: 2px solid var(--gold); padding-left: 1.5rem; }
.facts dt { font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 600; color: var(--gold); margin-bottom: .25rem; }
.facts dd { color: var(--navy); font-weight: 500; margin-bottom: 1.4rem; }

/* ---------- Expertise cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .num { font-family: var(--serif); color: var(--gold); font-size: 1.1rem; margin-bottom: .85rem; }
.card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.card p { color: var(--slate); font-size: .95rem; }

/* ---------- Media / Featured ---------- */
.media-list { display: grid; gap: 1rem; }
.media-item {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 1.5rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.media-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.media-pub { font-family: var(--sans); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.media-title { font-family: var(--serif); font-size: 1.12rem; color: var(--navy); line-height: 1.3; }
.media-cta { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--slate); white-space: nowrap; }
.media-item:hover .media-cta { color: var(--gold); }

/* ---------- Teaser (ROE / blog) ---------- */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.teaser-card { border-radius: var(--radius); padding: clamp(2rem,4vw,3rem); position: relative; overflow: hidden; }
.teaser-roe { background: var(--navy); color: #fff; }
.teaser-roe h3, .teaser-blog h3 { font-size: 1.7rem; margin-bottom: .85rem; }
.teaser-roe h3 { color: #fff; }
.teaser-roe p { color: rgba(255,255,255,.8); margin-bottom: 1.75rem; }
.teaser-roe .eyebrow { color: var(--gold-soft); }
.teaser-blog { background: var(--bone); border: 1px solid var(--line); }
.teaser-blog p { color: var(--slate); margin-bottom: 1.75rem; }
.badge { display: inline-block; font-family: var(--sans); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; padding: .3rem .7rem; border-radius: 100px; background: rgba(184,146,74,.18); color: var(--gold-soft); margin-bottom: 1.25rem; }
.teaser-blog .badge { background: rgba(1,25,54,.07); color: var(--slate); }

/* ---------- CTA strip ---------- */
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.8rem,3.6vw,2.6rem); margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,.8); max-width: 50ch; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-800); color: rgba(255,255,255,.7); padding: 3.5rem 0 2.5rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.footer-brand span { color: var(--gold); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ---------- About page specifics ---------- */
.page-hero { background: var(--navy); color: #fff; padding: clamp(3rem,6vw,5rem) 0 clamp(2.5rem,5vw,3.5rem); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem,4.6vw,3.4rem); }
.page-hero .eyebrow { color: var(--gold-soft); }
.bio-layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2.5rem,5vw,4.5rem); align-items: start; }
.bio-body p { color: var(--ink); font-size: 1.12rem; margin-bottom: 1.4rem; }
.bio-body p.intro { font-size: 1.3rem; color: var(--navy); font-family: var(--serif); line-height: 1.4; }
.bio-body h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.sidebar { position: sticky; top: 96px; background: var(--bone); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.sidebar-portrait { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.75rem; }
.sidebar h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--gold); margin-bottom: 1.25rem; }
.sidebar dl dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); font-weight: 600; margin-bottom: .2rem; }
.sidebar dl dd { color: var(--navy); font-weight: 500; margin-bottom: 1.2rem; font-size: .98rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { font-size: .78rem; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: .3rem .8rem; color: var(--navy); }

/* ---------- Media page sections ---------- */
.media-section { margin-bottom: 3.5rem; }
.media-section > h2 { font-size: 1.4rem; margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.media-empty { color: var(--slate); font-size: 1rem; background: var(--bone); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.75rem; }

/* ---------- Insights listing ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.insight-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.insight-meta { font-family: var(--sans); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 600; margin-bottom: .9rem; }
.insight-card h3 { font-size: 1.4rem; line-height: 1.2; margin-bottom: .75rem; }
.insight-card p { color: var(--slate); font-size: 1rem; margin-bottom: 1.5rem; flex-grow: 1; }
.insight-card .read { font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--navy); }
.insight-card:hover .read { color: var(--gold); }

/* ---------- Article / post reading layout ---------- */
.post-hero { background: var(--navy); color: #fff; padding: clamp(3rem,6vw,5rem) 0; }
.post-hero .wrap { max-width: 760px; }
.post-hero .eyebrow { color: var(--gold-soft); }
.post-hero h1 { color: #fff; font-size: clamp(2rem,4.4vw,3.1rem); margin-bottom: 1.25rem; }
.post-meta { font-family: var(--sans); font-size: .9rem; color: rgba(255,255,255,.65); }
.post-meta a { color: var(--gold-soft); }
.post-body { max-width: 720px; margin: 0 auto; padding-top: clamp(2.5rem,5vw,3.5rem); padding-bottom: clamp(2.5rem,5vw,3.5rem); }
.post-body p { font-size: 1.16rem; line-height: 1.75; color: var(--ink); margin-bottom: 1.5rem; }
.post-body h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.post-body h3 { font-size: 1.25rem; margin: 1.75rem 0 .75rem; }
.post-body blockquote { border-left: 3px solid var(--gold); padding: .5rem 0 .5rem 1.5rem; margin: 2rem 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--navy); font-style: italic; }
.post-body ul, .post-body ol { margin: 0 0 1.5rem 1.25rem; }
.post-body li { font-size: 1.16rem; line-height: 1.7; margin-bottom: .6rem; }
.post-share { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.75rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.post-share span { font-family: var(--sans); font-size: .85rem; color: var(--slate); }
.post-nav-back { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--slate); }
.post-nav-back:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .brief-grid, .teaser, .bio-layout { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .insight-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 1rem var(--pad); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-150%); transition: transform .3s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; padding: .6rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .media-item { grid-template-columns: 1fr; gap: .5rem; }
  .media-cta { display: none; }
}
