/* ============================================
   Storytelling Houten — brand tokens
   Colours sampled directly from the official
   brand style guide (people illustration palette).
   ============================================ */
:root {
  /* primary palette (illustration colours) */
  --teal: #1a655d;
  --maroon: #441212;
  --red: #eb4648;
  --coral: #f4796f;
  --orange: #f7941b;
  --gold: #fdc364;
  --peach: #f0be94;
  --blue: #a6c8e3;

  /* secondary / muted background tones */
  --teal-soft: #45998e;
  --maroon-soft: #7d3132;
  --red-soft: #d9534e;
  --coral-soft: #f6938b;
  --orange-soft: #eb993c;
  --gold-soft: #cca360;
  --peach-soft: #ebaf7d;
  --blue-soft: #5ba7e3;

  /* very light tints for section backgrounds */
  --cream: #fdf8f1;
  --peach-tint: #fdf0e4;
  --blue-tint: #eef5fb;
  --gold-tint: #fdf3e0;

  --ink: #2a1414;
  --muted: #6b5a52;
  --line: rgba(68, 18, 18, 0.1);

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(68, 18, 18, 0.08);
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

a { color: inherit; }

button { font-family: inherit; }

/* ---------- utility ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.section-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--gold-tint);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 0 8px;
}

section { padding: 88px 0; position: relative; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(247, 148, 27, 0.35); }
.btn-primary:hover { box-shadow: 0 14px 28px rgba(247, 148, 27, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border: 2px solid var(--maroon);
}
.btn-outline:hover { background: var(--maroon); color: #fff; }

.btn-ghost-white {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost-white:hover { background: #fff; color: var(--maroon-soft); }

/* ---------- nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo img { height: 40px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-links { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover { color: var(--orange); }

.lang-toggle { display: flex; border: 2px solid var(--maroon); border-radius: 999px; overflow: hidden; }
.lang-btn { border: none; background: transparent; padding: 6px 14px; font-weight: 700; font-size: 0.8rem; cursor: pointer; color: var(--maroon); }
.lang-btn.active { background: var(--maroon); color: #fff; }

.nav-cta { display: none; }
@media (min-width: 900px) { .nav-cta { display: inline-flex; } }

.menu-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--ink);
  margin: 3px 0;
  border-radius: 2px;
  transition: 0.25s ease;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }

@media (max-width: 899px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
}

/* ---------- hero (image + next-event, Mezrab-style) ---------- */
.hero {
  position: relative;
  padding: 0;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
/* legibility gradient over the photo */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(30,10,10,0.88) 0%, rgba(30,10,10,0.45) 40%, rgba(30,10,10,0.15) 70%, rgba(30,10,10,0.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 28px 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 120px; }
}

.hero-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(247, 148, 27, 0.9);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 16px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero h1 .hl { color: var(--gold); }
.hero-quote {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.92);
  max-width: 540px;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

/* --- the next-event card, merged into the hero --- */
.next-event {
  background: rgba(255,255,255,0.97);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
}
.next-event .ne-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 14px;
}
.ne-live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(247,148,27,0.6);
  animation: nePulse 2s infinite;
}
@keyframes nePulse {
  0% { box-shadow: 0 0 0 0 rgba(247,148,27,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(247,148,27,0); }
  100% { box-shadow: 0 0 0 0 rgba(247,148,27,0); }
}
.ne-date {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.ne-day { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--maroon); }
.ne-monthyear { font-size: 1rem; font-weight: 700; color: var(--maroon); }
.ne-time { font-size: 0.9rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.ne-theme { font-size: 1.2rem; font-weight: 700; margin: 0 0 4px; }
.ne-venue { font-size: 0.9rem; color: var(--muted); margin: 0 0 18px; display: flex; align-items: center; gap: 6px; }
.next-event .btn { width: 100%; justify-content: center; }
.ne-foot { margin-top: 12px; font-size: 0.78rem; color: var(--muted); text-align: center; }

.hero-stats {
  display: flex;
  gap: 26px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stat span { font-size: 0.82rem; color: rgba(255,255,255,0.8); }

/* ---------- what-is section ---------- */
.what-is { background: #fff; }
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 800px) { .what-grid { grid-template-columns: 1fr; } }

.what-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--line);
}
.what-card .icon-badge {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #fff;
}
.what-card h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; }
.what-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.badge-teal { background: var(--teal); }
.badge-orange { background: var(--orange); }
.badge-red { background: var(--red); }

