/* Van Taylor — vantaylor.com
   Shared stylesheet. No frameworks, no external assets.
   Palette: navy, white, restrained gold accent. */

:root {
  --navy: #0f2a44;
  --navy-dark: #0a1e33;
  --navy-light: #1b3a5c;
  --gold: #b08d3f;
  --gold-light: #d4b96a;
  --text: #1c2733;
  --muted: #5c6f82;
  --bg: #ffffff;
  --light: #f3f5f8;
  --border: #dfe6ec;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.site-brand {
  font-family: var(--serif);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

.site-brand:hover { color: var(--gold-light); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.site-nav a {
  color: #d7e0ea;
  text-decoration: none;
  font-size: 1rem;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: #fff; border-bottom-color: var(--gold); }

.site-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: #fff;
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 3.25rem;
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin: 0 0 1.25rem;
}

.hero p.lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: #d7e0ea;
}

.hero .rule {
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto 0;
}

/* ---------- Layout ---------- */

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.page-title {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.page-sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 2rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1.5rem;
}

h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

h2.travel-group {
  font-size: 1.35rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  margin-top: 3rem;
}

h3 {
  font-family: var(--serif);
  color: var(--navy-light);
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}

p { margin: 0 0 1.15rem; }

a { color: var(--navy-light); }
a:hover { color: var(--navy); }

/* ---------- Cards (home highlights) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--light);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  padding: 1.5rem;
  border-radius: 4px;
}

.card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.card-logo {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: 0.75rem;
}

/* White logos supplied on transparency (Churchill Capital, London VC
   Summit) need the dark ground they were designed for, or they vanish
   on the page's white background. */
.logo-dark {
  background: var(--navy);
  border-radius: 4px;
  padding: 6px 8px;
  box-sizing: border-box;
}

.card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  display: block;
  margin-bottom: 1rem;
}

