:root {
  --ink: #17312b;
  --muted: #61716c;
  --green: #176b56;
  --green-dark: #0d493a;
  --mint: #e9f5ef;
  --cream: #fbf8ef;
  --gold: #d99d32;
  --white: #fff;
  --danger: #a53a36;
  --line: #dce6e1;
  --shadow: 0 18px 50px rgba(23, 49, 43, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 90% 0%, #e0f0e7 0, transparent 28rem), var(--cream); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }

.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { padding: 18px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: white; background: var(--green); box-shadow: 0 8px 20px rgba(23,107,86,.25); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; font-weight: 650; font-size: .93rem; }
.nav-links a.active { color: var(--saffron, #c98208); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--green); color: white; text-decoration: none; font-weight: 750; cursor: pointer; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-1px); background: var(--green-dark); }
.button.secondary { color: var(--green); background: var(--mint); }
.button.ghost { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.button.danger { background: var(--danger); }
.button.small { min-height: 40px; padding: 0 14px; border-radius: 11px; font-size: .9rem; }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.language-toggle { min-height: 38px; padding: 0 13px; border: 1px solid #c98208; border-radius: 999px; color: #9a5d00; background: #fff8e8; font-weight: 850; cursor: pointer; }

.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: 72px 0 90px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-weight: 750; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.hero h1, .page-title { margin: 18px 0; max-width: 760px; font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: .98; letter-spacing: -.065em; }
.page-title { font-size: clamp(2.25rem, 6vw, 4.4rem); }
.lede { max-width: 650px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-card { position: relative; overflow: hidden; padding: 28px; border: 1px solid rgba(255,255,255,.5); border-radius: 30px; color: white; background: linear-gradient(145deg, #173f35, #176b56); box-shadow: var(--shadow); }
.hero-card::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 210px; height: 210px; border: 38px solid rgba(255,255,255,.07); border-radius: 50%; }
.hero-card .number { font-size: 4.3rem; font-weight: 850; letter-spacing: -.07em; }
.hero-card p { position: relative; z-index: 1; color: #dcefe7; line-height: 1.6; }
.id-chip { position: relative; z-index: 1; display: inline-flex; padding: 9px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.1); font-weight: 750; letter-spacing: .06em; }

.section { padding: 72px 0; }
.section-head { margin-bottom: 28px; }
.section h2 { margin: 8px 0 10px; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.04em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.75); }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--mint); color: var(--green); font-weight: 850; }
.step h3 { margin: 22px 0 8px; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; }

.page-head { padding: 45px 0 24px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; padding-bottom: 80px; }
.panel { padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); }
.panel h2, .panel h3 { margin-top: 0; letter-spacing: -.025em; }
.aside-card { position: sticky; top: 20px; padding: 24px; border-radius: 22px; background: var(--ink); color: white; }
.aside-card p, .aside-card li { color: #cedbd6; line-height: 1.6; }
.aside-card ol { padding-left: 20px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .88rem; font-weight: 750; }
.required { color: var(--danger); }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid #cddbd5; border-radius: 12px; outline: none; color: var(--ink); background: white; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,107,86,.12); }
textarea { min-height: 110px; resize: vertical; }
.input-suffix { display: flex; align-items: center; overflow: hidden; border: 1px solid #cddbd5; border-radius: 12px; background: white; }
.input-suffix:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,107,86,.12); }
.input-suffix input { border: 0; box-shadow: none; }
.input-suffix span { padding-right: 14px; color: var(--muted); font-size: .85rem; }
.service-field { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.service-field legend { padding: 0 8px; font-size: .88rem; font-weight: 750; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; }
.check-grid label { display: flex; align-items: flex-start; gap: 7px; font-weight: 550; line-height: 1.35; }
.check-grid input { width: auto; margin-top: 3px; accent-color: var(--green); }
.consent-check { display: flex; align-items: center; gap: 9px; }
.consent-check input { width: auto; accent-color: var(--green); }
.union-identity { padding: 24px 24px 20px; text-align: center; color: var(--green-dark); background: linear-gradient(180deg, #fff, #f3faf6); border-bottom: 1px solid var(--line); }
.union-identity .district-reg { font-weight: 800; font-size: .88rem; }
.union-identity h2 { margin: 8px auto 5px; max-width: 600px; font-size: clamp(1.35rem, 4vw, 2rem); line-height: 1.15; letter-spacing: -.025em; }
.union-identity p { margin: 4px 0; font-weight: 700; }
.union-position { display: inline-flex; margin: 14px 0 2px; padding: 8px 14px; border-radius: 10px; color: white; background: var(--green); font-weight: 850; font-size: 1rem; }
.union-signatories { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--line); }
.union-signatories span { display: block; color: var(--muted); font-size: .75rem; margin-bottom: 3px; }
input[type="file"] { padding: 9px; }
.help { margin: 0; color: var(--muted); font-size: .8rem; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.notice { display: none; margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; line-height: 1.5; }
.notice.show { display: block; }
.notice.success { color: #114b3d; background: #ddf3e7; }
.notice.error { color: #842d29; background: #f9e4e2; }

.status-box { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #f8fbf9; }
.status-pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.status-pill.pending { color: #815510; background: #fff0cd; }
.status-pill.approved { color: #155947; background: #dff3e9; }
.status-pill.rejected { color: #8c302c; background: #f9dfdd; }

.admin-shell { padding: 42px 0 80px; }
.admin-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.admin-top h1 { margin: 0 0 6px; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.05em; }
.tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 18px; padding-bottom: 4px; }
.tab { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; background: white; color: var(--muted); cursor: pointer; font-weight: 700; white-space: nowrap; }
.tab.active { border-color: var(--green); color: white; background: var(--green); }
.member-list { display: grid; gap: 14px; }
.member-card { display: grid; grid-template-columns: 68px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.avatar { width: 68px; height: 68px; object-fit: cover; border-radius: 17px; background: var(--mint); }
.member-card h3 { margin: 0 0 6px; }
.member-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .87rem; }
.member-state { display: inline-flex; vertical-align: middle; margin-left: 8px; padding: 5px 9px; border-radius: 999px; font-size: .68rem; font-weight: 850; }
.member-state.active { color: #08723f; background: #dff5e7; }
.member-state.inactive { color: #9d2d29; background: #fbe4e2; }
.card-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.empty { padding: 48px 20px; border: 1px dashed #bdcec7; border-radius: 20px; text-align: center; color: var(--muted); background: rgba(255,255,255,.5); }
.login-card { max-width: 460px; margin: 70px auto; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.security-grid .panel { display: grid; gap: 17px; }
.security-grid h2 { margin: 0; }
.security-status { padding: 12px 14px; border-radius: 12px; color: var(--muted); background: #f2f6f3; font-size: .85rem; font-weight: 700; }
.security-status.ready { color: #155947; background: #dff3e9; }

.profile-wrap { width: min(760px, calc(100% - 28px)); margin: 42px auto 80px; }
.profile-card { overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.profile-banner { height: 130px; background: linear-gradient(130deg, #0d493a, #23876d); }
.profile-body { padding: 0 clamp(22px, 6vw, 48px) 42px; }
.profile-photo { width: 132px; height: 132px; margin-top: -66px; border: 6px solid white; border-radius: 30px; object-fit: cover; background: var(--mint); }
.verified { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--green); font-weight: 800; font-size: .85rem; }
.profile-name { margin: 10px 0 4px; font-size: clamp(2rem, 8vw, 3.5rem); letter-spacing: -.055em; }
.member-id { color: var(--muted); font-weight: 750; letter-spacing: .04em; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.datum { padding: 16px; border-radius: 14px; background: #f6f9f7; }
.datum span { display: block; color: var(--muted); font-size: .78rem; margin-bottom: 5px; }
.datum strong { overflow-wrap: anywhere; }
.qr-section { display: flex; align-items: center; gap: 20px; margin-top: 26px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.qr-section img { width: 116px; height: 116px; }
.footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .87rem; }

dialog { width: min(520px, calc(100% - 28px)); max-height: 92vh; border: 0; border-radius: 22px; padding: 0; box-shadow: 0 30px 90px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(10,30,24,.55); backdrop-filter: blur(3px); }
.dialog-body { max-height: 92vh; overflow-y: auto; padding: 26px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }

@media (max-width: 760px) {
  .nav-links a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; padding: 44px 0 64px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .steps, .content-grid, .security-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .field.full { grid-column: auto; }
  .form-footer, .admin-top { align-items: stretch; flex-direction: column; }
  .member-card { grid-template-columns: 56px minmax(0, 1fr); }
  .avatar { width: 56px; height: 56px; border-radius: 14px; }
  .card-actions { grid-column: 1 / -1; justify-content: stretch; }
  .card-actions .button { flex: 1; }
  .profile-grid { grid-template-columns: 1fr; }
  .qr-section { align-items: flex-start; flex-direction: column; }
}

/* Selected redesign: editorial green and gold */
:root { --forest: #0b4f3b; --forest-dark: #07392b; --saffron: #c98208; --paper: #fbf7ed; }
.home-page { background: var(--paper); }
.home-header { position: sticky; top: 0; z-index: 20; padding: 12px 0; border-bottom: 1px solid rgba(11,79,59,.1); background: rgba(251,247,237,.94); backdrop-filter: blur(14px); }
.union-brand { align-items: flex-start; color: var(--forest-dark); line-height: 1.05; }
.union-brand .brand-mark { background: var(--forest); }
.union-brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .7rem; font-weight: 650; }
.home-header .nav-links a.active { color: var(--saffron); }
.home-header .shell, .member-site-header .shell { width: min(1340px, calc(100% - 32px)); }
.union-brand + .nav-links { gap: 10px; }
.union-brand + .nav-links a { font-size: .82rem; }
.home-header .nav-links .button { min-height: 40px; padding: 0 15px; border-radius: 12px; }
.button.gold { background: linear-gradient(135deg, #d89214, #b86b00); color: white; box-shadow: 0 10px 24px rgba(201,130,8,.2); }
.button.outline { border: 1px solid var(--forest); color: var(--forest); background: transparent; }
.editorial-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; min-height: 620px; padding-top: 54px; padding-bottom: 60px; }
.editorial-kicker { color: #7f897f; font-size: .76rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.editorial-kicker.light { color: #c8dfd4; }
.hero-copy h1 { margin: 18px 0; color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 5.5vw, 5.8rem); line-height: .96; letter-spacing: -.055em; }
.hero-copy h1 em { color: var(--saffron); font-style: normal; }
.telugu-title { display: block; margin-top: 12px; color: var(--saffron); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .48em; font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.telugu-copy { max-width: 590px; margin: -5px 0 0; color: var(--muted); line-height: 1.7; }
.telugu-heading { display: block; margin-top: 12px; color: #efb33d; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .43em; font-weight: 750; line-height: 1.35; letter-spacing: -.02em; }
.telugu-heading.dark { color: var(--saffron); }
.hero-copy .lede { max-width: 590px; }
.hero-visual { overflow: hidden; border-radius: 38px 16px 38px 16px; box-shadow: 0 24px 70px rgba(38,55,44,.16); transform: rotate(1deg); }
.hero-visual img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 36px; color: var(--forest-dark); font-size: .83rem; font-weight: 750; }
.trust-row b { color: var(--saffron); margin-right: 6px; }
.association-hero { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 82% 18%, rgba(229,170,57,.2), transparent 18rem), linear-gradient(125deg, #062f25 0%, #0b533e 58%, #0d654a 100%); }
.association-hero::after { position: absolute; right: -90px; bottom: -150px; width: 370px; height: 370px; border: 58px solid rgba(255,255,255,.045); border-radius: 50%; content: ""; }
.association-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr); gap: clamp(40px, 7vw, 100px); align-items: center; min-height: 610px; padding-top: 70px; padding-bottom: 74px; }
.association-hero-copy { max-width: 820px; }
.association-kicker { display: inline-flex; align-items: center; gap: 9px; color: #e5bd6c; font-size: .79rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.association-kicker::before { width: 30px; height: 2px; background: #e5a92f; content: ""; }
.association-hero h1 { margin: 17px 0 20px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.65rem, 5.2vw, 5.35rem); line-height: .96; letter-spacing: -.052em; }
.association-hero h1 span, .association-hero h1 strong { display: block; }
.association-hero h1 span { color: #f7fbf8; font-weight: 500; }
.association-hero h1 strong { margin-top: 8px; color: #f2b43a; font-weight: 750; }
.association-registration { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; }
.association-registration span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #e2efe8; background: rgba(255,255,255,.07); font-size: .76rem; font-weight: 750; }
.association-hero h2 { max-width: 670px; margin: 0 0 10px; color: white; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.35; }
.association-hero-copy > p { max-width: 670px; margin: 0; color: #c9ddd4; font-size: 1rem; line-height: 1.7; }
.association-hero .hero-actions { margin-top: 25px; }
.button.association-outline { border: 1px solid rgba(255,255,255,.5); color: white; background: transparent; }
.button.association-outline:hover { border-color: white; background: rgba(255,255,255,.1); }
.association-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: #d9e9e1; font-size: .82rem; font-weight: 700; }
.association-trust span::before { margin-right: 7px; color: #e5a92f; content: "◆"; font-size: .62em; }
.anaparthi-card { position: relative; overflow: hidden; width: min(100%, 350px); margin-left: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 28px 12px 28px 12px; background: #f8f3e6; box-shadow: 0 28px 70px rgba(1,24,17,.34); transform: rotate(1.2deg); }
.anaparthi-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.anaparthi-card > div { display: grid; gap: 4px; padding: 17px 19px 18px; color: var(--forest-dark); }
.anaparthi-card span { color: #8a743f; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.anaparthi-card strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.23rem; }
.anaparthi-card a { width: max-content; margin-top: 4px; color: #66716c; font-size: .7rem; text-decoration: none; }

/* Homepage v2 — clean association-first layout */
.home-v2-hero { border-top: 1px solid #e7e8e1; background: #fffdf7; }
.home-v2-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr); gap: clamp(38px, 4vw, 58px); align-items: start; min-height: auto; padding-top: 38px; padding-bottom: 42px; }
.home-v2-copy { max-width: 650px; padding-top: 4px; }
.home-v2-kicker { color: var(--saffron); font-size: .74rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.home-v2-copy h1 { margin: 12px 0 11px; color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.35rem, 3.45vw, 3.55rem); font-weight: 500; line-height: 1.01; letter-spacing: -.04em; }
.home-v2-copy h1 strong { display: block; margin-top: 6px; font-weight: 750; }
.home-v2-reg { display: flex; flex-wrap: wrap; gap: 8px; }
.home-v2-reg span { padding: 6px 9px; border-radius: 7px; color: #52645e; background: #edf3ee; font-size: .78rem; font-weight: 750; }
.home-v2-copy h2 { max-width: 600px; margin: 19px 0 6px; color: var(--forest-dark); font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.38; }
.home-v2-copy > p { max-width: 620px; margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.58; }
.home-v2-copy .hero-actions { margin-top: 19px; }
.home-v2-photo { position: relative; align-self: start; overflow: hidden; width: 100%; max-width: 610px; margin: 0 0 0 auto; border-radius: 20px; background: #edf1e9; box-shadow: 0 22px 58px rgba(25,57,43,.15); }
.home-v2-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
.home-v2-photo figcaption { position: absolute; right: 14px; bottom: 14px; display: grid; gap: 2px; padding: 10px 13px; border-radius: 10px; color: var(--forest-dark); background: rgba(255,253,247,.93); backdrop-filter: blur(8px); }
.home-v2-photo figcaption span { color: #7b867f; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-v2-photo figcaption strong { font-size: .86rem; }
.home-v2-trust { color: white; background: var(--forest-dark); }
.home-v2-trust .shell { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 22px; padding-bottom: 22px; }
.home-v2-trust .shell > div { display: grid; grid-template-columns: auto 1fr; gap: 3px 11px; align-items: center; padding: 3px 26px; border-right: 1px solid rgba(255,255,255,.18); }
.home-v2-trust .shell > div:last-child { border: 0; }
.home-v2-trust b { grid-row: 1 / 3; color: #efb33d; font-size: 1.42rem; }
.home-v2-trust span { color: #dfebe6; font-size: .82rem; font-weight: 700; }
.home-v2-about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 8vw, 110px); align-items: center; padding-top: 82px; padding-bottom: 82px; }
.home-v2-about h2, .home-v2-process h2, .home-v2-committee h2, .home-v2-welfare h2 { margin: 8px 0 16px; color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.9rem, 3vw, 2.65rem); letter-spacing: -.035em; }
.home-v2-about > div:first-child > p { max-width: 650px; color: var(--muted); font-size: .98rem; line-height: 1.75; }
.text-link { display: inline-flex; margin-top: 13px; color: var(--forest); font-size: .88rem; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.home-v2-values { display: grid; gap: 8px; }
.home-v2-values article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid #e3e8e2; }
.home-v2-values article:last-child { border: 0; }
.home-v2-values b { display: grid; place-items: center; height: 42px; border-radius: 50%; color: var(--forest); background: #e7f0e8; font-size: .72rem; }
.home-v2-values strong { color: var(--forest-dark); }
.home-v2-values p { margin: 4px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.home-v2-process { padding: 70px 0 74px; background: #f6f2e8; }
.home-v2-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 30px; }
.home-v2-steps article { padding: 0 28px; border-right: 1px solid #d9ddd4; text-align: center; }
.home-v2-steps article:first-child { padding-left: 0; }
.home-v2-steps article:last-child { padding-right: 0; border: 0; }
.home-v2-steps b { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 13px; border-radius: 50%; color: white; background: var(--forest); font-size: .85rem; }
.home-v2-steps strong { color: var(--forest-dark); }
.home-v2-steps p { margin: 7px auto 0; max-width: 190px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.home-v2-committee { padding-top: 76px; padding-bottom: 78px; }
.home-v2-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.home-v2-section-head h2 { margin-bottom: 0; }
.committee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.committee-grid article { min-height: 160px; padding: 22px; border: 1px solid #dfe6e0; border-radius: 16px; background: white; box-shadow: 0 10px 30px rgba(28,56,43,.06); }
.committee-grid article > span { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 20px; border-radius: 13px; color: white; background: var(--forest); font-size: .75rem; font-weight: 850; }
.committee-grid small, .committee-grid strong { display: block; }
.committee-grid small { margin-bottom: 6px; color: var(--saffron); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.committee-grid strong { color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; line-height: 1.3; overflow-wrap: anywhere; }
.home-v2-welfare { border-top: 1px solid #dfe6df; background: #edf4ee; }
.home-v2-welfare .shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.home-v2-welfare h2 { margin-bottom: 8px; }
.home-v2-welfare p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.welfare-points { display: grid; grid-template-columns: repeat(3, 1fr); }
.welfare-points span { display: grid; place-items: center; min-height: 68px; padding: 12px 18px; border-left: 1px solid #cbd8ce; color: var(--forest-dark); font-size: .82rem; font-weight: 800; text-align: center; }
.home-v2-footer { color: #cfded7; background: #062f25; border-top: 0; }
.home-panels { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; padding-bottom: 72px; }
.process-panel, .benefit-panel { padding: 30px; border: 1px solid rgba(11,79,59,.1); border-radius: 26px; background: rgba(255,255,255,.74); box-shadow: 0 14px 45px rgba(36,63,47,.07); }
.process-panel h2, .benefit-panel h2, .directory-head h2 { margin: 7px 0 24px; color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.process-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: start; text-align: center; }
.process-flow > div > span { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 50%; color: white; background: var(--forest); font-weight: 850; }
.process-flow > div:nth-of-type(even) > span { background: var(--saffron); }
.process-flow strong { display: block; color: var(--forest-dark); }
.process-flow p { margin: 7px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.process-flow i { padding-top: 16px; color: #aac1b5; font-style: normal; }
.benefit-list { display: grid; gap: 12px; }
.benefit-list > div { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #f1f6f0; }
.benefit-list b { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 11px; color: var(--forest); background: #e2ede5; }
.benefit-list strong, .benefit-list small { display: block; }
.benefit-list small { margin-top: 3px; color: var(--muted); }
.directory-section { padding-bottom: 80px; }
.directory-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.directory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.directory-grid article { padding: 22px; border: 1px solid #e3e8df; border-radius: 20px; background: white; }
.directory-grid > a { display: block; color: inherit; text-decoration: none; }
.directory-grid > a article { height: 100%; transition: transform .18s, box-shadow .18s; }
.directory-grid > a:hover article { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(36,63,47,.1); }
.directory-grid article > span { font-size: 2rem; }
.directory-grid h3 { margin: 14px 0 8px; color: var(--forest-dark); }
.directory-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.home-cta { color: white; background: var(--forest-dark); }
.home-cta .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 48px; padding-bottom: 48px; }
.home-cta h2 { margin: 7px 0 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.7rem, 4vw, 3rem); }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }

/* About page */
.about-hero { padding: 86px 0; color: white; background: radial-gradient(circle at 82% 20%, rgba(255,255,255,.12), transparent 18rem), linear-gradient(125deg, #07392b, #0b654b); }
.about-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: center; }
.about-hero h1 { max-width: 820px; margin: 16px 0 20px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.05em; }
.about-hero p { max-width: 760px; margin: 0; color: #d7e8df; font-size: 1.08rem; line-height: 1.75; }
.about-registration { display: grid; gap: 9px; padding: 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: rgba(255,255,255,.09); backdrop-filter: blur(8px); }
.about-registration span, .about-registration small { color: #cfe1d8; }
.about-registration strong { font-size: 1.55rem; }
.about-story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; padding-top: 78px; padding-bottom: 78px; }
.about-story h2, .about-leadership h2 { margin: 10px 0 20px; color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; }
.about-story article p { color: var(--muted); line-height: 1.8; }
.about-story aside { padding: 30px; border: 1px solid #e0e6dc; border-radius: 26px; background: white; box-shadow: 0 14px 45px rgba(36,63,47,.07); }
.about-story aside h3 { margin: 0 0 20px; color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 1.8rem; }
.about-values { display: grid; gap: 12px; }
.about-values > div { display: flex; gap: 13px; align-items: center; padding: 14px; border-radius: 15px; background: #f1f6f0; }
.about-values b { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; color: var(--forest); background: #e0ece3; }
.about-values strong, .about-values small { display: block; }
.about-values small { margin-top: 4px; color: var(--muted); line-height: 1.4; }
.about-leadership { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 18px; align-items: stretch; padding-bottom: 78px; }
.leader-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 180px; padding: 26px; border-radius: 24px; color: white; background: linear-gradient(145deg, #0c5a43, #07392b); }
.leader-card span { color: #c9ded4; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.leader-card strong { margin-top: 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; }

@media (min-width: 901px) {
  .home-page .hero-copy h1 { font-size: clamp(2.3rem, 3.4vw, 3.55rem); line-height: 1.04; letter-spacing: -.04em; }
  .home-page .hero-copy .telugu-title { margin-top: 9px; font-size: .4em; }
  .home-page .hero-copy .lede, .home-page .hero-copy .telugu-copy { font-size: .96rem; line-height: 1.6; }
  .home-page .process-panel h2, .home-page .benefit-panel h2, .home-page .directory-head h2 { font-size: clamp(1.55rem, 2.1vw, 2rem); }
}

@media (min-width: 901px) {
  .about-page .about-hero h1 { font-size: clamp(2.5rem, 3.6vw, 3.8rem); line-height: 1.04; }
  .about-page .about-hero p { font-size: .96rem; }
  .about-page .about-story h2, .about-page .about-leadership h2 { font-size: clamp(1.8rem, 2.5vw, 2.5rem); }
  .about-page .about-story article p { font-size: .92rem; line-height: 1.7; }
}

/* Searchable members directory */
.directory-hero { padding: 72px 0; color: white; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.11), transparent 20rem), linear-gradient(125deg, #07392b, #0a644a); }
.directory-hero h1 { max-width: 980px; margin: 14px 0 18px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.05em; }
.directory-hero h1 em { color: #efb33d; font-style: normal; }
.directory-hero p { max-width: 720px; margin: 0; color: #d2e6dc; font-size: 1.05rem; line-height: 1.7; }
.directory-browser { padding-top: 34px; padding-bottom: 80px; }
.directory-filters { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr .7fr; gap: 18px; margin-top: -68px; padding: 24px; border: 1px solid #e0e6dc; border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 20px 55px rgba(21,52,39,.14); }
.directory-results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 48px 0 22px; }
.directory-results-head h2 { margin: 7px 0 0; color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem,4vw,3.2rem); }
.directory-results-head > strong { padding: 9px 13px; border-radius: 999px; color: var(--forest); background: #e8f1e9; }
.live-directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.live-member-card { overflow: hidden; border: 1px solid #e1e5dc; border-radius: 24px; background: white; box-shadow: 0 12px 34px rgba(32,51,40,.07); }
.directory-photo { display: block; overflow: hidden; height: 250px; background: linear-gradient(145deg, #e8f0e8, #f8f4e8); }
.directory-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.live-member-card:hover .directory-photo img { transform: scale(1.025); }
.directory-member-copy { padding: 22px; }
.verified-chip { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: #0a7043; background: #e3f4e8; font-size: .68rem; font-weight: 850; }
.directory-member-copy h3 { margin: 12px 0 4px; color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 1.75rem; }
.directory-role { margin: 0; color: var(--muted); }
.directory-studio { display: block; margin-top: 12px; color: var(--forest); }
.directory-meta { display: grid; gap: 6px; margin-top: 16px; color: var(--muted); font-size: .78rem; }
.directory-services { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.directory-services span { padding: 6px 8px; border-radius: 8px; color: var(--forest-dark); background: #f0f4ed; font-size: .7rem; font-weight: 700; }
.directory-card-actions { display: flex; gap: 8px; margin-top: 18px; }
.directory-card-actions .button { flex: 1; padding: 0 10px; font-size: .75rem; }
.directory-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; padding: 60px 24px; border: 1px dashed #cad8cf; border-radius: 24px; color: var(--muted); background: rgba(255,255,255,.72); text-align: center; }
.directory-empty strong { color: var(--forest-dark); font-size: 1.2rem; }

/* Selected member profile design */
.member-page { background: radial-gradient(circle at 50% 0, #eef2df, transparent 34rem), #e8e4d8; }
.member-page > .site-header { display: none; }
.member-page .profile-wrap { width: min(610px, calc(100% - 24px)); margin: 24px auto 60px; }
.selected-profile { overflow: hidden; border: 0; border-radius: 34px; background: #fffdf7; box-shadow: 0 30px 90px rgba(36,49,39,.2); }
.member-union-head { display: flex; gap: 16px; align-items: center; padding: 26px 30px 20px; color: var(--forest-dark); background: linear-gradient(145deg, #fffdf7, #f2f4e9); }
.member-union-head > div:last-child { min-width: 0; }
.mini-union-mark { display: grid; place-items: center; flex: 0 0 66px; height: 66px; border: 5px solid #f1d9a9; border-radius: 50%; color: white; background: var(--forest); font-size: 1.6rem; }
.member-union-head h2 { margin: 3px 0 4px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.3rem, 5vw, 1.9rem); line-height: 1.03; }
.member-union-head h2 { overflow-wrap: anywhere; }
.member-union-head p, .member-union-head .district-reg { margin: 2px 0; font-size: .78rem; font-weight: 700; }
.member-verified { width: max-content; margin: 8px auto 0; padding: 9px 18px; border-radius: 999px; color: var(--forest); background: #e6eedf; font-weight: 850; }
.portrait-stage { position: relative; display: grid; place-items: center; min-height: 280px; background: radial-gradient(circle, rgba(11,79,59,.06), transparent 62%); }
.selected-profile .profile-photo { width: 210px; height: 230px; margin: 0; border: 7px solid white; border-radius: 34% 34% 28% 28%; box-shadow: 0 15px 38px rgba(11,79,59,.16); }
.selected-profile .union-position { position: absolute; bottom: 16px; margin: 0; padding: 10px 28px; border-radius: 999px; background: linear-gradient(135deg, #0e6b4e, #073f2f); box-shadow: 0 8px 18px rgba(11,79,59,.24); }
.member-main { padding: 0 28px 30px; }
.selected-profile .profile-name { margin: 12px 0 24px; text-align: center; color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.5rem, 9vw, 4rem); }
.member-details { overflow: hidden; border: 1px solid #e6e3d8; border-radius: 22px; background: white; }
.member-detail-row { display: grid; grid-template-columns: 34px 140px 1fr; gap: 10px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #eeeae0; }
.member-detail-row:last-child { border: 0; }
.member-detail-row b { color: var(--forest); font-size: 1.2rem; }
.member-detail-row span { color: var(--muted); font-size: .86rem; }
.member-detail-row strong { overflow-wrap: anywhere; color: var(--ink); }
.expertise { margin-top: 18px; padding: 20px; border-radius: 20px; background: #f2f5e9; }
.expertise h3 { margin: 0 0 14px; color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; }
.expertise > div { display: flex; flex-wrap: wrap; gap: 8px; }
.expertise span { padding: 8px 11px; border: 1px solid #ddb260; border-radius: 999px; color: var(--forest-dark); background: white; font-size: .78rem; font-weight: 750; }
.member-qr-panel { display: flex; flex-direction: column; align-items: center; margin-top: 18px; padding: 24px; border-radius: 24px; color: white; background: linear-gradient(145deg, #126048, #073f2f); }
.member-qr-panel img { width: 220px; height: 220px; border: 10px solid white; border-radius: 18px; }
.member-qr-panel strong { margin-top: 12px; letter-spacing: .2em; }
.member-qr-panel span { margin-top: 4px; color: #d8e7dd; font-size: .78rem; }
.member-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.member-actions .button { width: 100%; }
.selected-profile .union-signatories { color: var(--forest-dark); }
.selected-profile .union-signatories strong { font-family: Georgia, 'Times New Roman', serif; }
.selected-profile .union-signatories > div { min-width: 0; }
.selected-profile .union-signatories strong { display: block; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .home-v2-hero-grid { grid-template-columns: 1fr 330px; gap: 32px; min-height: 530px; }
  .home-v2-trust .shell { grid-template-columns: 1fr 1fr; }
  .home-v2-trust .shell > div:nth-child(2) { border-right: 0; }
  .home-v2-trust .shell > div { padding-top: 10px; padding-bottom: 10px; }
  .home-v2-about { gap: 40px; }
  .committee-grid { grid-template-columns: 1fr 1fr; }
  .association-hero-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 30px; min-height: 560px; }
  .association-hero h1 { font-size: clamp(2.5rem, 7vw, 4.2rem); }
  .editorial-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { order: -1; }
  .home-panels { grid-template-columns: 1fr; }
  .directory-grid { grid-template-columns: 1fr 1fr; }
  .about-hero-grid, .about-story { grid-template-columns: 1fr; gap: 34px; }
  .about-leadership { grid-template-columns: 1fr 1fr; }
  .about-leadership > div:first-child { grid-column: 1 / -1; }
  .live-directory-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .home-header .union-brand strong { font-size: .82rem; }
  .home-header .nav-links .outline { display: none; }
  .home-header .nav-links .button { display: none; }
  .home-header .nav-links .admin-login-link { display: inline-flex; min-height: 36px; padding: 0 10px; font-size: .73rem; }
  .member-site-header .nav-links a { display: none; }
  .site-header .shell { width: min(100% - 20px, 1120px); }
  .home-v2-hero-grid { grid-template-columns: 1fr; gap: 30px; min-height: auto; padding-top: 42px; padding-bottom: 46px; }
  .home-v2-copy h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .home-v2-copy h2 { margin-top: 22px; }
  .home-v2-copy .hero-actions .button { flex: 1 1 145px; padding: 0 12px; }
  .home-v2-photo { width: 100%; border-radius: 15px; }
  .home-v2-trust .shell { grid-template-columns: 1fr 1fr; width: 100%; }
  .home-v2-trust .shell > div { grid-template-columns: 30px 1fr; padding: 10px 14px; }
  .home-v2-trust b { font-size: 1.05rem; }
  .home-v2-trust span { font-size: .72rem; }
  .home-v2-about { grid-template-columns: 1fr; gap: 30px; padding-top: 54px; padding-bottom: 54px; }
  .home-v2-process { padding: 52px 0; }
  .home-v2-steps { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .home-v2-steps article, .home-v2-steps article:first-child, .home-v2-steps article:last-child { padding: 0 14px; border: 0; }
  .home-v2-committee { padding-top: 54px; padding-bottom: 56px; }
  .home-v2-section-head { align-items: flex-start; flex-direction: column; }
  .committee-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .committee-grid article { min-height: 145px; padding: 17px; }
  .committee-grid strong { font-size: 1rem; }
  .home-v2-welfare .shell { grid-template-columns: 1fr; gap: 28px; padding-top: 42px; padding-bottom: 42px; }
  .welfare-points { grid-template-columns: 1fr; }
  .welfare-points span { border-top: 1px solid #cbd8ce; border-left: 0; }
  .association-hero-grid { grid-template-columns: 1fr; gap: 30px; min-height: auto; padding-top: 46px; padding-bottom: 50px; }
  .association-hero h1 { font-size: clamp(2.35rem, 11.5vw, 3.35rem); }
  .association-kicker { font-size: .7rem; letter-spacing: .1em; }
  .association-registration { gap: 6px; margin-bottom: 23px; }
  .association-registration span { font-size: .68rem; }
  .association-hero-copy > p { font-size: .95rem; }
  .association-hero .hero-actions .button { flex: 1 1 150px; padding: 0 13px; }
  .association-trust { gap: 9px 15px; }
  .anaparthi-card { width: min(88%, 330px); margin: 0 auto; transform: none; }
  .editorial-hero { padding-top: 24px; gap: 28px; }
  .editorial-hero .hero-visual { display: none; }
  .hero-copy h1 { font-size: clamp(2.45rem, 10.5vw, 3.3rem); overflow-wrap: anywhere; }
  .hero-visual { border-radius: 24px; }
  .process-flow { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .process-flow i { display: none; }
  .directory-grid { grid-template-columns: 1fr; }
  .about-hero { padding: 54px 0; }
  .about-hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .about-story { padding-top: 52px; padding-bottom: 52px; }
  .about-leadership { grid-template-columns: 1fr; }
  .about-leadership > div:first-child { grid-column: auto; }
  .leader-card { min-height: 140px; }
  .directory-hero { padding: 52px 0 86px; }
  .directory-hero h1 { font-size: clamp(2.55rem, 11vw, 3.8rem); }
  .directory-filters { grid-template-columns: 1fr; margin-top: -70px; }
  .directory-results-head { align-items: flex-start; flex-direction: column; }
  .live-directory-grid { grid-template-columns: 1fr; }
  .directory-photo { height: 280px; }
  .home-cta .shell, .footer-row { align-items: stretch; flex-direction: column; }
  .member-union-head { padding: 20px 18px 16px; }
  .member-union-head h2 { font-size: 1.15rem; }
  .mini-union-mark { flex-basis: 52px; height: 52px; }
  .member-main { padding: 0 16px 22px; }
  .member-detail-row { grid-template-columns: 28px 105px 1fr; padding: 13px 12px; }
  .member-actions { grid-template-columns: 1fr; }
  .selected-profile .profile-photo { width: 178px; height: 198px; }
  .selected-profile .union-signatories { grid-template-columns: 1fr 1fr; gap: 10px; }
  .selected-profile .union-signatories strong { font-size: .82rem; }
}

/* Option 3: responsive desktop member dashboard */
.member-page > .member-site-header { display: block; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(11,79,59,.1); background: rgba(251,247,237,.95); backdrop-filter: blur(14px); }
.member-page { overflow-x: hidden; }
.member-site-header .nav-links a.active { color: var(--saffron); }
.member-page .profile-wrap { width: min(1480px, calc(100% - 32px)); margin: 26px auto 60px; }
.wide-member-profile { display: grid; gap: 18px; }
.wide-member-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 230px minmax(300px,.8fr) minmax(500px,1.35fr); gap: 28px; align-items: center; min-height: 330px; padding: 34px 42px; border-radius: 30px; color: white; background: radial-gradient(circle at 72% 35%, rgba(255,255,255,.1), transparent 24%), linear-gradient(125deg, #073b2d, #0a6047 67%, #164b3c); box-shadow: 0 22px 65px rgba(18,55,42,.2); }
.wide-member-hero::after { content: ''; position: absolute; right: -55px; bottom: -100px; width: 340px; height: 340px; border: 55px solid rgba(255,255,255,.035); border-radius: 50%; }
.hero-member-photo { position: relative; z-index: 1; overflow: hidden; width: 220px; height: 250px; border: 7px solid white; border-radius: 30% 30% 25% 25%; background: #e8efe9; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.hero-member-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-member-identity { position: relative; z-index: 1; min-width: 0; }
.active-member { display: inline-flex; padding: 8px 14px; border-radius: 999px; color: white; background: #12a34a; font-size: .84rem; font-weight: 850; }
.active-member.inactive { background: #b23b35; }
.hero-member-identity h1 { margin: 14px 0 8px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .98; overflow-wrap: anywhere; }
.hero-position { display: inline-flex; padding: 9px 20px; border: 1px solid #f3bd4d; border-radius: 999px; color: white; background: linear-gradient(135deg, #d99a19, #b76c00); font-weight: 850; }
.hero-studio { margin: 18px 0 0; font-weight: 800; letter-spacing: .02em; }
.hero-member-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: start; }
.hero-member-facts > div { min-width: 0; padding: 8px 22px; border-left: 1px solid rgba(255,255,255,.23); }
.hero-member-facts span, .hero-member-facts strong { display: block; }
.hero-member-facts span { color: #c8ded5; font-size: .77rem; }
.hero-member-facts strong { margin-top: 7px; font-size: 1.05rem; overflow-wrap: anywhere; }
.hero-member-facts .location-fact { grid-column: 1 / -1; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.member-dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.member-dashboard.no-professional { grid-template-columns: minmax(0, 760px); justify-content: center; }
.dashboard-card { min-width: 0; padding: 26px; border: 1px solid #e3e6dd; border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: 0 12px 36px rgba(34,53,41,.07); }
.dashboard-card > header { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.dashboard-card > header > span { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 50%; color: white; background: var(--forest); font-size: 1.15rem; }
.dashboard-card h2 { margin: 0; color: var(--forest-dark); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.25rem,2vw,1.7rem); }
.dashboard-card header p { margin: 3px 0 0; color: var(--muted); font-size: .78rem; }
.wide-details { overflow: hidden; border: 1px solid #e8e9e2; border-radius: 16px; }
.wide-detail-row { display: grid; grid-template-columns: 26px minmax(110px,.75fr) minmax(120px,1fr); gap: 10px; align-items: center; min-height: 48px; padding: 9px 12px; border-bottom: 1px solid #ecece6; }
.wide-detail-row:last-child { border: 0; }
.wide-detail-row b { color: var(--forest); }
.wide-detail-row span { color: var(--muted); font-size: .78rem; }
.wide-detail-row strong { overflow-wrap: anywhere; font-size: .88rem; }
.wide-expertise, .social-links { margin-top: 18px; padding-top: 18px; border-top: 1px solid #e8e4d9; }
.wide-expertise h3, .social-links h3 { margin: 0 0 12px; color: var(--forest-dark); }
.wide-expertise > div, .social-links > div { display: flex; flex-wrap: wrap; gap: 8px; }
.wide-expertise span { padding: 8px 11px; border-radius: 999px; color: var(--forest-dark); background: #eaf1e8; font-size: .76rem; font-weight: 700; }
.social-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid #dfe5dc; border-radius: 10px; text-decoration: none; font-size: .76rem; font-weight: 750; }
.social-links a b { color: var(--forest); }
.wide-qr { display: grid; grid-template-columns: 155px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; background: #f1f6ef; }
.wide-qr img { width: 155px; height: 155px; border: 7px solid white; border-radius: 13px; }
.wide-qr strong { display: block; color: var(--forest); font-size: 1.05rem; }
.wide-qr p { margin: 8px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.verification-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.verification-actions .button { width: 100%; min-height: 44px; padding: 0 12px; font-size: .78rem; }
.verification-actions .full { grid-column: 1 / -1; }
.member-verification-footer { display: grid; grid-template-columns: 1.8fr .7fr .7fr; gap: 22px; align-items: center; padding: 22px 30px; border: 1px solid #e2e3dc; border-radius: 22px; background: rgba(255,255,255,.82); }
.member-verification-footer > div { min-width: 0; }
.member-verification-footer span, .member-verification-footer strong { display: block; overflow-wrap: anywhere; }
.member-verification-footer span { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.member-verification-footer strong { color: var(--forest-dark); }

@media (max-width: 1120px) {
  .wide-member-hero { grid-template-columns: 190px 1fr; }
  .hero-member-photo { width: 185px; height: 215px; }
  .hero-member-facts { grid-column: 1 / -1; }
  .member-dashboard { grid-template-columns: 1fr 1fr; }
  .member-dashboard.no-professional { grid-template-columns: minmax(0, 760px); }
  .verification-card { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .member-site-header .nav-links a:not(.button) { display: none; }
  .member-site-header .nav { min-width: 0; }
  .member-site-header .union-brand { min-width: 0; }
  .member-page .profile-wrap { width: min(100% - 20px, 620px); margin-top: 12px; }
  .wide-member-hero { grid-template-columns: 1fr; justify-items: center; padding: 28px 20px; text-align: center; }
  .hero-member-photo { width: 175px; height: 200px; }
  .hero-member-facts { grid-template-columns: 1fr 1fr; width: 100%; text-align: left; }
  .hero-member-facts > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .hero-member-facts .location-fact { grid-column: 1 / -1; margin-top: 0; }
  .member-dashboard { grid-template-columns: 1fr; }
  .member-dashboard.no-professional { grid-template-columns: 1fr; }
  .verification-card { grid-column: auto; }
  .member-verification-footer { grid-template-columns: 1fr 1fr; }
  .member-verification-footer > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .member-site-header .nav-links a { display: none; }
  .hero-member-facts { grid-template-columns: 1fr; }
  .hero-member-facts .location-fact { grid-column: auto; }
  .wide-detail-row { grid-template-columns: 24px 95px 1fr; }
  .wide-qr { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .verification-actions { grid-template-columns: 1fr; }
  .verification-actions .full { grid-column: auto; }
}
@media print {
  .member-site-header, .verification-actions { display: none !important; }
  .member-page, .member-page .profile-wrap { background: white; margin: 0; width: 100%; }
  .wide-member-profile { gap: 8px; }
  .wide-member-hero, .dashboard-card, .member-verification-footer { box-shadow: none; break-inside: avoid; }
}
