/* ═══════════════════════════════════════════════════
   ELKE ORLOB — Production Stylesheet
   elkeorlob.de
═══════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────── */
:root {
  --bg:      #F7F5EF;
  --fg:      #1A1715;
  --accent:  #C4511A;
  --violet:  #3B1A5C;
  --muted:   #8A857D;
  --border:  #DDD9CF;
  --nav-h:   4rem;
}

/* ─── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }

/* ─── Typography ─────────────────────────────────── */
.font-serif     { font-family: 'Playfair Display', Georgia, serif; }
.font-editorial { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ─── Language ───────────────────────────────────── */
.lang-hidden { display: none !important; }

/* ─── NAV ────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(26,23,21,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(247,245,239,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  gap: 2rem;
}
.site-nav--fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: #F7F5EF;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: rgba(247,245,239,0.55);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: #F7F5EF; }
.nav-links a.active {
  color: #F7F5EF;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.1rem;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
/* Lang switcher */
.lang-btn {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.3rem 0.5rem;
  transition: all 0.2s;
  color: rgba(247,245,239,0.45);
}
.lang-btn.lang-active {
  color: #F7F5EF;
  border-bottom: 1px solid var(--accent);
}
.lang-sep { font-size: 0.6rem; color: rgba(247,245,239,0.25); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: 1rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(247,245,239,0.75);
  transition: all 0.3s;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: #1A1715;
  flex-direction: column;
  padding: 6rem 2.5rem 3rem;
  overflow-y: auto;
}
.nav-overlay.is-open { display: flex; }
.nav-overlay .overlay-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
}
.nav-overlay .overlay-links a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 400;
  color: rgba(247,245,239,0.75);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.nav-overlay .overlay-links a.active,
.nav-overlay .overlay-links a:hover { color: #F7F5EF; }
.nav-overlay .overlay-lang {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(247,245,239,0.1);
  margin-top: 2rem;
}
.nav-overlay .overlay-lang button {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247,245,239,0.45);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(247,245,239,0.15);
  transition: all 0.2s;
}
.nav-overlay .overlay-lang button.lang-active {
  color: #F7F5EF;
  border-color: var(--accent);
  background: rgba(196,81,26,0.1);
}

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
  background: var(--fg);
  padding: 3rem 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid rgba(247,245,239,0.06);
}
.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: #F7F5EF;
}
.footer-tagline {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,245,239,0.3);
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,245,239,0.35);
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(247,245,239,0.7); }
.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.6rem;
  color: rgba(247,245,239,0.18);
  letter-spacing: 0.08em;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247,245,239,0.06);
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.9rem 2rem;
  transition: all 0.25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #F7F5EF;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: #a8441500; color: var(--accent); }
