/* ============================================================
   Pillar Leadership — pillarleadership.co
   Static rebuild of the original Wix design (ui-improvements).
   Palette: ink #303030 · bronze #9F8F6D · mist #F0F0F0
   Type: Mulish variable (self-hosted) — Avenir substitute
   ============================================================ */

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-var-italic.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #303030;
  --ink-soft: #4a4a4a;
  --bronze: #9f8f6d;
  --bronze-dark: #857656;
  --gold: #c9a972;
  --navy: #2c3849;
  --paper: #ffffff;
  --mist: #f0f0f0;
  --silver: rgba(192, 192, 192, 0.55);
  --cream: #fcfce4;
  --font: "Mulish", "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  --measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

[hidden] { display: none !important; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--bronze-dark);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.375rem); font-weight: 300; }
h3 { font-size: 1.35rem; }

.container {
  width: min(1060px, 92vw);
  margin-inline: auto;
}

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ---------- header ---------- */

.masthead {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.masthead .brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.masthead .brand img { width: 64px; height: auto; }

.wordmark {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--ink);
}

.wordmark-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  margin-bottom: 2px;
}

.masthead .socials { margin-left: auto; }

.socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.socials a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transition: background 0.2s ease;
}

.socials a:hover { background: var(--bronze-dark); }

.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- sticky nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e3e3e3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--ink);
  padding: 14px 0 11px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--bronze);
  color: #000;
}

.site-nav .nav-cta { margin-left: auto; }

.site-nav .nav-cta a {
  background: var(--bronze);
  color: #000;
  padding: 9px 20px;
  border-bottom: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav .nav-cta a:hover,
.site-nav .nav-cta a[aria-current="page"] {
  background: var(--bronze-dark);
  color: #fff;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  padding: 12px 0;
  cursor: pointer;
  color: var(--ink);
  user-select: none;
}

.nav-toggle-btn svg { fill: currentColor; }

.nav-toggle-btn .icon-close { display: none; }

@media (max-width: 820px) {
  .masthead { padding: 10px 0; }
  .masthead .brand img { width: 48px; }
  .wordmark { font-size: 1.2rem; }
  .nav-toggle-btn { display: inline-flex; }
  .site-nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 12px;
  }
  .site-nav ul li { border-top: 1px solid #ececec; }
  .site-nav ul a { display: block; padding: 12px 4px; border-bottom: none; }
  .site-nav .nav-cta { margin-left: 0; }
  .site-nav .nav-cta a { display: inline-block; margin-top: 8px; }
  .nav-toggle:checked ~ ul { display: flex; }
  .nav-toggle:checked ~ .nav-toggle-btn .icon-menu { display: none; }
  .nav-toggle:checked ~ .nav-toggle-btn .icon-close { display: inline; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
    #c0c0c0 url("../img/hero-1920.webp") center / cover no-repeat;
  padding: 90px 0;
}

@media (max-width: 1280px) {
  .hero {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
      url("../img/hero-1280.webp");
  }
}

@media (max-width: 800px) {
  .hero {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
      url("../img/hero-800.webp");
  }
}

.hero-inner { max-width: 720px; padding-inline: 20px; }

.hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 3.5rem);
  margin-bottom: 0.4em;
}

.hero p {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  margin: 0 auto 2em;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--bronze);
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 12px 30px;
  border: 2px solid var(--bronze);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); color: #fff; }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- sections ---------- */

.section { padding: 72px 0; }
.section--mist { background: var(--mist); }
.section--silver { background: var(--silver); }
.section--center { text-align: center; }

.section-title { margin-bottom: 1.2em; }

.kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  margin-bottom: 1.4em;
}

.section-more { margin-top: 40px; }

/* two-column feature (about page, home about blurb) */

.split {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 54px;
  align-items: start;
}

.split .portrait img { width: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split .portrait { max-width: 380px; }
}

/* pillar-photo band (mission section) */

.band {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    url("../img/hero-1280.webp") center / cover no-repeat;
  padding: 84px 0;
  text-align: center;
}

.band .container { max-width: 760px; }

/* ---------- trusted logos ---------- */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.logo-tile {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
}

.logo-tile img {
  max-height: 78px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ---------- services ---------- */

.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
  margin-top: 44px;
  text-align: left;
}

.option .num {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--bronze);
  line-height: 1;
}

.option h3 { margin: 10px 0 8px; font-size: 1.5rem; }

.option p { margin: 0; font-size: 1.08rem; font-weight: 400; }

/* ---------- guides (better men) ---------- */

.guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  gap: 44px;
  justify-content: center;
  margin-top: 44px;
}

.guide img { width: 100%; aspect-ratio: 1 / 0.97; object-fit: cover; }

.guide h3 { margin: 18px 0 4px; }

.guide p { margin: 0; font-size: 0.95rem; }

.benefits {
  list-style: none;
  padding: 0;
  margin: 36px auto 0;
  max-width: 560px;
  text-align: left;
  font-size: 1.05rem;
}

