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

:root {
  --bg: #faf8f5;
  --bg-warm: #f3efe9;
  --bg-card: #ffffff;
  --text: #1a1714;
  --text-secondary: #4a4540;
  --text-muted: #8a8279;
  --brown: #8b7355;
  --brown-light: #b09a7a;
  --brown-dark: #5c4d3c;
  --border: #e8e2da;
  --border-hover: #d4ccc1;
  --radius: 14px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: var(--brown);
}

/* === Navigation === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.03);
}

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

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

.nav-cta {
  color: var(--brown) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.3rem;
  border: 1px solid var(--brown-light);
  border-radius: 100px;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: var(--brown);
  color: white !important;
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Columns */
.hero-columns {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.column {
  position: absolute;
  height: 90%;
  bottom: 0;
  color: var(--border);
  opacity: 0.45;
  transition: opacity 0.3s;
}

.column-left {
  left: 4%;
  width: auto;
}

.column-right {
  right: 4%;
  width: auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-weight: 500;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brown);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero h1 em {
  color: var(--brown);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 1px;
  height: 50px;
  background: var(--brown);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(100px); }
}

/* === Benefits === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.benefit-card {
  padding: 2rem 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.4s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.benefit-highlight {
  grid-row: span 1;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: var(--brown);
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.benefit-stat {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.stat-big {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--brown);
  line-height: 1;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--brown);
  color: white;
}

.btn-primary:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 115, 85, 0.2);
}

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

.btn-outline:hover {
  border-color: var(--border-hover);
  background: white;
  transform: translateY(-2px);
}

/* === Sections === */
.section {
  padding: 7rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-warm {
  max-width: 100%;
  background: var(--bg-warm);
}

.section-warm > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 0.7rem;
  color: var(--brown);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 4rem;
  font-weight: 300;
}

/* === About Grid === */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.section-left h2 {
  position: sticky;
  top: 120px;
}

.section-right .large-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.section-right p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags span {
  padding: 0.45rem 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all 0.3s;
}

.tags span:hover {
  border-color: var(--brown-light);
  color: var(--brown);
}

/* === Portfolio / Projects === */
.project {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.project-reverse {
  grid-template-columns: 1fr 1.4fr;
}

.project-reverse .project-browser {
  order: 2;
}

.project-reverse .project-info {
  order: 1;
}

/* === Browser Mockup === */
.project-browser {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.5s ease;
}

.project-browser:hover {
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 20px 60px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #f8f7f5;
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }

.browser-url-bar {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.lock-icon {
  color: #28c840;
  opacity: 0.7;
}

/* Browser Viewport — scrollable */
.browser-viewport {
  height: 420px;
  overflow: hidden;
  position: relative;
  cursor: grab;
}

.browser-viewport:active {
  cursor: grabbing;
}

.browser-viewport img {
  width: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  will-change: transform;
}

/* === Project Info === */
.project-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-meta span {
  font-size: 0.7rem;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  background: var(--bg-warm);
  color: var(--brown);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-info h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.project-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brown);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.project-link:hover {
  color: var(--brown-dark);
  gap: 0.6rem;
}

/* === Process === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.process-card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.4s;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.process-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  color: var(--border);
  font-weight: 400;
  line-height: 1;
  display: block;
  margin-bottom: 1.5rem;
  transition: color 0.4s;
}

.process-card:hover .process-num {
  color: var(--brown-light);
}

.process-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* === Contact === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 0.5rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.3rem 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--brown-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.1rem;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
}

/* === Footer === */
footer {
  display: flex;
  justify-content: space-between;
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

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

/* === Auto-scroll indicator === */
.browser-viewport::after {
  content: '↕ Sleep om te scrollen';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 23, 20, 0.7);
  color: white;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 5;
}

.project-browser:hover .browser-viewport::after {
  opacity: 1;
}

.browser-viewport.dragging::after {
  opacity: 0 !important;
}

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

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.2rem; }

  .hero { padding: 7rem 1.5rem 4rem; }
  .section { padding: 5rem 1.5rem; }

  .column { opacity: 0.2; }
  .column-left { left: -2%; }
  .column-right { right: -2%; }

  .section-grid,
  .project,
  .project-reverse,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .project-reverse .project-browser,
  .project-reverse .project-info {
    order: unset;
  }

  .process-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .browser-viewport { height: 300px; }

  footer {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-links a:not(.nav-cta) { display: none; }

  .column { display: none; }

  .hero h1 { font-size: 2.4rem; }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn { justify-content: center; }
}
