/* Juhapura design system — derived from design/Juhapura Website/*.dc.html */
:root {
  --green: #0D4A29;
  --green-dark: #0A3A20;
  --gold: #B08A3E;
  --gold-dark: #9A7733;
  --gold-light: #D4A84B;
  --cream: #F4F1EA;
  --paper: #FFFDF8;
  --paper-2: #F9F6EF;
  --sand: #E9E3D5;
  --line: #DDD5C3;
  --line-strong: #CFC5AF;
  --line-soft: #E6DFCF;
  --line-faint: #EFEADF;
  --ink: #17241C;
  --ink-2: #3E4A43;
  --muted: #5B6660;
  --faint: #8A8F86;
  --ok: #1F7A45;
  --bad: #A3321F;
  --gutter: clamp(16px, 4vw, 48px);
  --gu: 'Noto Sans Gujarati', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold); }
input, button, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }
::selection { background: #E9DDBF; color: var(--green); }
[hidden] { display: none !important; }
.gu { font-family: var(--gu); letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Layout ─────────────────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--green); color: var(--cream); }
.section { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.page-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 32px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 80px); }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; }

/* ── Type ───────────────────────────────────────────────── */
.eyebrow { font-size: 13px; letter-spacing: .32em; color: var(--gold); font-weight: 500; margin-bottom: 10px; text-transform: uppercase; }
.label { font-size: 12px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.display { font-size: clamp(40px, 6vw, 72px); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; color: var(--green); text-wrap: balance; }
.h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; color: var(--green); text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; color: var(--green); text-wrap: balance; }
.h3 { font-size: 28px; font-weight: 400; color: var(--green); margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 560px; text-wrap: pretty; }
.muted { color: var(--muted); }
.link-line { font-size: 16px; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link-line.subtle { color: var(--muted); border-color: var(--line-strong); }
.prose { font-size: 17px; color: var(--ink-2); max-width: 680px; white-space: pre-line; overflow-wrap: anywhere; }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 500; padding: 13px 22px; border-radius: 7px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; min-height: 48px; line-height: 1.2; }
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-dark); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--paper); }
.btn-gold:hover { background: var(--gold-dark); color: var(--paper); }
.btn-light { background: var(--gold-light); color: var(--green); }
.btn-light:hover { background: #E0B85E; color: var(--green); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-sm { font-size: 14px; font-weight: 400; padding: 8px 12px; min-height: 40px; border-radius: 6px; }
.btn-block { width: 100%; }
.chip { font-size: 14px; color: var(--green); background: transparent; border: 1px solid var(--line-strong); border-radius: 99px; padding: 6px 14px; cursor: pointer; white-space: nowrap; display: inline-block; }
.chip:hover { border-color: var(--gold); background: var(--paper); color: var(--green); }
.chip.is-on { background: var(--green); border-color: var(--green); color: var(--cream); }
.linkbtn { background: none; border: none; border-bottom: 1px solid var(--gold); font-size: 15px; color: var(--green); cursor: pointer; padding: 0 0 1px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.site-header .logo img { height: 60px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; min-width: 0; }
.nav a { font-size: 16px; font-weight: 500; color: var(--green); padding: 10px 8px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a.is-active { border-bottom-color: var(--gold); color: var(--green); }
.header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: none; border: none; cursor: pointer; color: var(--green); }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.account-link { font-size: 15px; color: var(--ink); padding: 8px; white-space: nowrap; }
.account-menu { position: relative; }
.account-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; border-radius: 8px; padding: 4px 8px 4px 4px; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary:hover, .account-menu[open] summary { background: var(--sand); }
.account-menu summary svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.account-menu[open] summary svg { transform: rotate(180deg); }
.avatar.sm { width: 30px; height: 30px; font-size: 12px; }
.account-menu .menu { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 12px 32px rgba(13, 74, 41, .14); padding: 6px; display: flex; flex-direction: column; z-index: 60; }
.account-menu .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 4px; display: flex; flex-direction: column; min-width: 0; }
.account-menu .who strong { font-weight: 500; color: var(--green); }
.account-menu .who span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.account-menu .menu a, .account-menu .menu button { display: block; width: 100%; text-align: left; font: inherit; font-size: 15px; color: var(--ink); padding: 9px 12px; border-radius: 6px; background: none; border: none; cursor: pointer; }
.account-menu .menu a:hover, .account-menu .menu button:hover { background: var(--cream); color: var(--green); }
.account-menu .menu form { border-top: 1px solid var(--line-soft); margin-top: 4px; padding-top: 4px; }
.account-menu .menu button { color: var(--bad); }
.mobile-account { margin-top: 16px; display: flex; flex-direction: column; }
.mobile-account .label { margin-bottom: 4px; }
.mobile-account a.sub { font-size: 17px; color: var(--ink-2); padding: 10px 4px; }
.mobile-account form { margin-top: 12px; align-self: flex-start; }
.anchor { scroll-margin-top: 100px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px 16px 20px; display: flex; flex-direction: column; }
.mobile-menu a.item { font-size: 20px; color: var(--green); padding: 14px 4px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; }
.mobile-menu a.item.is-active::after { content: '●'; color: var(--gold); }
.mobile-menu .btn { margin-top: 16px; align-self: flex-end; }
@media (max-width: 759px) {
  .site-header .logo img { height: 46px; }
  .nav, .header-tools .account-link, .header-tools .account-menu { display: none; }
  .header-tools { margin-left: auto; }
  .menu-btn { display: flex; }
}
@media (min-width: 760px) { .mobile-menu { display: none !important; } }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--green-dark); color: #C5CFC8; }
.site-footer .inner { padding-top: clamp(40px, 6vw, 64px); padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 28px; margin-bottom: 40px; }
.footer-grid .brand { grid-column: span 2; min-width: min(100%, 240px); }
.footer-grid .brand img { height: 50px; width: auto; }
.footer-grid .brand p { font-size: 15px; max-width: 320px; margin-top: 18px; color: #AEBBB2; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 12px; font-weight: 400; letter-spacing: .28em; color: var(--gold-light); margin-bottom: 6px; }
.footer-col a { color: #C5CFC8; font-size: 15px; }
.footer-col a:hover { color: var(--cream); }
.footer-base { border-top: 1px solid rgba(244, 241, 234, .12); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: #8FA096; }

/* ── Forms ──────────────────────────────────────────────── */
.searchbar { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px; padding: 6px 6px 6px 18px; box-shadow: 0 1px 0 var(--line); }
.searchbar:focus-within { border-color: var(--gold); }
.searchbar svg { fill: none; stroke: var(--faint); stroke-width: 1.6; stroke-linecap: round; flex-shrink: 0; }
.searchbar input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 17px; color: var(--ink); padding: 10px 0; }
.searchbar .btn { min-height: 0; padding: 12px 20px; font-size: 15px; }
.filters { margin-top: 36px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; padding: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 4px; }
.filter { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 8px; }
.filter:hover { background: var(--cream); }
.filter select { border: none; background: transparent; font-size: 17px; color: var(--ink); outline: none; cursor: pointer; padding: 2px 0; width: 100%; }
.filter .chips { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.filter .chips .chip { padding: 5px 12px; }
.select-sm { border: 1px solid var(--line-strong); background: var(--paper); border-radius: 6px; padding: 7px 10px; font-size: 15px; color: var(--ink); outline: none; cursor: pointer; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 15px; color: var(--ink-2); }
.input { border: 1px solid var(--line-strong); background: var(--paper-2); border-radius: 7px; padding: 12px 14px; font-size: 16px; outline: none; color: var(--ink); width: 100%; }
.input:focus { border-color: var(--gold); background: var(--paper); }
.errorlist { list-style: none; color: var(--bad); font-size: 14px; }
.messages { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.messages li { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--ok); padding: 10px 14px; border-radius: 6px; }
.messages li.error { border-left-color: var(--bad); }

/* ── Cards & badges ─────────────────────────────────────── */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.grid-cards.compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); min-width: 0; }
.card:hover { color: var(--ink); }
.card .media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--line-soft); }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .media img.photo, .gallery img.photo { position: absolute; inset: 0; }
.card .media .badge { position: absolute; top: 12px; left: 12px; }
.card .media .badge.right { left: auto; right: 12px; }
.card .meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card .kicker { font-size: 13px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.card .when { font-size: 13px; color: var(--faint); white-space: nowrap; }
.card .title { font-size: 21px; font-weight: 500; color: var(--green); line-height: 1.2; overflow-wrap: anywhere; }
.card a.title:hover { color: var(--gold); }
.card .spec { font-size: 15px; color: var(--muted); }
.card .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.card .price { font-size: 20px; color: var(--ink); }
.card .actions { display: flex; gap: 8px; }
.placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, #E9E3D5, #DDD5C3); color: var(--muted); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.placeholder img, .card .media .placeholder img { width: 56px; height: 56px; opacity: .55; object-fit: contain; }
.badge { display: inline-block; font-size: 12px; letter-spacing: .12em; padding: 5px 10px; border-radius: 4px; text-transform: uppercase; white-space: nowrap; line-height: 1.3; }
.badge-clear { background: var(--green); color: var(--cream); }
.badge-poa { background: #F4E7C6; color: #6B4F12; }
.badge-juni { background: #EADFD8; color: #6B3A22; }
.badge-soft { background: var(--paper); color: var(--green); }
.badge-gold { background: var(--gold-light); color: var(--green); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 28px clamp(16px, 2.4vw, 28px); border-right: 1px solid var(--line-faint); color: var(--ink); min-height: 168px; }
.tile:hover { background: var(--cream); color: var(--ink); }
.tile .num { font-size: 13px; letter-spacing: .2em; color: var(--gold); }
.tile .name { font-size: 21px; font-weight: 500; color: var(--green); }
.tile .desc { font-size: 15px; color: var(--muted); line-height: 1.45; flex: 1; }
.tile .count { font-size: 14px; color: var(--green); }

.list-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--ink); align-items: center; }
.list-row:hover { color: var(--ink); background: var(--paper-2); }
.datebox { text-align: center; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 0; background: var(--cream); }
.datebox .d { font-size: 26px; font-weight: 500; line-height: 1; color: var(--green); }
.datebox .m { font-size: 12px; letter-spacing: .18em; color: var(--gold); margin-top: 4px; text-transform: uppercase; }
.row-title { font-size: 18px; font-weight: 500; color: var(--green); }
.row-sub { font-size: 15px; color: var(--muted); }

.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cell .name { font-size: 18px; font-weight: 500; color: var(--green); }
.cell .links { display: flex; gap: 16px; margin-top: 10px; font-size: 14px; }
.cell .links a { border-bottom: 1px solid var(--line-strong); }
.status-open { color: var(--ok); }
.status-closed { color: var(--bad); }

/* ── Home ───────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero .eyebrow { margin-bottom: 22px; }
.hero .gu-line { font-family: var(--gu); font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); margin-top: 16px; }
.hero .lead { margin-top: 22px; }
.hero form { margin-top: 34px; max-width: 560px; }
@media (min-width: 760px) { .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.popular { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.popular > span { font-size: 14px; color: var(--muted); margin-right: 4px; }
.hero-art { display: grid; gap: 20px; justify-items: center; min-width: 0; }
.arch { position: relative; width: min(100%, 400px); aspect-ratio: 4 / 5; }
.arch::before, .arch::after { content: ''; position: absolute; clip-path: var(--arch); pointer-events: none; }
.arch::before { inset: 0; background: var(--gold); }
.arch::after { inset: 1.5px; background: var(--cream); }
.arch img { position: absolute; top: 12px; left: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; clip-path: var(--arch); z-index: 1; }
.arch figcaption { position: absolute; bottom: -22px; right: 0; font-size: 11px; color: var(--faint); }
:root { --arch: polygon(0% 100%,0% 38%,1% 32%,3.5% 26.5%,7.5% 21%,13% 16%,20% 11.5%,28% 7.5%,37% 4%,44% 1.8%,50% 0%,56% 1.8%,63% 4%,72% 7.5%,80% 11.5%,87% 16%,92.5% 21%,96.5% 26.5%,99% 32%,100% 38%,100% 100%); }
.prayer { width: min(100%, 460px); background: var(--green); color: var(--cream); border-radius: 10px; padding: 18px 22px; }
.prayer .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.prayer .top .label { color: var(--gold-light); letter-spacing: .28em; }
.prayer .top .next { font-size: 13px; color: #B9C4BC; }
.prayer .times { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; text-align: center; }
.prayer .times div { padding: 8px 2px; border-radius: 6px; }
.prayer .times .is-next { background: rgba(212, 168, 75, .22); }
.prayer .times small { display: block; font-size: 13px; color: #B9C4BC; }
.prayer .times strong { font-size: 17px; font-weight: 500; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs .chip { font-size: 15px; padding: 9px 18px; }

/* ── Detail pages ───────────────────────────────────────── */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--faint); flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs .here { color: var(--ink); overflow-wrap: anywhere; }
.pager-mini { display: flex; align-items: center; gap: 8px; }
.pager-mini a { width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--paper); color: var(--green); display: flex; align-items: center; justify-content: center; }
.pager-mini a:hover { border-color: var(--green); }
.pager-mini svg, .pager svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; margin-top: 28px; height: clamp(300px, 42vw, 520px); }
.gallery.single { grid-template-columns: 1fr; }
.gallery .main, .gallery .side > div { position: relative; border-radius: 8px; overflow: hidden; min-height: 0; background: var(--line-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; min-height: 0; }
.gallery .more { position: absolute; right: 12px; bottom: 12px; background: var(--paper); color: var(--green); font-size: 14px; padding: 7px 12px; border-radius: 6px; }
.detail { display: flex; flex-wrap: wrap; gap: clamp(28px, 3.4vw, 56px); align-items: flex-start; padding-top: 40px; padding-bottom: clamp(56px, 8vw, 96px); }
.detail .body { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.detail aside { position: sticky; top: 110px; flex: 0 1 300px; min-width: min(100%, 270px); display: flex; flex-direction: column; gap: 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 18px 16px 18px 0; display: flex; flex-direction: column; gap: 2px; }
.facts strong { font-size: 19px; font-weight: 400; color: var(--green); }
.bullets { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; list-style: none; }
.bullets li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
.bullets li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.bullets.checks li::before { width: 18px; height: 18px; border-radius: 0; background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4 10-10' fill='none' stroke='%231F7A45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 32px); }
.panel.strong { border-color: var(--line-strong); padding: 24px; }
.contact-head { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 16px; letter-spacing: .06em; flex-shrink: 0; text-transform: uppercase; }
.two-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.emi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; align-items: center; }
.emi label { display: flex; flex-direction: column; gap: 8px; }
.emi label > span { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-2); }
.emi label output { color: var(--green); }
.emi input[type=range] { accent-color: var(--green); }
.emi .result { background: var(--green); color: var(--cream); border-radius: 10px; padding: 28px; }
.emi .result .label { color: var(--gold-light); letter-spacing: .28em; }
.emi .result .amount { font-size: 44px; line-height: 1.1; margin-top: 8px; }
.emi .result .amount small { font-size: 18px; color: #C5CFC8; }
.tenure-rows > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.tenure-rows > div:last-child { border-bottom: 1px solid var(--line); }
.tenure-rows .badge { align-self: start; justify-self: start; }
.pager { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; padding-top: 32px; border-top: 1px solid var(--line); }
.pager a { flex: 1 1 260px; display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); min-width: 0; }
.pager a:hover { border-color: var(--gold); color: var(--ink); }
.pager a.next { justify-content: flex-end; text-align: right; }
.pager a.all { flex: 0 1 auto; justify-content: center; font-size: 15px; color: var(--green); background: transparent; white-space: nowrap; }
.pager .t { display: block; font-size: 18px; font-weight: 500; color: var(--green); margin-top: 2px; overflow-wrap: anywhere; }
.pager .s { display: block; font-size: 14px; color: var(--muted); }
.pager svg { color: var(--gold); flex-shrink: 0; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 48px; font-size: 15px; color: var(--muted); }
.empty { padding: 64px 0; text-align: center; color: var(--muted); font-size: 17px; }
.cta-band .wrap { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 400; line-height: 1.1; text-wrap: balance; }
.cta-band p { font-size: 17px; color: #C5CFC8; margin-top: 12px; max-width: 620px; }

/* ── Lists with sidebar (directory, scholarships) ───────── */
.with-aside { display: flex; flex-wrap: wrap; gap: clamp(28px, 3.4vw, 56px); align-items: flex-start; padding-top: 40px; padding-bottom: clamp(56px, 8vw, 96px); }
.with-aside > .main { flex: 1 1 520px; min-width: 0; }
.with-aside > aside { position: sticky; top: 110px; flex: 0 1 300px; min-width: min(100%, 270px); display: flex; flex-direction: column; gap: 16px; }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; font-size: 17px; color: var(--ink-2); }
.list-head strong { color: var(--green); font-weight: 500; }
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip a { text-align: left; border-right: 1px solid var(--line); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; color: var(--green); }
.strip a:hover, .strip a.is-on { background: var(--paper); color: var(--green); }
.strip a.is-on { box-shadow: inset 0 -2px 0 var(--gold); }
.strip b { font-size: 16px; font-weight: 500; }
.strip small { font-size: 14px; color: var(--muted); }
@media (max-width: 759px) {
  .strip { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); }
  .strip a { flex: 0 0 auto; padding: 14px 18px; white-space: nowrap; }
}
.place { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.place .info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.place .name-row { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.place .name { font-size: 20px; font-weight: 500; color: var(--green); overflow-wrap: anywhere; }
.place .name:hover { color: var(--gold); }
.place .cat { font-size: 12px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.place .where { font-size: 15px; color: var(--muted); }
.place .hours { font-size: 14px; color: var(--ok); }
.place .actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.box .label { margin-bottom: 12px; display: block; }
.box h3 { font-size: 20px; font-weight: 500; color: var(--green); }
.box p { font-size: 15px; color: var(--muted); margin: 6px 0 16px; }
.box.dark { background: var(--green); color: var(--cream); border-color: var(--green); }
.box.dark .label { color: var(--gold-light); }
.box.dark p { color: #C5CFC8; }
.kv { display: flex; flex-direction: column; gap: 16px; }
.kv > div { display: flex; flex-direction: column; gap: 2px; font-size: 16px; overflow-wrap: anywhere; }
.line-links a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--ink); }
.line-links a:hover { color: var(--green); }
.line-links a span:last-child { color: var(--muted); white-space: nowrap; }
.box.dark .line-links a { color: var(--cream); border-color: rgba(244, 241, 234, .15); }
.box.dark .line-links a span:last-child { color: var(--gold-light); font-size: 18px; }
.sch { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.sch .top { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.sch .bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.due { font-size: 14px; color: var(--ok); }
.due.soon { color: var(--bad); }
.due.closed { color: var(--faint); }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-soft); font-size: 16px; color: var(--ink-2); white-space: pre-line; }
.steps li::before { content: counter(step); width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.deadline .big { font-size: 28px; color: var(--green); line-height: 1.15; }

/* ── Simple pages ───────────────────────────────────────── */
.narrow { max-width: 760px; }
.prose-page h2 { font-size: 26px; font-weight: 400; color: var(--green); margin: 36px 0 10px; }
.prose-page p { font-size: 17px; color: var(--ink-2); }
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; padding: 20px 24px; margin-top: 32px; font-size: 18px; color: var(--green); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.features > div { padding: 32px clamp(16px, 2.4vw, 28px); border-right: 1px solid var(--line-faint); }
.features .num { font-size: 13px; letter-spacing: .2em; color: var(--gold); }
.features .name { font-size: 21px; font-weight: 500; color: var(--green); margin: 8px 0 6px; }
.features p { color: var(--muted); }
.contact-list { display: flex; flex-direction: column; margin-top: 32px; }
.contact-list > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 17px; }
.center-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 64px var(--gutter); }
.center-page .mark { width: 64px; height: 64px; margin: 0 auto 24px; }
.center-page .links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.auth { max-width: 440px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter); }
.auth .head { text-align: center; margin-bottom: 28px; }
.auth .head img { width: 56px; height: 56px; margin: 0 auto 18px; }
.auth .head h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 400; color: var(--green); line-height: 1.1; }
.auth .head p { color: var(--muted); margin-top: 8px; }
.auth form { display: flex; flex-direction: column; gap: 16px; }
.auth .switch { text-align: center; margin-top: 24px; color: var(--muted); }