.what-note {
  margin-top: 36px;
  background: var(--blue-tint);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.what-note strong { color: var(--maroon-soft); }

.section-quote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--maroon);
  max-width: 720px;
  margin: 22px 0 0;
  padding-left: 20px;
  border-left: 4px solid var(--gold);
}

/* ---------- our story ---------- */
.story { background: var(--blue-tint); }
.story-body {
  max-width: 720px;
  margin-top: 28px;
}
.story-body p {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 20px;
}
.story-body .story-close {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--maroon);
}
.story-body .story-thanks {
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 6px;
}

/* ---------- agenda ---------- */
.agenda { background: var(--peach-tint); }
.agenda-legend { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.legend-dot.upcoming { background: var(--orange); }
.legend-dot.past { background: var(--blue); }

.agenda-list { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.agenda-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
  border-left: 6px solid var(--blue);
  box-shadow: 0 6px 18px rgba(68,18,18,0.05);
}
.agenda-item.upcoming { border-left-color: var(--orange); }
@media (max-width: 640px) { .agenda-item { grid-template-columns: 1fr; } }

.agenda-date { font-weight: 800; color: var(--maroon); font-size: 1rem; }
.agenda-date small { display: block; font-weight: 600; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.agenda-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  background: var(--gold-tint);
  color: var(--orange-soft);
}
.agenda-item h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 700; }
.agenda-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.agenda-next {
  margin-top: 28px;
  text-align: center;
  background: var(--maroon-soft);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
}
.agenda-next h3 { margin: 0 0 8px; font-size: 1.3rem; }
.agenda-next p { color: rgba(255,255,255,0.85); margin: 0 0 20px; }

/* ---------- newsletter ---------- */
.newsletter {
  background: var(--maroon-soft);
  color: #fff;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .newsletter-inner { grid-template-columns: 1fr; } }
.newsletter .section-label { background: rgba(255,255,255,0.15); color: #fff; }
.newsletter h2 { color: #fff; }
.newsletter p.section-sub { color: rgba(255,255,255,0.8); }
.newsletter-points { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.newsletter-points li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.newsletter-points .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800;
}

.newsletter-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--maroon); }
.form-row input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
}
.form-row input:focus { outline: none; border-color: var(--orange); }
.newsletter-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  background: var(--gold-tint);
  color: var(--maroon-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 14px;
  text-align: center;
}
.form-success.show { display: block; }

.form-error {
  display: none;
  background: #fdeaea;
  color: #a3252a;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 14px;
  text-align: center;
}
.form-error.show { display: block; }
.form-error a { color: inherit; font-weight: 800; }

.btn:disabled { opacity: 0.7; cursor: default; transform: none; }

/* ---------- about ---------- */
.about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.person-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--line);
}
.avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem; color: #fff;
}
.person-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.person-role { font-size: 0.8rem; font-weight: 700; color: var(--orange-soft); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.person-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

.about-cta {
  margin-top: 40px;
  border: 2px dashed var(--blue-soft);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  background: var(--blue-tint);
}
.about-cta h3 { margin: 0 0 6px; }
.about-cta p { color: var(--muted); margin: 0 0 16px; }

/* ---------- instagram feed ---------- */
.insta { background: var(--gold-tint); }
.insta-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.insta-follow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--maroon); text-decoration: none;
  background: #fff; padding: 10px 20px; border-radius: 999px;
  box-shadow: var(--shadow);
}

.insta-carousel {
  position: relative;
  margin-top: 36px;
}
.insta-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.insta-track::-webkit-scrollbar { display: none; }

.insta-card {
  flex: 0 0 auto;
  width: min(320px, 82vw);
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.insta-thumb {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.insta-thumb .ig-icon { font-size: 2rem; color: rgba(255,255,255,0.85); }
.insta-caption { padding: 16px 18px; }
.insta-caption p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.insta-caption .tag { font-size: 0.75rem; font-weight: 700; color: var(--orange-soft); text-transform: uppercase; letter-spacing: 0.04em; display: block; margin-bottom: 6px; }

.insta-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.insta-nav button {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--maroon);
  background: #fff;
  color: var(--maroon);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: 0.2s ease;
}
.insta-nav button:hover { background: var(--maroon); color: #fff; }

/* ---------- footer ---------- */
footer {
  background: var(--maroon);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logo img { height: 46px; width: auto; margin-bottom: 12px; }
.footer-logo p { max-width: 320px; font-size: 0.88rem; color: rgba(255,255,255,0.65); margin: 0; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; color: var(--gold); }
.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
