/* CLC Consulting Solutions — shared stylesheet
   Michael Cahalane personal capability site
*/

:root {
  --green: #269a66;
  --green-deep: #1d7a4f;
  --green-bright: #34c182;
  --green-soft: #e8f3ec;
  --ink: #1a1f1c;
  --ink-soft: #4a514c;
  --ink-quiet: #6b7269;
  --paper: #f3efe6;
  --paper-warm: #fbfaf6;
  --line: #d9d4c7;
  --line-soft: #ebe6d8;
  --dark: #4a4a4a;
  --dark-deeper: #3a3a3a;
  --dark-line: #666666;
  --paper-on-dark: #f3efe6;
  --paper-on-dark-soft: #b8b3a3;
  --max: 1080px;
  --max-narrow: 760px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover { border-bottom-color: var(--green-deep); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.wrap-narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================================
   HEADER (sticky)
   ========================================================= */
header.site {
  padding: 22px 0 0;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-deeper);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  border: none;
}

.brand:hover { border: none; }

.brand img {
  height: 54px;
  width: auto;
  display: block;
}

nav.primary ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav.primary a {
  font-size: 15px;
  font-weight: 500;
  color: var(--paper-on-dark-soft);
  border-bottom: none;
  letter-spacing: 0.01em;
  padding-bottom: 4px;
  position: relative;
}

nav.primary a:hover {
  color: var(--green-bright);
  border-bottom: none;
}

nav.primary a.current {
  color: var(--paper-on-dark);
}

nav.primary a.current::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 2px;
  background: var(--green-bright);
}

/* =========================================================
   DISPLAY TITLES — Cinzel
   ========================================================= */
.hero h1,
.section-title,
.summary-card h3,
.capability h2,
.about-block h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 88px 0 64px;
  position: relative;
}

.hero .eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.15;
  margin-bottom: 26px;
  max-width: 20ch;
}

.hero h1.wide { max-width: 26ch; }

.hero h1.statement {
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.3;
  max-width: 32ch;
  letter-spacing: 0.015em;
  font-weight: 400;
}

.hero p.lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 640px;
  font-weight: 400;
}

/* =========================================================
   HOME PAGE BRAND MARK (large logo + tagline)
   ========================================================= */
.brand-mark {
  margin-bottom: 48px;
}

.brand-mark-img {
  height: 88px;
  width: auto;
  max-width: 100%;
  display: block;
  margin-bottom: 16px;
}

.brand-tagline {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green-deep);
}

/* =========================================================
   HOME PAGE VIDEO HERO BAND
   ========================================================= */
.hero-brand-only {
  padding: 44px 0 28px;
}

.hero-video {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  padding: 80px 0;
  background: var(--dark);
  border-top: 1px solid var(--dark-deeper);
  border-bottom: 1px solid var(--dark-deeper);
  display: flex;
  align-items: center;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: 0;
}

.hero-video .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(30,30,30,0.55) 0%, rgba(30,30,30,0.72) 100%);
  z-index: 1;
}

.eyebrow-on-video {
  color: var(--green-bright) !important;
}

.hero-video-headline {
  color: var(--paper-on-dark) !important;
}

.lede-on-video {
  color: #d6d0c0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
  }
  .hero-video {
    background: var(--dark) url("boston-aerial-poster.jpg") center/cover no-repeat;
  }
}

/* =========================================================
   AVAILABILITY BANNER
   ========================================================= */
.availability {
  background: var(--green-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
}

.availability-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.availability .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: white;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(38, 154, 102, 0.2);
}

.availability .badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
  display: block;
}

.availability p {
  font-size: 16px;
  color: var(--ink);
  flex: 1;
  min-width: 240px;
}

.availability p strong { font-weight: 600; color: var(--ink); }

/* =========================================================
   SECTIONS
   ========================================================= */
section { padding: 80px 0; }

section + section { border-top: 1px solid var(--line); }

