/* English Web UI Kit — page-specific styles on top of colors_and_type.css */
* { box-sizing: border-box; }
body { margin: 0; }

/* trust bar */
.trustbar { background: var(--teal-deep); color: rgba(245,240,232,.85); font-family: var(--font-sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: .55rem 1rem; }
.trustbar strong { color: var(--gold-soft); font-weight: 600; }
.trustbar span { padding: 0 .8rem; }

/* nav */
.nav-wrap { background: var(--teal); position: sticky; top: 0; z-index: 30; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 1.1rem 1.5rem; max-width: 1280px; margin: 0 auto; gap: 1.5rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--cream); font-family: var(--font-sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; cursor: pointer; transition: color 200ms; }
.nav-links a:hover { color: var(--gold-soft); }
.nav-links a.active { color: var(--gold-soft); }
.nav-links a, a { text-decoration: none; }
.nav-logo { width: 78px; height: auto; cursor: pointer; }
.nav-right { justify-self: end; display: flex; gap: 1.2rem; align-items: center; }
.btn-pill { background: var(--gold); color: var(--cream) !important; border-radius: 999px; padding: .65rem 1.4rem; font-family: var(--font-sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; border: 2px solid var(--gold); cursor: pointer; transition: all 200ms cubic-bezier(.16,1,.3,1); display: inline-block; }
.btn-pill:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-pill.lg { padding: .85rem 1.7rem; font-size: .82rem; }
.btn-pill.ghost-light { background: transparent; color: var(--cream) !important; border-color: rgba(245,240,232,.5); }
.btn-pill.ghost-light:hover { background: rgba(245,240,232,.08); border-color: var(--cream); }
.btn-pill.ghost-dark { background: transparent; color: var(--teal) !important; border-color: var(--teal); }
.btn-pill.ghost-dark:hover { background: var(--teal); color: var(--cream) !important; }
.btn-pill.teal { background: var(--teal); color: var(--cream) !important; border-color: var(--teal); }

/* hero */
.hero { background: var(--teal); color: var(--cream); padding: 4.5rem 1.5rem 5rem; position: relative; overflow: hidden; }
.hero-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow { font-family: var(--font-sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 1rem; }
.hero h1 { font-family: var(--font-serif); font-weight: 700; color: var(--cream); font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.01em; margin: 0 0 1.2rem; text-wrap: pretty; }
.hero h1 em { color: var(--gold-soft); font-style: italic; font-weight: 600; }
.hero-lead { font-family: var(--font-sans); font-size: 1.08rem; line-height: 1.6; color: rgba(245,240,232,.78); max-width: 540px; margin: 0 0 1.8rem; }
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-photo { aspect-ratio: 4/5; width: 100%; max-width: 420px; justify-self: end; border-top-left-radius: 999px; border-top-right-radius: 999px; overflow: hidden; position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after { content: ""; position: absolute; inset: 0; border-top-left-radius: 999px; border-top-right-radius: 999px; border: 1px solid rgba(181,138,79,.4); pointer-events: none; }
.spk { position: absolute; color: var(--gold); pointer-events: none; opacity: .6; }

/* generic */
.section { padding: 5rem 1.5rem; }
.section-cream { background: var(--cream); }
.section-sage { background: var(--sage); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--teal); color: var(--cream); }
.container { max-width: 1180px; margin: 0 auto; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow { font-family: var(--font-sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.section-dark .section-head .eyebrow { color: var(--gold-soft); }
.section-head h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--teal); line-height: 1.1; margin: .6rem 0 1rem; letter-spacing: -.01em; }
.section-dark .section-head h2 { color: var(--cream); }
.section-head h2 em { font-style: italic; color: var(--gold); font-weight: 600; }
.section-dark .section-head h2 em { color: var(--gold-soft); }
.section-head p { font-family: var(--font-sans); font-size: 1.05rem; color: var(--slate); line-height: 1.6; margin: 0 auto; }
.section-dark .section-head p { color: rgba(245,240,232,.78); }

/* sponsorship grid */
.spons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.spons-tile { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 4px; padding: 1.5rem 1.4rem; cursor: pointer; transition: all 200ms cubic-bezier(.16,1,.3,1); display: flex; flex-direction: column; gap: .5rem; min-height: 170px; }
.spons-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14,61,58,.14); border-top-color: var(--gold-deep); }
.spons-tile .ic { width: 24px; height: 24px; color: var(--gold); }
.spons-tile .amt { font-family: var(--font-serif); font-weight: 700; font-size: 2rem; color: var(--teal); line-height: 1; margin-top: .25rem; }
.spons-tile .amt small { font-family: var(--font-sans); font-size: .72rem; color: var(--slate); font-weight: 500; letter-spacing: .04em; }
.spons-tile .label { font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; color: var(--teal); margin-top: auto; }
.spons-tile .freq { font-family: var(--font-sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 600; }

/* stats */
.stats-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 2rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-serif); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--cream); letter-spacing: -.02em; }
.stat .div { width: 32px; height: 1px; background: var(--gold); margin: 12px auto 0; }
.stat .lbl { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-top: 12px; font-weight: 600; }
.map-wrap { display: grid; place-items: center; }
.map-wrap svg { width: 140px; height: auto; }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.svc-card { aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; position: relative; cursor: pointer; }
.svc-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 360ms cubic-bezier(.16,1,.3,1); }
.svc-card:hover img { transform: scale(1.04); }
.svc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,61,58,.7) 0%, rgba(14,61,58,0) 50%); }
.svc-card .lbl { position: absolute; bottom: 1rem; left: 1.1rem; color: var(--cream); font-family: var(--font-sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; z-index: 2; }

/* tab pills */
.tab-row { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.tab-pill { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: .65rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--slate); cursor: pointer; transition: all 200ms; }
.tab-pill.active { background: var(--cream); color: var(--teal); border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.tab-pill:hover:not(.active) { color: var(--teal); border-color: var(--gold-soft); }

/* tab content card */
.tab-content { background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 2rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.tab-content img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 4px; }
.tab-content h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.7rem; color: var(--teal); margin: 0 0 .8rem; }
.tab-content h3 em { font-style: italic; color: var(--gold); font-weight: 600; }
.tab-content p { color: var(--slate); }

/* blog row */
.blog-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { display: flex; flex-direction: column; gap: .8rem; cursor: pointer; }
.blog-card .img { aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background: var(--sage); }
.blog-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 360ms cubic-bezier(.16,1,.3,1); }
.blog-card:hover .img img { transform: scale(1.03); }
.blog-card .cat { font-family: var(--font-sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: .4rem; }
.blog-card h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; color: var(--teal); line-height: 1.2; margin: .25rem 0 .4rem; }
.blog-card p { font-family: var(--font-sans); font-size: .92rem; color: var(--slate); margin: 0; line-height: 1.55; }