.benefits li { padding: 7px 0; }

.quote {
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 300;
  max-width: 34ch;
  margin: 0 auto 1.6em;
}

.quote cite { display: block; font-style: normal; font-size: 0.9rem; margin-top: 1em; letter-spacing: 0.06em; }

/* ---------- video embed ---------- */

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 860px;
  margin: 0 auto 26px;
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- contact ---------- */

.contact-address {
  margin: 18px 0 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-address a { color: var(--bronze-dark); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--mist);
  padding: 56px 0 36px;
  text-align: center;
}

.site-footer h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.3em; }

.subscribe-note {
  margin: 0 0 22px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.subscribe-embed {
  display: flex;
  justify-content: center;
  margin: 0 0 10px;
}

.subscribe-embed iframe {
  border: 1px solid #e3e3e3;
  background: #fff;
  width: min(480px, 88vw);
  height: 150px;
}

.subscribe-alt {
  margin: 0 0 34px;
  font-size: 0.9rem;
}

.subscribe-alt a { color: var(--bronze-dark); }

.site-footer .socials { justify-content: center; margin-bottom: 26px; }

.site-footer .fineprint { font-size: 0.85rem; margin: 0; color: var(--ink-soft); }

/* ---------- back to top ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease;
}

.to-top:hover { background: var(--bronze-dark); }

.to-top svg { fill: currentColor; }

/* ---------- blog index ---------- */

.search-box {
  margin: 30px 0 6px;
  max-width: 420px;
}

.search-box input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid #c9c9c9;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a4a4a'%3E%3Cpath d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 1 0-.7.7l.27.28v.79l5 4.99L20.49 19zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
}

.no-results {
  display: none;
  margin: 40px 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 34px;
  margin-top: 40px;
}

.post-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.post-card a.cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }

.post-card a.cover img { width: 100%; height: 100%; object-fit: cover; }

.post-card a.cover.cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card a.cover.cover-placeholder img {
  width: 76px;
  height: auto;
  object-fit: contain;
  opacity: 0.4;
}

.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.post-card h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }

.post-card h3 a { text-decoration: none; }

.post-card h3 a:hover { color: var(--bronze-dark); }

.post-card time { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink-soft); }

.post-card .excerpt { margin: 0; font-size: 0.94rem; color: var(--ink-soft); }

.year-sep {
  margin: 56px 0 0;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.24em;
  color: var(--bronze-dark);
  border-bottom: 2px solid var(--bronze);
  padding-bottom: 6px;
}

/* ---------- article (blog post) ---------- */

.article-header { text-align: center; padding: 56px 0 8px; }

.article-header h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); max-width: 24ch; margin-inline: auto; }

.article-meta { font-size: 0.85rem; letter-spacing: 0.06em; color: var(--ink-soft); }

.article-cover { max-width: 860px; margin: 34px auto 0; }

.article-cover img { width: 100%; height: auto; }

.article {
  max-width: var(--measure);
  margin-inline: auto;
  padding: 44px 20px 30px;
  font-size: 1.08rem;
}

.article p { margin: 0 0 1.35em; }

.article h2, .article h3 { margin-top: 1.8em; font-weight: 800; }

.article h2 { font-size: 1.55rem; }

.article img { margin: 2em auto; }

.article blockquote {
  margin: 2em 0;
  padding: 0.2em 0 0.2em 1.4em;
  border-left: 3px solid var(--bronze);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
}

.article a { color: var(--bronze-dark); }

.article hr { border: none; border-top: 1px solid #ddd; margin: 2.5em 0; }

.back-link {
  display: inline-block;
  margin: 0 0 26px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--bronze-dark);
}

.back-link:hover { color: var(--ink); }

/* share row */

.share-row {
  max-width: var(--measure);
  margin-inline: auto;
  padding: 0 20px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.share-row .share-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.share-row a,
.share-row button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.share-row a:hover,
.share-row button:hover { background: var(--ink); color: #fff; }

.share-row svg { width: 16px; height: 16px; fill: currentColor; }

.copy-feedback {
  font-size: 0.85rem;
  color: var(--bronze-dark);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-feedback.show { opacity: 1; }

/* prev / next */

.post-nav {
  max-width: var(--measure);
  margin: 30px auto 0;
  padding: 26px 20px 64px;
  border-top: 1px solid #e3e3e3;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.post-nav a {
  text-decoration: none;
  max-width: 44%;
}

.post-nav .dir {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--bronze-dark);
  margin-bottom: 4px;
}

.post-nav .post-title {
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.35;
}

.post-nav a:hover .post-title { color: var(--bronze-dark); }

.post-nav .next { margin-left: auto; text-align: right; }

/* ---------- misc ---------- */

.center { text-align: center; }

.lede { font-size: 1.12rem; max-width: var(--measure); margin-inline: auto; }
