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

:root {
  --wood-dark: #2b1810;
  --wood: #6b3f1d;
  --wood-light: #c9923f;
  --cream: #f7f1e8;
  --ink: #1c130c;
  --muted: #6b5d4f;
  --accent: #d97706;
  --accent-dark: #b45309;
  --white: #ffffff;
  --line: #e7dcc9;
  --shadow: 0 12px 40px -12px rgba(44, 24, 16, .35);
  --radius: 14px;
  --maxw: 1180px;
}

html { scroll-behavior: smooth; }

.dijitDialogTitleBar { 
	display: none;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--wood-dark);
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; }

p { color: var(--muted); }

a { color: inherit; text-decoration: none; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .98rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(217,119,6,.7); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 241, 232, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo-mark { font-size: 1.6rem; }
.logo-text { font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--wood-dark); }
.logo-text span { color: var(--accent); }

.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav a { font-weight: 500; color: var(--ink); font-size: .98rem; transition: color .2s; position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--wood-dark);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: .9rem;
}
.nav-cta:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--wood-dark);
  transition: transform .25s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(43,24,16,.88) 0%, rgba(43,24,16,.65) 45%, rgba(43,24,16,.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 80px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--wood-light); }
.hero .lead { color: rgba(255,255,255,.9); font-size: 1.18rem; margin-bottom: 32px; max-width: 580px; }
.hero .eyebrow { color: var(--wood-light); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,.8);
  border-radius: 4px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; top: 6px; }
  50% { opacity: 1; }
  100% { opacity: 0; top: 24px; }
}

/* ===== Stats strip ===== */
.stats {
  background: var(--wood-dark);
  color: #fff;
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  color: var(--wood-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat span { font-size: .92rem; opacity: .85; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: #f0e6d6; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head p { font-size: 1.08rem; margin-top: 14px; }

/* ===== Two-column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse .col-image { order: 2; }
.col-image { position: relative; }
.col-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.image-badge {
  position: absolute;
  bottom: 22px; left: 22px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .05em;
  box-shadow: var(--shadow);
}
.col-text h2 { margin-bottom: 18px; }
.col-text p { margin-bottom: 16px; }

.check-list { list-style: none; margin-top: 24px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
  color: var(--ink);
  font-weight: 500;
}
.check-list span {
  display: inline-flex;
  width: 24px; height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}

/* ===== Card grid (workshops) ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px -12px rgba(44,24,16,.45); }
.card-img {
  height: 200px;
  background-size: contain;
  background-position: center;
  position: relative;
}

.card-img-dlg {
  height: 400px;
  background-position: center;
  background-size: contain;
}

.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.92);
  color: var(--wood-dark);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: .95rem; margin-bottom: 18px; flex: 1; }
.meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .82rem;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ===== How steps ===== */
.how-steps { margin-top: 28px; display: grid; gap: 22px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: var(--wood-dark);
  color: var(--wood-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
}
.step h4 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { font-size: .92rem; margin: 0; }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery_add {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 14px;
}
.g {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.g img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.g:hover img { transform: scale(1.07); }
.g figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(43,24,16,.85));
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity .25s ease;
}
.g:hover figcaption { opacity: 1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ===== Quote strip ===== */
.quote-strip {
  background: var(--wood-dark);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.quote-strip blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-style: italic;
  max-width: 820px;
  margin: 0 auto 18px;
  line-height: 1.4;
}
.quote-strip cite { color: var(--wood-light); font-style: normal; font-size: .98rem; }

/* ===== Contact / form ===== */
.col-form { max-width: 520px; margin-left: auto; width: 100%; }
.join-form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--wood-dark);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.contact-list { list-style: none; margin-top: 22px; }
.contact-list li { padding: 6px 0; color: var(--ink); font-weight: 500; }
.form-msg {
  margin-top: 16px;
  padding: 12px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  font-size: .9rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--wood-dark);
  color: #fff;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.7); margin-top: 14px; max-width: 280px; font-size: .92rem; }
.footer-col h5 {
  color: var(--wood-light);
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  padding: 5px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--wood-light); }
.footer-bottom { padding-top: 24px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.55); font-size: .85rem; }

/* ===== Reveal animatie ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-150%);
    transition: transform .3s ease;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .two-col, .two-col.reverse .col-image { grid-template-columns: 1fr; }
  .two-col.reverse .col-image { order: 0; }
  .col-image img { height: 320px; }

  .card-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .g-tall, .g-wide { grid-row: span 1; grid-column: span 1; }

  .section { padding: 70px 0; }
  .hero { min-height: 90vh; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .stats-grid { grid-template-columns: 1fr; }
}
