:root {
  --paper:#faf7ef; --ink:#332a25; --wine:#701e32; --brass:#967136;
  --line:#ded5c5; --muted:#6d645a; --white:#fffdf8; --gold:#967136; --gold-pale:#f6ecd5;
  --rose-50:#f5eee5; --rose-100:#e5dace; --rose-200:#dcc8aa; --rose-300:#b6946c;
  --rose-400:#9a515b; --rose-500:#812c40; --rose-600:#701e32; --rose-700:#611529;
  --rose-800:#53182b; --rose-900:#431524; --text-muted:var(--muted);
  --text-dark:var(--ink); --text-body:var(--ink); --green:#425d48; --green-light:#e2eadc;
  --display:"Cormorant Garamond",Georgia,serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 "DM Sans",Arial,sans-serif}
a{color:var(--wine);text-underline-offset:4px}
button,input,select,textarea{font:inherit}
:focus-visible{outline:3px solid #997326;outline-offset:3px}
h1,h2,h3,h4,h5{font-family:var(--display);font-weight:600;line-height:1.08;color:var(--ink)}
h2{font-size:clamp(2.3rem,4vw,3.55rem);letter-spacing:-.04em}
.shell,.container{width:min(1220px,90%);margin-inline:auto}
.masthead{border-bottom:1px solid var(--line);background:var(--paper)}
.head-row,.head-actions,.foot-row,.hero-actions,.section-heading,.member-actions{display:flex;align-items:center}
.head-row{min-height:82px;gap:40px}
.wordmark img{height:57px;width:140px;object-fit:contain}
.head-row nav,.head-actions{display:flex;align-items:center;gap:28px}
.head-row a,.quiet,.foot-row a,.member-actions a{font-size:.9rem;font-weight:600;text-decoration:none}
.head-row nav a,.head-actions>a:not(.primary){color:var(--ink)}
.head-actions{margin-left:auto}.head-actions form,.member-actions form{margin:0}
.primary,.btn-primary-bd,.btn-form-submit,.btn-outline-bd{display:inline-flex;justify-content:center;align-items:center;gap:.7rem;min-height:45px;background:var(--wine);color:white!important;border:1px solid var(--wine);border-radius:5px;padding:.72rem 1.25rem;text-decoration:none;font-weight:600;font-size:.9rem;cursor:pointer}
.primary:hover,.btn-primary-bd:hover,.btn-form-submit:hover{background:#521426}
.btn-outline-bd{background:var(--white);color:var(--wine)!important}.btn-form-submit{width:100%}
.quiet{color:var(--wine);border:0;background:transparent;padding:4px}
.hero{display:grid;grid-template-columns:1fr 1fr;gap:6%;align-items:center;padding-block:46px 38px}
.eyebrow{display:flex;align-items:center;gap:12px;color:#7d5c2d;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.gold-rule{width:32px;height:1px;background:var(--brass)}
.hero h1{font-size:clamp(3rem,5.2vw,5rem);line-height:.99;letter-spacing:-.055em;margin:23px 0}
.hero em{color:var(--wine);font-weight:500}
.hero-copy p{max-width:430px;color:var(--muted);font-size:1.04rem;line-height:1.7}
.hero-actions{flex-wrap:wrap;gap:24px;margin-top:26px}
.underlink{font-weight:600;font-size:.9rem}
.portrait{margin:8px 7px 0 0;position:relative;isolation:isolate}
.portrait:before{content:"";position:absolute;inset:-8px -8px 8px 8px;border:1px solid #ba9965;z-index:-1;border-radius:160px 160px 5px 5px}
.portrait img{display:block;width:100%;height:clamp(300px,32vw,425px);object-fit:cover;object-position:50% 42%;border-radius:160px 160px 5px 5px}
.search-panel{padding:22px 28px 26px;background:var(--white);border:1px solid var(--line);border-top:2px solid #ad8b53;border-radius:6px;box-shadow:0 8px 22px #44351c08}
.search-panel h2{font-size:1.65rem;margin:0 0 14px;letter-spacing:-.025em}
.search-fields{display:flex;align-items:end;gap:16px}.search-fields label{flex:1;min-width:0}
.search-fields label,.form-label-bd{display:block;font-size:.78rem;font-weight:600;color:#50463a}
.search-fields input,.search-fields select,.form-ctrl{display:block;width:100%;min-height:44px;margin-top:5px;padding:.55rem .7rem;border:1px solid #cfc5b6;border-radius:4px;background:#fffdf9;color:var(--ink);font-size:.93rem}
.introductions,.directory,.journey{padding-block:58px}
.section-heading,.member-actions,.foot-row{justify-content:space-between;gap:12px}
.section-heading{align-items:end;margin-bottom:22px}.section-heading h2{margin:6px 0 0}
.members,.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.member,.detail-card{background:var(--white);border:1px solid var(--line);border-radius:7px;overflow:hidden}
.member-link{display:block;color:inherit;text-decoration:none}
.member-top{--tone:#e3cfb8;--mark:#76533d;display:flex;align-items:center;justify-content:space-between;padding:20px;background:linear-gradient(112deg,var(--tone),#faf7ef);color:var(--mark)}
.member-top.theme-1{--tone:#d9dfc9;--mark:#485638}.member-top.theme-2{--tone:#ead1ce;--mark:#793847}
.monogram,.member-top img{width:62px;height:62px;border-radius:50%;border:1px solid currentColor;object-fit:cover}
.monogram{display:grid;place-items:center;font:500 1.8rem var(--display)}
.verified{font-size:.76rem;color:#40543d}
.member-info{padding:20px 20px 16px}.member h3,.steps h3{font-size:1.7rem;margin:0 0 5px}
.member p,.member-info>span,.steps p{color:var(--muted);margin:0;font-size:.91rem}
.member-actions{border-top:1px solid var(--line);padding:12px 20px}.member-actions a:hover,.head-row nav a:hover{text-decoration:underline}
.journey{background:#eee9db}.steps{margin-top:24px}.steps article{border-top:1px solid #c7bca8;padding:18px 10px 0 0}.steps i{font-size:1.4rem;color:var(--brass)}.steps h3{margin:12px 0}
.directory h1,.detail-hero h1,.account h1{font-size:clamp(2.6rem,5vw,4rem);letter-spacing:-.045em}.directory h1{margin:6px 0 24px}.result-count{margin:22px 0;color:var(--muted)}
.site-foot{border-top:1px solid var(--line);padding:20px 0;background:#f8f3e8}.foot-row span{color:var(--muted);font-size:.8rem}
.account{width:min(480px,90%);margin:48px auto 75px;padding:32px;border:1px solid var(--line);border-top:3px solid var(--brass);border-radius:5px;background:var(--white)}
.account h1{font-size:2.7rem}.account header{margin-bottom:22px}.account header p,.account small{color:var(--muted)}
.detail-hero{background:#54343a;border-bottom:4px solid #bea477;color:white;padding:35px 0 58px}.detail-hero h1{color:inherit;margin:0}
.detail-card{padding:24px;margin:0 0 20px}.detail-card h3{font-size:1.65rem;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:8px}.detail-card h3 i{color:var(--brass);font-size:1.1rem;margin-right:8px}
.detail-row{display:grid;grid-template-columns:42% 1fr;gap:8px;overflow-wrap:anywhere;padding:8px 0;border-bottom:1px solid #ede7da;font-size:.91rem}.detail-row span:first-child{color:var(--muted)}.detail-row:last-child{border:0}
.detail-avatar{border-radius:50%;border:2px solid #cdbb9b;display:grid;place-items:center;background:#f8efdf;color:var(--wine);object-fit:cover;font:600 2.5rem var(--display)}
.feedback{padding:12px;margin-block:10px;border-left:3px solid var(--brass);background:#f0e9d9}
@media(max-width:850px){.search-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.hero{gap:4%}.members{gap:10px}.head-row{gap:24px}}
@media(max-width:650px){.head-row{min-height:62px;gap:12px;flex-wrap:wrap;padding-block:6px}.head-row nav{order:3;width:100%;justify-content:center;border-top:1px solid var(--line);padding:6px 0 2px}.head-row nav a{font-size:.8rem}.head-actions{gap:12px}.head-actions .primary{min-height:38px;padding:.48rem .7rem}.wordmark img{width:104px;height:42px}.hero{grid-template-columns:1fr;padding:30px 0 24px;gap:22px}.hero h1{font-size:clamp(2.9rem,10.7vw,4rem);margin:16px 0}.hero-copy p{margin-bottom:12px;font-size:.95rem}.hero-actions{margin-top:14px}.portrait img{height:clamp(190px,54vw,320px);object-position:50% 36%}.portrait img,.portrait:before{border-radius:80px 80px 4px 4px}.search-panel{padding:16px}.search-fields{grid-template-columns:1fr 1fr;gap:10px}.search-fields button{grid-column:1/-1}.introductions,.directory,.journey{padding-block:34px}.members,.steps{grid-template-columns:1fr}.section-heading h2{font-size:2.25rem}.member-top{padding:16px}.foot-row{flex-wrap:wrap}.account{padding:22px;margin-block:25px}.detail-card{padding:16px}.hero-actions a{font-size:.88rem}}

/* Wedding palette sampled from the reference banner. */
:root {
  --wedding-rose:#bf554f;
  --wedding-red:#c22c1d;
  --wine:#68132d;
  --paper:#fbf7f1;
  --ink:#351e25;
  --line:#e5d6cc;
  --brass:#96713e;
}
.masthead { background:#fffaf4; border-top:4px solid var(--wine); }
.head-row { min-height:74px; }
.primary,.btn-primary-bd,.btn-form-submit,.btn-outline-bd { border-radius:24px; }
.wedding-cover {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--wedding-rose);
}
.cover-photo { position:absolute; inset:0 0 0 auto; width:61%; height:100%; object-fit:cover; object-position:50% 39%; z-index:-2; }
.wedding-cover::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(90deg,var(--wedding-red) 0%,var(--wedding-rose) 38%,rgba(191,85,79,.86) 45%,rgba(191,85,79,.35) 54%,transparent 68%);
}
.cover-inner { display:flex; align-items:center; padding-block:48px 86px; min-height:clamp(390px,35vw,510px); }
.cover-copy { width:min(435px,46%); }
.cover-copy h1 { color:#fff6ea; font-size:clamp(4rem,6.4vw,6.5rem); font-weight:500; line-height:.91; letter-spacing:-.045em; margin:0 0 20px; }
.cover-copy em { color:#fff2d9; }
.cover-copy p { color:white; line-height:1.6; max-width:365px; }
.cover-button { display:inline-flex; align-items:center; gap:20px; min-height:46px; background:#fbe8cd; color:#541328; border-radius:24px; padding:10px 23px; font-weight:700; text-decoration:none; }
.cover-search { position:relative; margin-top:-40px; }
.search-panel { border:1px solid var(--line); border-radius:14px; box-shadow:0 8px 24px #55142b0c; }
.search-panel h2 { color:var(--wine); }
.member { border-radius:12px; display:flex; flex-direction:column; }
.member-link { padding:24px; flex:1; }
.member-identity,.profile-intro { display:flex; align-items:center; gap:16px; }
.member-identity h3 { font-size:1.8rem; margin:0; line-height:1.06; overflow-wrap:anywhere; }
.initial-seal,.member-avatar { flex:none; width:60px; height:68px; border-radius:36px 36px 10px 10px; }
.member-avatar { object-fit:cover; }
.initial-seal { display:grid; place-items:center; background:#671a31; color:#ffdfad; font:500 1.7rem var(--display); outline:1px solid #ca9a77; outline-offset:-5px; }
.member-verified { font-size:.76rem; color:#705536; }
.member-summary { margin-top:18px; }
.member-summary p { margin:3px 0; }
.member-actions { padding:12px 24px; background:#fbf4ec; }
.directory-banner,.detail-hero,.journey { background:var(--wedding-rose); color:white; }
.directory-banner { padding:32px 0; border-bottom:2px solid #b99567; }
.directory-banner h1 { color:inherit; font-size:clamp(2.6rem,5vw,4rem); margin:0; }
.directory-layout { display:grid; grid-template-columns:minmax(210px,270px) minmax(0,1fr); gap:32px; padding-block:32px 64px; }
.directory-layout .search-fields { display:grid; grid-template-columns:1fr; }
.directory-layout .search-panel { padding:22px; }
.directory-layout .members { grid-template-columns:repeat(2,minmax(0,1fr)); }
.directory-layout .result-count { margin:0 0 12px; }
.profile-back,.profile-back:hover { color:white; font-size:.86rem; }
.profile-intro { margin-top:18px; gap:24px; }
.profile-intro p { margin:5px 0; }
.detail-hero { padding:32px 0 50px; }
.profile-content { padding-block:24px; }
.detail-card { border-radius:12px; }
.detail-card h3,.account h1 { color:var(--wine); }
.account { border-radius:14px; border-top:5px solid var(--wine); }
body:has(.account) main { display:flow-root; background:linear-gradient(180deg,var(--wedding-rose) 0 150px,transparent 150px); }
.journey h2,.journey h3 { color:#fff0dd; }
.journey p { color:white; }
.journey i { color:#f3cd9b; }
@media(max-width:800px) {
  .directory-layout { grid-template-columns:1fr; gap:20px; }
  .directory-layout .search-fields { grid-template-columns:1fr 1fr; }
}
@media(max-width:650px) {
  .cover-inner { min-height:450px; align-items:end; padding-block:180px 52px; }
  .cover-photo { width:100%; height:70%; object-position:50% 28%; }
  .wedding-cover::before { background:linear-gradient(0deg,var(--wedding-red) 0%,var(--wedding-red) 22%,var(--wedding-rose) 40%,rgba(191,85,79,.42) 58%,transparent 74%); }
  .cover-copy { width:100%; }
  .cover-copy h1 { font-size:clamp(2.7rem,10.4vw,4rem); margin-bottom:10px; }
  .cover-copy h1 br { display:none; }
  .cover-copy h1 em::before { content:" "; }
  .cover-copy p { max-width:32ch; font-size:.9rem; }
  .cover-search { margin-top:-22px; }
  .directory-layout .members { grid-template-columns:1fr; }
  .member-link { padding:18px; }
  .profile-intro { flex-wrap:wrap; }
}
.directory-filters summary { display:none; }
@media(max-width:800px) {
  .directory-filters summary { display:list-item; padding:12px 18px; border:1px solid var(--line); background:#fffaf4; border-radius:8px; color:var(--wine); font-weight:600; cursor:pointer; }
  .directory-filters .search-panel { margin-top:8px; }
  .directory-filters .search-panel h2 { display:none; }
}

.admin-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; }
.admin-table table { width: 100%; margin: 0; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: .8rem; text-align: left; vertical-align: middle; }
.admin-table th { background: var(--wedding-rose); color: white; }
.admin-table a, .admin-table button { color: var(--wine); font-size: .9rem; }
.admin-table .button_to { margin: 0; }

.card-portrait { margin:-24px -24px 18px; aspect-ratio: 16/10; overflow:hidden; }
.profile-portrait,.portrait-placeholder { display:block; width:100%; height:100%; object-fit:cover; object-position:center 32%; }
.portrait-placeholder { display:grid; place-items:center; color:#9c6268; background:linear-gradient(130deg,#ecd4ca,#f5e9db); font-size:3.5rem; }
.portrait-locked i { filter:blur(5px); }
.profile-intro > .profile-portrait,.profile-intro > .portrait-placeholder { width:108px; height:108px; border-radius:50%; flex:none; }
.locked-field > span:first-child { display:inline-block; user-select:none; filter:blur(4px); }
.profile-sections { columns:2 320px; column-gap:1.5rem; }.profile-sections section { break-inside:avoid; }
.profile-gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(110px,1fr)); gap:.75rem; }
.profile-gallery img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:8px; }
@media(max-width:650px) { .card-portrait { margin:-18px -18px 16px; } }

a[data-photo-group] { cursor:zoom-in; display:block; }
.profile-intro > .portrait-trigger { flex:none; width:108px; height:108px; border-radius:50%; overflow:hidden; }
#photo-viewer { width:min(92vw,940px); max-height:94vh; max-height:94dvh; border:0; padding:0; border-radius:14px; background:#251c20; color:white; box-shadow:0 12px 70px #0006; }
#photo-viewer::backdrop { background:rgba(24,17,22,.84); }
#photo-viewer header,#photo-viewer footer { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 14px; }
#photo-viewer [hidden] { display:none; }
#photo-viewer img { display:block; width:100%; height:min(64vh,680px); object-fit:contain; background:#191618; }
#photo-viewer button { color:white; background:#47383e; border:1px solid #806b74; border-radius:8px; min-height:40px; padding:5px 10px; }
.language-switch { display:inline-block; white-space:nowrap; border:1px solid var(--line); border-radius:6px; padding:4px 9px; }
html[lang=hi] h1,html[lang=hi] h2,html[lang=hi] h3 { line-height:1.35; letter-spacing:normal; }
