/* Mustard Seed Main Street Ministries — Twin Falls community site */

:root {
  color-scheme: light;
  --ms-bg: #f7f3ea;
  --ms-bg-alt: #faf6ef;
  --ms-bg-deep: #2f3d22;
  --ms-surface: rgba(255, 252, 245, 0.92);
  --ms-surface-strong: #fffdf8;
  --ms-ink: #2a2418;
  --ms-ink-soft: #4a4030;
  --ms-ink-muted: #6d6250;
  --ms-accent: #5a7a32;
  --ms-accent-deep: #3d5a22;
  --ms-accent-soft: #8aab55;
  --ms-accent-glow: rgba(90, 122, 50, 0.14);
  --ms-gold: #c9922a;
  --ms-brand-mustard: #efca2e;
  --ms-brand-green: #6db33f;
  --ms-border: rgba(42, 36, 24, 0.12);
  --ms-border-strong: rgba(42, 36, 24, 0.2);
  --ms-shadow: 0 22px 50px rgba(47, 61, 34, 0.12);
  --ms-shadow-sm: 0 10px 24px rgba(47, 61, 34, 0.08);
  --ms-radius: 18px;
  --ms-radius-sm: 10px;
  --ms-font-display: "Source Serif 4", Georgia, serif;
  --ms-font-body: "DM Sans", system-ui, sans-serif;
  --ms-header-h: 88px;
  --ms-header-inner-h: 88px;
  --ms-header-sticky-h: 88px;
  --ms-brand-icon-size: 42px;
  --ms-topbar-h: auto;
  --ms-focus-ring: 0 0 0 3px rgba(90, 122, 50, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ms-header-sticky-h) + 12px);
}

body.ms-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 146, 42, 0.12), transparent 45%),
    radial-gradient(circle at 95% 5%, rgba(90, 122, 50, 0.08), transparent 35%),
    linear-gradient(180deg, #faf6ef 0%, var(--ms-bg) 40%, #efe8da 100%);
  color: var(--ms-ink);
  font-family: var(--ms-font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

html.ms-scroll-locked,
body.ms-scroll-locked {
  overflow: hidden;
  width: 100%;
  overscroll-behavior: contain;
}

body.ms-scrolled .ms-header {
  box-shadow: 0 6px 24px rgba(10, 35, 50, 0.1);
}

body.ms-scrolled .ms-header-inner {
  min-height: 72px;
}

body.ms-scrolled .ms-brand-icon {
  width: 36px;
  height: 36px;
}

body.ms-scrolled .ms-brand-mark,
body.ms-scrolled .ms-brand-wordmark,
body.ms-scrolled .ms-brand-icon {
  transform: scale(0.95);
  transform-origin: left center;
}

@media (max-width: 1023px) {
  body.ms-scrolled .ms-header-inner {
    min-height: var(--ms-header-inner-h);
  }

  body.ms-scrolled .ms-brand-icon {
    width: var(--ms-brand-icon-size);
    height: var(--ms-brand-icon-size);
  }

  body.ms-scrolled .ms-brand-mark,
  body.ms-scrolled .ms-brand-wordmark,
  body.ms-scrolled .ms-brand-icon {
    transform: none;
  }
}

@media (max-width: 1023px) {
  main#main-content {
    padding-top: var(--ms-header-sticky-h);
  }
}

main p a,
main li a:not(.ms-btn):not(.ms-nav-link):not(.ms-service-link) {
  text-decoration: underline;
  text-decoration-color: rgba(90, 122, 50, 0.45);
  text-underline-offset: 0.15em;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ms-focus-ring);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-radius: 6px;
}

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

a { color: var(--ms-accent-deep); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--ms-accent); }

.ms-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ms-skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--ms-bg-deep);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}
.ms-skip-link:focus { top: 12px; }

.ms-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header — fixed so nav stays visible on all devices while scrolling */
.ms-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--ms-border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(10, 35, 50, 0.06);
  transition: box-shadow 0.2s ease;
}

