/* vanmurray.com design system */
/* NOTE: These are SEPARATE tokens from aeolus.agency — do not mix */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --vm-bg: #ffffff;
  --vm-bg-card: #f7f8fa;
  --vm-text: #0f1923;
  --vm-text-muted: rgba(15, 25, 35, 0.55);
  --vm-accent: #2a6496;
  --vm-accent-alt: #1a5276;
  --vm-border: rgba(15, 25, 35, 0.1);
  --vm-font: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--vm-bg);
  color: var(--vm-text);
  font-family: var(--vm-font);
  font-size: 16px;
  line-height: 1.6;
}

/* ─── NAV ─── */
.vm-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vm-border);
  transition: background 0.3s ease;
}
.vm-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
}
.vm-nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.vm-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.vm-nav-links a {
  color: var(--vm-text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.vm-nav-links a:hover { color: var(--vm-accent); }

/* ─── MOBILE NAV ─── */
.vm-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--vm-text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}
.vm-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.vm-mobile-menu.active { display: flex; }
.vm-mobile-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  color: var(--vm-text-muted);
  font-size: 28px;
  cursor: pointer;
}
.vm-mobile-menu a {
  color: var(--vm-text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .vm-nav-links { display: none; }
  .vm-hamburger { display: block; }
  .vm-nav { padding: 16px 20px; }
}

/* ─── PHOTO SECTION ─── */
.vm-photo-section {
  background: #0a0a0a;
  padding: 0;
}

/* ─── HERO ─── */
.vm-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}
.vm-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.vm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.0) 40%,
    rgba(0,0,0,0.6) 75%,
    rgba(0,0,0,0.85) 100%
  );
}
.vm-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.vm-hero-name {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.vm-hero-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 40px;
}
.vm-hero-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.vm-hero-pill {
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  min-width: 160px;
}
.vm-hero-pill:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.vm-hero-pill .vm-pill-label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}
.vm-hero-pill .vm-pill-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
@media (max-width: 768px) {
  .vm-hero-content { padding: 0 24px; }
  .vm-hero { padding-bottom: 48px; }
  .vm-hero-pills { flex-direction: column; }
  .vm-hero-pill { min-width: unset; }
}

/* ─── PILL LABELS (shared) ─── */
.vm-pill-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--vm-text);
  margin-bottom: 4px;
}
.vm-pill-sub {
  font-size: 12px;
  color: var(--vm-text-muted);
  font-weight: 500;
}

/* ─── PHOTO GRID ─── */
.photo-grid {
  columns: 3;
  column-gap: 3px;
  padding: 3px;
  padding-top: 0;
}
@media (max-width: 900px) { .photo-grid { columns: 2; } }
@media (max-width: 480px) { .photo-grid { columns: 1; } }

.photo-item {
  break-inside: avoid;
  margin-bottom: 3px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.photo-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, opacity 0.4s ease;
  opacity: 0;
}
.photo-item img.loaded { opacity: 1; }
.photo-item:hover img { transform: scale(1.03); }
.photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s;
}
.photo-item:hover .photo-caption { opacity: 1; }

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-caption {
  color: var(--vm-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 20px;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  color: var(--vm-text-muted);
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  line-height: 1;
}
.lightbox-close:hover { color: var(--vm-text); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--vm-text-muted);
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 20px;
  transition: color 0.2s;
  line-height: 1;
}
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--vm-text); }

/* ─── PAGE LAYOUT ─── */
.vm-page {
  padding-top: 100px;
  min-height: 100vh;
}
.vm-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 48px;
}
.vm-section-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
}
@media (max-width: 768px) {
  .vm-section, .vm-section-wide { padding: 60px 20px; }
}

/* ─── TYPOGRAPHY ─── */
.vm-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vm-accent);
  margin-bottom: 16px;
  display: block;
}
.vm-h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--vm-text);
  margin-bottom: 20px;
}
.vm-h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--vm-text);
  margin-bottom: 16px;
}
.vm-h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--vm-text);
  margin-bottom: 8px;
}
.vm-body {
  color: var(--vm-text-muted);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.vm-subhead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--vm-text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}
.vm-divider {
  border: none;
  border-top: 1px solid var(--vm-border);
  margin: 48px 0;
}

