/* Vajra Lotus Foundation — site styles
   Palette follows the foundation logo (copper on dark brown) with cream backgrounds. */

:root {
  /* from the foundation logo: copper wheel-and-lotus on dark brown */
  --copper: #9a5419;        /* links, buttons (AA on cream) */
  --copper-deep: #6e3a10;   /* hover */
  --accent: #d0833d;        /* logo copper — highlights, CTA on dark */
  --accent-soft: #f0c48f;   /* copper text on dark backgrounds */
  --brown: #2d1a0c;         /* logo background — headings, footer */
  --brown-2: #3d2414;       /* dark sections */
  --cream: #faf6f0;
  --cream-2: #f3eadf;
  --paper: #ffffff;
  --ink: #2b211c;
  --muted: #6b5d53;
  --line: #e8dccd;
  --focus: #d0833d;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(45, 26, 12, .06), 0 2px 8px rgba(45, 26, 12, .05);
  --shadow: 0 10px 30px -12px rgba(45, 26, 12, .25);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--brown);
  margin: 0 0 .5em;
}
h1, h2 { font-variation-settings: "opsz" 96; }
h3, h4 { letter-spacing: 0; font-variation-settings: "opsz" 24; font-weight: 500; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--copper); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-paper { background: var(--paper); }
.bg-cream2 { background: var(--cream-2); }
.bg-dark { background: var(--brown-2); color: #f5ebdf; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .78rem/1 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.bg-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent-soft); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.bg-dark .lede { color: #e9dac9; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--copper); --fg: #fff; --bd: var(--copper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 24px;
  font: 600 .95rem/1.1 var(--font-body); letter-spacing: .01em;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { --bg: var(--copper-deep); --bd: var(--copper-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { --bg: var(--accent); --bd: var(--accent); --fg: var(--brown); }
.btn-accent:hover { --bg: #dc9452; --bd: #dc9452; color: var(--brown); }
.btn-ghost { --bg: transparent; --fg: var(--copper); --bd: currentColor; }
.btn-ghost:hover { --bg: var(--copper); --bd: var(--copper); }
.btn-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.7); }
.btn-light:hover { --bg: #fff; --bd: #fff; color: var(--brown); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; text-decoration: none; color: var(--copper);
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brown); }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px var(--accent-soft); }
.brand-name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.brand-name small { display: block; font: 500 .66rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav button.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font: 500 .95rem/1 var(--font-body); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button.nav-trigger:hover, .nav a[aria-current="page"] { background: var(--cream-2); color: var(--copper); }
.nav a.btn { margin-left: 10px; padding: 11px 20px; color: #fff; background: var(--copper); border-radius: 999px; }
.nav a.btn:hover { background: var(--copper-deep); color: #fff; }
body.home .site-header:not(.scrolled) .nav a.btn { background: var(--accent); border-color: var(--accent); color: var(--brown); }
.has-menu { position: relative; }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .2s ease; }
.has-menu.open .nav-trigger svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 340px; padding: 10px; list-style: none; margin: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-menu.open .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 14px; border-radius: 10px; line-height: 1.25; }
.submenu a span { font-size: .82rem; color: var(--muted); font-weight: 400; }
.submenu .ext::after { content: "↗"; font-size: .8em; color: var(--muted); margin-left: 4px; }
.submenu a strong { font-weight: 600; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer; color: var(--brown);
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 32px; overflow-y: auto;
    background: var(--cream);
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav button.nav-trigger { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.1rem; border-radius: 0; }
  .nav a:hover, .nav button.nav-trigger:hover, .nav a[aria-current="page"] { background: none; }
  .submenu { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px; }
  .has-menu.open .submenu { display: block; transform: none; }
  .submenu a { padding: 12px 8px; font-size: 1rem; }
  .nav a.btn { margin: 24px 0 0; width: 100%; padding: 16px; font-size: 1.05rem; justify-content: center; }
  body.menu-open { overflow: hidden; }
  /* backdrop-filter would make the header the containing block for the fixed menu */
  body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(48px, 8vw, 96px);
  margin-top: calc(-1 * var(--header-h));
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(45,26,12,.55) 0%, rgba(45,26,12,.05) 30%, rgba(45,26,12,.25) 55%, rgba(26,15,7,.88) 100%),
    linear-gradient(90deg, rgba(26,15,7,.55) 0%, rgba(26,15,7,0) 65%);
}
@media (max-width: 700px) {
  .hero::before { background: linear-gradient(180deg, rgba(45,26,12,.6) 0%, rgba(45,26,12,.45) 35%, rgba(26,15,7,.9) 100%); }
}
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 20px; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--accent-soft); font-weight: 400; }
.hero .lede { color: rgba(255,255,255,.88); margin-bottom: 32px; max-width: 56ch; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 40px;
  font-size: .85rem; color: rgba(255,255,255,.8);
}
.hero-badge svg { width: 18px; height: 18px; color: var(--accent-soft); }