.ms-topbar {
  border-bottom: 1px solid var(--ms-border);
  background: rgba(90, 122, 50, 0.06);
  font-size: 0.82rem;
  color: var(--ms-ink-muted);
}

@media (min-width: 1024px) {
  .ms-topbar {
    margin-top: var(--ms-header-sticky-h);
  }
}

@media (max-width: 1023px) {
  .ms-topbar {
    display: none;
  }

  :root {
    --ms-header-inner-h: 84px;
    --ms-brand-icon-size: 54px;
  }

  .ms-header-inner {
    min-height: var(--ms-header-inner-h);
    padding-block: 12px;
  }

  .ms-brand-lockup--with-icon {
    gap: 6px;
  }

  .ms-brand-wordmark-main {
    font-size: clamp(1.65rem, 6.2vw, 1.9rem);
    line-height: 1;
  }

  .ms-brand-wordmark-sub {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    margin-top: 2px;
  }

  .ms-nav-toggle {
    flex-shrink: 0;
    align-self: center;
    min-width: 50px;
    min-height: 50px;
    padding: 12px;
  }
}

.ms-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--ms-header-inner-h);
  position: relative;
  transition: min-height 0.2s ease, padding 0.2s ease;
}

.ms-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
  color: inherit;
}

.ms-brand-mark {
  width: min(220px, 52vw);
  height: auto;
  display: block;
  transition: transform 0.2s ease;
}

.ms-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}

.ms-brand-lockup--with-icon {
  gap: 6px;
}

.ms-brand-icon {
  width: var(--ms-brand-icon-size);
  height: var(--ms-brand-icon-size);
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  margin-right: -2px;
  transition: width 0.2s ease, height 0.2s ease, transform 0.2s ease;
}

.ms-brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.05;
  text-decoration: none;
  color: inherit;
}

.ms-brand-wordmark-main {
  font-family: var(--ms-font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ms-brand-mustard { color: var(--ms-brand-mustard); }
.ms-brand-seed { color: var(--ms-brand-green); }

.ms-brand-wordmark-sub {
  font-family: var(--ms-font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ms-brand-green);
}

.ms-footer .ms-brand-wordmark .ms-brand-mustard { color: var(--ms-brand-mustard); }
.ms-footer .ms-brand-wordmark .ms-brand-seed { color: #a8d86a; }
.ms-footer .ms-brand-wordmark-sub { color: rgba(255,255,255,0.72); }

.ms-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
}

.ms-topbar a { color: var(--ms-ink-soft); font-weight: 600; }
.ms-topbar i { color: var(--ms-accent); margin-right: 6px; }

.ms-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ms-border);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  z-index: 1202;
}

.ms-nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 18px;
}

.ms-nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ms-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

body.ms-nav-open .ms-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.ms-nav-open .ms-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.ms-nav-open .ms-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ms-nav-backdrop {
  display: none;
}

.ms-nav-drawer-head,
.ms-nav-mobile-meta {
  display: none;
}

.ms-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ms-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-nav-link {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ms-ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.ms-nav-link:hover,
.ms-nav-link.is-active {
  color: var(--ms-accent-deep);
  background: var(--ms-accent-glow);
}

.ms-nav-link.is-active {
  box-shadow: inset 0 -2px 0 var(--ms-accent);
}

/* Buttons */
.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.ms-btn:hover { transform: translateY(-1px); }
.ms-btn:active { transform: translateY(0); box-shadow: none; }

.ms-btn-primary {
  background: linear-gradient(135deg, var(--ms-accent) 0%, var(--ms-accent-soft) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(90, 122, 50, 0.28);
}

.ms-btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(90, 122, 50, 0.34); }

.ms-btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--ms-border-strong);
  color: var(--ms-ink);
}

.ms-btn-ghost:hover { background: #fff; color: var(--ms-accent-deep); }

.ms-btn-dark {
  background: var(--ms-bg-deep);
  color: #fff;
}

/* Hero */
.ms-hero {
  padding: 56px 0 72px;
}

.ms-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.ms-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ms-accent-deep);
  margin-bottom: 14px;
}