/* gedolim */
.ged-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ged-card { background: var(--cream); border-radius: 4px; padding: 2rem; border: 1px solid var(--line); }
.ged-quote { font-family: var(--font-serif); font-style: italic; color: var(--teal); font-size: 1.05rem; line-height: 1.5; margin: 0 0 1.5rem; }
.ged-meta { display: flex; gap: 1rem; align-items: center; }
.ged-meta img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; }
.ged-meta .nm { font-family: var(--font-serif); font-weight: 700; color: var(--teal); font-size: 1rem; }
.ged-meta .org { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-top: 2px; }

/* CTA arch */
.cta-arch { background: var(--teal); color: var(--cream); padding: 5rem 1.5rem; position: relative; overflow: hidden; text-align: center; }
.cta-arch h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--cream); margin: 0 0 1rem; line-height: 1.05; }
.cta-arch h2 em { font-style: italic; color: var(--gold-soft); font-weight: 600; }
.cta-arch p { font-family: var(--font-sans); color: rgba(245,240,232,.78); max-width: 540px; margin: 0 auto 1.6rem; line-height: 1.6; }

/* footer */
.footer { background: var(--teal); color: var(--cream); padding: 4rem 1.5rem 1.5rem; position: relative; overflow: hidden; }
.footer-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }
.footer-wordmark { position: absolute; bottom: -2rem; left: 50%; transform: translateX(-50%); font-family: var(--font-serif); font-weight: 700; font-size: clamp(8rem, 16vw, 16rem); color: rgba(245,240,232,.04); letter-spacing: -.02em; line-height: 1; pointer-events: none; white-space: nowrap; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(245,240,232,.15); }
.footer-grid .col h4 { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin: 0 0 1rem; }
.footer-grid .col a { display: block; color: rgba(245,240,232,.85); font-family: var(--font-sans); font-size: .92rem; padding: .25rem 0; cursor: pointer; }
.footer-grid .col a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-family: var(--font-sans); font-size: .76rem; color: rgba(245,240,232,.55); flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: rgba(245,240,232,.7); }
.footer-seal { width: 110px; height: auto; }

/* donate modal */
.modal-back { position: fixed; inset: 0; background: rgba(8,39,36,.7); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 100; padding: 1rem; }
.modal { background: var(--cream); border-radius: 6px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: 2.5rem; position: relative; }
.modal .close { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; font-size: 1.5rem; color: var(--slate); cursor: pointer; }
.modal h2 { font-family: var(--font-serif); color: var(--teal); margin: 0 0 .4rem; font-size: 1.8rem; }
.modal h2 em { font-style: italic; color: var(--gold); font-weight: 600; }
.modal .sub { font-family: var(--font-sans); font-size: .92rem; color: var(--slate); margin: 0 0 1.5rem; line-height: 1.55; }

.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--paper); margin-bottom: 1.5rem; }
.seg .opt { padding: .65rem 0; text-align: center; font-family: var(--font-sans); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--slate); border-radius: 999px; cursor: pointer; transition: all 200ms; }
.seg .opt.on { background: var(--teal); color: var(--cream); }

.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.5rem; }
.tier { border: 1px solid var(--line); background: var(--paper); border-radius: 4px; padding: .9rem 1rem; cursor: pointer; transition: all 200ms; text-align: left; }
.tier:hover { border-color: var(--gold-soft); }
.tier.on { border-color: var(--gold); background: var(--cream); box-shadow: inset 0 0 0 1px var(--gold); }
.tier .price { font-family: var(--font-serif); font-weight: 700; color: var(--teal); font-size: 1.2rem; }
.tier .nm { font-family: var(--font-sans); font-size: .82rem; color: var(--slate); }

.field { display: block; margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 600; margin-bottom: .4rem; }
.field input, .field select { width: 100%; font-family: var(--font-sans); font-size: 1rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181,138,79,.18); }

.tribute-row { display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.trib { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--slate); cursor: pointer; }
.trib.on { background: var(--teal); color: var(--cream); border-color: var(--teal); }

