/* ENG-014: the accepted architectural plate with real, independent controls. */
.threshold-edition{--threshold-panel:#06272c;--threshold-line:#678b83;--threshold-mint:#a6f1d6;--threshold-ivory:#edf4ef;--threshold-muted:#c1d6cd;background:#041b1f;color:var(--threshold-ivory)}
.threshold-edition .shell{display:block;max-width:1320px;min-height:100vh;padding:0 clamp(16px,3vw,40px)}
.threshold-edition .masthead{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:20px 0;border-color:#355c59}
.threshold-edition .brand{text-decoration:none;min-width:0;max-width:100%}
.threshold-edition .brand-name,.threshold-edition .brand-subtitle{display:block}
.threshold-edition .brand-name{font-size:1.75rem}
.threshold-edition .brand-mark{width:38px;height:44px}
.threshold-nav{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}
.threshold-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border:1px solid transparent;border-radius:8px;font-size:.85rem;color:var(--threshold-muted);text-decoration:none}
.threshold-nav a:hover{color:#fff;background:#123b3d}
.threshold-nav a[aria-current=page]{border-color:#678b83;background:#103b3e;color:var(--threshold-mint)}
.threshold-edition #main{padding:28px 0 0}
.threshold-hero{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);align-items:center;overflow:hidden;border:1px solid #355c59;border-radius:18px;background:var(--threshold-panel)}
.threshold-media{display:block;width:100%;margin:0;background:#03151a;line-height:0}
.threshold-media img{display:block;width:100%;height:auto;aspect-ratio:1672 / 941;object-fit:contain;object-position:center}
.threshold-copy{min-width:0;padding:32px 28px 12px}
.threshold-edition .eyebrow{color:#e2c58b;font-size:.72rem;letter-spacing:.15em}
.threshold-copy h1{font-size:clamp(2.2rem,4vw,3.25rem);color:var(--threshold-ivory);margin:7px 0 15px}
.threshold-intro{font-family:Georgia,'Times New Roman',serif;font-size:1.1rem;line-height:1.55;color:var(--threshold-muted);max-width:30ch}
.threshold-actions{display:grid;gap:10px;margin-top:25px}
.threshold-action{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:54px;padding:12px 16px;border:1px solid var(--threshold-line);border-radius:11px;background:#06272c;color:var(--threshold-ivory);text-decoration:none;text-align:left;font-size:1rem;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.threshold-action span{min-width:0}
.threshold-action .threshold-arrow{font-size:1.4rem;flex-shrink:0;color:var(--threshold-muted)}
.threshold-action small{display:block;margin-top:3px;font:400 .78rem/1.45 system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--threshold-muted)}
.threshold-action:hover{background:#174748;border-color:#a6c9bc;color:#fff}
.threshold-action-primary{background:var(--threshold-mint);border-color:var(--threshold-mint);color:#062330;font-weight:650}
.threshold-action-primary .threshold-arrow{color:#062330}
.threshold-action-primary:hover{background:#c3ffe8;border-color:#c3ffe8;color:#062330}
.threshold-edition a:focus-visible,.threshold-edition button:focus-visible{outline:3px solid #d9ff83;outline-offset:4px}
.threshold-notice{margin-top:24px!important;border-top:1px solid #58766a;padding:18px 0 calc(24px + env(safe-area-inset-bottom,0px));font-size:.79rem;line-height:1.6;color:var(--threshold-muted);text-align:center;overflow-wrap:anywhere}
.threshold-edition #entrance{margin:36px auto 0;max-width:850px;scroll-margin-top:24px}
.threshold-edition #application-form{scroll-margin-top:24px}
.threshold-edition #application-form:focus{outline:3px solid #27675e;outline-offset:8px}
.threshold-edition #fellow-status:not(:empty){margin-top:24px;padding:12px 16px;border:1px solid #678b83;border-radius:8px}
.threshold-edition .entrance-context{max-width:850px;margin:20px auto;color:var(--threshold-muted);font-size:.9rem}
.threshold-edition .entrance-context a,.threshold-edition .page-footer a{color:var(--threshold-mint)}
.threshold-edition .page-footer{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:28px;padding:22px 0 calc(24px + env(safe-area-inset-bottom,0px));border-color:#355c59;color:var(--threshold-muted);font-size:.78rem;line-height:1.6}
.support-copy{max-width:800px;margin:0 auto;padding:34px 0}
.support-copy h1{max-width:18ch;font-size:clamp(2.2rem,5vw,3.4rem);margin:12px 0 24px;color:var(--threshold-ivory)}
.support-copy>p{color:var(--threshold-muted);font-size:1rem;line-height:1.7}
.support-state{margin:28px 0;padding:24px;border:1px solid #678b83;border-radius:12px;background:var(--threshold-panel)}
.support-state h2{font-size:1.5rem;color:var(--threshold-ivory);margin-bottom:12px}
.support-state p{color:var(--threshold-muted)}
.support-state .threshold-action{max-width:360px;margin-top:20px}
.support-principles{display:grid;gap:18px;margin:30px 0;padding:0;list-style:none;color:var(--threshold-muted)}
.support-principles strong{display:block;color:var(--threshold-ivory);margin-bottom:3px}
.participation-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0}
.living-edition .participation-links .participation-primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 17px;border:1px solid #a6f1d6;border-radius:10px;background:#a6f1d6;color:#062330;font-size:.88rem;line-height:1.4;font-weight:650;text-decoration:none}
.living-edition .participation-links .participation-support{display:inline-flex;align-items:center;min-height:44px;padding:9px 6px;color:#b8f4dc;font-size:.85rem;text-underline-offset:4px}
.living-edition .masthead-fellow{display:none}
@media(min-width:1100px){.living-edition .masthead-fellow{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #678b83;border-radius:10px;color:#a6f1d6;font-size:.8rem;text-decoration:none}}
@media(max-width:950px){.threshold-hero{grid-template-columns:minmax(0,1fr)}.threshold-copy{padding:28px clamp(18px,4vw,38px) 0}.threshold-intro{max-width:42ch}.threshold-actions{max-width:none}.threshold-copy h1{font-size:2.5rem}.threshold-edition .masthead{justify-content:space-between}}
@media(max-width:700px){.threshold-edition .shell{padding:0 16px}.threshold-edition .masthead{padding:16px 0;gap:12px}.threshold-edition .brand-mark{width:30px;height:36px}.threshold-edition .brand-name{font-size:1.45rem}.threshold-edition .brand-name span{font-size:.8rem}.threshold-nav{margin-left:0;width:100%;justify-content:flex-start;gap:5px}.threshold-nav a{font-size:.8rem;padding:8px 12px}.threshold-edition #main{padding-top:20px}.threshold-hero{border-radius:13px}.threshold-copy{padding:24px 18px 0}.threshold-copy h1{font-size:2.25rem}.threshold-intro{font-size:1rem}.threshold-actions{margin-top:22px;gap:10px}.threshold-action{font-size:.95rem;min-height:52px;padding:12px 14px}.threshold-notice{font-size:.78rem;margin-top:22px!important}.threshold-edition #entrance{margin-top:28px}.support-copy{padding:16px 0}.support-state{padding:20px 16px}.support-copy h1{font-size:2.25rem}.participation-links{gap:8px}}
@media(prefers-reduced-motion:reduce){.threshold-edition *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.threshold-action-primary small{color:#23483f}.support-copy a:not(.threshold-action){color:#a6f1d6}
.threshold-edition h1{overflow-wrap:anywhere}
/* Hide by the link's own height, including wrapped enlarged text. */
.threshold-edition .skip-link{top:-1px;max-width:calc(100% - 2rem);overflow-wrap:anywhere;transform:translateY(-100%)}
.threshold-edition .skip-link:focus{top:1rem;transform:translateY(0)}