.ms-hero h1,
.ms-section-title,
.ms-page-title {
  font-family: var(--ms-font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ms-ink);
}

.ms-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.ms-section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.ms-page-title { font-size: clamp(2rem, 4vw, 3rem); }

.ms-lead {
  font-size: 1.15rem;
  color: var(--ms-ink-soft);
  margin: 0 0 24px;
  max-width: 58ch;
}

.ms-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ms-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ms-trust-card {
  flex: 1 1 140px;
  min-width: 130px;
  background: var(--ms-surface);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-sm);
  padding: 14px 16px;
  box-shadow: var(--ms-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ms-trust-card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ms-ink);
}

.ms-trust-card span {
  font-size: 0.82rem;
  color: var(--ms-ink-muted);
}

.ms-panel {
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(230,246,250,0.92));
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--ms-radius);
  padding: 28px;
  box-shadow: var(--ms-shadow);
}

.ms-panel-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--ms-accent-deep);
  margin-bottom: 8px;
}

.ms-panel h2 {
  font-family: var(--ms-font-display);
  font-size: 1.55rem;
  margin: 0 0 12px;
}

.ms-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.ms-stat-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--ms-border);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.ms-stat-card strong { display: block; font-size: 0.95rem; }
.ms-stat-card span { font-size: 0.78rem; color: var(--ms-ink-muted); }

.ms-hero-visual {
  border-radius: var(--ms-radius);
  overflow: hidden;
  box-shadow: var(--ms-shadow);
  border: 1px solid var(--ms-border);
  background: var(--ms-surface-strong);
}

.ms-hero-visual:not(.ms-hero-visual--logo) picture,
.ms-hero-visual:not(.ms-hero-visual--logo) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  min-height: 280px;
  max-height: 520px;
}

.ms-hero-visual--logo {
  background:
    radial-gradient(circle at 50% 20%, rgba(201, 146, 42, 0.12), transparent 50%),
    linear-gradient(165deg, #faf6ef 0%, #f0ebe3 45%, #ebe4d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(420px, 52vh);
  padding: 32px 28px;
  box-shadow: var(--ms-shadow-sm);
}

.ms-hero-visual--logo img,
.ms-hero-logo-picture img {
  width: auto;
  max-width: min(100%, 420px);
  max-height: min(380px, 48vh);
  object-fit: contain;
  margin: 0 auto;
  border-radius: 12px;
}

.ms-feature-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.ms-feature-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 32px 34px;
  min-height: 100%;
}

.ms-feature-panel .ms-eyebrow {
  margin-bottom: 0;
}

.ms-feature-panel h3 {
  font-family: var(--ms-font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin: 0;
  line-height: 1.15;
}

.ms-feature-panel .ms-feature-lead {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--ms-ink-soft);
  margin: 0;
}

.ms-feature-panel ul {
  margin: 4px 0 0;
  padding-left: 20px;
  color: var(--ms-ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.ms-feature-panel li + li {
  margin-top: 8px;
}

.ms-feature-duo .ms-hero-visual {
  min-height: 280px;
  height: 100%;
}

.ms-feature-duo .ms-hero-visual picture,
.ms-feature-duo .ms-hero-visual img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

/* Sections */
.ms-section {
  padding: 64px 0;
}

.ms-section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--ms-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ms-section-intro .ms-eyebrow {
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ms-accent);
  margin-bottom: 18px;
}

.ms-section-intro {
  max-width: 720px;
  margin-bottom: 36px;
}

.ms-section-intro--wide {
  max-width: none;
}

.ms-section-intro--wide .ms-section-title {
  max-width: 18ch;
}

.ms-visit-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ms-visit-hours {
  padding-top: 8px;
  border-top: 1px solid var(--ms-border);
}

.ms-visit-hours-title {
  margin: 0 0 18px;
  font-family: var(--ms-font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--ms-ink);
}

.ms-steps--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ms-section-intro p {
  color: var(--ms-ink-soft);
  margin: 0;
}

.ms-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ms-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ms-card {
  background: var(--ms-surface-strong);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  padding: 24px;
  box-shadow: var(--ms-shadow-sm);
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ms-card--media {
  padding: 0;
  overflow: hidden;
}

.ms-card-media {
  border-bottom: 1px solid var(--ms-border);
  background: var(--ms-bg-alt);
}

.ms-card-media picture,
.ms-card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.ms-card-body {
  padding: 24px;
}

.ms-card:hover,
.ms-step:hover,
.ms-trust-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ms-shadow);
  border-color: rgba(90, 122, 50, 0.22);
}