.section-header { margin-bottom: 48px; }

.section-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.2;
  max-width: 24ch;
}

.section-intro {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin-top: 20px;
}

.prose p {
  margin-bottom: 22px;
  color: var(--ink);
}

.prose p:last-child { margin-bottom: 0; }

/* =========================================================
   HOME: SUMMARY CARDS
   ========================================================= */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.summary-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.summary-card:hover { border-color: var(--green); }

.summary-card .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  color: var(--green-deep);
  font-feature-settings: "tnum";
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.summary-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  line-height: 1.25;
}

.summary-card p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* =========================================================
   CAPABILITIES: DETAIL BLOCKS
   ========================================================= */
.capability {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
}

.capability:first-of-type { padding-top: 0; }
.capability:last-of-type { border-bottom: none; padding-bottom: 0; }

.capability .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  color: var(--green-deep);
  font-feature-settings: "tnum";
  font-weight: 500;
  letter-spacing: 0.04em;
}

.capability h2 {
  font-size: 23px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.capability .intro {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 620px;
}

.capability ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  max-width: 720px;
}

.capability li {
  position: relative;
  padding-left: 18px;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.5;
}

.capability li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--green);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-block h3 {
  font-size: 18px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.about-block ul { list-style: none; }

.about-block li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 18px;
  color: var(--ink);
  line-height: 1.45;
}

.about-block li:last-child { border-bottom: none; }

.about-block .meta {
  display: block;
  font-size: 15px;
  color: var(--ink-quiet);
  margin-top: 3px;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  max-width: 720px;
}

.contact-item .label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.contact-item .value {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.5;
}

.contact-item a { font-weight: 500; }

/* =========================================================
   LINKEDIN ICON
   ========================================================= */
.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  border: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.linkedin-icon:hover {
  color: var(--green);
  border: none;
  transform: translateY(-1px);
}

.linkedin-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.linkedin-icon.size-large {
  width: 36px;
  height: 36px;
}

.linkedin-icon.size-small {
  width: 24px;
  height: 24px;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer.site {
  padding: 44px 0 56px;
  border-top: 1px solid var(--dark-deeper);
  background: var(--dark);
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-block h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-on-dark);
  margin-bottom: 12px;
}

.footer-block p,
.footer-block a {
  font-size: 15px;
  color: var(--paper-on-dark-soft);
  line-height: 1.6;
  display: block;
}

.footer-block a { font-weight: 500; }
.footer-block a:hover { color: var(--green-bright); border-bottom-color: var(--green-bright); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  font-size: 13px;
  color: var(--paper-on-dark-soft);
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 760px) {
  body { font-size: 17px; }

  .wrap, .wrap-narrow { padding: 0 22px; }

  header.site { padding-top: 16px; }
  .header-inner { padding-bottom: 14px; gap: 14px; }

  .brand img { height: 44px; }

  nav.primary ul { gap: 20px; }
  nav.primary a { font-size: 14px; }
  nav.primary a.current::after { bottom: -15px; }

  .hero { padding: 56px 0 44px; }
  .hero h1 { letter-spacing: 0.015em; }

  .brand-mark { margin-bottom: 28px; }
  .brand-mark-img { height: 60px; margin-bottom: 12px; }
  .brand-tagline { font-size: 12px; letter-spacing: 0.24em; }

  .hero-brand-only { padding: 32px 0 20px; }
  .hero-video { min-height: 56vh; padding: 56px 0; }

  .availability-inner { gap: 14px; }
  .availability p { font-size: 15px; }

  section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .section-intro { font-size: 17px; }

  .summary-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .summary-card { padding: 24px; }
  .summary-card h3 { font-size: 19px; }

  .capability {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 32px 0;
  }

  .capability h2 { font-size: 21px; }

  .capability ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .capability li { font-size: 16px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-block li { font-size: 17px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  footer.site { margin-top: 56px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 24px;
  }
}