.gate { background: var(--paper); border: 1px solid var(--gold-soft); border-radius: 4px; padding: 1rem 1.2rem; margin-bottom: 1rem; display: flex; gap: .8rem; align-items: flex-start; }
.gate svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.gate .t { font-family: var(--font-serif); font-weight: 700; color: var(--teal); font-size: .98rem; margin: 0 0 .25rem; }
.gate .d { font-family: var(--font-sans); font-size: .82rem; color: var(--slate); margin: 0; line-height: 1.4; }

.pay-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1rem; }
.pay { border: 1px solid var(--line); border-radius: 4px; padding: .55rem; text-align: center; font-family: var(--font-sans); font-size: .72rem; color: var(--slate); background: var(--paper); cursor: pointer; }
.pay.on { border-color: var(--gold); color: var(--teal); background: var(--cream); }

.btn-full { width: 100%; padding: 1rem; background: var(--gold); color: var(--cream); border: 0; border-radius: 999px; font-family: var(--font-sans); font-weight: 600; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background 200ms; }
.btn-full:hover { background: var(--gold-deep); }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: .6rem; flex-direction: column; gap: 5px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); display: block; }

.mob-drawer { position: fixed; inset: 0; background: rgba(10,42,38,.55); z-index: 100; animation: fade .2s; }
.mob-panel { position: absolute; top:0; bottom:0; left:0; width: min(86vw, 360px); background: var(--paper); padding: 1.4rem 1.4rem 2rem; overflow-y: auto; animation: slide-in .25s ease-out; display: flex; flex-direction: column; gap: 1rem; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { transform: translateX(-100%); } to { transform: none; } }
.mob-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.mob-head img { height: 36px; }
.mob-x { background: none; border: none; font-size: 2rem; line-height: 1; color: var(--ink); cursor: pointer; padding: 0 .4rem; }
.mob-section { display: flex; flex-direction: column; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.mob-section:last-of-type { border-bottom: none; }
.mob-section .mob-h { font-family: var(--font-sans); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .6rem; }
.mob-section a { font-family: var(--font-serif); color: var(--ink); text-decoration: none; padding: .55rem 0; font-size: 1rem; border-bottom: 1px solid rgba(0,0,0,.04); }
.mob-cta { display: block; padding: 1rem; background: var(--gold); color: var(--ink); text-align: center; font-family: var(--font-sans); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; text-decoration: none; margin-top: .5rem; }

@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr auto; padding: .8rem 1rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-right .nav-links { display: none; }
  .nav-logo { height: 36px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 100%; }
  .spons-grid, .svc-grid, .blog-row, .ged-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tab-content { grid-template-columns: 1fr; }
  .trustbar { font-size: .68rem; gap: .5rem; padding: .5rem 1rem; flex-wrap: wrap; }
  .tb-hide-sm { display: none; }
  .page-hero { padding: 3rem 1.2rem 3.2rem !important; }
  .section { padding: 3rem 1.2rem !important; }
  .wa-floater { right: 1rem; bottom: 1rem; }
  .wa-card { width: calc(100vw - 2rem); max-width: 320px; }
}
@media (max-width: 520px) {
  .trustbar > span:not(:last-child) { font-size: .62rem; }
  .nav-logo { height: 32px; }
  .btn-pill { padding: .55rem 1rem; font-size: .72rem; }
}

/* ============================================================
   MOTTY REDESIGN — overrides for Home / About / Services
   to match the source PDFs pixel-faithfully.
   ============================================================ */

/* hide the legacy trustbar/nav-wrap entirely */
.trustbar, .nav-wrap { display: none !important; }