.ms-card h3 {
  font-family: var(--ms-font-display);
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.ms-card p { margin: 0; color: var(--ms-ink-soft); }

.ms-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--ms-ink-soft);
}

.ms-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ms-accent-glow);
  color: var(--ms-accent-deep);
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.ms-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
}

/* Process */
.ms-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ms-step {
  background: var(--ms-surface-strong);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ms-step-index {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ms-accent);
  margin-bottom: 8px;
}

.ms-step h3 {
  font-family: var(--ms-font-display);
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.ms-step p { margin: 0; color: var(--ms-ink-soft); font-size: 0.95rem; }

/* Area chips */
.ms-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ms-area-chips span,
.ms-area-chips a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--ms-border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ms-ink-soft);
}

.ms-area-chips--footer span {
  font-size: 0.8rem;
  padding: 6px 10px;
}

/* FAQ */
.ms-faq {
  display: grid;
  gap: 12px;
}

.ms-faq details {
  background: var(--ms-surface-strong);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-sm);
  padding: 16px 18px;
}

.ms-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ms-ink);
  list-style: none;
  padding: 4px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.ms-faq summary::-webkit-details-marker { display: none; }

.ms-faq p {
  margin: 12px 0 0;
  color: var(--ms-ink-soft);
}

/* Gallery */
.ms-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ms-gallery--community {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.ms-pickup-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ms-gallery--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.ms-gallery--pair .ms-gallery-item {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.ms-gallery--community .ms-gallery-item {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.ms-gallery--community .ms-gallery-item--featured {
  grid-column: span 2;
}

.ms-gallery-media {
  overflow: hidden;
  background: var(--ms-bg-alt);
  flex: 0 0 auto;
}

.ms-gallery--community .ms-gallery-media,
.ms-gallery--pair .ms-gallery-media {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.ms-gallery--pair .ms-gallery-media {
  aspect-ratio: 16 / 10;
}

.ms-gallery--community .ms-gallery-item--featured .ms-gallery-media {
  aspect-ratio: 16 / 10;
}

.ms-gallery-media .ms-gallery-photo,
.ms-gallery-media picture {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.ms-gallery-media picture img,
.ms-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: top;
}

@media (max-width: 1024px) {
  .ms-gallery--community {
    grid-template-columns: 1fr;
  }

  .ms-gallery--pair {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .ms-gallery--community .ms-gallery-item--featured {
    grid-column: span 1;
  }

  .ms-gallery--community .ms-gallery-item--featured .ms-gallery-media {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1025px) and (max-width: 1099px) {
  .ms-gallery--community {
    grid-template-columns: repeat(2, 1fr);
  }

  .ms-gallery--community .ms-gallery-item--featured {
    grid-column: span 2;
  }
}

.ms-gallery-item {
  border-radius: var(--ms-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ms-border);
  box-shadow: var(--ms-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ms-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--ms-shadow);
}

.ms-gallery-item picture,
.ms-gallery-item > img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ms-gallery--community .ms-gallery-item picture,
.ms-gallery--community .ms-gallery-item > picture,
.ms-gallery--community .ms-gallery-item > img,
.ms-gallery--pair .ms-gallery-item picture,
.ms-gallery--pair .ms-gallery-item > picture,
.ms-gallery--pair .ms-gallery-item > img {
  aspect-ratio: unset;
  height: 100%;
}

.ms-gallery-item:hover picture img,
.ms-gallery-item:hover img {
  transform: scale(1.03);
}

.ms-gallery-item:hover figcaption {
  color: var(--ms-accent-deep);
}

.ms-gallery-item figcaption {
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ms-ink-soft);
  background: #fff;
  flex: 0 0 auto;
}

/* Page header */
.ms-page-hero {
  padding: 48px 0 32px;
}

.ms-breadcrumb {
  font-size: 0.85rem;
  color: var(--ms-ink-muted);
  margin-bottom: 12px;
}

.ms-breadcrumb a { color: var(--ms-ink-muted); }
.ms-breadcrumb a:hover { color: var(--ms-accent); }

/* Contact */
.ms-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ms-contact-card {
  background: var(--ms-surface-strong);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  padding: 24px;
  box-shadow: var(--ms-shadow-sm);
}

.ms-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--ms-border);
}

.ms-contact-list li:last-child { border-bottom: 0; }

.ms-form-note {
  font-size: 0.9rem;
  color: var(--ms-ink-muted);
  margin-top: 12px;
}

.ms-form-grid label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.ms-form-grid input,
.ms-form-grid textarea,
.ms-form-grid select {
  width: 100%;
  border: 1px solid var(--ms-border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.ms-form-grid textarea { min-height: 120px; resize: vertical; }

.ms-form-row { margin-bottom: 14px; }

/* CTA band */
.ms-cta-band {
  background: linear-gradient(135deg, var(--ms-bg-deep), #145a72);
  color: #fff;
  border-radius: var(--ms-radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--ms-shadow);
}

.ms-cta-band h2 {
  font-family: var(--ms-font-display);
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.ms-cta-band p {
  margin: 0 auto 20px;
  max-width: 56ch;
  color: rgba(255,255,255,0.88);
}

.ms-cta-band .ms-btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.ms-cta-band .ms-btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Footer */
.ms-footer {
  margin-top: auto;
  background:
    radial-gradient(circle at 15% 0%, rgba(201, 146, 42, 0.14), transparent 32%),
    linear-gradient(180deg, #0c3448 0%, #082635 100%);
  color: rgba(255,255,255,0.86);
}

.ms-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(180px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding: 58px 0 42px;
  align-items: start;
}

.ms-footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ms-footer-logo-link {
  display: block;
  margin-bottom: 20px;
  line-height: 0;
}

.ms-footer-logo-img {
  width: min(300px, 100%);
  height: auto;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

.ms-footer-brand-col .ms-footer-text,
.ms-footer-brand-col .ms-footer-affiliation,
.ms-footer-brand-col .ms-footer-contact {
  max-width: 360px;
}

.ms-footer-brand-col .ms-footer-contact a {
  margin-inline: auto;
}

.ms-footer-text,
.ms-footer-meta {
  color: rgba(255,255,255,0.78);
}

.ms-footer-text {
  max-width: 360px;
  margin: 0 0 18px;
}

.ms-footer-contact {
  display: grid;
  gap: 8px;
}

.ms-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: rgba(255,255,255,0.84);
  font-weight: 700;
}

.ms-footer-contact i {
  color: var(--ms-accent-soft);
}

.ms-footer-contact a:hover {
  color: #fff;
}

.ms-footer-title {
  font-family: var(--ms-font-display);
  font-size: 1.18rem;
  margin: 0 0 16px;
  color: #fff;
}

.ms-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-footer-links a {
  color: rgba(255,255,255,0.82);
  display: inline-block;
  padding: 5px 0;
}

.ms-footer-links a:hover { color: var(--ms-accent-soft); }

.ms-footer-bar {
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.68);
  background: rgba(2, 20, 30, 0.22);
}

.ms-footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  padding: 18px 24px;
}

/* Reveal animation */
.ms-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ms-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ms-reveal { opacity: 1; transform: none; transition: none; }
  .ms-btn:hover,
  .ms-card:hover,
  .ms-step:hover,
  .ms-trust-card:hover,
  .ms-gallery-item:hover { transform: none; }
  .ms-gallery-item:hover picture img,
  .ms-gallery-item:hover img { transform: none; }
  .ms-nav-toggle-bar { transition: none; }
  .ms-brand-mark,
  .ms-brand-wordmark,
  .ms-brand-icon,
  .ms-header-inner { transition: none; }
  body.ms-scrolled .ms-brand-mark,
  body.ms-scrolled .ms-brand-wordmark,
  body.ms-scrolled .ms-brand-icon { transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .ms-hero-grid,
  .ms-contact-grid,
  .ms-footer-grid,
  .ms-feature-duo,
  .ms-grid-2 { grid-template-columns: 1fr; }
  .ms-grid-3,
  .ms-gallery { grid-template-columns: repeat(2, 1fr); }
  .ms-steps:not(.ms-steps--three) { grid-template-columns: repeat(2, 1fr); }

  .ms-page-hero .ms-hero-visual {
    order: -1;
    min-height: 220px;
  }

  .ms-page-hero .ms-hero-visual picture,
  .ms-page-hero .ms-hero-visual img {
    min-height: 220px;
    max-height: 360px;
  }

  .ms-hero .ms-hero-grid > .ms-reveal:has(.ms-hero-visual--logo) {
    order: -1;
  }

  .ms-hero-visual--logo {
    min-height: min(280px, 38vh);
    padding: 24px 20px;
  }

  .ms-footer-grid {
    gap: 30px;
  }

  .ms-footer-logo-img {
    width: min(280px, 88%);
  }
}

@media (max-width: 1023px) {
  .ms-steps--three {
    grid-template-columns: 1fr;
  }

  body.ms-nav-open .ms-header {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
  }

  body.ms-nav-open .ms-header-inner {
    pointer-events: none;
  }

  body.ms-nav-open .ms-nav-backdrop,
  body.ms-nav-open .ms-nav {
    pointer-events: auto;
  }

  body.ms-nav-open .ms-nav-toggle {
    opacity: 0;
    pointer-events: none;
  }

  body.ms-nav-open .ms-topbar {
    display: none;
  }

  .ms-nav-toggle { display: inline-flex; }

  .ms-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at 20% 10%, rgba(201, 146, 42, 0.22), transparent 32%),
      rgba(10, 35, 50, 0.54);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 1200;
  }

  .ms-nav-backdrop:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }

  .ms-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    max-width: 100%;
    background:
      linear-gradient(180deg, rgba(232, 248, 252, 0.9) 0%, #ffffff 34%, #ffffff 100%);
    border-left: 1px solid var(--ms-border-strong);
    padding: 22px 20px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    transform: translateX(calc(100% + 16px));
    opacity: 1;
    pointer-events: none;
    transition: transform 0.24s ease;
    z-index: 1201;
    overflow-y: auto;
    box-shadow: -22px 0 54px rgba(10, 35, 50, 0.22);
  }

  body.ms-nav-open .ms-nav {
    transform: translateX(0);
    pointer-events: auto;
  }

  .ms-nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 2px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(15, 36, 48, 0.08);
  }

  .ms-nav-drawer-kicker {
    margin: 0 0 2px;
    color: var(--ms-accent-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .ms-nav-drawer-title {
    margin: 0;
    font-family: var(--ms-font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--ms-ink);
    line-height: 1;
  }

  .ms-nav-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 36, 48, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ms-ink-soft);
    cursor: pointer;
    box-shadow: var(--ms-shadow-sm);
    transition: transform 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  }

  .ms-nav-drawer-close:hover {
    color: var(--ms-accent-deep);
    border-color: rgba(90, 122, 50, 0.28);
    transform: translateY(-1px);
  }

  .ms-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .ms-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    padding: 13px 14px;
    min-height: 48px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ms-ink-soft);
  }

  .ms-nav-link::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: 0.35;
    transform: rotate(-45deg);
  }

  .ms-nav-link:hover,
  .ms-nav-link.is-active {
    color: var(--ms-accent-deep);
    background: rgba(90, 122, 50, 0.1);
  }

  .ms-nav-link.is-active {
    box-shadow: inset 0 0 0 1px rgba(90, 122, 50, 0.2);
  }

  .ms-nav-mobile-meta {
    display: grid;
    gap: 11px;
    padding: 17px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 252, 253, 0.96));
    border: 1px solid rgba(15, 36, 48, 0.12);
    font-size: 0.9rem;
    color: var(--ms-ink-soft);
    box-shadow: 0 14px 34px rgba(10, 35, 50, 0.08);
  }

  .ms-nav-mobile-meta p {
    margin: 0;
  }

  .ms-nav-mobile-meta i {
    color: var(--ms-accent);
    margin-right: 8px;
  }

  .ms-nav-mobile-actions {
    display: grid;
    gap: 10px;
    margin-top: 8px;
  }

  .ms-nav-mobile-actions .ms-btn {
    width: 100%;
    min-height: 50px;
  }

  .ms-nav-cta {
    width: 100%;
    text-align: center;
    min-height: 54px;
    margin-top: auto;
  }
}

