/* ==========================================================================
   Astro Atalanta — shared stylesheet
   Palette & typography reproduced from the honds-trouw.be theme
   ========================================================================== */

:root {
  --beige:      #f9f7f2;   /* page background          */
  --sage:       #9caf88;   /* accent green             */
  --sage-dark:  #4f6245;   /* buttons / strong accents */
  --dark:       #2c2c2c;   /* body text                */
  --sand:       #e6e1d6;   /* borders / soft fills     */
  --clay:       #bfaea4;   /* muted accent             */
  --terracotta: #b5532f;   /* brand butterfly accent (from logo) */
  --muted:      #6b6b66;   /* secondary text           */
  --white:      #ffffff;

  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-serif: ui-serif, Georgia, "Times New Roman", serif;

  --maxw: 1200px;
  --radius: .75rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow:    0 10px 30px -12px rgba(44,44,44,.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  font-family: var(--font-sans);
  background: var(--beige);
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; color: var(--dark); }

.serif  { font-family: var(--font-serif); }
.italic { font-style: italic; }

/* ---------- layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 5.5rem 0; }
.section--tight { padding: 4rem 0; }
.bg-beige  { background: var(--beige); }
.bg-white  { background: var(--white); }
.bg-sand   { background: var(--sand); }
.bg-sand-soft { background: color-mix(in srgb, var(--sand) 40%, var(--beige)); }
.bg-sage-dark { background: var(--sage-dark); color: var(--white); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--sage-dark); margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--muted); }

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-top: .25rem; }
.section-head p  { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.75rem; border-radius: 9999px;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sage-dark); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: color-mix(in srgb, var(--sage-dark) 88%, black); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--sage-dark); color: var(--sage-dark); background: transparent; }
.btn-outline:hover { background: var(--sage-dark); color: var(--white); }
.btn-outline-light { border-color: var(--dark); color: var(--dark); }
.btn-outline-light:hover { background: var(--dark); color: var(--white); }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 5rem;
  background: color-mix(in srgb, var(--beige) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, background-color .3s;
}
.nav.scrolled { background: color-mix(in srgb, var(--white) 95%, transparent); box-shadow: 0 4px 16px -8px rgba(0,0,0,.2); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; height: 100%;
  display: flex; align-items: center; justify-content: space-between; }
.nav__logo img { height: 2.6rem; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dark);
  transition: color .2s;
}
.nav__link:hover { color: var(--sage); }
.nav__cta { padding: .55rem 1.4rem; }

/* language switcher */
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: .4rem; background: none; border: 0;
  color: var(--dark); font: inherit; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer; }
.lang__btn:hover { color: var(--sage); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + .5rem); width: 11rem;
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: none;
}
.lang__menu.open { display: block; }
.lang__menu a { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem;
  font-size: .9rem; transition: background-color .2s; }
.lang__menu a:hover { background: var(--beige); }
.lang__menu .flag { font-size: 1.2rem; }

/* mobile */
.nav__burger { display: none; background: none; border: 0; cursor: pointer; color: var(--dark); }
.nav__mobile { display: none; background: var(--beige); border-top: 1px solid var(--sand); }
.nav__mobile a { display: block; padding: .7rem 0; text-align: center; color: var(--dark);
  text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.nav__mobile a:hover { color: var(--sage); }
.nav__mobile .langrow { display: flex; justify-content: center; gap: 1rem;
  padding: .75rem 0; border-bottom: 1px solid var(--sand); margin-bottom: .5rem; }
.nav__mobile .langrow a { padding: .4rem .8rem; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 9rem 0 5rem; overflow: hidden; }
.hero__wheel {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: 46rem; max-width: 70%; opacity: .14; pointer-events: none; z-index: 0;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: .5rem 0 1.25rem; }
.hero__intro { font-size: 1.12rem; color: var(--muted); margin-bottom: 2rem; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__media { position: relative; display: flex; justify-content: center; }
.hero__media img.celestial { width: 100%; max-width: 26rem; border-radius: 50%;
  box-shadow: var(--shadow); }
.hero__badge { position: absolute; bottom: 1rem; left: 0; background: var(--white);
  border: 1px solid var(--sand); border-radius: 9999px; padding: .5rem 1.1rem;
  font-size: .78rem; letter-spacing: .04em; color: var(--sage-dark); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: .5rem; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%;
  object-fit: cover; }
.split__media.round img { border-radius: 50%; width: 22rem; height: 22rem; margin: 0 auto;
  border: 6px solid var(--white); }
.prose p { margin-bottom: 1.1rem; color: var(--muted); }
.prose p strong, .prose strong { color: var(--dark); }
.prose h3 { font-size: 1.6rem; margin: 1.5rem 0 .75rem; }

.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--beige);
  border: 1px solid var(--sand); border-radius: 9999px; padding: .45rem 1rem;
  font-size: .8rem; color: var(--sage-dark); }

/* ---------- feature / info cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card__icon { width: 3rem; height: 3rem; margin-bottom: 1rem; }
.card__icon img { width: 100%; height: 100%; object-fit: contain; }

/* theme cards with image */
.theme-card { position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); min-height: 18rem; display: flex; align-items: flex-end;
  color: var(--white); }