/* ----- new top nav with hanging arch logo ----- */
.nv-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--teal);
  color: var(--cream);
  padding: 0;
}
.nv-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.1rem 2rem;
  gap: 2rem;
  position: relative;
}
.nv-left  { display: flex; gap: 2.4rem; align-items: center; justify-self: start; }
.nv-right { display: flex; gap: 1.4rem; align-items: center; justify-self: end; }
.nv-link {
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: color 200ms;
  padding: .5rem 0;
  display: inline-flex; align-items: center; gap: .35rem;
}
.nv-link:hover, .nv-link.on { color: var(--gold-soft); }
.nv-link.on { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nv-with-caret svg { opacity: .8; }

.nv-services { position: relative; }
.nv-mega {
  position: absolute; top: 100%; left: -1rem; margin-top: .4rem;
  background: var(--cream);
  min-width: 320px;
  padding: .6rem;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(8,39,36,.25);
  z-index: 60;
}
.nv-mega a {
  display: block;
  padding: .8rem 1rem;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  transition: background 150ms;
}
.nv-mega a:hover { background: var(--paper); }
.nv-mega a strong {
  font-family: var(--font-serif); font-weight: 700; color: var(--teal);
  font-size: .98rem; display: block; margin-bottom: 2px;
}
.nv-mega a span {
  font-family: var(--font-sans); font-size: .76rem; color: var(--slate);
  letter-spacing: 0; text-transform: none;
}
.nv-mega-all { border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .9rem !important; color: var(--gold-deep) !important; font-family: var(--font-sans) !important; font-size: .74rem !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

.nv-donate {
  background: var(--gold);
  color: var(--cream) !important;
  padding: .85rem 1.7rem;
  font-family: var(--font-sans);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 200ms;
}
.nv-donate:hover { background: var(--gold-deep); }

/* hanging arch sefer logo pill */
.nv-logo {
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  display: block;
  z-index: 5;
}
.nv-logo-pill {
  display: block;
  width: 150px; height: 168px;
  background: var(--teal);
  border: 2px solid rgba(181,138,79,.55);
  border-top: none;
  border-radius: 0 0 75px 75px;
  padding: 1.1rem 1.1rem 1.6rem;
  box-shadow: 0 12px 28px rgba(8,39,36,.35);
}
.nv-logo-pill img { display: block; width: 100%; height: 100%; object-fit: contain; }

.nv-burger { display: none; background: none; border: 0; cursor: pointer; padding: .6rem; flex-direction: column; gap: 5px; }
.nv-burger span { width: 22px; height: 2px; background: var(--cream); display: block; }

@media (max-width: 940px) {
  .nv-inner { grid-template-columns: auto 1fr auto; padding: .9rem 1.2rem; gap: 1rem; }
  .nv-left, .nv-right { display: none; }
  .nv-burger { display: flex; }
  .nv-logo { position: static; transform: none; justify-self: center; }
  .nv-logo-pill { width: 80px; height: 90px; padding: .55rem .55rem .9rem; border-radius: 0 0 40px 40px; }
  .nv-right { display: flex; }
  .nv-right .nv-link { display: none; }
}

/* ----- new hero (photo bleed left, text right) ----- */
.hero { padding: 0 !important; background: var(--teal); position: relative; overflow: hidden; min-height: 640px; }
.hero-inner { display: grid !important; grid-template-columns: 1.05fr .95fr !important; gap: 0 !important; min-height: 640px; align-items: stretch !important; max-width: none !important; }
.hero-photo {
  width: 100% !important; max-width: none !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  position: relative;
  height: 100%;
  justify-self: stretch !important;
}
.hero-photo::after { display: none !important; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-inner > div:first-child {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 5rem);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  background: var(--teal);
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-serif); font-weight: 600;
  color: var(--cream);
  font-size: clamp(2.4rem, 3.8vw, 3.4rem) !important;
  line-height: 1.05 !important;
  margin: 0 0 1.3rem !important;
  letter-spacing: -.01em;
}
.hero h1 em { color: var(--gold-soft); font-style: italic; font-weight: 600; }
.hero-lead {
  font-family: var(--font-sans);
  font-size: .98rem !important;
  line-height: 1.7 !important;
  color: rgba(245,240,232,.78) !important;
  max-width: 480px !important;
  margin: 0 0 2rem !important;
}
.hero-ctas .btn-pill { background: var(--gold); border-color: var(--gold); border-radius: 4px; padding: .9rem 1.6rem; }
.hero-ctas .btn-pill:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.hero-ctas .ghost-light { background: transparent; border-radius: 4px; }

/* sparkle motif */
.spk { position: absolute; color: var(--gold-soft); pointer-events: none; opacity: .55; }

@media (max-width: 940px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr !important; min-height: 0; }
  .hero-photo { aspect-ratio: 4/3 !important; height: auto !important; }
  .hero-inner > div:first-child { padding: 3rem 1.5rem; }
}

/* ----- IGNITE THE SPARK with stacked sponsor cards ----- */
.spons-grid-wrap {
  background: var(--teal);
  color: var(--cream);
  padding: 0 !important;
}
.spons-grid-wrap .container { max-width: 1280px !important; padding: 0 !important; margin: 0 auto; }
.section.section-cream:has(> .container > .section-head + div + .spons-grid),
.section.section-cream:has(> .container > .section-head + div .spons-tile) {
  /* opt: leave the original container intact in case the section is reused */
}

.ign-section {
  background: var(--teal);
  color: var(--cream);
  padding: 0;
}
.ign-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 1280px; margin: 0 auto;
  align-items: stretch;
  min-height: 540px;
}
.ign-left {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.ign-eyebrow {
  font-family: var(--font-sans); font-size: .72rem;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 500;
  margin-bottom: 1.2rem;
}
.ign-h2 {
  font-family: var(--font-serif); font-weight: 600; color: var(--cream);
  font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.05;
  letter-spacing: -.01em; margin: 0 0 1.5rem;
}
.ign-h2 em { font-style: italic; color: var(--gold-soft); font-weight: 600; }
.ign-body {
  font-family: var(--font-sans); font-size: .98rem; line-height: 1.7;
  color: rgba(245,240,232,.78); max-width: 460px; margin: 0 0 2rem;
}
.ign-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.ign-ctas .btn-pill { border-radius: 4px; }

.ign-right {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 4rem);
  background: var(--paper);
  display: flex; flex-direction: column; gap: .9rem; justify-content: center;
}
.ign-toggle {
  display: inline-flex; align-self: flex-start;
  background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px;
  margin-bottom: .6rem;
}
.ign-toggle button {
  background: transparent; border: 0;
  font-family: var(--font-sans); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; color: var(--slate);
  padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer;
}
.ign-toggle button.on { background: var(--teal); color: var(--cream); }

.spons-row {
  display: grid; grid-template-columns: 56px 1fr auto;
  align-items: center; gap: 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  transition: all 200ms cubic-bezier(.16,1,.3,1);
}
.spons-row:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14,61,58,.12); border-color: var(--gold-soft); }
.spons-row .ic { color: var(--gold-deep); }
.spons-row .ic svg { width: 38px; height: 38px; }
.spons-row .lbl {
  font-family: var(--font-serif); font-weight: 700; color: var(--teal);
  font-size: 1.15rem; line-height: 1.2;
}
.spons-row .amt {
  font-family: var(--font-serif); font-weight: 700; color: var(--teal);
  font-size: 1.5rem; line-height: 1; letter-spacing: -.01em;
}
.spons-row .amt small {
  display: block; font-family: var(--font-sans); font-size: .62rem;
  font-weight: 500; color: var(--slate); letter-spacing: .14em;
  text-transform: uppercase; margin-top: 4px;
}