@media (max-width: 640px) {
  .ms-container { padding: 0 18px; }
  body.ms-body { font-size: 1rem; }
  .ms-grid-2,
  .ms-grid-3,
  .ms-steps,
  .ms-steps--three,
  .ms-stat-grid,
  .ms-feature-duo { grid-template-columns: 1fr; }
  .ms-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ms-gallery-item picture,
  .ms-gallery-item img {
    aspect-ratio: 16/10;
  }
  .ms-gallery-caption {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  .ms-hero { padding: 40px 0 56px; }
  .ms-section { padding: 52px 0; }
  .ms-topbar-hours { display: none; }
  .ms-feature-duo .ms-hero-visual { order: -1; min-height: 220px; }
  .ms-feature-panel { padding: 26px 22px; }
  .ms-footer-grid { padding: 44px 0 30px; }
  .ms-footer-logo-img { width: min(260px, 86%); }
  .ms-footer-bar-inner { padding-inline: 18px; }
}

@media (max-width: 768px) {
  .ms-grid-2,
  .ms-grid-3,
  .ms-steps,
  .ms-steps--three,
  .ms-stat-grid { grid-template-columns: 1fr; }
  .ms-topbar-inner { justify-content: flex-start; }
  .ms-hero { padding-top: 36px; }
  .ms-page-hero { padding: 32px 0 24px; }
  .ms-cta-band { padding: 32px 22px; }
  .ms-cta-band .ms-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ms-cta-band .ms-hero-actions .ms-btn {
    width: 100%;
    justify-content: center;
  }
  .ms-highlight-panel { padding: 22px; }
  .ms-visit-block { gap: 32px; }
  .ms-section-intro--wide .ms-section-title { max-width: none; }
  .ms-hero-visual--logo {
    min-height: min(240px, 34vh);
    padding: 20px 16px;
  }

  .ms-hero-visual--logo img,
  .ms-hero-logo-picture img {
    max-height: min(280px, 36vh);
  }

  .ms-trust-card {
    flex: 1 1 100%;
    min-width: 0;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .ms-gallery { grid-template-columns: repeat(2, 1fr); }
  .ms-steps:not(.ms-steps--three) { grid-template-columns: repeat(2, 1fr); }
}

/* Mustard Seed custom components */
.ms-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--ms-ink);
}
.ms-brand-text strong { font-family: var(--ms-font-display); font-size: 1.35rem; }
.ms-brand-text small { font-size: 0.78rem; color: var(--ms-ink-muted); font-weight: 600; letter-spacing: 0.04em; }

