/* =================================================================
   Rocky Mountain Artisans — phase 1
   Placeholder brand palette: pine green + copper + sand.
   Swap the :root tokens when the brand is settled.
   Built on the same skeleton as the Dianas Event Centers site.
   ================================================================= */

:root {
  --pine: #1e3b2f;         /* deep green, headings + header */
  --pine-deep: #122a21;
  --pine-soft: #2f5a47;
  --copper: #c8743f;       /* accent */
  --copper-dark: #9e5528;
  --sand: #f7f2ea;         /* page background */
  --sand-deep: #efe6d8;
  --white: #ffffff;
  --text: #262a27;
  --muted: #666b66;
  --line: #e3dacb;
  --ok: #1f7a4d;
  --err: #b3261e;

  --maxw: 1140px;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(18, 42, 33, 0.12);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }

a { color: var(--copper-dark); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--pine); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 .4em; }
h3 { font-size: 1.3rem; margin: 0 0 .4em; }

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

.section { padding: 72px 0; }
.section--tint { background: var(--white); }
.section--dark { background: var(--pine); color: #e6ece8; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .section__head p { color: #c9d4cd; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .18em;
  font-size: .78rem; font-weight: 700; color: var(--copper-dark); margin-bottom: 10px;
}
.section--dark .eyebrow { color: #e3a476; }

/* ---- buttons ---- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 50px;
  font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  font-size: .98rem; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--copper); color: var(--white); }
.btn--primary:hover { background: var(--copper-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--white); color: var(--pine); }
.btn--outline { background: transparent; color: var(--pine); border-color: var(--copper); }
.btn--outline:hover { background: var(--copper); color: var(--white); }
.btn--small { padding: 9px 18px; font-size: .88rem; }

/* ---- header / nav ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(18, 42, 33, .94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(200, 116, 63, .25);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700;
  color: var(--white); text-decoration: none; letter-spacing: .01em; white-space: nowrap;
}
.brand svg { width: 34px; height: 26px; flex: none; }
.brand span { color: #e3a476; }
.nav__links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: #e6ece8; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav__links a:hover { color: #e3a476; }
.nav__links .btn { color: var(--white); padding: 9px 18px; font-size: .9rem; }
.nav__links .btn:hover { color: var(--white); }
.nav__lang { display: flex; gap: 6px; align-items: center; font-size: .85rem; }
.nav__lang a { color: #a9b8ae; text-decoration: none; padding: 2px 6px; border-radius: 4px; }
.nav__lang a.is-active { color: var(--pine-deep); background: #e3a476; font-weight: 700; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .2s; }

/* ---- hero ---- */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden;
  color: var(--white); text-align: center;
  background: linear-gradient(180deg, #16302a 0%, #1e3b2f 55%, #2f5a47 100%);
}
.hero__art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; pointer-events: none; }
.hero__sun { position: absolute; top: 18%; right: 14%; width: clamp(80px, 12vw, 160px); height: clamp(80px, 12vw, 160px);
  border-radius: 50%; background: radial-gradient(circle at 40% 40%, #f0b27e, var(--copper) 70%); opacity: .9; }
.hero__inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 120px 20px 160px; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4.3rem); margin: 0 0 .25em; }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #e6ece8; margin: 0 auto 30px; max-width: 640px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 26px; font-size: .9rem; color: #c9d4cd; }