/* ─── BUTTONS ─── */
.vm-btn {
  display: inline-block;
  padding: 13px 28px;
  background: var(--vm-accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}
.vm-btn:hover { opacity: 0.85; }
.vm-btn-ghost {
  background: transparent;
  color: var(--vm-text);
  border: 1px solid var(--vm-border);
}
.vm-btn-ghost:hover {
  border-color: var(--vm-accent);
  color: var(--vm-accent);
  opacity: 1;
}

/* ─── LINKS ─── */
.vm-link {
  color: var(--vm-accent);
  text-decoration: none;
  font-weight: 600;
}
.vm-link:hover { text-decoration: underline; }

/* ─── ABOUT PAGE ─── */
.about-section {
  margin-bottom: 48px;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* ─── RECOMMEND CARDS ─── */
.recommend-category {
  margin-bottom: 64px;
}
.recommend-category-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vm-accent);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--vm-border);
}
.recommend-card {
  background: var(--vm-bg-card);
  border: 1px solid var(--vm-border);
  border-radius: 6px;
  padding: 28px 32px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.recommend-card:hover { border-color: var(--vm-accent); }
.recommend-product { font-size: 18px; font-weight: 700; color: var(--vm-text); margin-bottom: 6px; }
.recommend-tagline { font-size: 14px; color: var(--vm-text-muted); margin-bottom: 16px; }
.recommend-experience {
  font-size: 14px;
  color: var(--vm-text-muted);
  line-height: 1.75;
  border-left: 2px solid var(--vm-accent);
  padding-left: 16px;
  margin-bottom: 20px;
  font-style: italic;
}

/* ─── DEAL REG MODAL ─── */
.deal-reg-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,25,35,0.6);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.deal-reg-modal.active { display: flex; }
.deal-reg-inner {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
}
.deal-reg-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  font-size: 20px; cursor: pointer;
  color: var(--vm-text-muted);
}
.deal-reg-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--vm-text);
  margin-bottom: 8px;
}

/* ─── CONTACT FORM ─── */
.vm-form { display: flex; flex-direction: column; gap: 16px; }
.vm-input, .vm-textarea {
  background: var(--vm-bg-card);
  border: 1px solid var(--vm-border);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--vm-text);
  font-family: var(--vm-font);
  font-size: 15px;
  width: 100%;
  transition: border-color 0.2s;
}
.vm-input:focus, .vm-textarea:focus {
  outline: none;
  border-color: var(--vm-accent);
}
.vm-textarea { min-height: 140px; resize: vertical; }
::placeholder { color: var(--vm-text-muted); }

/* ─── FOOTER ─── */
.vm-footer {
  padding: 32px 40px;
  border-top: 1px solid var(--vm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--vm-text-muted);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.vm-footer-links { display: flex; gap: 24px; }
.vm-footer-links a {
  color: var(--vm-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.vm-footer-links a:hover { color: var(--vm-accent); }
@media (max-width: 600px) {
  .vm-footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
}

/* ─── VENTURES CARDS ─── */
.venture-card {
  background: var(--vm-bg-card);
  border: 1px solid var(--vm-border);
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}
.venture-card:hover { border-color: var(--vm-accent); }
.venture-name { font-size: 20px; font-weight: 700; color: var(--vm-text); margin-bottom: 4px; }
.venture-role { font-size: 13px; color: var(--vm-accent); font-weight: 600; margin-bottom: 12px; }
.venture-desc { font-size: 15px; color: var(--vm-text-muted); line-height: 1.75; }

/* ─── BLOG ─── */
.blog-post {
  padding: 32px 0;
  border-bottom: 1px solid var(--vm-border);
}
.blog-post:last-child { border-bottom: none; }
.blog-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vm-text-muted);
  margin-bottom: 8px;
}
.blog-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--vm-text);
  margin-bottom: 8px;
}
.blog-title a { color: inherit; text-decoration: none; }
.blog-title a:hover { color: var(--vm-accent); }
.blog-excerpt {
  font-size: 15px;
  color: var(--vm-text-muted);
  line-height: 1.75;
}

/* ─── GIVE PAGE ─── */
.give-card {
  background: var(--vm-bg-card);
  border: 1px solid var(--vm-border);
  border-radius: 6px;
  padding: 28px 32px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.give-card:hover { border-color: var(--vm-accent); }
.give-org { font-size: 18px; font-weight: 700; color: var(--vm-text); margin-bottom: 6px; }
.give-mission { font-size: 14px; color: var(--vm-text-muted); line-height: 1.75; }
