/* VenueWorks — Website Styles
   Brand tokens from /assets/css/tokens.css (single source of truth)
*/

:root {
  --navy: #0C1E2C;
  --navy-dark: #243345;
  --slate: #4E6578;
  --stone: #CCDEDE;
  --steel: #1F4E80;
  --blue-lt: #2A6FAD;
  --blue-dk: #4A90C8;
  --ice: #EAF4FA;
  --white: #FFFFFF;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "DM Sans", Calibri, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--blue-lt); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Eyebrow labels ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: 12px;
}

.eyebrow--light { color: var(--blue-dk); }

/* ── Section headings ───────────────────────────────────────── */
.section-heading {
  font-family: var(--display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}

.section-heading--light { color: var(--white); }

.section-rule {
  width: 100%;
  height: 1.5px;
  background: var(--steel);
  margin-bottom: 48px;
  border: none;
}

.section-rule--light { background: var(--blue-dk); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--steel);
  color: var(--white);
  border-color: var(--steel);
}

.btn--primary:hover {
  background: var(--blue-lt);
  border-color: var(--blue-lt);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--outline-dark {
  background: transparent;
  color: var(--steel);
  border-color: var(--steel);
}

.btn--outline-dark:hover {
  background: var(--steel);
  color: var(--white);
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header--transparent { background: transparent; }

.site-header--solid {
  background: var(--white);
  box-shadow: 0 1px 0 var(--stone);
}

.wordmark {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
}

.wordmark .v {
  font-style: italic;
  font-weight: 500;
}

.wordmark .w {
  font-style: normal;
  font-weight: 700;
}

.wordmark--light .v { color: var(--white); }
.wordmark--light .w { color: var(--white); }

.wordmark--dark .v { color: var(--navy); }
.wordmark--dark .w { color: var(--steel); }

.nav { display: flex; align-items: center; gap: 32px; }

.nav a {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav a:hover { color: var(--blue-dk); }

.site-header--solid .nav a { color: var(--navy); }
.site-header--solid .nav a:hover { color: var(--steel); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  transition: all 0.3s;
}

.site-header--transparent .nav-toggle span { background: var(--white); }
.site-header--solid .nav-toggle span { background: var(--navy); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero__content {
  max-width: 780px;
}

.hero__headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero__sub {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero__rule {
  width: 48px;
  height: 1.5px;
  background: var(--steel);
  margin-bottom: 32px;
}

/* ── Services ───────────────────────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--stone);
  margin-top: 0;
}

.service-card {
  background: var(--white);
  padding: 40px 36px;
  border-top: 2px solid var(--blue-lt);
}

.service-card__num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-lt);
  margin-bottom: 16px;
}

.service-card__title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 20px;
}

.service-card__proof {
  font-family: var(--body);
  font-size: 12px;
  font-style: italic;
  color: var(--steel);
  padding-top: 16px;
  border-top: 1px solid var(--stone);
}

/* ── Projects ───────────────────────────────────────────────── */
.projects {
  padding: 100px 0;
  background: var(--ice);
}

.project-card {
  background: var(--white);
  margin-bottom: 32px;
  border-left: 3px solid var(--steel);
}

.project-card__header {
  background: var(--navy);
  padding: 28px 36px;
}

.project-card__title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 4px;
}

.project-card__type {
  font-family: var(--body);
  font-size: 13px;
  color: var(--blue-dk);
  font-style: italic;
}

.project-card__stats {
  display: flex;
  border-bottom: 1px solid var(--stone);
}

.project-stat {
  flex: 1;
  padding: 20px 36px;
  text-align: center;
  border-top: 2px solid var(--blue-lt);
}

.project-stat + .project-stat {
  border-left: 1px solid var(--stone);
}

.project-stat__value {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.project-stat__label {
  font-size: 12px;
  color: var(--steel);
}

.project-card__body {
  padding: 32px 36px;
}

.project-section {
  margin-bottom: 24px;
}

.project-section:last-child { margin-bottom: 0; }

.project-section__label {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: 8px;
}

.project-section__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--navy);
}

.project-outcomes {
  list-style: none;
  padding: 0;
}

.project-outcomes li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--navy);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.project-outcomes li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--steel);
}

.project-card__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ── About ──────────────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about__quote {
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
  border-left: 2.5px solid var(--steel);
  padding-left: 20px;
  margin-bottom: 32px;
}

.about__bio {
  font-size: 15px;
  line-height: 1.75;
  color: var(--navy);
}

.about__bio p { margin-bottom: 16px; }
.about__bio p:last-child { margin-bottom: 0; }

.about__name {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.about__role {
  font-size: 14px;
  color: var(--steel);
  margin-bottom: 32px;
}

.credentials-heading {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  margin-top: 48px;
}

.credentials {
  list-style: none;
  padding: 0;
}

.credentials li {
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid var(--stone);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

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

.credential-name { color: var(--navy); }
.credential-detail { color: var(--steel); font-style: italic; text-align: right; white-space: nowrap; }

.about__photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--ice);
  border-left: 3px solid var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__photo-placeholder {
  font-family: var(--body);
  font-size: 13px;
  color: var(--slate);
  text-align: center;
  padding: 32px;
}

/* ── Articles ───────────────────────────────────────────────── */
.articles {
  padding: 100px 0;
  background: var(--ice);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone);
}