.ms-verse {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-left: 3px solid var(--ms-gold);
  background: rgba(201, 146, 42, 0.08);
  border-radius: 0 var(--ms-radius-sm) var(--ms-radius-sm) 0;
  color: var(--ms-ink-soft);
  font-style: italic;
  max-width: 52ch;
}
.ms-verse i { color: var(--ms-accent); margin-right: 8px; font-style: normal; }

.ms-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.ms-highlight-panel {
  background: linear-gradient(160deg, rgba(255,253,248,0.98), rgba(239,232,218,0.95));
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  padding: 28px;
  box-shadow: var(--ms-shadow-sm);
}
.ms-highlight-panel--center { text-align: center; max-width: 720px; margin: 0 auto; }
.ms-highlight-panel h3 { margin-top: 0; font-family: var(--ms-font-display); }

.ms-check-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.ms-check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--ms-border);
}
.ms-check-list li:last-child { border-bottom: 0; }
.ms-check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--ms-accent);
  font-size: 0.85rem;
}

.ms-callout {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--ms-radius-sm);
  background: rgba(201, 146, 42, 0.1);
  border: 1px solid rgba(201, 146, 42, 0.25);
  max-width: 58ch;
}
.ms-callout--emphasis p { margin: 0; color: var(--ms-ink-soft); }