/* ---- how it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--copper); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step p { margin: 0; color: var(--muted); }

/* ---- audience split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split__card { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.split__card ul { padding-left: 20px; margin: 12px 0 18px; }
.split__card li { margin-bottom: 6px; }

/* ---- events: calendar + list ---- */
.events-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 36px; align-items: start; }
.cal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__title { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--pine); text-transform: capitalize; }
.cal__nav { background: none; border: 1px solid var(--line); border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 1.1rem; color: var(--pine); }
.cal__nav:hover { background: var(--sand); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 4px 0; }
.cal__day {
  position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: .92rem; color: var(--text); background: none; border: 0; font-family: inherit;
}
.cal__day.is-muted { color: #b9b5ad; }
.cal__day.is-today { outline: 2px solid var(--line); }
.cal__day.has-event { background: var(--pine); color: var(--white); font-weight: 700; cursor: pointer; }
.cal__day.has-event:hover { background: var(--copper); }
.cal__day.has-event.is-past { background: var(--sand-deep); color: var(--muted); font-weight: 600; }
.cal__day.has-event::after { content: ""; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #e3a476; }
.cal__legend { margin-top: 12px; font-size: .8rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.cal__legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.cal__legend .lg-open::before { background: var(--pine); }
.cal__legend .lg-past::before { background: var(--sand-deep); border: 1px solid var(--line); }

.events { display: grid; gap: 16px; }
.event {
  display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow); scroll-margin-top: 90px;
}
.event.is-past { opacity: .72; box-shadow: none; }
.event__date { text-align: center; background: var(--sand); border-radius: 10px; padding: 10px 6px; border: 1px solid var(--line); }
.event__date .d { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--pine); line-height: 1; }
.event__date .m { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; color: var(--copper-dark); }
.event__date .w { font-size: .72rem; color: var(--muted); text-transform: capitalize; }
.event h3 { margin: 0 0 4px; font-size: 1.25rem; }
.event__meta { font-size: .9rem; color: var(--muted); margin: 0 0 8px; }
.event__desc { font-size: .95rem; margin: 0 0 12px; }
.event__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 50px; }
.badge--open { background: #e2f0e8; color: var(--ok); }
.badge--full { background: #fbe6e3; color: var(--err); }
.badge--past { background: var(--sand-deep); color: var(--muted); }
.events__empty { color: var(--muted); font-style: italic; padding: 18px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---- plans ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative;
}
.plan--featured { border-color: var(--copper); border-width: 2px; }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--copper); color: var(--white); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; padding: 5px 14px; border-radius: 50px; white-space: nowrap;
}
.plan__name { font-family: var(--font-head); font-size: 1.8rem; color: var(--pine); margin: 0 0 2px; }
.plan__tier { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.plan__price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--pine); line-height: 1; }
.plan__price small { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan__booth { margin: 8px 0 18px; padding: 10px 12px; background: var(--sand); border-radius: 8px; font-size: .95rem; }
.plan__booth b { color: var(--copper-dark); font-size: 1.15rem; }
.plan__list { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan__list li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--copper-dark); font-weight: 700; }
.plan .btn { text-align: center; }
.plans__note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 28px; max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---- team ---- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.person { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.person__avatar {
  width: 88px; height: 88px; border-radius: 50%; background: var(--pine); color: #e3a476;
  font-family: var(--font-head); font-weight: 700; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
}
.person h3 { margin: 4px 0 2px; }
.person__role { color: var(--copper-dark); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin: 0 0 10px; }
.person p { margin: 0; font-size: .95rem; }

/* ---- story / past events ---- */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.story ul { list-style: none; padding: 0; margin: 18px 0 0; }
.story li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.story li::before { content: "▲"; position: absolute; left: 0; top: 2px; color: var(--copper); font-size: .8rem; }
.photo-placeholder {
  aspect-ratio: 4 / 3; border: 2px dashed rgba(255,255,255,.35); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #c9d4cd;
  background: rgba(255,255,255,.04);
}
.past { margin-top: 36px; }
.past .events { gap: 12px; }
.past .event { grid-template-columns: 70px 1fr; padding: 14px 16px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e6ece8; box-shadow: none; opacity: 1; }
.past .event h3 { color: var(--white); font-size: 1.1rem; }
.past .event__meta { color: #c9d4cd; }
.past .event__date { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.past .event__date .d { color: var(--white); font-size: 1.6rem; }
.past .event__date .m { color: #e3a476; }
.past .event__date .w { color: #c9d4cd; }
.past .events__empty { color: #c9d4cd; border-color: rgba(255,255,255,.25); }

/* ---- faq ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; color: var(--pine); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--copper); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--text); }

/* ---- sign-up form ---- */
.signup { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.signup__info p { margin: 0 0 12px; }
.signup__info .label { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: var(--copper-dark); font-weight: 700; margin-top: 22px; }

form { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { font-size: .85rem; font-weight: 600; margin-bottom: 8px; color: var(--pine); padding: 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--pine); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--text); background: var(--sand);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--copper); border-color: var(--copper); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field textarea { min-height: 100px; resize: vertical; }
.radio-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-row label {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--sand); cursor: pointer; font-size: .9rem; font-weight: 500;
}
.radio-row label:has(input:checked) { border-color: var(--copper); background: #fbeee4; }
.radio-row input { accent-color: var(--copper); margin: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checks label { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--sand); cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--copper); background: #fbeee4; }
.checks input { accent-color: var(--copper); margin: 3px 0 0; flex: none; }
.checks__empty { font-size: .88rem; color: var(--muted); font-style: italic; }
.vendor-only { display: none; }
form.is-vendor .vendor-only { display: block; }
.hp { position: absolute; left: -9999px; }   /* honeypot */
.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.form-status { margin-top: 14px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ---- footer ---- */
.site-footer { background: var(--pine-deep); color: #c9d4cd; padding: 48px 0 28px; }
.site-footer a { color: #e3a476; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 28px; }
.footer-grid h3 { color: var(--white); font-size: 1.1rem; }
.footer-grid p, .footer-grid li { font-size: .92rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; text-align: center; font-size: .82rem; color: #8fa196; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .events-layout { grid-template-columns: 1fr; }
  .cal { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; top: 64px; right: 0; width: min(78vw, 300px);
    background: var(--pine-deep); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 12px 0; height: calc(100vh - 64px);
    transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 14px 24px; width: 100%; }
  .nav__links .btn { border-radius: 0; background: none; }
  .nav__lang { padding: 14px 24px; }
  .nav__lang a { display: inline; padding: 2px 6px; width: auto; }
  .nav__toggle { display: block; }
  .brand { font-size: 1.1rem; }
  .hero__inner { padding: 110px 20px 150px; }
  .steps, .plans, .footer-grid, .split, .team, .story { grid-template-columns: 1fr; }
  .signup { grid-template-columns: 1fr; gap: 28px; }
  .radio-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .field--row, .checks { grid-template-columns: 1fr; }
  .event { grid-template-columns: 64px 1fr; gap: 12px; padding: 14px; }
  .event__date .d { font-size: 1.6rem; }
  form { padding: 22px 16px; }
}
