/*
Theme Name: LTJ Ventures
Theme URI: https://ltj-ventures.com
Author: LTJ Ventures
Author URI: https://ltj-ventures.com
Description: One-page WordPress theme for LTJ Ventures — Hero, About, Values, CTA, Newsletter, Footer. Built for a single-founder investment/holding site.
Version: 1.5
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ltj-ventures
*/

/* ==========================================================================
   1. Variables & Reset
   ========================================================================== */
:root {
  --color-bg: #121e30;
  --color-bg-alt: #121e30;
  --color-bg-raised: #182642;
  --color-text: #f5f3ee;
  --color-text-muted: #b9c0cd;
  --color-accent: #e4d3ab;
  --color-line: rgba(245, 243, 238, 0.14);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max-width: 1180px;
  --gutter: 6vw;
}

/* Logo/mark artwork is drawn in navy (#121E30) for a light background.
   Inverting it turns the navy into a warm off-white that reads cleanly
   on this dark navy theme, without needing separate light-mode assets. */
.invert-on-dark {
  filter: invert(1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* The header is position:fixed and overlaps the top of the page, so a
   plain anchor jump (#team, #values, etc.) lands the section right
   underneath it — visually indistinguishable from "nothing happened".
   scroll-margin-top tells the browser to stop short of the header height
   instead, so the section's heading is actually visible after the jump. */
section[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* Signature detail, echoing the location/context plates used in the
   LTJ investment teasers (e.g. "SAARBRÜCKEN · ST. JOHANN"): a small
   dark plate with tracked-out caps, used sparingly as a place marker. */
.badge {
  display: inline-block;
  padding: 0.55em 1.2em;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-line);
  color: var(--color-accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border-radius: 2px;
  margin-bottom: 1.6em;
}

/* Thin rule under headlines, echoing the divider under the teaser's
   cover headline ("Value-Add Core+ Investment"). */
.rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--color-accent);
  margin: 0.9em 0 1.3em;
}

.rule-center { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Bilingual toggle (DE default, EN shown when body.lang-en is set)
   ========================================================================== */
.lang-en { display: none; }
body.lang-en .lang-en { display: inline; }
body.lang-en .lang-de { display: none; }

.lang-switch {
  display: flex;
  gap: 0.4em;
  align-items: center;
  margin-left: 2em;
}

.lang-switch button {
  background: none;
  border: 1px solid var(--color-line);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.35em 0.7em;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--color-text);
  border-color: var(--color-accent);
}

@media (max-width: 780px) {
  .lang-switch { margin-left: 1em; }
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }

p { color: var(--color-text-muted); margin: 0 0 1.2em; }

.btn {
  display: inline-block;
  padding: 0.9em 1.8em;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: var(--color-text);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--color-accent); color: var(--color-bg); border-color: var(--color-accent); }

.btn-solid {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}
.btn-solid:hover { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }

/* ==========================================================================
   2. Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4em var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(18,30,48,0.92), rgba(18,30,48,0));
}

.site-branding a {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}

.site-branding img.custom-logo,
.site-branding img.vop-logo-fallback {
  max-height: 38px;
  width: auto;
  display: block;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2.2em;
  margin: 0;
  padding: 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1em;
}

.main-navigation a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}
.main-navigation a:hover { color: var(--color-text); }

/* Hamburger icon */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav menu: hidden dropdown panel, opened via JS (adds .is-open) */
.main-navigation {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(78vw, 320px);
  background: var(--color-bg-raised);
  border-left: 1px solid var(--color-line);
  padding: 6.5em 2.2em 2em;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 110;
  overflow-y: auto;
}

.main-navigation.is-open { transform: translateX(0); }

.main-navigation ul {
  flex-direction: column;
  gap: 1.6em;
}

.main-navigation a { font-size: 1rem; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 24, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 105;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   3. Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8em var(--gutter) 4em;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 30%, rgba(171,138,84,0.12), transparent 60%), var(--color-bg);
}

.hero-mark {
  position: absolute;
  right: -4vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(32vw, 420px);
  opacity: 0.06;
  pointer-events: none;
}

/* Minimal hero: logo + wordmark only, centered */
.hero-minimal {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4em var(--gutter);
}

.hero-logo {
  width: min(22vw, 120px);
  height: auto;
  margin: 0 auto 1.4em;
}