.ms-hours-location {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ms-hours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 0;
  align-items: stretch;
}

.ms-hours-grid--prominent {
  gap: 24px;
}

.ms-hours-grid--prominent .ms-hours-card {
  padding: 26px;
}

.ms-hours-grid--prominent .ms-hours-time {
  font-size: 1.05rem;
}

.ms-hours-card {
  background: var(--ms-surface-strong);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-sm);
  padding: 24px;
  box-shadow: var(--ms-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ms-hours-card h3 { margin: 0 0 10px; font-family: var(--ms-font-display); font-size: 1.15rem; }
.ms-hours-days { margin: 0; font-weight: 700; color: var(--ms-ink); }
.ms-hours-time { margin: 6px 0 0; color: var(--ms-accent-deep); font-weight: 600; }
.ms-hours-note { margin: auto 0 0; padding-top: 14px; font-size: 0.88rem; color: var(--ms-ink-muted); }

.ms-info-card {
  background: var(--ms-surface-strong);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  padding: 28px;
  box-shadow: var(--ms-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.ms-info-card p {
  margin: 0;
}

.ms-info-card .ms-btn {
  margin-top: 4px;
}

.ms-step-card {
  background: var(--ms-surface-strong);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-sm);
  padding: 26px;
  box-shadow: var(--ms-shadow-sm);
  height: 100%;
}

.ms-step-card h3 {
  font-family: var(--ms-font-display);
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--ms-ink);
}

.ms-step-card p {
  margin: 0;
  color: var(--ms-ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.ms-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ms-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.ms-link-list { list-style: none; margin: 0; padding: 0; }
.ms-link-list li { padding: 10px 0; border-bottom: 1px solid var(--ms-border); }
.ms-link-list li:last-child { border-bottom: 0; }
.ms-link-list a { overflow-wrap: anywhere; }

.ms-contact-list a,
.ms-footer-contact a {
  overflow-wrap: anywhere;
}

.ms-muted { color: var(--ms-ink-muted); font-size: 0.92rem; }
.ms-order-last { order: 2; }

.ms-btn-secondary {
  background: var(--ms-accent-deep);
  color: #fff;
  box-shadow: 0 10px 24px rgba(61, 90, 34, 0.24);
}
.ms-btn-secondary:hover { color: #fff; background: var(--ms-accent); }

.ms-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, #ebe4d6, #f5f0e6);
  border: 1px dashed var(--ms-border-strong);
  border-radius: var(--ms-radius-sm);
  color: var(--ms-ink-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.ms-photo-placeholder span { padding: 12px; text-align: center; }

.ms-gallery-photo,
.ms-gallery-photo img { width: 100%; height: 100%; object-fit: cover; }

.ms-footer-brand {
  font-family: var(--ms-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}
.ms-footer-affiliation {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 16px;
}
.ms-footer-affiliation i { color: var(--ms-gold); margin-right: 6px; }
.ms-footer-map { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--ms-gold); }

@media (max-width: 1023px) {
  .ms-split-grid { grid-template-columns: 1fr; }
  .ms-hours-grid { grid-template-columns: 1fr; gap: 20px; }
  .ms-hours-location { gap: 20px; }
  .ms-order-last { order: -1; }
}