.btn-outline-light {
  border: 1px solid rgba(247,245,239,0.4);
  color: #F7F5EF;
}
.btn-outline-light:hover { border-color: #F7F5EF; background: rgba(247,245,239,0.08); }
.btn-text {
  color: var(--accent);
  padding: 0;
  border-bottom: 1px solid transparent;
}
.btn-text:hover { border-bottom-color: var(--accent); }

/* ─── HOME HERO ───────────────────────────────────── */
.home-hero {
  display: grid;
  grid-template-columns: 42fr 58fr;
  min-height: calc(100vh - var(--nav-h));
}
.hero-left {
  background: #1A1715;
  padding: 7rem 4.5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60%; height: 40%;
  background: radial-gradient(ellipse at bottom left, rgba(59,26,92,0.35) 0%, transparent 70%);
}
.hero-left-content { position: relative; z-index: 1; }
.hero-accent-line { width: 3.5rem; height: 1px; background: var(--accent); margin-bottom: 2.5rem; }
.hero-name {
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: 400;
  color: #F7F5EF;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.hero-sub {
  font-size: 0.9rem;
  color: rgba(247,245,239,0.5);
  letter-spacing: 0.08em;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-desc {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.65;
  color: rgba(247,245,239,0.65);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 400px;
}
.hero-right {
  background: #EDE9E1;
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-right-fade {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(to right, rgba(26,23,21,0.25), transparent);
}

/* ─── PAGE HERO (compact) ────────────────────────── */
.page-hero {
  background: #1A1715;
  padding: 5rem 5rem 4.5rem;
}
.page-hero-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(247,245,239,0.25);
  margin-bottom: 2.5rem;
  font-weight: 500;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: #F7F5EF;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.65;
  color: rgba(247,245,239,0.5);
  font-weight: 300;
  font-style: italic;
}
.page-hero-line {
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
  margin-top: 2.5rem;
}
/* Workshop hero variant */
.workshop-hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  height: 340px;
}
.workshop-hero-left {
  background: #1A1715;
  padding: 3.5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.workshop-hero-right {
  background: var(--violet);
  padding: 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ─── SECTIONS ───────────────────────────────────── */
.section { padding: 8rem 5rem; }
.section-sm { padding: 6rem 5rem; }
.section-dark { background: var(--fg); }
.section-tinted { background: #F0EDE5; }

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 500;
}
.section-label-light {
  color: rgba(247,245,239,0.35);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* 2-col grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.grid-2-asym {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 6rem;
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* Divider */
.rule { width: 100%; height: 1px; background: var(--border); margin: 0; }
.rule-accent { background: var(--accent); }

/* Editorial paragraph */
.lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1.75rem;
}
.body-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ─── CARDS ──────────────────────────────────────── */
.card { padding: 3rem 2.5rem; }
.card-dark { background: var(--fg); }
.card-violet { background: var(--violet); }
.card-title {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  font-family: 'Playfair Display', Georgia, serif;
}

/* ─── SOBRE MÍ PAGE ──────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}
.bio-entry { padding: 2rem 0; border-top: 1px solid var(--border); }
.bio-entry-year {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.bio-entry-text {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--muted);
}

/* Influences */
.influence-list { list-style: none; }
.influence-list li {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: rgba(247,245,239,0.45);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(247,245,239,0.06);
  transition: color 0.2s;
}
.influence-list li:hover { color: rgba(247,245,239,0.8); }
.influence-list li.featured { color: var(--accent); }
.influence-list li:nth-child(even) { padding-left: 2.5rem; }

/* ─── COMPETENCY TILES ───────────────────────────── */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 3rem;
}
.tile {
  padding: 2.5rem;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tile-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.tile-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

/* ─── CONTACT FORM ───────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 45fr 55fr;
  min-height: 100vh;
}
.contact-left {
  background: var(--fg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.contact-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,23,21,0.97) 0%, rgba(59,26,92,0.35) 100%);
}
.contact-left-nav {
  position: relative;
  z-index: 2;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(247,245,239,0.07);
}
.contact-left-content {
  position: relative;
  z-index: 2;
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
}
.contact-right {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.contact-right-nav {
  padding: 1.5rem 4rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.5rem;
}
.contact-right-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.contact-right-nav a:hover { color: var(--fg); }
.contact-right-nav a.active {
  color: var(--fg);
  border-bottom: 1px solid var(--fg);
  padding-bottom: 0.1rem;
}
.contact-right-form { padding: 5rem 4rem; flex: 1; }
.form-group { margin-bottom: 2.5rem; }
.form-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.form-field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.form-field:focus { border-color: var(--fg); }
.form-field::placeholder { color: var(--muted); }
textarea.form-field { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 1.1rem;
  background: var(--accent);
  color: #F7F5EF;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.25s;
  margin-top: 1rem;
}
.form-submit:hover { background: #a84415; }
.form-success {
  display: none;
  padding: 1.25rem 1.5rem;
  background: rgba(196,81,26,0.08);
  border-left: 3px solid var(--accent);
  font-size: 0.85rem;
  color: var(--fg);
  margin-top: 1rem;
}

/* ─── COLABORACIONES ─────────────────────────────── */
.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.collab-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.collab-item:nth-child(even) { border-right: none; padding-left: 2rem; }
.collab-item:nth-child(odd) { padding-right: 2rem; }

/* ─── CTA BAND ───────────────────────────────────── */
.cta-band {
  background: var(--fg);
  padding: 6rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

/* ─── RESPONSIVE — Tablet (≤1024px) ─────────────── */
@media (max-width: 1024px) {
  .site-nav { padding: 0 2rem; }
  .nav-links { gap: 1.5rem; }

  .home-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { height: 55vw; max-height: 480px; order: -1; }
  .hero-left { padding: 4rem 3rem 4rem; }

  .section { padding: 6rem 3rem; }
  .section-sm { padding: 4rem 3rem; }

  .grid-2 { gap: 4rem; }
  .grid-2-asym { gap: 4rem; }
  .bio-grid { gap: 4rem; }

  .contact-wrap { grid-template-columns: 1fr 1fr; }
  .contact-left-content { padding: 4rem 3rem; }
  .contact-right-form { padding: 4rem 3rem; }
  .contact-right-nav { padding: 1.5rem 3rem; gap: 1.5rem; }

  .workshop-hero { height: auto; min-height: 280px; }
  .page-hero { padding: 4rem 3rem 3.5rem; }

  .cta-band { padding: 5rem 3rem; flex-direction: column; align-items: flex-start; gap: 2rem; }
}

/* ─── RESPONSIVE — Mobile (≤640px) ─────────────── */
@media (max-width: 640px) {
  :root { --nav-h: 3.5rem; }

  /* Nav */
  .site-nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Home hero */
  .home-hero { grid-template-columns: 1fr; }
  .hero-right { height: 70vw; order: -1; }
  .hero-left { padding: 3rem 1.5rem 3.5rem; }
  .hero-name { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-desc { font-size: 1.05rem; }

  /* Page heroes */
  .page-hero { padding: 3rem 1.5rem 3rem; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .workshop-hero {
    grid-template-columns: 1fr;
    height: auto;
  }
  .workshop-hero-left,
  .workshop-hero-right { padding: 2.5rem 1.5rem; min-height: 180px; }

  /* Sections */
  .section { padding: 4rem 1.5rem; }
  .section-sm { padding: 3rem 1.5rem; }

  /* Grids → stack */
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .grid-2-asym { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .bio-grid { grid-template-columns: 1fr; gap: 0; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile { aspect-ratio: auto; min-height: 160px; }
  .collab-grid { grid-template-columns: 1fr; }
  .collab-item:nth-child(even),
  .collab-item:nth-child(odd) { border-right: none; padding-left: 0; padding-right: 0; }

  /* Contact */
  .contact-wrap { grid-template-columns: 1fr; min-height: auto; }
  .contact-left { min-height: 40vh; }
  .contact-left-nav { padding: 1rem 1.5rem; }
  .contact-left-content { padding: 2.5rem 1.5rem 3rem; }
  .contact-right-nav { display: none; }
  .contact-right-form { padding: 3rem 1.5rem; }

  /* Footer */
  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.5rem;
    gap: 1.25rem;
  }
  .footer-nav { justify-content: center; }

  /* CTA band */
  .cta-band { padding: 4rem 1.5rem; }

  /* Influence list */
  .influence-list li { font-size: clamp(1.25rem, 5vw, 1.75rem); }
  .influence-list li:nth-child(even) { padding-left: 1rem; }
}