.card-credit {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.card p { font-size: 1rem; color: var(--muted); }

.card .card-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

.card .card-link:hover { text-decoration: underline; }

/* ---------- Articles (writing page) ---------- */

.article {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  margin: 0 0 2.5rem;
  background: #fff;
}

.article header { margin-bottom: 1.25rem; }

.article h2 {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
}

.dateline {
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
  margin: 0;
}

.article .kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ---------- Bio timeline (about page) ---------- */

.timeline {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-left: 3px solid var(--gold);
}

.timeline li {
  padding: 0 0 1.5rem 1.5rem;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
}

.timeline .year {
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Personal page sections ---------- */

.passion {
  margin-bottom: 2.5rem;
}

.passion h2 {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

/* ---------- Contact ---------- */

.contact-block {
  background: var(--light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 1.75rem;
  border-radius: 4px;
  margin: 1.5rem 0;
}

.contact-block p { margin: 0 0 0.75rem; }
.contact-block p:last-child { margin-bottom: 0; }

.contact-label {
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 0.5rem;
}

.btn:hover { background: var(--navy-light); color: #fff; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: #aebdd0;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.95rem;
  margin-top: 2rem;
}

.site-footer p { margin: 0 0 0.4rem; }

.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .hero { padding: 3rem 1.25rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero .tagline { font-size: 1.1rem; }
  .page-title { font-size: 2rem; }
  .container { padding: 2rem 1.25rem; }
  .article { padding: 1.4rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Affiliation logos ---------- */

.logo-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0 0 1rem;
}

.affil-logo {
  height: 88px;
  width: auto;
}

/* Tall, narrow marks (Eagle Scout medal) get extra height so they
   carry the same visual weight as the shields and seals. */
.affil-logo-tall {
  height: 116px;
}

@media (max-width: 640px) {
  .affil-logo { height: 68px; }
  .affil-logo-tall { height: 90px; }
  .logo-row { gap: 1.5rem; }
}

.affil-logo-wide {
  height: 48px;
  width: auto;
}

@media (max-width: 640px) {
  .affil-logo-wide { height: 36px; }
}

/* ---------- Logo bullets (large logos left of text) ---------- */

.logo-bullet {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.logo-bullet img {
  flex-shrink: 0;
  width: 120px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
}

.logo-bullet h3 {
  margin-top: 0;
}

@media (max-width: 640px) {
  .logo-bullet img {
    width: 90px;
    max-height: 110px;
  }
}

.pub-logo {
  height: 32px;
  width: auto;
  margin-bottom: 0.75rem;
  display: block;
}

/* ---------- Photo gallery ---------- */

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.photo-gallery figure {
  margin: 0;
}

.photo-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.12);
}

.photo-gallery figcaption {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.4rem;
}

/* Photos that must never be cropped (the platoon panorama, the 4th Recon
   insignia): show the whole frame instead of the gallery's cover crop. */
.photo-gallery figure.full-span {
  grid-column: 1 / -1;
}

.photo-gallery figure.full-span img,
.photo-gallery figure.full img {
  height: auto;
  object-fit: contain;
}

/* Gallery crops anchored to where the subject actually is, so the
   center crop can't take a head or a face out of the frame. */
.photo-gallery img.pos-top {
  object-position: center top;
}

.photo-gallery img.pos-left {
  object-position: left center;
}

/* Shadow box — Marine Corps decorations */
.shadow-box {
  background: #0a1e33;
  border: 14px solid #4a2f1d;
  outline: 3px solid #A67C2E;
  border-radius: 4px;
  padding: 2rem 1.5rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.55), 0 4px 18px rgba(0,0,0,0.25);
}
.shadow-box-nameplate {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  color: #0a1e33;
  background: linear-gradient(180deg, #d4b96a, #A67C2E);
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  letter-spacing: 1px;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.shadow-box-ribbons {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.ribbon-group { display: flex; flex-direction: column; align-items: center; }
.ribbon-bar {
  width: 132px;
  height: 36px;
  border: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 2px 5px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
  position: relative;
  border-radius: 1px;
}
/* Navy & Marine Corps Commendation Medal: myrtle green, white stripes inset from edges */
.ribbon-navcomm {
  background: linear-gradient(90deg,
    #0d5c2e 0%, #0d5c2e 9%,
    #ffffff 9%, #ffffff 22.6%,
    #0d5c2e 22.6%, #0d5c2e 77.4%,
    #ffffff 77.4%, #ffffff 91%,
    #0d5c2e 91%, #0d5c2e 100%);
}
/* Navy & Marine Corps Achievement Medal: myrtle green, orange stripes inset from edges */
.ribbon-navach {
  background: linear-gradient(90deg,
    #0d5c2e 0%, #0d5c2e 14%,
    #cc5500 14%, #cc5500 27.6%,
    #0d5c2e 27.6%, #0d5c2e 72.4%,
    #cc5500 72.4%, #cc5500 86%,
    #0d5c2e 86%, #0d5c2e 100%);
}
/* Combat Action Ribbon: asymmetric — navy blue toward wearer's center, scarlet at opposite edge, red/white/blue pinstripes at center */
.ribbon-car {
  background: linear-gradient(90deg,
    #1a2a6c 0%, #1a2a6c 23%,
    #d4af37 23%, #d4af37 45.5%,
    #CE1126 45.5%, #CE1126 48.5%,
    #ffffff 48.5%, #ffffff 51.5%,
    #1a2a6c 51.5%, #1a2a6c 54.5%,
    #d4af37 54.5%, #d4af37 77%,
    #CE1126 77%, #CE1126 100%);
}
/* Presidential Unit Citation (Navy/Marine Corps): horizontal thirds — navy blue, golden yellow, scarlet */
.ribbon-puc {
  background: linear-gradient(180deg,
    #1a2a6c 0%, #1a2a6c 33.3%,
    #d4af37 33.3%, #d4af37 66.6%,
    #CE1126 66.6%, #CE1126 100%);
}
/* National Defense Service Medal: scarlet with gold center and white/blue/white/scarlet pinstripes */
.ribbon-ndsm {
  background: linear-gradient(90deg,
    #CE1126 0%, #CE1126 31.6%,
    #ffffff 31.6%, #ffffff 33.8%,
    #1a2a6c 33.8%, #1a2a6c 36%,
    #ffffff 36%, #ffffff 38.2%,
    #CE1126 38.2%, #CE1126 40.4%,
    #d4af37 40.4%, #d4af37 58.5%,
    #CE1126 58.5%, #CE1126 60.7%,
    #ffffff 60.7%, #ffffff 62.9%,
    #1a2a6c 62.9%, #1a2a6c 65.1%,
    #ffffff 65.1%, #ffffff 67.3%,
    #CE1126 67.3%, #CE1126 100%);
}
/* Armed Forces Reserve Medal: gold field with light blue pinstripes and center stripe */
.ribbon-afrm {
  background: linear-gradient(90deg,
    #87ceeb 0%, #87ceeb 4.5%,
    #d4af37 4.5%, #d4af37 6.7%,
    #87ceeb 6.7%, #87ceeb 11.2%,
    #d4af37 11.2%, #d4af37 13.4%,
    #87ceeb 13.4%, #87ceeb 17.9%,
    #d4af37 17.9%, #d4af37 44.9%,
    #87ceeb 44.9%, #87ceeb 53.9%,
    #d4af37 53.9%, #d4af37 80.9%,
    #87ceeb 80.9%, #87ceeb 85.4%,
    #d4af37 85.4%, #d4af37 87.6%,
    #87ceeb 87.6%, #87ceeb 92.1%,
    #d4af37 92.1%, #d4af37 94.3%,
    #87ceeb 94.3%, #87ceeb 100%);
}
/* Sea Service Deployment Ribbon: dark navy, scarlet, old gold, teal, light teal center */
.ribbon-ssdr {
  background: linear-gradient(90deg,
    #1a2a6c 0%, #1a2a6c 11%,
    #CE1126 11%, #CE1126 22%,
    #b8860b 22%, #b8860b 33%,
    #2a9d8f 33%, #2a9d8f 40%,
    #5bc8c0 40%, #5bc8c0 58%,
    #2a9d8f 58%, #2a9d8f 65%,
    #b8860b 65%, #b8860b 76%,
    #CE1126 76%, #CE1126 87%,
    #1a2a6c 87%, #1a2a6c 100%);
}
/* Navy Unit Commendation: green center, blue/gold/red edge stripes */
.ribbon-nuc {
  background: linear-gradient(90deg,
    #1a2a6c 0%, #1a2a6c 8%,
    #d4af37 8%, #d4af37 16%,
    #CE1126 16%, #CE1126 24%,
    #0d5c2e 24%, #0d5c2e 76%,
    #CE1126 76%, #CE1126 84%,
    #d4af37 84%, #d4af37 92%,
    #1a2a6c 92%, #1a2a6c 100%);
}
/* Armed Forces Expeditionary Medal: green edges, gold/brown/black bands, light blue field, blue/white/scarlet center pinstripes */
.ribbon-afem {
  background: linear-gradient(90deg,
    #2e7d32 0%, #2e7d32 6.8%,
    #d4af37 6.8%, #d4af37 13.6%,
    #8b5a2b 13.6%, #8b5a2b 20.5%,
    #1a1a1a 20.5%, #1a1a1a 27.3%,
    #7ec8e3 27.3%, #7ec8e3 43.2%,
    #1a2a6c 43.2%, #1a2a6c 47.7%,
    #ffffff 47.7%, #ffffff 52.3%,
    #CE1126 52.3%, #CE1126 56.8%,
    #7ec8e3 56.8%, #7ec8e3 72.7%,
    #1a1a1a 72.7%, #1a1a1a 79.5%,
    #8b5a2b 79.5%, #8b5a2b 86.4%,
    #d4af37 86.4%, #d4af37 93.2%,
    #2e7d32 93.2%, #2e7d32 100%);
}
/* GWOT Expeditionary Medal: light blue field, scarlet center, gold and dark blue/white pinstripes */
.ribbon-gwote {
  background: linear-gradient(90deg,
    #87ceeb 0%, #87ceeb 11%,
    #1a2a6c 11%, #1a2a6c 18%,
    #ffffff 18%, #ffffff 22.5%,
    #1a2a6c 22.5%, #1a2a6c 29.5%,
    #87ceeb 29.5%, #87ceeb 34%,
    #d4af37 34%, #d4af37 38.5%,
    #87ceeb 38.5%, #87ceeb 43%,
    #CE1126 43%, #CE1126 56%,
    #87ceeb 56%, #87ceeb 60.5%,
    #d4af37 60.5%, #d4af37 65%,
    #87ceeb 65%, #87ceeb 69.5%,
    #1a2a6c 69.5%, #1a2a6c 76.5%,
    #ffffff 76.5%, #ffffff 81%,
    #1a2a6c 81%, #1a2a6c 88%,
    #87ceeb 88%, #87ceeb 100%);
}
/* GWOT Service Medal: dark blue field with gold, scarlet, white, dark blue center stripes */
.ribbon-gwots {
  background: linear-gradient(90deg,
    #1a2a6c 0%, #1a2a6c 11%,
    #d4af37 11%, #d4af37 20%,
    #CE1126 20%, #CE1126 29%,
    #1a2a6c 29%, #1a2a6c 33.5%,
    #ffffff 33.5%, #ffffff 38%,
    #1a2a6c 38%, #1a2a6c 60%,
    #ffffff 60%, #ffffff 64.5%,
    #1a2a6c 64.5%, #1a2a6c 69%,
    #CE1126 69%, #CE1126 78%,
    #d4af37 78%, #d4af37 87%,
    #1a2a6c 87%, #1a2a6c 100%);
}
.ribbon-img {
  width: 132px;
  height: auto;
  border: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  border-radius: 1px;
  display: block;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-headshot {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  flex-shrink: 0;
}

.hero-text {
  text-align: left;
}

@media (max-width: 640px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    text-align: center;
  }
}

.offduty-photos {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.offduty-photo {
  flex: 1;
  min-width: 200px;
  text-decoration: none;
  text-align: center;
}

.offduty-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

.offduty-photo:hover img {
  transform: scale(1.03);
}

.offduty-photo span {
  display: block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--gold);
  font-size: 1.1rem;
}

.career-strip {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  text-align: center;
}

.career-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.career-item span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--cream);
}

.video-gallery {
  margin: 1.5rem 0;
}

.video-gallery video {
  width: 100%;
  max-width: 640px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.travel-entry {
  position: relative;
  padding-right: 160px;
}

.travel-logo {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .travel-entry {
    padding-right: 0;
  }
  .travel-logo {
    position: static;
    display: block;
    margin-bottom: 1rem;
  }
}

.travel-hero {
  width: 100%;
  max-width: 640px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.travel-links {
  margin-top: 1rem;
}

.travel-links a {
  color: var(--gold);
  font-weight: 600;
}

.photo-more {
  margin: 1rem 0;
}

.photo-more summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 600;
}

.photo-more summary:hover {
  text-decoration: underline;
}

.business-entry {
  position: relative;
  padding-right: 160px;
}

.business-logo {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .business-entry {
    padding-right: 0;
  }
  .business-logo {
    position: static;
    display: block;
    margin-bottom: 1rem;
  }
}

.travel-entry, .business-entry {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.travel-entry:last-child, .business-entry:last-child {
  border-bottom: none;
}

.travel-meta, .business-role {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.contact-photo {
  text-align: center;
  margin: 1.5rem 0 2rem;
}

.contact-photo img {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.star-device {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  font-size: 1rem;
  color: #8b6f1f;
  text-shadow: 0 1px 1px rgba(255,255,255,0.7);
}
.v-device {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 1.3rem;
  color: #d4af37;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}
.m-device {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 1.1rem;
  color: #1a1a1a;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}
.shadow-box-badges {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212,185,106,0.3);
}
.badge-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.badge {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e8c96a, #A67C2E 70%);
  border: 3px solid #d4b96a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5), inset 0 1px 3px rgba(255,255,255,0.4);
}
.badge span {
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 0.65rem;
  color: #0a1e33;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.3;
}
.badge-wings {
  border-radius: 10px;
  width: 150px;
  height: 64px;
  background: linear-gradient(180deg, #e8c96a, #A67C2E);
}
.badge-img {
  width: 110px;
  height: auto;
  margin-bottom: 0.75rem;
  display: block;
}

.badge-top .badge-img {
  width: 260px;
}

.badge-group {
  text-align: center;
  max-width: 140px;
}

.badge-top {
  max-width: 300px;
}

.badge-top {
  margin-bottom: 1rem;
}

.badge-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.ribbon-label {
  margin-top: 0.6rem;
  color: #d4b96a;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 150px;
}
@media (max-width: 640px) {
  .shadow-box-ribbons { gap: 1.5rem; }
  .ribbon-bar { width: 110px; height: 32px; }
}

/* ---------- Current roles strip (home) ---------- */

.roles-strip {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  text-align: center;
  margin: 1.5rem 0 0.5rem;
}

.roles-strip a {
  text-decoration: none;
}

.roles-strip img {
  height: 56px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.5rem;
}

.roles-strip span {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* ---------- In-page jump links / back to top ---------- */

.page-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: baseline;
  font-size: 0.95rem;
  margin: -0.75rem 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.page-toc .toc-label {
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.page-toc a {
  color: var(--navy-light);
  text-decoration: none;
}

.page-toc a:hover { text-decoration: underline; }

.page-toc .toc-sep { color: var(--gold); }

.back-to-top {
  text-align: right;
  font-size: 0.95rem;
  margin: 2rem 0 0;
}

.back-to-top a {
  color: var(--navy-light);
  text-decoration: none;
  font-weight: 600;
}

.back-to-top a:hover { text-decoration: underline; }

article[id], section[id], h2[id] { scroll-margin-top: 1.5rem; }

/* ---------- Writing: published-in line + share row ---------- */

.pub-line {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0;
}

.share-row {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--muted);
}

.share-row a {
  color: var(--navy-light);
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.9rem;
}

.share-row a:first-of-type { margin-left: 0.6rem; }

.share-row a:hover { text-decoration: underline; }