.article-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.article-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--navy);
}

.article-card__body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__date {
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 8px;
}

.article-card__title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.article-card__intro {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 20px;
  flex: 1;
}

.article-card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  letter-spacing: 0.04em;
}

.article-card__link:hover { color: var(--blue-lt); }

.articles-empty {
  text-align: center;
  padding: 60px 32px;
  background: var(--white);
}

.articles-empty p {
  font-size: 15px;
  color: var(--slate);
  font-style: italic;
}

/* ── Clubernance ────────────────────────────────────────────── */
.clubernance {
  padding: 80px 0;
  background: var(--navy);
}

.clubernance__inner {
  max-width: 640px;
}

.clubernance__heading {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.clubernance__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 32px;
}

/* ── Contact ────────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--stone);
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-status {
  font-size: 14px;
  margin-top: 16px;
}

.form-status--success { color: #2E7D52; }
.form-status--error { color: #9A2828; }

.contact-info {
  padding-top: 8px;
}

.contact-info__item {
  margin-bottom: 28px;
}

.contact-info__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-info__value {
  font-size: 16px;
  color: var(--navy);
}

.contact-info__value a {
  color: var(--navy);
  border-bottom: 1px solid var(--stone);
}

.contact-info__value a:hover {
  color: var(--steel);
  border-color: var(--steel);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 48px 0 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--navy-dark);
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  font-size: 13px;
  color: var(--slate);
}

.footer__links a:hover { color: var(--white); }

.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 12px;
  color: var(--slate);
}

.footer__contact {
  font-size: 12px;
  color: var(--slate);
}

.footer__contact a { color: var(--slate); }
.footer__contact a:hover { color: var(--white); }

/* ── Article Detail Page ────────────────────────────────────── */
.article-page {
  padding: 120px 0 80px;
  background: var(--white);
}

.article-page__header {
  max-width: 760px;
  margin: 0 auto 48px;
}

.article-page__date {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 12px;
}

.article-page__title {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 16px;
}

.article-page__intro {
  font-size: 18px;
  line-height: 1.65;
  color: var(--slate);
}

.article-page__rule {
  max-width: 760px;
  margin: 0 auto 48px;
  height: 1.5px;
  background: var(--steel);
  border: none;
}

.article-page__image {
  max-width: 960px;
  margin: 0 auto 48px;
}

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

.article-page__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--navy);
}

.article-page__body h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  margin: 40px 0 16px;
}

.article-page__body h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 12px;
}

.article-page__body p { margin-bottom: 20px; }

.article-page__body blockquote {
  font-family: var(--display);
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
  border-left: 2.5px solid var(--steel);
  padding-left: 20px;
  margin: 32px 0;
}

.article-page__body ul,
.article-page__body ol {
  margin: 0 0 20px 24px;
}

.article-page__body li { margin-bottom: 8px; }

.article-page__share {
  max-width: 760px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--stone);
  display: flex;
  align-items: center;
  gap: 16px;
}

.article-page__share-label {
  font-size: 13px;
  color: var(--slate);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  padding: 8px 16px;
  border: 1px solid var(--stone);
  transition: border-color 0.2s, color 0.2s;
}

.share-btn:hover {
  border-color: var(--steel);
  color: var(--blue-lt);
}

.article-page__cta {
  max-width: 760px;
  margin: 64px auto 0;
  padding: 40px;
  background: var(--ice);
  border-left: 3px solid var(--steel);
}

.article-page__cta-heading {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.article-page__cta-text {
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 20px;
}

/* ── Mobile nav overlay ─────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.mobile-nav a:hover { color: var(--blue-dk); }

.mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 40px; }
  .contact-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .site-header { padding: 0 20px; }

  .nav { display: none; }
  .nav-toggle { display: block; }

  .hero { min-height: 85vh; padding: 100px 0 60px; }
  .hero__headline { font-size: 40px; }
  .hero__sub { font-size: 16px; }

  .section-heading { font-size: 32px; }

  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 0; background: var(--white); }
  .service-card { border-bottom: 1px solid var(--stone); }
  .service-card:last-child { border-bottom: none; }

  .projects { padding: 64px 0; }
  .project-card__header { padding: 20px 24px; }
  .project-card__title { font-size: 22px; }
  .project-card__stats { flex-direction: column; }
  .project-stat { border-top: 2px solid var(--blue-lt); }
  .project-stat + .project-stat { border-left: none; border-top: 2px solid var(--blue-lt); }
  .project-card__body { padding: 24px; }

  .about { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 400px; }
  .about__name { font-size: 28px; }

  .articles { padding: 64px 0; }
  .articles-grid { grid-template-columns: 1fr; }

  .clubernance { padding: 60px 0; }

  .contact { padding: 64px 0; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer__top { flex-direction: column; gap: 24px; }
  .footer__links { flex-wrap: wrap; gap: 16px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .article-page { padding: 100px 0 60px; }
  .article-page__title { font-size: 32px; }

  .credentials li { flex-direction: column; gap: 2px; }
  .credential-detail { text-align: left; }

  .section-rule { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: 32px; }
  .section-heading { font-size: 28px; }
  .service-card { padding: 28px 20px; }
  .project-card__header { padding: 16px 20px; }
  .project-stat { padding: 16px 20px; }
  .project-card__body { padding: 20px; }
  .article-page__title { font-size: 28px; }
}