@media (max-width: 940px) {
  .ign-grid { grid-template-columns: 1fr; min-height: 0; }
}

/* ----- 250+ COMMUNITIES + Israel map block ----- */
.stats-block {
  background: var(--teal); color: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  position: relative;
}
.stats-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 3rem; align-items: center;
}
.stats-block .nums { display: flex; flex-direction: column; gap: 1.4rem; }
.stats-block .nums .num {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.6rem); color: var(--cream);
  line-height: 1; letter-spacing: -.02em;
}
.stats-block .nums .lbl {
  font-family: var(--font-sans); font-size: .68rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
  margin-top: .35rem;
}
.stats-map { display: grid; place-items: center; }
.stats-map svg { width: clamp(140px, 18vw, 220px); height: auto; opacity: .75; }
.stats-cta h3 {
  font-family: var(--font-serif); font-weight: 600; color: var(--gold-soft);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.1;
  margin: 0 0 1.1rem;
}
.stats-cta p {
  color: rgba(245,240,232,.78); font-family: var(--font-sans);
  font-size: .98rem; line-height: 1.6; margin: 0 0 1.6rem;
}

@media (max-width: 940px) {
  .stats-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-block .nums { flex-direction: row; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
}

/* ----- "Our Services" rounded photo card + tab bar ----- */
.svc-feature {
  max-width: 1180px; margin: 0 auto;
  padding: 0 1.5rem;
}
.svc-feature .head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.svc-feature .head h2 {
  font-family: var(--font-serif); font-weight: 700; color: var(--teal);
  font-size: clamp(2rem, 3.2vw, 2.6rem); margin: 0 0 .8rem;
}
.svc-feature .head p { color: var(--slate); font-family: var(--font-sans); margin: 0; }

.svc-card-big {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16/7; background: var(--teal);
}
.svc-card-big img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card-big::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(8,39,36,.85) 0%, rgba(8,39,36,.5) 38%, rgba(8,39,36,0) 60%);
}
.svc-card-big .panel {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 42%; padding: clamp(1.5rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--cream); z-index: 2;
}
.svc-card-big .eyebrow { color: var(--gold-soft); margin-bottom: .8rem; }
.svc-card-big h3 {
  font-family: var(--font-serif); font-weight: 600; color: var(--cream);
  font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 .8rem; line-height: 1.1;
}
.svc-card-big p {
  font-family: var(--font-sans); font-size: .92rem; color: rgba(245,240,232,.85);
  line-height: 1.6; margin: 0 0 1.4rem; max-width: 360px;
}
.svc-card-big .cta {
  display: inline-flex; align-self: flex-start;
  background: var(--gold); color: var(--cream);
  padding: .8rem 1.5rem; border-radius: 4px;
  font-family: var(--font-sans); font-size: .76rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  text-decoration: none; transition: background 200ms;
}
.svc-card-big .cta:hover { background: var(--gold-deep); }

.svc-tabbar {
  display: flex; gap: 0;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 4px; padding: 0;
  margin-top: 1rem; overflow-x: auto;
}
.svc-tabbar button {
  flex: 1 0 auto; background: transparent; border: 0; cursor: pointer;
  padding: 1rem 1.4rem;
  font-family: var(--font-sans); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--slate); white-space: nowrap;
  transition: all 200ms;
}
.svc-tabbar button.on { background: var(--gold); color: var(--cream); }
.svc-tabbar button:hover:not(.on) { color: var(--teal); }

@media (max-width: 940px) {
  .svc-card-big { aspect-ratio: auto; }
  .svc-card-big .panel { position: relative; width: 100%; padding: 2rem 1.5rem; background: var(--teal); }
  .svc-card-big::after { display: none; }
  .svc-card-big img { aspect-ratio: 4/3; }
}

