/* ══════════════════════════════════════
   DESIGN SYSTEM — LIF Media
   Shared styles across all pages
   ══════════════════════════════════════ */
:root {
  --deep-olive: #42682E;
  --muted-sage: #758E63;
  --soft-moss: #D3E2C0;
  --terracotta: #C67155;
  --obsidian: #1A1A1A;
  --white: #FFFFFF;
  --off-white: #F5F3EF;
  --warm-cream: #EDE8E0;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-accent: 'DM Serif Display', Georgia, serif;
  --max-w: 1200px;
  --section-pad: 120px 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--obsidian);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Film grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── Labels ── */
.lif-label {
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terracotta);
  display: flex; align-items: center; gap: 10px;
}
.lif-label::before {
  content: ''; display: inline-block; width: 28px; height: 1px;
  background: var(--terracotta); flex-shrink: 0;
}

/* ── Buttons ── */
.lif-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 32px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
  border: none; cursor: pointer;
  border-radius: var(--radius-pill);
}
.lif-btn--primary { background: var(--deep-olive); color: var(--white); }
.lif-btn--primary:hover { background: #527a38; transform: translateX(4px); }
.lif-btn--dark { background: var(--obsidian); color: var(--white); }
.lif-btn--dark:hover { background: var(--deep-olive); transform: translateY(-2px); }
.lif-btn--outline { background: transparent; color: var(--obsidian); border: 1px solid rgba(26,26,26,0.25); }
.lif-btn--outline:hover { border-color: var(--deep-olive); color: var(--deep-olive); transform: translateX(4px); }
.lif-btn--outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.lif-btn--outline-light:hover { border-color: var(--soft-moss); color: var(--soft-moss); transform: translateX(4px); }
.lif-btn--white { background: var(--white); color: var(--obsidian); }
.lif-btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,0.2); }

.lif-btn__arrow {
  width: 20px; height: 1px; background: var(--soft-moss);
  position: relative; transition: width 0.3s;
}
.lif-btn__arrow::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--soft-moss); border-right: 1px solid var(--soft-moss);
  transform: rotate(45deg);
}
.lif-btn:hover .lif-btn__arrow { width: 32px; }
.lif-btn--outline .lif-btn__arrow,
.lif-btn--outline-light .lif-btn__arrow,
.lif-btn--white .lif-btn__arrow { background: currentColor; }
.lif-btn--outline .lif-btn__arrow::after,
.lif-btn--outline-light .lif-btn__arrow::after,
.lif-btn--white .lif-btn__arrow::after { border-color: currentColor; }

/* ── Reveal Animations ── */
.lif-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.lif-reveal.is-visible { opacity: 1; transform: translateY(0); }
.lif-reveal-d1 { transition-delay: 0.15s; }
.lif-reveal-d2 { transition-delay: 0.3s; }
.lif-reveal-d3 { transition-delay: 0.45s; }
.lif-reveal-d4 { transition-delay: 0.6s; }

/* ══════════════════════════════════════
   HEADER
   ══════════════════════════════════════ */
#lif-hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999999;
  padding: 20px 40px; display: flex; align-items: center;
  justify-content: space-between; background: transparent;
  transition: background 0.45s var(--ease), padding 0.35s var(--ease), box-shadow 0.45s var(--ease);
  font-family: var(--font-body);
}
#lif-hdr.hdr-scrolled {
  padding: 12px 40px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