.auth-split { max-width: 1100px; margin: clamp(24px, 5vw, 64px) auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.auth-brand { background: var(--green); color: var(--cream); border-radius: 14px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 40px; position: sticky; top: 110px; min-height: 520px; overflow: hidden; }
.auth-brand::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; background: url("../img/juhapura-mark-gold.245299616dfb.svg") no-repeat center / contain; opacity: .12; pointer-events: none; }
.auth-brand .logo { height: 56px; width: auto; align-self: flex-start; }
.auth-brand .pitch { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.auth-brand .eyebrow { color: var(--gold); margin: 0; }
.auth-brand h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 400; line-height: 1.1; color: var(--cream); }
.auth-brand ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 17px; color: rgba(244, 241, 234, .82); }
.auth-brand li { display: flex; gap: 12px; align-items: baseline; }
.auth-brand li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }
.auth-brand .foot { font-size: 14px; color: rgba(244, 241, 234, .6); }
.auth-main { display: flex; flex-direction: column; justify-content: center; max-width: 440px; width: 100%; justify-self: center; padding: clamp(8px, 2vw, 24px) 0; }
.auth-main .head { margin-bottom: 24px; }
.auth-main .head h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 400; color: var(--green); line-height: 1.1; }
.auth-main .head p { color: var(--muted); margin-top: 8px; }
.auth-main form { display: flex; flex-direction: column; gap: 16px; }
.auth-main .switch { text-align: center; margin-top: 24px; color: var(--muted); }
@media (max-width: 859px) {
  .auth-split { grid-template-columns: 1fr; gap: 28px; }
  .auth-brand { gap: 16px; padding: 24px; position: relative; top: auto; min-height: 0; }
  .auth-brand .logo, .auth-brand ul, .auth-brand .foot { display: none; }
  .auth-brand h2 { font-size: 26px; }
  .auth-brand::after { width: 160px; height: 160px; right: -40px; bottom: -50px; }
}
.article { margin-top: 28px; font-size: 18px; color: var(--ink-2); line-height: 1.75; overflow-wrap: anywhere; }
.article p { margin-bottom: 1.15em; }