/* ----- Inside Chinuch Atzmai blog row ----- */
.blog-section { background: var(--cream); padding: clamp(3rem, 6vw, 5rem) 1.5rem; }
.blog-section .head { max-width: 1180px; margin: 0 auto 2.5rem; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.blog-section .head .lead-block { max-width: 560px; }
.blog-section .head h2 { font-family: var(--font-serif); font-weight: 700; color: var(--teal); font-size: clamp(2rem, 3.2vw, 2.6rem); margin: 0 0 .8rem; line-height: 1.1; }
.blog-section .head p { color: var(--slate); font-family: var(--font-sans); margin: 0; line-height: 1.6; }
.blog-section .head .view-all { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.blog-row { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.blog-card { display: flex; flex-direction: column; gap: .8rem; cursor: pointer; }
.blog-card .img { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--sage); }
.blog-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 360ms cubic-bezier(.16,1,.3,1); }
.blog-card:hover .img img { transform: scale(1.04); }
.blog-card .cat { font-family: var(--font-sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-top: .4rem; }
.blog-card h3 { font-family: var(--font-serif); font-weight: 700; color: var(--teal); font-size: 1.15rem; line-height: 1.2; margin: .25rem 0 .4rem; }
.blog-card p { font-family: var(--font-sans); font-size: .9rem; color: var(--slate); margin: 0; line-height: 1.55; }

@media (max-width: 940px) { .blog-row { grid-template-columns: 1fr 1fr; } .blog-section .head { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .blog-row { grid-template-columns: 1fr; } }

/* ----- Guided by Our Gedolim ----- */
.ged-section { background: var(--cream); padding: clamp(3rem, 6vw, 5rem) 1.5rem; }
.ged-section .head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.ged-section .head h2 { font-family: var(--font-serif); font-weight: 700; color: var(--teal); font-size: clamp(2rem, 3.2vw, 2.6rem); margin: 0 0 .8rem; }
.ged-section .head p { color: var(--slate); font-family: var(--font-sans); margin: 0; }
.ged-row { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.ged-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 2rem 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ged-card .pic { width: 100px; height: 100px; border-radius: 999px; overflow: hidden; background: var(--sage); margin-bottom: 1.2rem; }
.ged-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.ged-card blockquote { font-family: var(--font-serif); font-style: italic; color: var(--ink); font-size: .92rem; line-height: 1.55; margin: 0 0 1.2rem; }
.ged-card .nm { font-family: var(--font-serif); font-weight: 700; color: var(--teal); font-size: 1rem; }
.ged-card .org { font-family: var(--font-sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-top: 4px; }

@media (max-width: 940px) { .ged-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ged-row { grid-template-columns: 1fr; } }

/* ----- Give Every Child CTA panel (photo right + text left + $1/day badge) ----- */
.cta-arch { padding: 0 !important; }
.cta-block {
  background: var(--teal); color: var(--cream);
  border-radius: 16px;
  max-width: 1180px; margin: 4rem auto;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
}
.cta-block .text {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.cta-block h2 {
  font-family: var(--font-serif); font-weight: 600; color: var(--cream);
  font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; margin: 0 0 1.2rem;
}
.cta-block h2 em { font-style: italic; color: var(--gold-soft); font-weight: 600; }
.cta-block p { font-family: var(--font-sans); color: rgba(245,240,232,.78); line-height: 1.6; margin: 0 0 1.6rem; max-width: 460px; }
.cta-block .btn-pill { border-radius: 4px; align-self: flex-start; }

.cta-block .photo { position: relative; aspect-ratio: auto; min-height: 360px; }
.cta-block .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-block .seal { position: absolute; right: 1.5rem; bottom: 1.5rem; width: 92px; height: 92px; z-index: 3; }
.cta-block .seal img { width: 100%; height: 100%; }

@media (max-width: 940px) {
  .cta-block { grid-template-columns: 1fr; margin: 2rem 1rem; }
  .cta-block .photo { aspect-ratio: 4/3; min-height: 0; }
}

/* ----- Kiruv schools logo wall ----- */
.logo-wall { background: var(--cream); padding: clamp(2.5rem, 4vw, 4rem) 1.5rem; text-align: center; }
.logo-wall h4 { font-family: var(--font-sans); font-size: .82rem; color: var(--slate); font-weight: 500; margin: 0 0 1.6rem; }
.logo-wall .grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1.2rem; }
.logo-wall .ph {
  font-family: var(--font-serif); font-style: italic; font-size: 1.1rem;
  color: var(--gold-soft); border: 1px solid var(--line);
  border-radius: 4px; padding: 1.2rem; aspect-ratio: 16/9;
  display: grid; place-items: center; background: var(--paper);
}

/* ============================================================
   NEW FOOTER
   ============================================================ */
.ft { background: var(--teal); color: var(--cream); padding: 3.5rem 1.5rem 1.5rem; position: relative; overflow: hidden; }
.ft-wordmark {
  position: absolute; bottom: -1.5rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(6rem, 14vw, 13rem);
  color: rgba(245,240,232,.04); letter-spacing: -.02em;
  line-height: 1; pointer-events: none; white-space: nowrap; z-index: 1;
}
.ft-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }
.ft-top {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 2rem; padding-bottom: 2rem;
}
.ft-logo { display: block; width: 64px; }
.ft-logo img { width: 100%; height: auto; display: block; }
.ft-nav {
  display: flex; gap: 2.4rem; justify-content: center; flex-wrap: wrap;
}
.ft-nav a {
  color: var(--cream); text-decoration: none;
  font-family: var(--font-sans); font-size: .82rem;
  font-weight: 500;
  transition: color 200ms;
}
.ft-nav a:hover { color: var(--gold-soft); }
.ft-seal { width: 88px; height: 88px; }
.ft-seal img { width: 100%; height: 100%; }

.ft-social {
  display: flex; gap: 1.4rem; justify-content: center;
  padding: 1.4rem 0; border-top: 1px solid rgba(245,240,232,.12);
}
.ft-social a { color: var(--cream); transition: color 200ms; }
.ft-social a:hover { color: var(--gold-soft); }

.ft-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245,240,232,.12);
  font-family: var(--font-sans); font-size: .76rem;
  color: rgba(245,240,232,.55); flex-wrap: wrap; gap: 1rem;
}
.ft-legal { display: flex; gap: 1.5rem; }
.ft-bottom a { color: rgba(245,240,232,.7); text-decoration: none; }
.ft-bottom a:hover { color: var(--gold-soft); }

@media (max-width: 740px) {
  .ft-top { grid-template-columns: 1fr; gap: 1.6rem; justify-items: center; text-align: center; }
  .ft-bottom { flex-direction: column; gap: .6rem; text-align: center; }
}

/* ============================================================
   ABOUT PAGE — Legacy of Pure Torah Education
   ============================================================ */
.lg-hero {
  background: var(--teal); color: var(--cream);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.lg-hero .bg {
  position: absolute; inset: 0; z-index: 1;
  opacity: .35;
}
.lg-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.lg-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,39,36,.55) 0%, rgba(8,39,36,.85) 100%); }
.lg-hero .inner {
  max-width: 880px; margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 1.5rem clamp(3rem, 6vw, 5rem);
  position: relative; z-index: 2; text-align: center;
}
.lg-hero .eyebrow { display: block; color: var(--gold-soft); margin-bottom: 1.5rem; letter-spacing: .28em; }
.lg-hero h1 {
  font-family: var(--font-serif); font-weight: 600; color: var(--gold-soft);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.05;
  margin: 0 0 2.5rem; letter-spacing: -.01em;
}
.lg-hero h1 em { color: var(--gold-soft); font-style: italic; font-weight: 600; }
.lg-hero .two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem; max-width: 760px; margin: 0 auto;
  text-align: left;
}
.lg-hero .two-col p {
  color: rgba(245,240,232,.85); font-family: var(--font-sans);
  font-size: .98rem; line-height: 1.7; margin: 0;
}
@media (max-width: 740px) { .lg-hero .two-col { grid-template-columns: 1fr; } }