#lif-hdr .hdr-logo { display: block; flex-shrink: 0; line-height: 0; }
#lif-hdr .hdr-logo img { height: 80px; width: auto; display: block; transition: opacity 0.25s ease; }
#lif-hdr .hdr-logo .logo-w { display: block; }
#lif-hdr .hdr-logo .logo-d { display: none; }
#lif-hdr.hdr-scrolled .hdr-logo .logo-w { display: none; }
#lif-hdr.hdr-scrolled .hdr-logo .logo-d { display: block; }
#lif-hdr .hdr-right { display: flex; align-items: center; gap: 28px; }
#lif-hdr .hdr-nav { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
#lif-hdr .hdr-nav li { list-style: none; margin: 0; padding: 0; position: relative; }
#lif-hdr .hdr-nav > li > a {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; text-decoration: none; padding: 8px 0;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.3s ease, opacity 0.3s ease;
  cursor: pointer; white-space: nowrap; color: rgba(255,255,255,0.92);
}
#lif-hdr .hdr-nav > li > a:hover { opacity: 0.45; }
#lif-hdr.hdr-scrolled .hdr-nav > li > a { color: #0a0a0a; }
.hdr-chev {
  display: inline-block; width: 0; height: 0;
  border-left: 3.5px solid transparent; border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor; opacity: 0.45;
  transition: transform 0.25s ease; margin-top: 1px;
}
.hdr-drop:hover .hdr-chev { transform: rotate(180deg); }
.hdr-drop-menu {
  position: absolute; top: calc(100% + 4px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.05);
  padding: 8px 0; min-width: 270px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 100;
}
.hdr-drop-menu::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.hdr-drop:hover .hdr-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.hdr-drop-menu a {
  display: block; padding: 11px 22px; font-size: 13.5px; font-weight: 500;
  color: #4a4740; text-decoration: none; text-transform: none; letter-spacing: 0;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.hdr-drop-menu a:hover { background: #f5f4f2; color: #0a0a0a; padding-left: 26px; }
.hdr-drop-menu a + a { border-top: 1px solid rgba(0,0,0,0.04); }
.hdr-socials { display: flex; align-items: center; gap: 14px; }
.hdr-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hdr-socials a:hover { opacity: 0.5; transform: translateY(-1px); }
.hdr-socials svg { width: 16px; height: 16px; fill: #fff; transition: fill 0.3s ease; }
#lif-hdr.hdr-scrolled .hdr-socials svg { fill: #0a0a0a; }
.hdr-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.2); transition: background 0.3s ease; }
#lif-hdr.hdr-scrolled .hdr-divider { background: rgba(0,0,0,0.12); }
.hdr-menu-btn {
  display: none; align-items: center; gap: 8px; cursor: pointer;
  background: none; border: none; padding: 8px 0;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: #fff;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.hdr-menu-btn:hover { opacity: 0.5; }
#lif-hdr.hdr-scrolled .hdr-menu-btn { color: #0a0a0a; }
.hdr-menu-btn .menu-lines { display: flex; flex-direction: column; gap: 4px; }
.hdr-menu-btn .menu-lines span {
  width: 22px; height: 2px; background: currentColor; border-radius: 1px;
  display: block; transition: background 0.3s ease;
}

/* Full-screen overlay */
#lif-mob {
  display: none; position: fixed; inset: 0; z-index: 9999999;
  background: #0a0a0a; overflow-y: auto; font-family: var(--font-body);
}
#lif-mob.mob-open { display: block; }
#lif-mob .mob-close-row { position: absolute; top: 20px; right: 40px; z-index: 10; }
#lif-mob .mob-close-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5); transition: color 0.3s ease; padding: 8px 0;
}
#lif-mob .mob-close-btn:hover { color: #fff; }
#lif-mob .mob-close-btn .close-line { width: 24px; height: 1.5px; background: rgba(255,255,255,0.4); transition: background 0.3s ease; }
#lif-mob .mob-close-btn:hover .close-line { background: #fff; }
#lif-mob .mob-inner { display: flex; min-height: 100vh; min-height: 100dvh; }
#lif-mob .mob-left { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 100px 60px 60px; gap: 0; }
#lif-mob .mob-link {
  display: block; font-family: var(--font-accent);
  font-size: clamp(42px, 7vw, 80px); font-weight: 400;
  color: #fff; text-decoration: none; line-height: 1.15; padding: 8px 0;
  transition: color 0.25s ease, padding-left 0.3s ease; letter-spacing: -0.02em;
}
#lif-mob .mob-link:hover { color: rgba(255,255,255,0.45); padding-left: 12px; }
#lif-mob .mob-services { padding: 12px 0 16px 4px; display: flex; flex-direction: column; gap: 6px; }
#lif-mob .mob-services a {
  font-family: var(--font-accent); font-size: clamp(16px, 2.5vw, 20px);
  font-style: italic; font-weight: 400; color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color 0.25s ease, padding-left 0.25s ease; padding: 3px 0;
}
#lif-mob .mob-services a:hover { color: rgba(255,255,255,0.8); padding-left: 8px; }
#lif-mob .mob-right {
  width: 340px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 100px 60px 60px; gap: 40px; border-left: 1px solid rgba(255,255,255,0.06);
}
#lif-mob .mob-info-block h4 {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.3); margin-bottom: 16px;
}
#lif-mob .mob-info-block p,
#lif-mob .mob-info-block a {
  font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.6);
  line-height: 1.7; text-decoration: none; display: block;
  transition: color 0.2s ease; margin: 0;
}
#lif-mob .mob-info-block a:hover { color: #fff; }
#lif-mob .mob-social-row { display: flex; gap: 20px; align-items: center; }
#lif-mob .mob-social-row a { display: flex; align-items: center; justify-content: center; text-decoration: none; transition: opacity 0.25s ease, transform 0.25s ease; }
#lif-mob .mob-social-row a:hover { opacity: 0.6; transform: translateY(-2px); }
#lif-mob .mob-social-row svg { width: 20px; height: 20px; fill: rgba(255,255,255,0.5); transition: fill 0.25s ease; }
#lif-mob .mob-social-row a:hover svg { fill: #fff; }
#lif-mob .mob-logo-bottom { margin-top: auto; }
#lif-mob .mob-logo-bottom img { height: 32px; width: auto; opacity: 0.2; }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.lif-footer {
  background: #0a0a0a; color: #fff;
  padding: 64px 32px 0; width: 100%;
}
.lif-footer .footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; align-items: start;
}
.lif-footer .footer-brand h4 {
  font-family: var(--font-accent); font-size: 20px; font-weight: 400;
  margin-bottom: 4px; color: #fff;
}
.lif-footer .footer-tagline {
  font-size: 13px; font-style: italic; color: rgba(255,255,255,0.5); margin-bottom: 20px;
}
.lif-footer .footer-contact-line {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7;
}
.lif-footer .footer-contact-line a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color 0.25s ease;
}
.lif-footer .footer-contact-line a:hover { color: #fff; }
.lif-footer .footer-nav-col h5 {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.35); margin-bottom: 16px;
}
.lif-footer .footer-nav-col ul { list-style: none; padding: 0; margin: 0; }
.lif-footer .footer-nav-col li { margin-bottom: 10px; }
.lif-footer .footer-nav-col a {
  font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none;
  transition: color 0.25s ease;
}
.lif-footer .footer-nav-col a:hover { color: #fff; }
.lif-footer .footer-bottom-row {
  max-width: 900px; margin: 40px auto 0; padding: 24px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
}
.lif-footer .footer-bottom-row img { height: 150px; width: auto; opacity: 0.7; }
.lif-footer .footer-copyright { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ══════════════════════════════════════
   RESPONSIVE — Shared
   ══════════════════════════════════════ */
@media (max-width: 900px) {
  #lif-hdr .hdr-nav { display: none; }
  #lif-hdr .hdr-divider { display: none; }
  .hdr-menu-btn { display: flex !important; }
  #lif-hdr { padding: 16px 20px; }
  #lif-hdr.hdr-scrolled { padding: 12px 20px; }
  #lif-hdr .hdr-logo img { height: 60px; }
  .hdr-socials { display: none; }
  #lif-mob .mob-inner { flex-direction: column; }
  #lif-mob .mob-right { width: 100%; border-left: none; border-top: 1px solid rgba(255,255,255,0.06); padding: 32px 28px 40px; }
  #lif-mob .mob-left { padding: 90px 28px 32px; }
  #lif-mob .mob-link { font-size: clamp(36px, 10vw, 52px); }
  #lif-mob .mob-services a { font-size: clamp(15px, 3.5vw, 18px); }
  #lif-mob .mob-close-row { right: 20px; top: 16px; }
  .lif-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lif-footer .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 901px) {
  .hdr-menu-btn { display: flex !important; }
}
@media (max-width: 480px) {
  .lif-footer .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .lif-footer .footer-bottom-row { flex-direction: column; gap: 16px; text-align: center; }
}
