:root {
  --cream: #f4efe2;
  --cream-deep: #ece4d2;
  /* Tussen appeltjesgroen en bosgroen in */
  --green: #5c8a3c;
  --green-dark: #40632c;
  --green-soft: #6f9d47;
  --green-ink: #46702f;
  /* Knoppen: lichter dan voorheen, en nog lichter bij hover */
  --btn: #63963e;
  --btn-hover: #83b95a;
  --ink: #2b2b26;
  --ink-soft: #5b5f54;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  padding: calc(2.5rem + env(safe-area-inset-top, 0px)) 1.5rem
           calc(2.5rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Nunito Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
}

/* Houttextuur-achtergrond: horizontaal gespiegeld, halfdoorzichtig over de crème kleur */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(244, 239, 226, 0.88), rgba(244, 239, 226, 0.88)),
    url("images/wood-dark.jpg");
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
}

.card {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.1rem, 2.6vw, 1.9rem);
  align-items: stretch;
}

/* ---- Links: logo, verticaal gecentreerd ---- */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: min(280px, 100%);
  height: auto;
  border-radius: 10px;
}

/* ---- Rechts: tekst + foto, bovenaan uitgelijnd ---- */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 1.3rem;
}

.tagline {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.35rem, 3.1vw, 1.95rem);
  line-height: 1.3;
  color: #141414;
  max-width: 34ch;
}

.portret {
  width: min(240px, 66%);
  aspect-ratio: 1 / 1;
}

.portret img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* Alleen het witte randje van het bronbestand wegknippen — geen zoom of crop van de foto zelf */
  clip-path: circle(46.5% at 50% 50%);
  filter: drop-shadow(0 12px 22px rgba(47, 74, 52, 0.22));
}

.intro {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.7;
  color: var(--ink);
  max-width: 42ch;
}

/* ---- Gestrekte e-mailregel onder de twee vakjes ---- */
.mailbar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 1.1rem 1rem 0;
  border-top: 1px solid rgba(43, 43, 38, 0.14);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.mailbar-label {
  font-weight: 600;
  color: var(--ink);
}

.mail {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green-ink);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.mail:hover,
.mail:focus-visible {
  color: var(--green-dark);
  text-decoration: underline;
  outline: none;
}

.mail-icon { font-size: 1.05em; }

.copy-btn {
  border: none;
  cursor: pointer;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--btn);
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.copy-btn:hover,
.copy-btn:focus-visible {
  background: var(--btn-hover);
  transform: translateY(-1px);
  outline: none;
}

.copy-btn.copied { background: var(--btn-hover); }

.footer {
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.75;
}

/* ---- Mobiel: onder elkaar, logo niet te groot ---- */
@media (max-width: 760px) {
  .card {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 460px;
  }
  .logo { width: min(180px, 55%); }
  .portret { width: min(210px, 60%); }
}