.lg-vision {
  background: var(--paper); padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}
.lg-vision .inner { max-width: 880px; margin: 0 auto; }
.lg-vision .eyebrow { display: inline-block; margin-bottom: 1rem; }
.lg-vision h2 {
  font-family: var(--font-serif); font-weight: 600; color: var(--teal);
  font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.3;
  margin: 0;
  max-width: 760px;
}
.lg-vision h2 em { font-style: italic; color: var(--gold); font-weight: 600; }

.lg-section {
  background: var(--cream); padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}
.lg-section .row {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.lg-section .row.reverse { grid-template-columns: 1fr 1fr; }
.lg-section .row.reverse .lg-text { order: 2; }
.lg-section .row.reverse .lg-photo { order: 1; }
.lg-text h2 {
  font-family: var(--font-serif); font-weight: 600; color: var(--gold-deep);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1;
  margin: 0 0 1.4rem;
}
.lg-text p { font-family: var(--font-sans); color: var(--ink); line-height: 1.75; margin: 0 0 1rem; }
.lg-text .stats { display: flex; gap: 2.4rem; margin-top: 1.6rem; }
.lg-text .stats .num { font-family: var(--font-serif); font-weight: 700; color: var(--gold); font-size: 2.4rem; line-height: 1; }
.lg-text .stats .lbl { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-top: .25rem; }
.lg-photo { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; }
.lg-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 740px) {
  .lg-section .row, .lg-section .row.reverse { grid-template-columns: 1fr; }
  .lg-section .row.reverse .lg-text, .lg-section .row.reverse .lg-photo { order: initial; }
}

.lg-why {
  background: var(--cream); padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}
.lg-why .head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.lg-why .head h2 { font-family: var(--font-serif); font-weight: 600; color: var(--teal); font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0; line-height: 1.1; }
.lg-why .head h2 em { font-style: italic; color: var(--gold); font-weight: 600; }
.lg-why .col {
  max-width: 760px; margin: 2.4rem auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.lg-why .col.reverse .lg-text { order: 2; }
.lg-why .col p { font-family: var(--font-sans); color: var(--ink); line-height: 1.7; margin: 0; font-size: .94rem; }
.lg-why .lg-photo { border-radius: 8px; aspect-ratio: 4/5; max-width: 280px; margin: 0 auto; }
@media (max-width: 740px) { .lg-why .col, .lg-why .col.reverse { grid-template-columns: 1fr; } .lg-why .col.reverse .lg-text { order: initial; } }

.lg-impact {
  background: var(--teal); color: var(--cream);
  border-radius: 0; margin: 0;
  padding: 0;
}
.lg-impact .inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  background: var(--teal);
  margin-top: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2rem, 4vw, 3rem);
}
.lg-impact .text {
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
}
.lg-impact h2 {
  font-family: var(--font-serif); font-weight: 600; color: var(--gold-soft);
  font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.05; margin: 0 0 1.4rem;
}
.lg-impact p { color: rgba(245,240,232,.82); line-height: 1.7; margin: 0 0 1.8rem; }
.lg-impact .btn { background: var(--gold); color: var(--cream); border: 0; padding: .9rem 1.7rem; border-radius: 4px; font-family: var(--font-sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; align-self: flex-start; cursor: pointer; text-decoration: none; transition: background 200ms; }
.lg-impact .btn:hover { background: var(--gold-deep); }
.lg-impact .photo { position: relative; min-height: 380px; }
.lg-impact .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 740px) { .lg-impact .inner { grid-template-columns: 1fr; margin-left: 1rem; margin-right: 1rem; } .lg-impact .photo { min-height: 0; aspect-ratio: 4/3; position: relative; } }

/* ============================================================
   SERVICES PAGE — 6 photo cards + detail
   ============================================================ */
