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

:root {
  --primary:   #C94F2C;
  --light:     #1C1C1C;
  --dark:      #F0EBE4;
  --mid:       #A09890;
  --accent:    #E8B84B;
  --radius:    6px;
  --gap:       clamp(2rem, 5vw, 5rem);
  --surface:   #252525;
  --border:    rgba(255,255,255,.07);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

img, video { display: block; max-width: 100%; }
img { width: 100%; height: 100%; object-fit: cover; }

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }

p { font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 65ch; }

/* ── Layout helpers ── */
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding-block: var(--gap); }

/* ── Navigation ── always solid on dark theme ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(28,28,28,.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .35s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--dark);
}

.nav-links {
  display: flex; gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(240,235,228,.7);
  transition: color .25s;
}

.nav-links a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100svh; min-height: 600px;
  display: grid; place-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute; inset: 0;
}

.hero-media img,
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: slowzoom 18s ease-in-out infinite alternate;
  filter: brightness(.6) saturate(.8);
}

@keyframes slowzoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.2) 0%,
    rgba(0,0,0,.55) 60%,
    rgba(28,28,28,.9) 100%
  );
}

.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  color: #fff;
  padding-inline: 1.5rem;
}

.hero-content h1 {
  max-width: 14ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.5);
}

.hero-content p {
  margin-inline: auto;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  opacity: .85;
  max-width: 45ch;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  transition: transform .2s, opacity .2s;
}

.btn:hover { transform: translateY(-2px); opacity: .88; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-outline  { border: 2px solid rgba(255,255,255,.5); color: #fff; }

/* ── Section: intro ── */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
}

.intro-text h2 { margin-bottom: 1.2rem; }
.intro-text p  { color: var(--mid); margin-bottom: 1rem; }

/* ── Section: pillars ── */
.pillars {
  background: var(--surface);
  color: var(--dark);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars h2 { margin-bottom: 3rem; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar { padding: 2.5rem 2rem; }

.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  display: grid; place-items: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: #fff;
}

.pillar h3 { margin-bottom: .6rem; color: var(--accent); }
.pillar p  { color: var(--mid); margin-inline: auto; }

/* ── Section: workshops preview ── */
.workshops-preview { }
.workshops-preview h2 { margin-bottom: 2.5rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}

.card-image { aspect-ratio: 4/3; }

.card-body { padding: 1.5rem; }
.card-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}
.card-body h3 { margin-bottom: .5rem; color: var(--dark); }
.card-body p  { color: var(--mid); font-size: .95rem; }

/* ── Full-bleed image band ── */
.band {
  height: clamp(280px, 45vw, 600px);
  overflow: hidden;
}

.band img {
  animation: slowzoom 20s ease-in-out infinite alternate;
  filter: brightness(.7) saturate(.85);
}

/* ── Section: team teaser ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card { text-align: center; }

.team-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid var(--border);
}

.team-card h3 { margin-bottom: .25rem; font-size: 1.1rem; color: var(--dark); }
.team-card p  { color: var(--mid); font-size: .9rem; max-width: 24ch; margin-inline: auto; }

/* ── Section: CTA strip ── */
.cta-strip {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding-block: clamp(3rem, 6vw, 6rem);
}

.cta-strip h2 { margin-bottom: 1rem; }
.cta-strip p  { margin-inline: auto; opacity: .88; margin-bottom: 2rem; }
.cta-strip .btn-outline { border-color: rgba(255,255,255,.6); }

/* ── Footer ── */
footer {
  background: #111;
  color: rgba(255,255,255,.4);
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: .9rem;
  border-top: 1px solid var(--border);
}

footer strong { color: rgba(255,255,255,.9); font-family: 'DM Serif Display', serif; font-size: 1.2rem; }

/* ── Page hero (inner pages) ── */
.page-hero {
  height: 55svh; min-height: 380px;
  position: relative;
  display: grid; place-items: end start;
}

.page-hero .hero-media { position: absolute; inset: 0; }
.page-hero .hero-media img { filter: brightness(.55) saturate(.8); }
.page-hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 100%); }

.page-hero-content {
  position: relative; z-index: 1;
  color: #fff;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
}

.page-hero-content .label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}

.page-hero-content h1 { max-width: 16ch; }

/* ── About page ── */
.about-body {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem;
  align-items: start;
}

.about-body p + p { margin-top: 1rem; }
.about-body p { color: var(--mid); }

.goals-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.goals-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  font-size: .97rem; color: var(--mid);
}

.goals-list li::before {
  content: '→';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05em;
}

/* ── Workshops page ── */
.workshop-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 3rem;
  border-top: 1px solid var(--border);
}

.workshop-block:nth-child(even) { direction: rtl; }
.workshop-block:nth-child(even) > * { direction: ltr; }

.workshop-block-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}

.workshop-block-text .label {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: .6rem;
  display: block;
}

.workshop-block-text h2 { margin-bottom: .8rem; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--dark); }
.workshop-block-text p  { color: var(--mid); }

.workshop-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.2rem;
}

.meta-item {
  font-size: .85rem; font-weight: 600;
  color: var(--dark);
  display: flex; align-items: center; gap: .4rem;
}

.meta-item span { color: var(--mid); font-weight: 400; }

/* ── Hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px; height: 36px;
  color: var(--dark);
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .intro, .about-body, .workshop-block,
  .workshop-block:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }

  .pillars-grid, .cards, .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .pillars-grid, .cards, .team-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: var(--light);
    z-index: 150;
    list-style: none;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--dark) !important;
  }
}