/* ── Nikah ───────────────────────────────────────────── */
.nk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.nk-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.nk-card .who { display: flex; gap: 16px; align-items: center; }
.nk-card .name { font-size: 21px; font-weight: 500; color: var(--green); line-height: 1.2; }
.nk-card .name:hover { color: var(--gold); }
.nk-card .sub { font-size: 14px; color: var(--muted); }
.nk-card .rows { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; font-size: 15px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.nk-card .rows span:nth-child(odd) { color: var(--faint); }
.nk-card .acts { display: flex; gap: 8px; margin-top: auto; }
.nk-card .acts > * { flex: 1; }
.nk-lock { width: 64px; height: 80px; border-radius: 32px 32px 6px 6px; background: var(--line-soft); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--faint); font-size: 18px; overflow: hidden; }
.nk-lock img { width: 100%; height: 100%; object-fit: cover; }
.nk-lock svg, .nk-photo svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nk-lock.sm { width: 56px; height: 70px; border-radius: 28px 28px 6px 6px; color: var(--green); }
.nk-lock.on { background: #E9DDBF; }
.verified { font-size: 13px; color: var(--ok); margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.btn-sent { background: #E5F0E8; color: var(--ok); border: 1px solid var(--ok); }
.nk-photo { aspect-ratio: 4 / 5; border-radius: 160px 160px 12px 12px; background: var(--line-soft); border: 1px solid var(--line-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px; text-align: center; color: var(--muted); overflow: hidden; position: relative; }
.nk-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nk-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.nk-thumbs img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 36px 36px 6px 6px; width: 100%; }
.nk-rows > div { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; overflow-wrap: anywhere; }
.nk-rows > div > span:first-child { color: var(--faint); }
.nk-feature { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.nk-feature:hover { border-color: var(--gold); color: var(--ink); }
.nk-feature.dark { background: var(--green); border-color: var(--green); color: var(--cream); }
.nk-feature.dark:hover { background: var(--green-dark); color: var(--cream); }
.nk-feature .quote { font-size: 26px; line-height: 1.2; color: var(--green); }
.nk-feature.dark .quote { color: var(--cream); }
.nk-feature.dark .label { color: var(--gold-light); }
.nk-feature .more { font-size: 15px; color: var(--muted); margin-top: 6px; }
.nk-feature.dark .more { color: #C5CFC8; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: 16px; }
.how .n { font-size: 28px; font-weight: 300; color: var(--gold); }
.how .t { font-size: 19px; font-weight: 500; color: var(--green); margin-top: 4px; }
.how p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.stepbar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 28px; }
.stepbar button { display: flex; flex-direction: column; gap: 8px; background: none; border: none; padding: 0; text-align: left; font-size: 14px; color: var(--faint); cursor: pointer; }
.stepbar button::before { content: ''; height: 4px; border-radius: 2px; background: var(--line); display: block; }
.stepbar button.done::before, .stepbar button.is-on::before { background: var(--green); }
.stepbar button.is-on { color: var(--green); }
.stepbar button.has-errors { color: var(--bad); }
@media (max-width: 640px) { .stepbar button span { display: none; } }
.wizard [data-step][hidden] { display: none; }
.wizard-step { border: 0; display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.wizard-step .h3 { font-size: 26px; font-weight: 400; }
.wizard-step > .muted { margin-top: -8px; }
.submit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: 20px; padding-bottom: clamp(56px, 8vw, 96px); }
.submit-preview { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 14px; }
.submit-preview .card .media .placeholder { font-size: 15px; }
.review { display: grid; grid-template-columns: minmax(120px, auto) minmax(0, 1fr); gap: 8px 20px; font-size: 16px; }
.review .label { grid-column: 1 / -1; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.review .label:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.review dt { color: var(--muted); }
.review dd { color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 899px) {
  .submit-layout { grid-template-columns: 1fr; }
  .submit-preview { position: static; max-width: 420px; }
}
.wizard .grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.wizard .nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.radio-cards > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.radio-cards label { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer; font-size: 17px; font-weight: 500; color: var(--green); }
.radio-cards label:has(input:checked) { border-color: var(--green); background: var(--cream); }
.radio-cards input { margin-top: 5px; accent-color: var(--green); }
.toggle-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.toggle-row input { width: 22px; height: 22px; accent-color: var(--green); flex-shrink: 0; }
.inbox-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.inbox-tabs a { border-bottom: 2px solid transparent; padding: 14px 16px; font-size: 16px; color: var(--muted); white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.inbox-tabs a.is-on { border-color: var(--gold); color: var(--green); }
.inbox-tabs .n { font-size: 13px; background: var(--line-soft); color: var(--ink-2); border-radius: 99px; padding: 1px 8px; }
.inbox-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.unlocked-box { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.kicker-ok { font-size: 12px; letter-spacing: .22em; color: var(--ok); }
.story { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.story .art { aspect-ratio: 4 / 3; border-radius: 200px 200px 12px 12px; overflow: hidden; background: var(--line-soft); display: flex; align-items: center; justify-content: center; }
.story .art img { width: 100%; height: 100%; object-fit: cover; }
.story .art .mark { width: 72px; opacity: .5; }
.story:nth-child(even) .art { order: 2; }
.story h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 400; color: var(--green); margin-top: 8px; line-height: 1.1; }
.story blockquote { font-size: clamp(19px, 1.8vw, 23px); color: var(--ink); margin-top: 18px; line-height: 1.45; }
.checklist label { display: flex; gap: 12px; align-items: center; border-top: 1px solid rgba(244, 241, 234, .16); padding: 11px 0; cursor: pointer; font-size: 15px; }
.checklist input { width: 18px; height: 18px; accent-color: var(--gold-light); flex-shrink: 0; }
.checklist input:checked + span { text-decoration: line-through; color: #AEBBB2; }
.status-pill { font-size: 12px; letter-spacing: .12em; padding: 5px 10px; border-radius: 4px; background: var(--green); color: var(--cream); text-transform: uppercase; }
.status-pill.pending { background: #F3E7C8; color: #6B4F12; }
.status-pill.rejected { background: #F4DDD8; color: var(--bad); }
.status-pill.paused { background: var(--line-soft); color: var(--ink-2); }