.sv-hub { background: var(--cream); padding: clamp(3rem, 6vw, 5rem) 1.5rem; }
.sv-hub .head { max-width: 1180px; margin: 0 auto 2.5rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.sv-hub .head h1 { font-family: var(--font-serif); font-weight: 700; color: var(--teal); font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0; }
.sv-hub .head .spk-deco { color: var(--gold-soft); }
.sv-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.sv-card {
  position: relative; aspect-ratio: 4/3;
  border-radius: 12px; overflow: hidden; cursor: pointer;
  background: var(--teal);
  text-decoration: none;
  display: block;
  box-shadow: 0 6px 18px rgba(14,61,58,.10);
  transition: transform 360ms cubic-bezier(.16,1,.3,1), box-shadow 360ms cubic-bezier(.16,1,.3,1);
}
.sv-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14,61,58,.18); }
.sv-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms cubic-bezier(.16,1,.3,1); }
.sv-card:hover img { transform: scale(1.05); }
.sv-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,39,36,.85) 0%, rgba(8,39,36,.35) 50%, rgba(8,39,36,0) 70%);
}
.sv-card .lbl {
  position: absolute; left: 1.5rem; bottom: 1.4rem; right: 1.5rem;
  color: var(--cream);
  font-family: var(--font-sans); font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; line-height: 1.4;
  z-index: 2;
}
@media (max-width: 940px) { .sv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sv-grid { grid-template-columns: 1fr; } .sv-card { aspect-ratio: 16/9; } }

/* services intro with scattered photo collage */
.sv-intro { background: var(--cream); padding: clamp(3rem, 6vw, 5rem) 1.5rem; position: relative; overflow: hidden; }
.sv-intro .grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.sv-intro .text .eyebrow { margin-bottom: 1.2rem; }
.sv-intro .text h1 { font-family: var(--font-serif); font-weight: 600; color: var(--teal); font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1.05; margin: 0 0 1.4rem; }
.sv-intro .text p { font-family: var(--font-sans); color: var(--ink); line-height: 1.7; margin: 0 0 1rem; }
.sv-collage {
  position: relative; aspect-ratio: 1/1;
  max-width: 540px; margin-left: auto;
}
.sv-collage .ph {
  position: absolute; border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 28px rgba(14,61,58,.15);
}
.sv-collage .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-collage .p1 { top: 0; right: 0; width: 52%; aspect-ratio: 4/3; }
.sv-collage .p2 { top: 18%; left: 0; width: 38%; aspect-ratio: 4/5; }
.sv-collage .p3 { bottom: 8%; left: 18%; width: 42%; aspect-ratio: 4/3; }
.sv-collage .p4 { bottom: 0; right: 4%; width: 38%; aspect-ratio: 4/3; }
@media (max-width: 940px) { .sv-intro .grid { grid-template-columns: 1fr; } .sv-collage { margin: 0 auto; } }

/* services detail — large overlay photo + tab bar */
.sv-detail { background: var(--paper); padding: 0; position: relative; }
.sv-detail .photo {
  position: relative; aspect-ratio: 16/9;
  background: var(--teal); overflow: hidden;
}
.sv-detail .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-detail .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(8,39,36,.85) 0%, rgba(8,39,36,.4) 38%, rgba(8,39,36,0) 60%);
}
.sv-detail .panel {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 46%; padding: clamp(2rem, 5vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
  color: var(--cream); z-index: 2;
}
.sv-detail h2 { font-family: var(--font-serif); font-weight: 600; color: var(--cream); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; margin: 0 0 1.4rem; }
.sv-detail .panel p { font-family: var(--font-sans); color: rgba(245,240,232,.85); line-height: 1.7; margin: 0 0 1rem; max-width: 460px; }
.sv-detail .cta { display: inline-flex; align-self: flex-start; background: var(--gold); color: var(--cream); padding: .9rem 1.7rem; border-radius: 4px; font-family: var(--font-sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; text-decoration: none; margin-top: 1.4rem; transition: background 200ms; }
.sv-detail .cta:hover { background: var(--gold-deep); }

@media (max-width: 940px) {
  .sv-detail .photo { aspect-ratio: auto; }
  .sv-detail .photo img { aspect-ratio: 4/3; }
  .sv-detail .panel { position: relative; width: 100%; padding: 2.4rem 1.5rem; background: var(--teal); }
  .sv-detail .photo::after { display: none; }
}

/* services tabs (horizontal program switcher) */
.sv-tabs { background: var(--cream); padding: 0; }
.sv-tabs .row {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: stretch;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 4px; overflow-x: auto;
}
.sv-tabs button {
  flex: 1 0 auto; background: transparent; border: 0; cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-sans); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--slate); white-space: nowrap;
  border-right: 1px solid var(--line);
  transition: all 200ms;
}
.sv-tabs button:last-child { border-right: 0; }
.sv-tabs button.on { background: var(--gold); color: var(--cream); }

/* small Open the Door arched panel */
.sv-arch {
  background: var(--cream); padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}
.sv-arch .panel {
  max-width: 1180px; margin: 0 auto;
  background: var(--teal); color: var(--cream);
  border-radius: 16px;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative; overflow: hidden;
}
.sv-arch h2 { font-family: var(--font-serif); font-weight: 600; color: var(--cream); font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 0 0 1.2rem; line-height: 1.05; }
.sv-arch h2 em { font-style: italic; color: var(--gold-soft); font-weight: 600; }
.sv-arch p { font-family: var(--font-sans); color: rgba(245,240,232,.78); max-width: 540px; margin: 0 auto 1.6rem; line-height: 1.6; }
.sv-arch .btn { display: inline-flex; background: var(--gold); color: var(--cream); padding: .9rem 1.7rem; border-radius: 4px; font-family: var(--font-sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; text-decoration: none; transition: background 200ms; border: 0; cursor: pointer; }
.sv-arch .btn:hover { background: var(--gold-deep); }

/* sparkle scatter on light backgrounds */
.spk-scatter { position: relative; }
.spk-scatter .spk { color: var(--gold-soft); opacity: .5; }

