:root {
    --green-950: #06271e;
    --green-900: #0b3d2e;
    --green-800: #11513c;
    --green-700: #196448;
    --gold: #d5a92f;
    --gold-light: #edcb6d;
    --cream: #f8f3e7;
    --cream-dark: #eee5d2;
    --white: #fff;
    --ink: #183129;
    --muted: #5d6c66;
    --line: rgba(11, 61, 46, .14);
    --shadow: 0 24px 60px rgba(6, 39, 30, .13);
    --radius: 22px;
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 78px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 16px; background: var(--white); color: var(--green-900); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.eyebrow { margin: 0 0 14px; color: var(--green-700); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { display: inline-block; width: 28px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--gold); content: ""; }
.eyebrow.light { color: var(--gold-light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--green-950); font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { margin-bottom: 22px; font-size: clamp(2.75rem, 12vw, 5.8rem); letter-spacing: -.045em; }
h2 { margin-bottom: 22px; font-size: clamp(2.15rem, 8vw, 4rem); letter-spacing: -.035em; }
h2 span { color: var(--green-700); font-style: italic; font-weight: 400; }
h3 { font-size: 1.35rem; }
.lead { font-size: 1.15rem; line-height: 1.7; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--green-950); background: var(--gold-light); box-shadow: 0 10px 28px rgba(0, 0, 0, .18); }
.button-gold:hover { background: #f5d77e; }
.button-green { color: var(--white); background: var(--green-900); }
.button-green:hover { background: var(--green-800); box-shadow: 0 10px 24px rgba(11, 61, 46, .2); }
.button-outline-light { border-color: rgba(255,255,255,.48); color: var(--white); }
.button-outline-light:hover { background: rgba(255,255,255,.1); }
.button-full { width: 100%; justify-content: space-between; padding-inline: 24px; }
.button-small { min-height: 44px; padding: 8px 18px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--green-800); font-weight: 800; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.light-link { color: var(--white); }

.site-header { position: fixed; z-index: 100; top: 0; right: 0; left: 0; color: var(--white); transition: background .25s, box-shadow .25s; }
.site-header.scrolled, .site-header.menu-active { background: #06271e; box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, serif; font-size: 1.35rem; letter-spacing: .04em; line-height: 1; }
.brand small { margin-top: 4px; font-size: .64rem; letter-spacing: .04em; line-height: 1.2; }
.menu-toggle { display: grid; width: 48px; height: 48px; place-content: center; gap: 5px; border: 0; border-radius: 50%; color: inherit; background: rgba(255,255,255,.09); cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { position: fixed; top: 78px; right: 0; bottom: 0; left: 0; display: none; padding: 28px 20px; background: #06271e; background-color: #06271e; opacity: 1; box-shadow: 0 18px 32px rgba(0,0,0,.22); }
.site-nav.open { display: flex; flex-direction: column; align-items: stretch; }
.site-nav a { display: flex; min-height: 54px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--white); font-family: Georgia, serif; font-size: 1.4rem; text-decoration: none; }
.site-nav .nav-cta { justify-content: center; margin-top: 18px; border: 1px solid var(--gold-light); border-radius: 999px; color: var(--gold-light); font-family: inherit; font-size: .95rem; font-weight: 800; }
.site-nav .nav-login { justify-content: center; margin-top: 18px; border: 0; border-radius: 999px; color: var(--green-950); background: var(--gold-light); font-family: inherit; font-size: 1rem; font-weight: 850; box-shadow: 0 8px 20px rgba(0,0,0,.18); }

.hero { position: relative; display: grid; min-height: 760px; overflow: hidden; align-items: center; padding: 118px 0 90px; color: var(--white); background: radial-gradient(circle at 80% 25%, #1a664c 0, transparent 34%), linear-gradient(125deg, var(--green-950), var(--green-900)); }
.hero::after { position: absolute; right: -18%; bottom: -55%; width: 70%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; }
.hero-pattern { position: absolute; inset: 0; opacity: .07; background-image: linear-gradient(30deg, transparent 48%, #fff 49%, #fff 51%, transparent 52%); background-size: 58px 100px; mask-image: linear-gradient(to right, transparent, #000); }
.hero-grid { position: relative; z-index: 2; display: grid; gap: 52px; }
.hero h1 { color: var(--white); }
.hero h1 em { display: block; color: var(--gold-light); font-weight: 400; }
.hero-lead { max-width: 650px; margin-bottom: 30px; color: rgba(255,255,255,.8); font-size: 1.08rem; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-facts { display: grid; margin: 42px 0 0; padding-top: 25px; gap: 16px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-facts div { border-left: 2px solid var(--gold); padding-left: 13px; }
.hero-facts dt { color: rgba(255,255,255,.55); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-facts dd { margin: 2px 0 0; font-weight: 700; }
.hero-mark { position: relative; width: min(88vw, 410px); margin-inline: auto; }
.logo-halo { display: grid; aspect-ratio: 1; place-items: center; padding: 34px; border: 1px solid rgba(237,203,109,.42); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.025), 0 0 0 38px rgba(255,255,255,.018); }
.logo-halo img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: contain; filter: drop-shadow(0 20px 34px rgba(0,0,0,.25)); }
.floating-card { position: absolute; right: -10px; bottom: 6%; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: var(--shadow); }
.floating-card strong, .floating-card small { display: block; line-height: 1.3; }
.floating-card strong { font-family: Georgia, serif; }
.floating-card small { color: var(--muted); font-size: .7rem; }
.floating-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; color: var(--green-950); background: var(--gold-light); }
.scroll-cue { display: none; }

.intro { background: var(--cream); }
.split { display: grid; gap: 34px; }
.intro-copy > p { color: var(--muted); }
.intro-copy .lead { color: var(--ink); }
.value-row { display: grid; margin-top: 35px; gap: 12px; }
.value-row div { display: grid; grid-template-columns: 42px 1fr; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.48); }
.value-row div > span { grid-row: span 2; color: var(--gold); font-size: 1.6rem; }
.value-row strong { font-family: Georgia, serif; }
.value-row small { color: var(--muted); }
.section-heading { max-width: 670px; margin-bottom: 42px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow::before { display: none; }
.section-heading p:last-child { color: var(--muted); }
.membership-section { background: #fffdf8; }
.steps { display: grid; margin: 0; padding: 0; gap: 15px; list-style: none; counter-reset: steps; }
.steps li { position: relative; min-height: 240px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.steps li > span { position: absolute; top: 14px; right: 18px; color: rgba(11,61,46,.08); font-family: Georgia, serif; font-size: 4.2rem; font-weight: 800; line-height: 1; }
.step-icon { display: grid; width: 48px; height: 48px; margin-bottom: 28px; place-items: center; border-radius: 50%; color: var(--green-900); background: var(--cream); font-size: 1.2rem; }
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.process-note { max-width: 850px; margin: 25px auto 0; padding: 14px 18px; border-radius: 12px; background: var(--cream); color: var(--muted); text-align: center; font-size: .86rem; }

.shares-section { position: relative; overflow: hidden; color: var(--white); background: var(--green-900); }
.shares-section::before { position: absolute; inset: 0; opacity: .05; background: repeating-radial-gradient(circle at 0 50%, transparent 0 30px, #fff 31px 32px); content: ""; }
.shares-grid { position: relative; display: grid; gap: 50px; }
.share-card { padding: 34px 28px; border: 1px solid rgba(255,255,255,.4); border-radius: 28px; background: var(--cream); color: var(--green-950); box-shadow: 22px 22px 0 rgba(213,169,47,.32); text-align: center; transform: rotate(-1deg); }
.share-card > p { margin-bottom: 5px; color: var(--green-700); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.share-card > strong { display: block; font-family: Georgia, serif; font-size: clamp(4.5rem, 20vw, 7.5rem); line-height: 1; }
.share-card sup { font-size: .38em; vertical-align: top; }
.share-card > span { color: var(--muted); }
.share-card hr { margin: 30px 0 22px; border: 0; border-top: 1px solid var(--line); }
.share-stats { display: grid; grid-template-columns: 1fr 1fr; }
.share-stats div + div { border-left: 1px solid var(--line); }
.share-stats b, .share-stats small { display: block; }
.share-stats b { font-family: Georgia, serif; font-size: 1.55rem; }
.share-stats small { color: var(--muted); font-size: .72rem; }
.share-card .as-of { display: block; margin-top: 22px; color: var(--muted); font-size: .7rem; }
.shares-copy h2 { color: var(--white); }
.shares-copy > p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.disclaimer { display: flex; margin: 28px 0; padding: 18px; gap: 13px; border-left: 3px solid var(--gold-light); background: rgba(255,255,255,.07); }
.disclaimer > span { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border: 1px solid var(--gold-light); border-radius: 50%; color: var(--gold-light); font-family: serif; font-weight: 800; }
.disclaimer p { margin: 0; color: rgba(255,255,255,.75); font-size: .86rem; }
.disclaimer strong { display: block; color: var(--white); }

.check-list { margin: 25px 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 10px 0; padding-left: 30px; }
.check-list li::before { position: absolute; left: 0; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: var(--white); background: var(--green-700); font-size: .7rem; content: "✓"; }

.registration { color: var(--white); background: var(--green-950); }
.registration-grid { display: grid; gap: 40px; }
.registration h2 { color: var(--white); }
.registration-grid > div > p:last-child { color: rgba(255,255,255,.7); }
.registration-card { margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.05); }
.registration-card div { padding: 18px 20px; }
.registration-card div + div { border-top: 1px solid rgba(255,255,255,.12); }
.registration-card dt { color: var(--gold-light); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.registration-card dd { margin: 4px 0 0; font-weight: 650; }

.faq-grid { display: grid; gap: 35px; }
.faq-heading > p:not(.eyebrow) { color: var(--muted); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; color: var(--green-950); font-family: Georgia, serif; font-size: 1.08rem; font-weight: 700; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { position: relative; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; }
.accordion summary span::before, .accordion summary span::after { position: absolute; top: 14px; left: 8px; width: 12px; height: 1px; background: var(--green-800); content: ""; transition: transform .2s; }
.accordion summary span::after { transform: rotate(90deg); }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { padding-right: 40px; color: var(--muted); }

.enquiry { color: var(--white); background: linear-gradient(110deg, var(--green-800), var(--green-900)); }
.enquiry-grid { display: grid; gap: 45px; }
.contact-copy h2 { color: var(--white); }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.contact-options { display: grid; margin-top: 30px; gap: 10px; }
.contact-options a { display: flex; min-height: 72px; align-items: center; gap: 13px; padding: 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; text-decoration: none; }
.contact-options a:hover { background: rgba(255,255,255,.08); }
.contact-options a > span { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 50%; color: var(--green-950); background: var(--gold-light); }
.contact-options small, .contact-options strong { display: block; }.contact-options small { color: rgba(255,255,255,.65); }.contact-options strong { font-family: Georgia, serif; }
.form-card { padding: 28px 22px; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 8px; font-size: 2rem; }
.form-card > p { color: var(--muted); font-size: .9rem; }
.field { margin-bottom: 17px; }
.field label { display: block; margin-bottom: 6px; font-size: .82rem; font-weight: 800; }
.field label span { color: #a13529; }.field label small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #bcc9c4; border-radius: 10px; color: var(--ink); background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-700); outline: 3px solid rgba(25,100,72,.13); }
.consent { display: flex; margin: 4px 0 20px; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .78rem; }
.consent input { flex: 0 0 auto; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--green-800); }
.privacy-note { margin: 12px 0 0; color: var(--muted); font-size: .7rem; text-align: center; }
.form-alert { margin: 18px 0; padding: 12px 14px; border-radius: 10px; font-size: .82rem; }
.form-alert.error { border: 1px solid #e1b2ab; color: #742a20; background: #fff0ed; }.form-alert.success { border: 1px solid #9bc5ac; color: #145b35; background: #eaf7ef; }
.form-alert strong { display: block; }.form-alert ul { margin: 4px 0 0; padding-left: 18px; }

.site-footer { padding: 60px 0 26px; color: rgba(255,255,255,.72); background: #041d16; }
.footer-grid { display: grid; gap: 35px; }
.footer-grid > div:first-child p { max-width: 390px; }
.footer-brand { margin-bottom: 18px; }
.footer-grid h2 { margin-bottom: 12px; color: var(--gold-light); font-family: inherit; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; min-height: 35px; color: rgba(255,255,255,.75); text-decoration: none; }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--white); }
.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; }
.footer-bottom p { margin-bottom: 6px; }
.install-prompt { position: fixed; z-index: 200; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 15px 50px rgba(0,0,0,.25); }
.install-prompt[hidden] { display: none; }
.install-prompt > div { flex: 1; }.install-prompt strong, .install-prompt span { display: block; line-height: 1.3; }.install-prompt span { color: var(--muted); font-size: .72rem; }
.install-close { width: 44px; height: 44px; border: 0; color: var(--muted); background: transparent; font-size: 1.5rem; cursor: pointer; }

@media (min-width: 520px) {
    .hero-facts { grid-template-columns: repeat(3, 1fr); }
    .value-row { grid-template-columns: repeat(3, 1fr); }
    .value-row div { display: block; }.value-row div > span { display: block; margin-bottom: 8px; }.value-row small { display: block; margin-top: 4px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .contact-options { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 20px; }
    .install-prompt { right: 24px; left: auto; width: 410px; }
}

@media (min-width: 860px) {
    .container { width: min(100% - 64px, var(--container)); }
    .section { padding: 110px 0; }
    .header-inner { min-height: 88px; }
    .menu-toggle { display: none; }
    .site-nav { position: static; display: flex; padding: 0; align-items: center; gap: clamp(14px, 2vw, 30px); background: transparent; }
    .site-nav a { min-height: 44px; border: 0; font-family: inherit; font-size: .84rem; font-weight: 750; }
    .site-nav .nav-cta { min-height: 44px; margin: 0; padding: 0 20px; }
    .site-nav .nav-login { min-height: 44px; margin: 0; padding: 0 20px; }
    .hero { min-height: 820px; padding: 130px 0 100px; }
    .hero-grid { grid-template-columns: 1.16fr .84fr; align-items: center; gap: 70px; }
    .hero-lead { font-size: 1.17rem; }
    .hero-mark { width: min(35vw, 430px); }
    .scroll-cue { position: absolute; z-index: 3; bottom: 28px; left: 50%; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.6); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; transform: translateX(-50%); }
    .scroll-cue i { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-style: normal; }
    .split { grid-template-columns: .85fr 1.15fr; gap: 100px; }
    .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .steps li:nth-child(even) { transform: translateY(18px); }
    .shares-grid { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 100px; }
    .share-card { padding: 48px 38px; }
    .registration-grid { grid-template-columns: .8fr 1.2fr; align-items: center; gap: 100px; }
    .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 100px; }
    .faq-heading { position: sticky; top: 120px; align-self: start; }
    .enquiry-grid { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 100px; }
    .form-card { padding: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Secure member portal */
.portal-body, .auth-page, .status-page { min-height: 100vh; background: #f3f5f1; }
.portal-wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.portal-header { position: sticky; z-index: 80; top: 0; color: var(--white); background: var(--green-950); box-shadow: 0 6px 24px rgba(6,39,30,.16); }
.portal-header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 14px; }
.portal-brand { display: flex; align-items: center; gap: 9px; color: white; text-decoration: none; }
.portal-brand img { border-radius: 50%; }.portal-brand strong, .portal-brand small { display: block; line-height: 1.1; }.portal-brand small { margin-top: 4px; color: rgba(255,255,255,.68); font-size: .68rem; }
.portal-user { display: flex; align-items: center; gap: 10px; }.portal-user > span { display: none; }.portal-user form { margin: 0; }.portal-user button { min-height: 44px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: white; background: transparent; cursor: pointer; }
.portal-main { padding-top: 38px; padding-bottom: 110px; }
.portal-welcome, .portal-heading { max-width: 720px; margin-bottom: 28px; }.portal-welcome h1, .portal-heading h1 { margin-bottom: 12px; font-size: clamp(2.25rem,9vw,4.25rem); }.portal-welcome p:last-child, .portal-heading p:last-child { color: var(--muted); }
.portal-grid { display: grid; gap: 14px; }.portal-card { min-height: 170px; padding: 23px; border: 1px solid var(--line); border-radius: 19px; background: white; box-shadow: 0 8px 25px rgba(6,39,30,.05); text-decoration: none; }.portal-card > span { color: var(--gold); font-size: 1.65rem; }.portal-card h2 { margin: 22px 0 7px; font-size: 1.35rem; }.portal-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.portal-role { margin-top: 22px; color: var(--muted); font-size: .78rem; }
.portal-nav { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); min-height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -5px 25px rgba(6,39,30,.08); }.portal-nav a { display: flex; min-width: 0; min-height: 44px; align-items: center; justify-content: center; padding: 7px 2px; overflow-wrap: anywhere; color: var(--muted); font-size: clamp(.58rem,2.8vw,.69rem); font-weight: 800; line-height: 1.1; text-align: center; text-decoration: none; }.portal-nav a[aria-current="page"] { color: var(--green-900); background: var(--cream); box-shadow: inset 0 3px var(--gold); }
.portal-alert { margin-bottom: 20px; padding: 13px 15px; border-left: 4px solid var(--green-700); border-radius: 10px; background: white; }.portal-alert.error { border-color: #a13529; background: #fff1ef; }.portal-alert.warning { border-color: var(--gold); background: #fff9e7; }.portal-alert.success { border-color: var(--green-700); background: #edf8f1; }
.directory-list, .admin-list { display: grid; gap: 10px; }.directory-list article, .admin-list article { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; }.directory-list article { justify-content: flex-start; }.directory-list h2, .admin-list h2 { margin: 0 0 3px; font-size: 1.08rem; }.directory-list p, .admin-list p { margin: 0; color: var(--muted); font-size: .78rem; }.member-avatar { display: grid; flex: 0 0 45px; width: 45px; height: 45px; place-items: center; border-radius: 50%; color: white; background: var(--green-800); font-family: Georgia,serif; font-size: 1.2rem; }.portal-empty { padding: 26px; border-radius: 15px; color: var(--muted); background: white; text-align: center; }
.profile-details { display: grid; margin: 0 0 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }.profile-details div { padding: 14px 17px; }.profile-details div + div { border-top: 1px solid var(--line); }.profile-details dt { color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }.profile-details dd { margin: 2px 0 0; font-weight: 700; }
.portal-form-card { margin: 20px 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }.portal-form-card > summary { min-height: 44px; color: var(--green-950); font-family: Georgia,serif; font-size: 1.3rem; font-weight: 700; cursor: pointer; }.portal-form-card h2 { font-size: 1.5rem; }.portal-form-card form { margin-top: 18px; }.form-grid { display: grid; gap: 0 16px; }.portal-form-card select, .admin-list select { width: 100%; min-height: 48px; padding: 10px; border: 1px solid #bcc9c4; border-radius: 10px; background: white; }.compact-check { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; }.compact-check input { width: 18px; height: 18px; }.admin-list article { align-items: flex-start; }.admin-list form { display: grid; width: 125px; gap: 7px; }.admin-list button { min-height: 44px; border: 0; border-radius: 9px; color: white; background: var(--green-800); cursor: pointer; }
.metric-grid { display: grid; grid-template-columns: repeat(2,1fr); margin-bottom: 26px; gap: 10px; }.metric-grid article { padding: 18px; border-radius: 15px; background: var(--green-900); color: white; }.metric-grid strong, .metric-grid span { display: block; }.metric-grid strong { color: var(--gold-light); font-family: Georgia,serif; font-size: 2rem; }.metric-grid span { color: rgba(255,255,255,.72); font-size: .75rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: white; }.table-scroll table { width: 100%; border-collapse: collapse; white-space: nowrap; }.table-scroll th, .table-scroll td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: .78rem; }.table-scroll th { color: var(--green-900); background: var(--cream); }
.auth-page { display: grid; padding: 25px 18px; place-items: center; background: radial-gradient(circle at top right,#1a664c,transparent 38%),var(--green-950); }.auth-shell { width: min(100%,440px); }.auth-brand { display: flex; margin-bottom: 18px; align-items: center; justify-content: center; gap: 10px; color: white; font: 700 1.5rem Georgia,serif; text-decoration: none; }.auth-brand img { border-radius: 50%; }.auth-card { padding: 28px 23px; border-radius: 23px; background: white; box-shadow: var(--shadow); }.auth-card h1 { margin-bottom: 8px; font-size: 2.4rem; }.auth-card > p:not(.eyebrow) { color: var(--muted); }.auth-note { margin: 16px 0 0; font-size: .75rem; text-align: center; }
.status-page { display: grid; padding: 22px; place-items: center; }.status-page main { width: min(100%,560px); padding: 36px 25px; border-radius: 22px; background: white; box-shadow: var(--shadow); text-align: center; }.status-page img { margin: 0 auto 20px; border-radius: 50%; }.status-page p { color: var(--muted); }
.connection-banner { position: fixed; z-index: 200; right: 12px; bottom: 80px; left: 12px; display: none; padding: 12px 15px; border: 1px solid #e5b9b2; border-radius: 11px; color: #742a20; background: #fff0ed; box-shadow: var(--shadow); font-size: .85rem; font-weight: 750; }.connection-banner.visible { display: block; }
@media (min-width:700px) { .portal-user > span { display: inline; }.portal-grid { grid-template-columns: repeat(2,1fr); }.form-grid { grid-template-columns: repeat(2,1fr); }.profile-details { grid-template-columns: repeat(2,1fr); }.profile-details div:nth-child(2) { border-top: 0; }.metric-grid { grid-template-columns: repeat(4,1fr); }.admin-list form { grid-template-columns: 1fr auto; width: 260px; }.portal-nav { position: static; min-height: 58px; justify-content: center; }.portal-nav a { flex: 0 1 130px; }.portal-main { padding-bottom: 55px; } }

/* Private document viewer */
.document-viewer{display:grid;grid-template-rows:auto minmax(0,1fr);width:100vw;height:100dvh;margin:0;overflow:hidden;background:var(--cream)}.document-viewer header{display:flex;min-height:68px;align-items:center;gap:18px;padding:10px max(12px,env(safe-area-inset-left));color:#fff;background:var(--green-950)}.document-viewer header strong{font-family:Georgia,serif}.document-preview{display:grid;min-width:0;min-height:0;overflow:hidden;place-items:center}.document-preview iframe{display:block;width:100%;height:100%;border:0;background:#fff}.document-preview img{width:100%;height:100%;object-fit:contain}.document-back{min-height:44px;padding:8px 16px;color:var(--green-950);background:var(--gold-light)}.availability-fallback{font-size:1rem!important}

/* Phase 2 membership workflows */
.application-page{background:var(--cream);color:var(--ink);min-height:100vh}.application-header{align-items:center;background:var(--green-950);color:#fff;display:flex;justify-content:space-between;padding:1rem max(1rem,calc((100vw - 1120px)/2))}.application-header a{color:inherit}.application-shell{margin:auto;max-width:1080px;padding:2rem 1rem 5rem}.application-shell.narrow{max-width:680px}.application-intro{margin-bottom:2rem}.form-progress{display:grid;gap:.5rem;grid-template-columns:repeat(2,1fr);list-style:none;margin:1.5rem 0 0;padding:0}.form-progress li{background:#fff;border-left:4px solid var(--gold);border-radius:.5rem;padding:.75rem}.membership-form{display:grid;gap:1.25rem}.membership-form fieldset{background:#fff;border:1px solid rgba(11,61,46,.15);border-radius:1rem;margin:0;padding:1.25rem}.membership-form legend{color:var(--green-800);font-size:1.25rem;font-weight:800;padding:0 .4rem}.membership-form input,.membership-form select,.membership-form textarea,.filter-bar input,.filter-bar select{font-size:1rem;min-height:44px}.field-wide{grid-column:1/-1}.confirmation-card{background:#fff;border-radius:1.25rem;box-shadow:0 20px 60px rgba(11,61,46,.12);margin:8vh auto;max-width:650px;padding:clamp(1.5rem,5vw,3rem);text-align:center}.status-badge{background:#f4e7b8;border-radius:999px;color:#473600;display:inline-block;font-weight:800;padding:.4rem .75rem}.status-result,.document-card,.history-item{background:#fff;border:1px solid rgba(11,61,46,.14);border-radius:.75rem;display:block;margin:.75rem 0;padding:1rem}.document-card span{display:block;margin-top:.25rem}.filter-bar,.action-row{align-items:end;display:flex;flex-wrap:wrap;gap:.75rem}.filter-bar .field{flex:1 1 180px}.detail-grid{display:grid;gap:1rem}.directory-list .member-avatar.photo{object-fit:cover}.pagination{display:flex;justify-content:space-between;margin:1.5rem 0}.danger{background:#8b1e1e;color:#fff}.coming{opacity:.8}.is-loading{opacity:.7;pointer-events:none}@media(min-width:700px){.form-progress{grid-template-columns:repeat(4,1fr)}.detail-grid{grid-template-columns:1.3fr .7fr}}
