/* ══════════════════════════════════════════
   DIVAKRU — Stylesheet
   Palette: warm earthy — cream, moss green, terracotta
   ══════════════════════════════════════════ */

/* ── SELF-HOSTED FONTS (latin subset) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-600.woff2') format('woff2');
}


:root {
  --cream:        #E8DDD0;
  --cream-dark:   #DCCFC0;
  --cream-deeper: #CABFAD;
  --dark:         #1E1A14;
  --moss:         #4A6741;
  --moss-deep:    #375130;
  --moss-light:   #7A9B72;
  --moss-pale:    #D8E8D4;
  --terra:        #C4714A;
  --terra-light:  #D98E6E;
  --warm-gray:    #8C8275;
  --saffier:      #1E3A6B;
  --saffier-light:#2D5EB8;

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;

  --shadow-sm:    0 2px 8px rgba(30,26,20,0.08);
  --shadow-md:    0 8px 24px rgba(30,26,20,0.10);
  --shadow-lg:    0 16px 48px rgba(30,26,20,0.12);

  --max-w:        1100px;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--cream);
  color: var(--dark);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── TYPE SCALE ── */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
}

.clarity-accent {
  color: var(--moss);
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}

p { line-height: 1.75; }

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.75rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  margin-top: 2.5rem;
  background: var(--moss);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--moss-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-linkedin {
  background: #0077B5;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-linkedin:hover {
  background: #005f8e;
}

/* ── Availability badge ── */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cream);
  border: 1px solid var(--cream-deeper);
  border-radius: 99px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--warm-gray) !important;
  margin-bottom: 1.25rem;
  opacity: 1 !important;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(196, 113, 74, 0.25);
}

/* ══ HEADER ══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  padding: 0.9rem 0;
  transition: box-shadow 0.2s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--moss);
  letter-spacing: -0.01em;
  text-transform: none;  /* nooit auto-capitalize */
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

nav a:hover { opacity: 1; }

.btn-nav {
  opacity: 1 !important;
  background: var(--moss);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: background 0.2s ease !important;
}

.btn-nav:hover { background: var(--moss-deep) !important; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 0.35rem;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--moss);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-desktop { display: flex; gap: 2rem; align-items: center; }
.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}
.nav-mobile a { display: block; padding: 0.5rem 0; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  section { padding: 2.5rem 0; }
  .mobile-break { display: block; }
}

/* ══ HERO ══ */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative leaf element */
.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--moss-pale) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.mobile-break { display: none; }

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--terra);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 500px;
  line-height: 1.65;
}

/* ══ ABOUT ══ */
.about {
  padding: 4.5rem 0;
  background: var(--cream-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.about-photo-wrap {
  position: sticky;
  top: 100px;
}

.about-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  background: var(--cream-deeper);
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--dark);
  opacity: 0.82;
  margin-bottom: 1.1rem;
}

.about-plant {
  margin-top: 1.5rem !important;
  color: var(--moss) !important;
  opacity: 1 !important;
  font-style: italic;
  font-size: 0.95rem;
}

/* ══ SERVICES ══ */
.services {
  padding: 2.5rem 0;
  background: var(--cream);
}

.services h2 {
  margin: 0 0 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--moss-pale);
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--terra);
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* ══ PHILOSOPHY ══ */
.philosophy {
  padding: 4.5rem 2rem;
  background: var(--moss);
}

.philosophy blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  line-height: 1.55;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  opacity: 0.95;
}

/* ══ CONTACT ══ */
.contact {
  padding: 4.5rem 0;
  background: var(--cream-dark);
}

.contact h2 {
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact p {
  text-align: left;
}

.contact-intro {
  max-width: 520px;
  color: var(--warm-gray);
  margin-bottom: 3rem;
}

.contact-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--cream-deeper);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  border-color: var(--moss-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--moss);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-icon--li {
  background: #0077B5;
}

.contact-label {
  font-weight: 500;
}

/* ══ FOOTER ══ */
.site-footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--cream-dark);
  background: var(--cream);
}

.site-footer p {
  text-align: center;
  font-size: 0.82rem;
  color: var(--warm-gray);
}

.site-footer a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ══ SCROLL BEHAVIOUR ══ */
.site-header.scrolled { box-shadow: 0 2px 16px rgba(30,26,20,0.08); }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-photo-wrap { position: static; }

  .about-photo {
    max-width: 280px;
    aspect-ratio: 1/1;
    object-position: center 20%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .saffier-teaser-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  /* Nav: alle links zichtbaar maar kleiner — geen hamburger nodig */
  nav {
    gap: 0.9rem;
  }
  nav a {
    font-size: 0.78rem;
  }
  .btn-nav {
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 65vh;
    padding: 4rem 0 3rem;
  }

  .contact-links { flex-direction: column; max-width: 320px; }

  .philosophy { padding: 4rem 1.5rem; }

  .saffier-teaser { padding: 3.5rem 0; }
}

/* ══ SAFFIERSPACE TEASER (on index) ══ */
.nav-saffier {
  opacity: 1 !important;
  color: var(--saffier) !important;
  font-weight: 600 !important;
  border-bottom: 2px solid var(--saffier);
  padding-bottom: 1px;
}

.saffier-teaser {
  background: var(--saffier);
  padding: 5rem 0;
}