.theme-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.theme-card::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,44,44,.82), rgba(44,44,44,.15)); z-index: 1; }
.theme-card__body { position: relative; z-index: 2; padding: 1.5rem; }
.theme-card__body h3 { color: var(--white); font-size: 1.4rem; }
.theme-card__body p { color: rgba(255,255,255,.9); font-size: .92rem; margin-top: .35rem; }

/* example questions list */
.examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.25rem; }
.example { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 1.5rem; }
.example h4 { font-family: var(--font-sans); font-weight: 700; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: .6rem; }
.example p { color: var(--muted); font-style: italic; font-size: .98rem; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; max-width: 760px; margin: 0 auto; }
.step { display: flex; gap: 1.1rem; background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.step::before { counter-increment: step; content: counter(step);
  flex: 0 0 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--sage-dark);
  color: var(--white); font-family: var(--font-serif); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; }
.step p { color: var(--muted); align-self: center; }

/* ---------- form ---------- */
.form-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 2.5rem; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; letter-spacing: .04em; font-weight: 600;
  margin-bottom: .4rem; color: var(--dark); }
.field input, .field textarea {
  width: 100%; font: inherit; padding: .8rem 1rem; border: 1px solid var(--sand);
  border-radius: .5rem; background: var(--beige); color: var(--dark); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 30%, transparent); background: var(--white); }
.field textarea { min-height: 7rem; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: var(--muted); }
.check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--sage-dark); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.honeypot { position: absolute; left: -5000px; width: 0; height: 0; }
.field label .req { color: #b3261e; margin-left: .15rem; }
.cf-turnstile { margin-top: 1.2rem; }
.form-card button[disabled] { opacity: .6; cursor: progress; }
.form-status { margin-top: 1rem; font-size: .95rem; line-height: 1.5; }
.form-status:empty { margin: 0; }
.form-status.is-ok { color: var(--sage-dark); font-weight: 600; }
.form-status.is-error { color: #b3261e; font-weight: 600; }
.form-status.is-sending { color: var(--muted); }

/* ---------- mentors ---------- */
.mentors { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.mentor { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.5rem; }
.mentor h4 { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; margin-bottom: .5rem; }
.mentor p { font-size: .9rem; color: var(--muted); margin-bottom: .75rem; }
.mentor a { color: var(--sage-dark); font-size: .85rem; font-weight: 600; }
.mentor a:hover { text-decoration: underline; }

/* ---------- blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.post-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16/10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.post-card__body h3 { font-size: 1.3rem; margin: .4rem 0 .6rem; }
.post-card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-card__more { margin-top: 1rem; color: var(--sage-dark); font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-list { list-style: none; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ico { flex: 0 0 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--beige);
  border: 1px solid var(--sand); display: flex; align-items: center; justify-content: center; color: var(--sage-dark); }
.contact-list .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--clay); }
.contact-list a, .contact-list span.val { font-size: 1.05rem; color: var(--dark); }
.contact-list a:hover { color: var(--sage-dark); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #d8d6cf; padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__logo { height: 2.6rem; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer p { font-size: .92rem; line-height: 1.7; }
.footer h4 { font-family: var(--font-sans); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--beige); margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .55rem; }
.footer ul a { font-size: .92rem; color: #d8d6cf; }
.footer ul a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid #444; padding-top: 1.5rem; display: flex;
  flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; color: #b7b5ae; }
.footer__social { display: flex; gap: 1rem; }
.footer__social a { color: #d8d6cf; }
.footer__social a:hover { color: var(--white); }

/* ---------- thank-you ---------- */
.ty { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8rem 1.5rem 4rem; }
.ty h1 { font-size: clamp(2rem,5vw,3rem); margin-bottom: 1rem; }
.ty p { color: var(--muted); max-width: 34rem; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ---------- article (blog post) ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article__hero { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0 2rem; box-shadow: var(--shadow); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__meta { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.article h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: .5rem 0; }
.article__body { font-size: 1.08rem; color: #3a3a36; }
.article__body p { margin: 1.2rem 0; }
.article__body h2 { font-size: 1.8rem; margin: 2.2rem 0 .8rem; }
.article__body h3 { font-size: 1.4rem; margin: 1.8rem 0 .6rem; }
.article__body ul, .article__body ol { margin: 1.2rem 0 1.2rem 1.4rem; }
.article__body li { margin: .4rem 0; }
.article__body blockquote { border-left: 3px solid var(--sage); padding-left: 1.25rem;
  font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--sage-dark); margin: 1.5rem 0; }
.article__body img { border-radius: var(--radius); margin: 1.5rem 0; box-shadow: var(--shadow-sm); }
.article__back { display: inline-flex; align-items: center; gap: .4rem; color: var(--sage-dark);
  font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }

/* blog index header */
.page-hero { padding: 8rem 0 3rem; text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem,5vw,3.4rem); }
.page-hero p { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .hero__media { order: -1; }
  .grid-3, .mentors, .posts { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__wheel { display: none; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav.open .nav__mobile { display: block; position: absolute; top: 5rem; left: 0; right: 0; padding: 1rem 1.5rem 1.5rem; }
  .section { padding: 3.5rem 0; }
  .grid-3, .grid-2, .mentors, .posts, .footer__grid { grid-template-columns: 1fr; }
  .split__media.round img { width: 16rem; height: 16rem; }
  .form-card { padding: 1.5rem; }
}