/* Home header sits over the hero */
body.home .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.home .site-header:not(.scrolled) .brand,
body.home .site-header:not(.scrolled) .brand-name small,
body.home .site-header:not(.scrolled) .nav > ul > li > a,
body.home .site-header:not(.scrolled) .nav-trigger { color: #fff; }
body.home .site-header:not(.scrolled) .nav > ul > li > a:hover,
body.home .site-header:not(.scrolled) .nav-trigger:hover { background: rgba(255,255,255,.14); }
body.home .site-header:not(.scrolled) .menu-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
@media (max-width: 980px) {
  body.home.menu-open .site-header { background: var(--cream); }
  body.home.menu-open .site-header .brand, body.home.menu-open .site-header .brand-name small { color: var(--brown); }
  body.home.menu-open .site-header .menu-toggle { color: var(--brown); background: var(--paper); border-color: var(--line); }
  body.home .nav > ul > li > a, body.home .nav-trigger { color: var(--ink) !important; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  padding: clamp(80px, 12vw, 150px) 0 clamp(56px, 8vw, 96px);
  background: var(--brown-2);
}
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(26,15,7,.92) 0%, rgba(45,26,12,.72) 50%, rgba(45,26,12,.35) 100%);
}
.page-hero h1 { color: #fff; max-width: 20ch; text-wrap: balance; }
.page-hero .lede { color: rgba(255,255,255,.86); }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { font-size: .85rem; margin-bottom: 22px; color: rgba(255,255,255,.7); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero.plain { background: var(--brown-2) url("../img/pattern.svg") center/520px repeat; }
.page-hero.plain::before { background: linear-gradient(180deg, rgba(45,26,12,.6), rgba(45,26,12,.92)); }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
.split.wide-right { grid-template-columns: .85fr 1.15fr; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; } .split .order-first-m { order: -1; } }

/* photo stays in view beside long text — only when the columns sit side by side */
@media (min-width: 901px) { .sticky-col { position: sticky; top: calc(var(--header-h) + 24px); } }

.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.tall { aspect-ratio: 4 / 5; }
.media-frame.square { aspect-ratio: 1; }
.media-frame.wide { aspect-ratio: 16 / 10; }
.media-caption { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.media-accent { position: relative; }
.media-accent::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1.5px solid var(--accent); border-radius: var(--radius-lg); opacity: .55;
}
@media (max-width: 600px) { .media-accent::before { inset: 12px -10px -12px 10px; } }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #43362f; }
.prose li { margin-bottom: .4em; }

/* ---------- Pillars / feature cards ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pillar { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.pillar-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #f6eadb; color: var(--copper); margin-bottom: 18px; }
.pillar-icon svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Project cards ---------- */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.project {
  grid-column: span 6; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); position: relative; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project:hover .project-media img { transform: scale(1.04); }
.project-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { margin-bottom: 10px; }
.project-body p { color: var(--muted); font-size: .98rem; }
.project-body .link-arrow { margin-top: auto; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font: 600 .74rem/1.2 var(--font-body); letter-spacing: .04em; text-transform: uppercase;
  background: #f6eadb; color: var(--copper);
}
.pill.amber { background: #f7eed3; color: #7a5a0c; }
.pill.green { background: #e7f1e4; color: #2f5d2a; }
.pill.grey { background: #eee9e2; color: #5b4f47; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.project.feature { grid-column: span 12; flex-direction: row; }
.project.feature .project-media { flex: 1.1; aspect-ratio: auto; min-height: 420px; }
.project.feature .project-body { flex: 1; padding: clamp(28px, 4vw, 52px); justify-content: center; }
.project.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.project.app .project-media { background: linear-gradient(135deg, #4a2a14, #2d1a0c); display: grid; place-items: center; }
.project.app .project-media img { object-fit: contain; }
.project.app .project-media.emblem { background: #f8f4ea; }
.project-media.emblem img { object-fit: cover; object-position: 50% 0; }
@media (max-width: 900px) {
  .project { grid-column: span 12; }
  .project.feature { flex-direction: column; }
  .project.feature .project-media { min-height: 0; aspect-ratio: 16 / 11; }
}

.progress { margin: 6px 0 22px; }
.progress-top { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.progress-top strong { color: var(--brown); }
.progress-bar { height: 10px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.progress-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--copper), var(--accent)); }

/* ---------- Leader / quote ---------- */
.quote {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4;
  color: var(--brown); font-style: italic; font-weight: 400;
  border-left: 3px solid var(--accent); padding-left: 22px; margin: 28px 0;
}
.bg-dark .quote { color: #fff; }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: #f6eadb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a5419' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.bg-dark .checklist li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0c48f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ---------- Give cards ---------- */
.give-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.give {
  display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: inherit; text-decoration: none;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.give:hover { background: rgba(255,255,255,.1); border-color: var(--accent); transform: translateY(-2px); color: inherit; }
.give-icon { width: 44px; height: 44px; color: var(--accent-soft); margin-bottom: 18px; }
.give h3 { font-size: 1.25rem; margin-bottom: 8px; }
.give p { font-size: .95rem; color: #e2d0bd; margin-bottom: 18px; }
.give .link-arrow { margin-top: auto; color: var(--accent-soft); }
.give-note { margin-top: 28px; font-size: .85rem; color: #cfb9a3; }
@media (max-width: 1000px) { .give-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .give-grid { grid-template-columns: 1fr; } }

/* ---------- Tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.tier.featured { border: 2px solid var(--copper); box-shadow: var(--shadow); }
.tier.featured[data-badge]::before {
  content: attr(data-badge); position: absolute; top: -13px; left: 26px;
  padding: 4px 12px; border-radius: 999px; background: var(--copper); color: #fff;
  font: 600 .72rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
}
.tier-name { font: 600 .8rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.tier-name svg { width: 18px; height: 18px; color: var(--copper); }
.tier-gem { width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); }
.tier-price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--brown); }
.tier-price small { font: 500 1rem var(--font-body); color: var(--muted); }
.tier-alt { font-size: .88rem; color: var(--muted); margin: 6px 0 18px; }
.tier p { font-size: .97rem; margin-bottom: 24px; }
.tier .btn { margin-top: auto; width: 100%; }
@media (max-width: 1000px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-left: 64px; }
.tl-dot {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line); color: var(--muted);
}
.tl-dot svg { width: 18px; height: 18px; }
.tl-item.active .tl-dot { border-color: var(--copper); color: var(--copper); }
.tl-item.done .tl-dot { background: var(--copper); border-color: var(--copper); color: #fff; }
.tl-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.tl-card h3 { margin-bottom: 6px; font-size: 1.35rem; }
.tl-card p { margin: 0 0 12px; color: var(--muted); }
.tl-card img { border-radius: 10px; margin-top: 16px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery figure { margin: 0; min-width: 0; }
.gallery figure.big { grid-column: span 2; grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery button {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--cream-2); cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; position: relative;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; } }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(20, 12, 6, .92); padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; max-width: min(1200px, 100%); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #eadfd2; font-size: .95rem; padding: 0 70px; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Ecosystem strip ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.eco {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}
.eco:hover { border-color: var(--copper); transform: translateY(-2px); color: var(--ink); }
.eco strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--brown); }
.eco span { font-size: .9rem; color: var(--muted); }
.eco em { font-style: normal; font-size: .8rem; color: var(--copper); font-weight: 600; margin-top: 6px; }
@media (max-width: 900px) { .eco-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .eco-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px); color: #fff; background: var(--copper);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background: url("../img/pattern.svg") right center / 420px repeat;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #f2e2d1; margin: 0; max-width: 56ch; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--brown); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fffdf9;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(154,84,25,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: 4px 0 20px; }
.check input { margin-top: 4px; accent-color: var(--copper); width: 18px; height: 18px; }
.form-status { margin-top: 14px; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: #2f5d2a; }
.form-status.err { color: #a12a2a; }
.hp { position: absolute; left: -9999px; }

.newsletter { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.newsletter input {
  flex: 1 1 240px; min-height: 50px; padding: 12px 18px; font: inherit; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff;
}
.newsletter input::placeholder { color: rgba(255,255,255,.6); }
.newsletter input:focus { outline: none; border-color: var(--accent); }

.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #f6eadb; color: var(--copper); }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 600; color: var(--brown);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-body { padding: 0 24px 22px; color: #4a3d35; }
.faq .faq-body ul { margin: 0 0 1em; }

/* ---------- Schedule ---------- */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.day { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.day-head { padding: 20px 24px; background: var(--brown-2); color: #fff; }
.day-head span { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); }
.day-head strong { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; }
.session { padding: 18px 24px; border-top: 1px solid var(--line); }
.session:first-of-type { border-top: 0; }
.session time { font-size: .82rem; font-weight: 600; color: var(--copper); letter-spacing: .04em; }
.session h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin: 2px 0 4px; color: var(--ink); }
.session p { margin: 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .days { grid-template-columns: 1fr; } }

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius);
  background: #fbf3dc; border: 1px solid #ecd9a2; color: #5e4708; font-size: .96rem;
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.notice strong { color: #3f2f04; }
.page-hero .notice { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; display: inline-flex; margin-top: 28px; }
.page-hero .notice strong { color: var(--accent-soft); }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mini-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mini-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mini-card .mc-body { padding: 20px 22px; }
.mini-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.mini-card p { margin: 0; font-size: .94rem; color: var(--muted); }
.mini-card .mc-icon { padding: 22px 22px 0; color: var(--copper); }
.mini-card .mc-icon svg { width: 30px; height: 30px; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

.price-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-list > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.price-list strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; color: var(--brown); }
.price-list span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price-list p { margin: 8px 0 0; font-size: .93rem; color: var(--muted); }
@media (max-width: 760px) { .price-list { grid-template-columns: 1fr; } }

.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--copper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: #dccab6; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-name small { color: #c2aa92; }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #eddfcf; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.socials a:hover { background: var(--accent); color: var(--brown); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: .84rem; color: #ac937b; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { color: #cab49e; }
.tax-line { font-size: .85rem; color: #c2aa92; margin-top: 16px; max-width: 42ch; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