.saffier-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.saffier-teaser .section-label { color: rgba(255,255,255,0.55); }
.saffier-teaser h2 { color: #fff; margin-bottom: 0.75rem; }
.saffier-teaser p  { color: rgba(255,255,255,0.75); max-width: 480px; }

.btn-saffier {
  display: inline-block;
  background: #fff;
  color: var(--saffier);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.btn-saffier:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* ── PHILOSOPHY ── */
.philosophy {
  padding: 1.5rem 0;
  text-align: center;
}

.philosophy p {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.philosophy p a {
  color: var(--moss);
  text-decoration: none;
  border-bottom: 1px solid var(--moss);
  transition: all 0.2s;
}

.philosophy p a:hover {
  color: var(--terra);
  border-bottom-color: var(--terra);
}

.philosophy--plain {
  background: transparent;
  padding: 0.75rem 0 1.5rem 0;
  text-align: left;
}

.philosophy--plain p {
  margin: 0;
}

.philosophy--quote {
  padding: 4.5rem 2rem;
  background: var(--moss);
}

.philosophy blockquote {
  font-size: 1.3rem;
  color: var(--dark);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
}

.philosophy--quote blockquote {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  color: #fff;
  line-height: 1.55;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  opacity: 0.95;
}

/* ── CONTRIBUTIONS PREVIEW (HOMEPAGE TEASER) ── */
.hero--secondary {
  background: linear-gradient(135deg, rgba(74, 103, 65, 0.05) 0%, rgba(74, 103, 65, 0.02) 100%);
  padding: 0.5rem 0 0.75rem;
  min-height: auto;
  display: block;
}

.hero--secondary h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-sub-secondary {
  font-size: 1.25rem;
  color: var(--warm-gray);
  font-weight: 300;
  max-width: 700px;
  line-height: 1.6;
}

.intro {
  padding: 0.75rem 0;
  background: rgba(232, 221, 208, 0.3);
  margin-bottom: 0.5rem;
}

.intro p {
  font-size: 1.1rem;
  color: var(--warm-gray);
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.intro p:last-child {
  margin-bottom: 0;
}

.contributions-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(74, 103, 65, 0.1);
}

.contributions-section:last-of-type {
  border-bottom: none;
}

.contributions-section h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--dark);
}

.contributions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.contributions-grid--single {
  grid-template-columns: 1fr;
  max-width: 500px;
}

.contribution-card {
  padding: 2rem;
  background: white;
  border: 1px solid rgba(74, 103, 65, 0.15);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.contribution-card:hover {
  border-color: var(--moss);
  box-shadow: 0 8px 24px rgba(74, 103, 65, 0.12);
}

.contribution-header {
  margin-bottom: 1.5rem;
}

.contribution-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.contribution-meta {
  font-size: 0.9rem;
  color: var(--warm-gray);
  font-weight: 400;
}

.contribution-authors {
  font-size: 0.85rem;
  color: var(--warm-gray);
  font-weight: 400;
  margin-top: 0.5rem;
  opacity: 0.85;
}

.contribution-authors strong {
  font-weight: 500;
  opacity: 1;
}

.contribution-text {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contribution-link {
  display: inline-block;
  color: var(--moss);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.contribution-link:hover {
  color: var(--terra);
  border-bottom-color: var(--terra);
}

.contribution-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contribution-links .contribution-link {
  margin: 0;
  padding: 0;
}

/* ── CONTRIBUTIONS PAGE TABLE STYLING ── */
a {
  text-decoration: none;
  color: #464feb;
}

tr th, tr td {
  border: 1px solid #e6e6e6;
}

tr th {
  background-color: #f5f5f5;
}

.areas-of-interest {
  padding: 4rem 0;
  background: rgba(232, 221, 208, 0.3);
}

.areas-of-interest h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--dark);
}

.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.interest-tag {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid rgba(74, 103, 65, 0.25);
  border-radius: 2rem;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.interest-tag:hover {
  background: var(--moss);
  color: var(--cream);
  border-color: var(--moss);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  section { padding: 2.5rem 0; }
  .hero { padding: 4rem 0 3rem; }
  .hero--secondary { padding: 3rem 0 2.5rem; }
  .hero--secondary h1 { font-size: 2.5rem; }
  .hero-sub-secondary { font-size: 1.05rem; }
  .about-text h2,
  .services h2,
  .contributions-section h2 { margin-bottom: 1.5rem; }
  .eyebrow-indent1 { display: block; margin-left: 1rem; }
  .eyebrow-indent2 { display: block; margin-left: 2.5rem; }
  .contributions-grid {
    grid-template-columns: 1fr;
  }
  .contributions-grid--single {
    max-width: 100%;
  }
  .interest-tags {
    gap: 0.75rem;
  }
}

@media (min-width: 901px) {
  .mobile-break { display: none; }
  .eyebrow-indent1 { display: inline; margin-left: 0; }
  .eyebrow-indent2 { display: inline; margin-left: 0; }
  .hero-sub strong { white-space: nowrap; }
  .hero-sub { max-width: none; }
}

/* ── FOOTER LEGAL LINE ── */
.footer-legal {
  font-size: 0.75rem;
  color: var(--warm-gray);
  opacity: 0.75;
  margin-top: 0.35rem;
}

/* ── CONSENT CHECKBOX ── */
.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.consent-group input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--moss);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.consent-group label {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.5;
  cursor: pointer;
}
.consent-group label a {
  color: var(--moss);
  text-decoration: underline;
}

/* ── LANGUAGE PILL (privacy pages) ── */
.lang-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--moss);
    border-radius: 20px;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.lang-pill .lang-active {
    padding: 0.3rem 0.65rem;
    background: var(--moss);
    color: #fff;
    cursor: default;
}
.lang-pill .lang-switch {
    padding: 0.3rem 0.65rem;
    background: transparent;
    color: var(--moss);
    text-decoration: none;
    transition: background 0.2s;
}
.lang-pill .lang-switch:hover {
    background: var(--moss-pale);
}