.hero-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.5em;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-muted);
  font-size: 1.4rem;
  animation: hero-bounce 2.2s ease-in-out infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.hero-mark img { width: 100%; }

@media (max-width: 860px) {
  .hero-mark { display: none; }
}

.hero .eyebrow { margin-bottom: 1em; }

.hero h1 { max-width: 14ch; }

.hero p.lead {
  max-width: 42ch;
  font-size: 1.1rem;
  margin-bottom: 1.6em;
}

/* ==========================================================================
   4. Section base
   ========================================================================== */
.section {
  padding: 7em var(--gutter);
  border-top: 1px solid var(--color-line);
}

.section-alt { background: var(--color-bg-raised); }

.section-head { max-width: 720px; margin-bottom: 3em; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  align-items: start;
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 2em; }
}

/* ==========================================================================
   5. Community gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3/4;
  background: var(--color-bg-alt);
}

.gallery-grid figure:nth-child(3n+1) { aspect-ratio: 4/3; grid-column: span 2; }

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

@media (max-width: 780px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid figure:nth-child(3n+1) { grid-column: span 2; }
}

/* ==========================================================================
   6. Values
   ========================================================================== */
.values-list { border-top: 1px solid var(--color-line); }

.value-item {
  padding: 2.2em 0;
  border-bottom: 1px solid var(--color-line);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2em;
}

.value-item h3 { color: var(--color-accent); margin: 0; }

@media (max-width: 700px) {
  .value-item { grid-template-columns: 1fr; gap: 0.4em; }
}

/* ==========================================================================
   6b. Team / Founder card / Peers / Testimonials / Co-investor logos
   ========================================================================== */
.founder-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5em;
  align-items: start;
  margin-bottom: 3.5em;
  padding-bottom: 3.5em;
  border-bottom: 1px solid var(--color-line);
}

.founder-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
}

.founder-card h3 { margin-bottom: 0.2em; }
.founder-card .eyebrow { display: block; margin-bottom: 1em; }

@media (max-width: 700px) {
  .founder-card { grid-template-columns: 1fr; }
  .founder-card img { max-width: 180px; }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5em;
}

.team-member img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1em;
}

.team-member h3 { margin-bottom: 0.2em; font-size: 1.1rem; }
.team-member .eyebrow { display: block; margin-bottom: 0.6em; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2em;
}

.testimonial-card {
  margin: 0;
  padding: 2em;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-bg-raised);
}

.testimonial-card p { color: var(--color-text); font-family: var(--font-serif); font-size: 1.05rem; }

.testimonial-card footer { font-size: 0.85rem; color: var(--color-text-muted); }

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2em;
  align-items: center;
}

.logos-grid img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  opacity: 0.85;
}

/* ==========================================================================
   7. CTA banner
   ========================================================================== */
.cta-banner {
  text-align: center;
  padding: 6em var(--gutter);
}

.cta-banner h2 { max-width: 20ch; margin: 0 auto 0.6em; }

.cta-banner p { max-width: 55ch; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   8. Newsletter
   ========================================================================== */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  align-items: center;
}

@media (max-width: 860px) {
  .newsletter { grid-template-columns: 1fr; }
}

.newsletter-form {
  display: flex;
  gap: 0.6em;
  margin-top: 1.6em;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.9em 1.2em;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-text);
  font-size: 0.95rem;
}

.newsletter-form input[type="email"]::placeholder { color: var(--color-text-muted); }

.newsletter-form button {
  padding: 0.9em 1.8em;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.9rem;
  cursor: pointer;
}

.newsletter-note { font-size: 0.8rem; margin-top: 0.8em; }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.site-footer {
  padding: 4em var(--gutter) 2.5em;
  border-top: 1px solid var(--color-line);
  background: var(--color-bg-alt);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2em;
  margin-bottom: 3em;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.6em;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.footer-nav a:hover { color: var(--color-text); }

.footer-social { display: flex; gap: 1.2em; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1em;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding-top: 2em;
  border-top: 1px solid var(--color-line);
}

/* ==========================================================================
   10. Cursor glow (the mouse-follow shimmer)
   ========================================================================== */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(228, 211, 171, 0.14) 0%, rgba(228, 211, 171, 0) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform, opacity;
}

.cursor-glow.is-visible { opacity: 1; }

/* Respect people who've asked their system to reduce motion */
@media (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}
