:root {
  --color1: #D7D7D9;      /* light gray */
  --color1-dark: #6c6c6d; /* mid gray band */
  --color1-darker: #363636; /* near-black band */
  --color2: #641313;      /* maroon accent */
  --color2-light: #8b4d4d;
  --color2-lighter: #d8c4c4;
  --accent: #179BD7;      /* blue accent */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #000;
  margin: 0 0 0.5em;
}

a { color: var(--color2); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* Header / nav */
#site-header {
  background: #fff;
  border-top: 10px solid var(--color1);
  box-shadow: 0 7px 29px rgba(0, 0, 0, 0.09);
  position: sticky;
  top: 0;
  z-index: 100;
}

#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color2);
}
.logo:hover { text-decoration: none; }

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav a {
  color: var(--color1);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: 0.2s all;
}

nav li.active a,
nav a:hover {
  color: #000;
  border-color: var(--color2);
  text-decoration: none;
}

/* Sections */
section { padding: 70px 0; }

.band-mid { background: #fff; color: rgba(0,0,0,0.7); border-top: 1px solid #eee; }
.band-mid h1, .band-mid h2, .band-mid h3 { color: #000; }

.band-dark { background: #fff; color: rgba(0,0,0,0.7); border-top: 1px solid #eee; }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h5 { color: #000; }

.text-center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  border: 2px solid var(--color1);
  color: #000;
  background: var(--color1);
  cursor: pointer;
}
.btn:hover { background: #c3c3c5; text-decoration: none; }

/* Home hero */
.hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
  align-items: center;
  padding-top: 20px;
}
.hero img { border-radius: 12px; }
.hero .accent { color: var(--color2); }
.hero h1 { font-size: 2.6rem; line-height: 1.15; margin-bottom: 20px; }
.hero .lead { font-size: 1.15rem; color: rgba(0,0,0,0.75); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color2);
  background: var(--color2-lighter);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-media {
  position: relative;
}

.since-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--color2);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transform: rotate(-9deg);
}
.since-badge .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
}
.since-badge .label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 80px;
  margin-top: 4px;
}

.word-cloud span { color: var(--color2-light); }

/* Stat band */
.stat-band {
  background: var(--color1-darker);
  padding: 50px 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: #fff;
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color1);
}

/* Home: welcome pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.pillar-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
}
.pillar-card h3 { color: var(--color2); margin-bottom: 16px; }
.pillar-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pillar-card li { margin: 0; }

.btn-topic {
  display: block;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 10px 16px;
  color: #000;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  transition: 0.2s all;
}
.btn-topic:hover {
  background: var(--color2);
  border-color: var(--color2);
  color: #fff;
  text-decoration: none;
  transform: translateX(3px);
}

/* Testimonial */
.testimonial-row {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
.testimonial-row img { border-radius: 50%; width: 50px; height: 50px; object-fit: cover; }

/* About page */
.about-header {
  background-image: url('/images/zen20slug20sticker.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 90px 0 60px;
}

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

.brand-links-block { margin-top: 40px; }
.brand-links-block h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--color2);
}
.brand-links { list-style: none; padding: 0; margin: 0; }
.brand-links li { margin-bottom: 10px; }
.brand-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.brand-links a:hover { color: var(--color2); text-decoration: none; }
.brand-links img { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }


.portfolio-entry { margin-bottom: 24px; }
.portfolio-entry h4 {
  text-decoration: underline;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.portfolio-employer {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color2);
  margin-top: 40px;
}
.portfolio-role { font-weight: 600; margin-bottom: 20px; }

/* Blog list */
.blog-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}
.blog-item img { width: 160px; height: 120px; object-fit: cover; border-radius: 8px; }
.blog-item .blog-thumb-map { width: 160px; height: 120px; border: 0; border-radius: 8px; }
.blog-item h2 { font-size: 1.3rem; margin-bottom: 6px; }
.blog-item .date { color: #888; font-size: 0.9rem; }

/* Videos */
.video-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.video-item { color: inherit; }
.video-item:hover { text-decoration: none; }
.video-item h2 { font-size: 1.1rem; margin: 14px 0 6px; }
.video-item:hover h2 { color: var(--color2); }
.video-item p { margin: 0; color: rgba(0, 0, 0, 0.65); font-size: 0.92rem; }
.video-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-thumb video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(100, 18, 18, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: 0.2s all;
}
.video-item:hover .video-play { background: var(--color2); transform: translate(-50%, -50%) scale(1.1); }

@media (max-width: 768px) {
  .video-list { grid-template-columns: 1fr; }
}

/* Partners */
.partner-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.partner-item {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}
.partner-item h2 { font-size: 1.3rem; margin-bottom: 12px; }
.partner-item p { color: rgba(0, 0, 0, 0.65); margin-bottom: 20px; }
.partner-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}
.partner-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

@media (max-width: 768px) {
  .partner-list { grid-template-columns: 1fr; }
}

/* Blog post */
.breadcrumb { list-style: none; display: flex; gap: 8px; padding: 0; margin-bottom: 20px; color: #888; font-size: 0.9rem; }
.breadcrumb a { color: #888; }
.post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 30px; }
iframe.post-cover { height: 420px; }
.post-title { text-align: center; max-width: 760px; margin: 0 auto 12px; }
.post-date { text-align: center; color: #888; margin-bottom: 30px; }
.post-body { max-width: 760px; margin: 0 auto; }

.post-highlight {
  margin: 28px 0;
  padding-left: 20px;
  border-left: 3px solid var(--color2);
}
.post-highlight h3 {
  color: var(--color2);
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.post-highlight p { margin: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
}
textarea.form-control { resize: vertical; }
.form-status { margin-bottom: 16px; }
.form-status.success { color: #1a7f37; }
.form-status.error { color: #b3261e; }
.honeypot { position: absolute; left: -9999px; }

/* Footer */
#site-footer {
  background: #fff;
  color: rgba(0, 0, 0, 0.7);
  padding: 50px 0 0;
  border-top: 1px solid #eee;
}
#site-footer .footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}
#site-footer img.footer-logo { height: 40px; margin-bottom: 12px; }
#site-footer h5 { color: #000; font-size: 0.95rem; margin-bottom: 12px; }
#site-footer ul { list-style: none; padding: 0; margin: 0; }
#site-footer a { color: rgba(0, 0, 0, 0.7); }
.footer-bottom {
  border-top: 1px solid #eee;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.social-links { display: flex; gap: 16px; }
.social-links a { font-size: 1.3rem; }

@media (max-width: 768px) {
  .hero, .about-columns, .contact-grid, .pillars, #site-footer .footer-top { grid-template-columns: 1fr; }
  .about-header { padding: 60px 0 40px; }
  .hero h1 { font-size: 2rem; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .since-badge { width: 100px; height: 100px; bottom: -16px; left: 16px; }
  .since-badge .num { font-size: 1.6rem; }
}

[data-aos] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-in { opacity: 1; transform: translateY(0); }
