/* ============================================
   MARNIROMMEL.COM — Stylesheet
   Theme: Light, Editorial, Warm
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #faf9f7;
  --bg-alt: #f0ede8;
  --bg-card: #ffffff;
  
  --text: #1a1a1a;
  --text-muted: #6b6661;
  --text-light: #99938e;
  
  --accent: #c4523a;
  --accent-deep: #a8432f;
  --accent-light: #e8a898;
  --accent-bg: rgba(196, 82, 58, 0.08);
  
  --border: #e8e4df;
  --border-light: #f0ede8;
  
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  --container: 1100px;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* --- Section --- */
.section {
  padding: 100px 0;
}

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

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 48px;
  line-height: 1.15;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-dark {
  background: var(--text);
  color: #fff;
}

.btn-dark:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text);
}

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease;
}

nav.scrolled {
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 0;
}

nav > * {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: none;
}

.nav-toggle {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
}

.nav-links a {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: #fff;
}

nav.scrolled .nav-links a {
  color: var(--text-muted);
}

nav.scrolled .nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: #fff;
}

nav.scrolled .nav-links a.active {
  color: var(--text);
}

.nav-cta {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  padding: 12px 24px !important;
  border-radius: 100px !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  backdrop-filter: blur(4px);
}

.nav-cta:hover {
  background: rgba(255,255,255,0.25) !important;
}

nav.scrolled .nav-cta {
  background: var(--text) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.55) saturate(0.8);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 249, 247, 0) 0%,
    rgba(250, 249, 247, 0.1) 40%,
    rgba(250, 249, 247, 0.85) 75%,
    var(--bg) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-role {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: rgba(196, 82, 58, 0.9);
  border-radius: 100px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   ABOUT
   ============================================ */
.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.about-text h2 em {
  font-style: italic;
  color: var(--accent);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.about-tags span {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  padding: 6px 14px;
  background: var(--accent-bg);
  border-radius: 100px;
}

/* ============================================
   CAREERS
   ============================================ */
.careers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.career-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.career-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 4px 24px rgba(196, 82, 58, 0.06);
  transform: translateY(-2px);
}

.career-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.career-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}

.career-role {
  display: block;
  font-size: 0.95rem;
  color: var(--accent);
  margin-top: 2px;
}

.career-date {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
  font-weight: 500;
}

.acquired-badge {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
}

.career-card p {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.career-card p:last-of-type {
  margin-bottom: 0;
}

.career-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.career-pills span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 12px;
  background: var(--bg-alt);
  border-radius: 100px;
}

/* ============================================
   SPEAKING
   ============================================ */
.speaking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.speaking-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}

.speaking-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(196, 82, 58, 0.06);
}

.speaking-emoji {
  font-size: 28px;
  display: block;
  margin-bottom: 16px;
}

.speaking-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.speaking-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   CONTACT CTA
   ============================================ */
.section-cta {
  background: var(--bg-alt);
  text-align: center;
}

.contact-inner {
  max-width: 600px;
}

.contact-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-inner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-inner .btn {
  gap: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 24px 0;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
}

.footer-inner a {
  color: var(--accent);
  transition: color 0.2s;
}

.footer-inner a:hover { color: var(--text); }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .speaking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    justify-content: center;
    gap: 24px;
  }
  
  .nav-links a {
    font-size: 14px;
  }
  
  .hero {
    min-height: auto;
    padding-top: 200px;
    padding-bottom: 60px;
  }
  
  .hero {
    min-height: 90vh;
    padding-bottom: 60px;
  }
  
  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }
  
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .about-portrait {
    max-width: 240px;
  }
  
  .speaking-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .career-card {
    padding: 24px;
  }
  
  .section {
    padding: 72px 0;
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

::selection {
  background: var(--accent-light);
  color: var(--text);
}
