/* Integrative Alliance — site styles (design: dark green / cream / gold editorial) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #26433D;
  color: #232323;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.site {
  max-width: 1440px;
  margin: 0 auto;
  background: #FAF6EC;
  overflow: hidden;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #26433D; color: #FAF6EC; padding: 10px 16px;
  font: 600 12px/1 Poppins, sans-serif; letter-spacing: .1em; text-transform: uppercase;
}
.skip-link:focus { left: 8px; top: 8px; }

/* --- promo bar --- */
.promo-bar {
  background: #26433D; display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; min-height: 44px;
}
.promo-bar p {
  margin: 10px 0; font-family: Poppins, sans-serif; font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase; color: #D8CFB8;
}

/* --- header --- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 40px; border-bottom: 1px solid rgba(38, 67, 61, .12);
  background: #FAF6EC; position: sticky; top: 0; z-index: 30;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-words { display: flex; flex-direction: column; gap: 3px; }
.brand-1 { font-family: "Playfair Display", serif; font-size: 19px; letter-spacing: .16em; color: #26433D; line-height: 1; }
.brand-2 { font-family: Poppins, sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .34em; color: #3B5470; line-height: 1; }

.site-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-link {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; font-family: Poppins, sans-serif; font-size: 12.5px;
  font-weight: 500; letter-spacing: .03em; color: #26433D;
}
.nav-link:hover { color: #4F7C79; }
.nav-underline { display: block; width: 100%; height: 2px; background: #C9A15A; }
.nav-toggle {
  display: none; font: 600 11px/1 Poppins, sans-serif; letter-spacing: .12em;
  text-transform: uppercase; color: #26433D; background: transparent;
  border: 1px solid #26433D; padding: 10px 14px; cursor: pointer;
}

/* --- buttons --- */
.btn {
  display: inline-block; font-family: Poppins, sans-serif; font-size: 11.5px;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 18px; text-decoration: none; cursor: pointer; border: 0;
}
.btn-outline { color: #26433D; border: 1px solid #26433D; background: transparent; }
.btn-outline:hover { background: #26433D; color: #FAF6EC; }
.btn-solid { color: #FAF6EC; background: #26433D; padding: 16px 26px; }
.btn-solid:hover { background: #1E3630; }

/* --- image placeholders (imagery off) --- */
.img-slot {
  background: linear-gradient(135deg, #DCE7E0 0%, #F2ECDD 100%);
  border: 1px solid rgba(38, 67, 61, .14);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; overflow: hidden;
}
.img-slot span {
  font: 500 11px/1.5 Poppins, sans-serif; letter-spacing: .06em;
  text-transform: uppercase; color: #4F7C79; max-width: 80%;
}

/* --- forms --- */
.wix-form input, .wix-form textarea, .wix-form select {
  font-family: Inter, sans-serif; font-size: 14px; padding: 13px 14px;
  border: 1px solid rgba(38, 67, 61, .3); background: #FFFDF7; color: #232323; width: 100%;
}
.wix-form textarea { resize: vertical; }
.wix-form input:focus, .wix-form textarea:focus, .wix-form select:focus,
.chip:focus-visible { outline: 2px solid #4F7C79; outline-offset: 1px; }
.wix-form [aria-invalid="true"] { border-color: #A8583A; }
.field-error { display: block; margin-top: 5px; font: 400 12px/1.4 Inter, sans-serif; color: #A8583A; }

.chips { }
.chip {
  font-family: Poppins, sans-serif; font-size: 12.5px; color: #26433D;
  border: 1px solid rgba(38, 67, 61, .3); background: transparent;
  padding: 10px 16px; cursor: pointer;
}
.chip.is-selected { background: #26433D; color: #FAF6EC; border-color: #26433D; }

.form-status {
  margin: 16px 0 0; font: 500 13.5px/1.5 Poppins, sans-serif; padding: 12px 14px;
}
.form-status.is-ok { background: #E3EDE4; color: #26433D; border-left: 3px solid #5C7A3D; }
.form-status.is-err { background: #F4E4DE; color: #7A3B27; border-left: 3px solid #A8583A; }
.form-status.is-info { background: #F2ECDD; color: #4F5A50; border-left: 3px solid #C9A15A; }

/* --- dynamic list helpers --- */
.event-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 13px 0; border-top: 1px solid rgba(38, 67, 61, .16);
}
.event-row:last-child { border-bottom: 1px solid rgba(38, 67, 61, .16); }
.event-row .e-name { font-size: 13.5px; color: #3A3A3A; }
.event-row .e-date { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #6B6558; white-space: nowrap; }
.rsvp-open {
  margin-top: 10px; padding: 16px; border: 1px solid rgba(38, 67, 61, .2); background: #FFFDF7;
  display: grid; gap: 10px;
}
.rsvp-open input { font-family: Inter, sans-serif; font-size: 13px; padding: 10px 12px; border: 1px solid rgba(38,67,61,.3); background: #fff; }

/* --- responsive --- */
@media (max-width: 1180px) {
  main section[style*="grid-template-columns"] > div,
  main [style*="grid-template-columns:repeat(5"] { }
  main [style*="grid-template-columns:repeat(5,1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
  main [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; position: static; }
  .nav-toggle { display: block; order: 3; }
  .header-cta { order: 4; }
  .site-nav { display: none; order: 5; width: 100%; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 8px; }
  .site-nav.is-open { display: flex; }
  .nav-link { flex-direction: row; }
  main section { padding-left: 22px !important; padding-right: 22px !important; }
  main [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  main [style*="grid-template-columns"][style*="repeat"] { grid-template-columns: 1fr !important; }
  .promo-bar { padding: 0 22px; }
  .promo-bar p { font-size: 10px; }
  .site-footer > div:first-child { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  main h1 { font-size: 34px !important; line-height: 1.12 !important; }
  main h2 { font-size: 26px !important; }
  main section { padding-top: 48px !important; padding-bottom: 48px !important; }
  .site-footer > div:first-child { grid-template-columns: 1fr !important; }
}
