/* Omegeth visual foundation — no libraries, webfonts, images or JS dependencies. */
:root {
  color-scheme: dark;
  --background: #10161C;      /* Carbon charcoal */
  --panel: #1B252D;           /* Dark titanium */
  --text: #E4E9E9;            /* Lunar silver */
  --muted: #A7B1B8;           /* Weathered steel */
  --accent: #C5A46D;          /* Brushed brass */
  --border: #36434A;          /* Gunmetal */
  --field: #242F37;
  --focus: #EBD19E;
  --page-max: 1220px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--background); color: var(--text); margin: 0; line-height: 1.55; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
img { max-width: 100%; display: block; }
.page-shell { max-width: var(--page-max); margin: 0 auto; padding: 0 clamp(22px, 4.6vw, 64px); }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 3; background: var(--accent); color: var(--background); padding: 10px 14px; }
.skip-link:focus { top: 14px; }
.site-header { display: flex; justify-content: space-between; gap: 24px; align-items: center; border-bottom: 1px solid var(--border); padding: 26px 0; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-lockup:hover { color: var(--text); }
.brand-title { display: flex; flex-direction: column; line-height: 1.05; gap: 5px; }
.brand-title strong { font-size: 1rem; letter-spacing: .25em; font-weight: 600; }
.brand-title small { font-size: .64rem; letter-spacing: .3em; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 2.5vw, 33px); align-items: center; }
.site-nav a { font-size: .85rem; text-decoration: none; color: var(--muted); }
.site-nav a:hover { color: var(--text); }
.site-nav .nav-signin { color: var(--text); }
.site-nav .nav-signin span { color: var(--accent); padding-left: 3px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(290px, .75fr); gap: clamp(36px, 6vw, 86px); padding: clamp(75px, 9vw, 132px) 0 115px; align-items: center; }
.eyebrow { font-size: .7rem; font-weight: 650; letter-spacing: .19em; color: var(--accent); margin: 0 0 21px; }
.eyebrow-divider { color: var(--border); padding: 0 5px; }
h1,h2,h3,p { margin-top: 0; }
h1,h2 { font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(3.15rem, 6vw, 5.55rem); letter-spacing: -.047em; line-height: 1.075; max-width: 680px; margin-bottom: 28px; }
h1 em { font-style: normal; color: var(--accent); }
.hero-intro { font-size: clamp(1.05rem, 1.55vw, 1.21rem); line-height: 1.75; color: var(--muted); max-width: 565px; }
.hero-actions { margin-top: 37px; display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; padding: 12px 19px; font-size: .89rem; font-weight: 650; text-decoration: none; border-radius: 4px; }
.button-primary { background: var(--accent); color: var(--background); border: 1px solid var(--accent); }
.button-primary:hover { background: #E0BB82; color: var(--background); }
.button-secondary { background: transparent; border: 1px solid #64737A; color: var(--text); min-width: 122px; }
.button-secondary:hover { background: var(--panel); color: var(--text); }
.hero-footnote { color: var(--muted); font-size: .8rem; max-width: 390px; margin: 18px 0 0; }
.registry-panel { align-self: stretch; min-height: 385px; background: var(--panel); border: 1px solid var(--border); display: flex; flex-direction: column; }
.registry-head, .registry-foot { display: flex; justify-content: space-between; gap: 14px; padding: 20px 23px; font-size: .65rem; letter-spacing: .12em; color: var(--muted); }
.registry-head { border-bottom: 1px solid var(--border); }
.registry-foot { margin-top: auto; border-top: 1px solid var(--border); }
.registry-foot span:last-child { color: var(--accent); }
.registry-main { padding: 46px 28px 34px; }
.registry-label { font-size: .65rem; letter-spacing: .17em; color: var(--accent); }
.registry-main h2 { font-size: clamp(1.8rem, 2.5vw, 2.5rem); line-height: 1.16; margin: 14px 0 21px; }
.registry-main p { color: var(--muted); font-size: .91rem; margin: 0; }
.institution-section { padding: 58px 0 92px; border-top: 1px solid var(--border); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading h2, .about-section h2 { font-size: clamp(2.1rem, 3.7vw, 3.2rem); line-height: 1.16; margin: 0; }
.section-heading > p { max-width: 390px; color: var(--muted); font-size: .9rem; margin: 0; }
.institution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.institution { background: var(--panel); border: 1px solid var(--border); padding: 26px 26px 24px; min-height: 264px; display: flex; flex-direction: column; }
.institution-current { border-top: 2px solid var(--accent); padding-top: 25px; }
.institution-top { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; font-size: .65rem; letter-spacing: .11em; }
.number { color: var(--muted); }
.availability { color: var(--accent); }
.institution h3 { font-size: 1.22rem; letter-spacing: -.02em; font-weight: 600; margin: 32px 0 10px; }
.institution p { color: var(--muted); font-size: .9rem; max-width: 430px; margin-bottom: 23px; }
.institution-link, .institution-unavailable { font-size: .84rem; margin-top: auto; }
.institution-link { color: var(--accent); font-weight: 600; }
.institution-unavailable { color: var(--muted); }
.about-section { border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 42px; padding: 74px 0 96px; }
.about-section > p { color: var(--muted); font-size: 1.04rem; line-height: 1.75; max-width: 460px; }
.site-footer { border-top: 1px solid var(--border); padding: 27px 0 38px; display: flex; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; color: var(--muted); font-size: .73rem; }
.site-footer a { color: var(--text); }
/* Shared foundation for OIC forms. */
input, select, textarea { font: inherit; color: var(--text); background: var(--field); border: 1px solid var(--border); border-radius: 4px; }
@media (max-width: 850px) {
 .hero { grid-template-columns: 1fr; padding: 70px 0 80px; }
 .registry-panel { max-width: 530px; min-height: 320px; }
 .section-heading { display: block; }
 .section-heading > p { margin-top: 18px; }
}
@media (max-width: 580px) {
 .site-header { align-items: flex-start; padding: 20px 0; flex-direction: column; }
 .site-nav { width: 100%; gap: 21px; }
 .hero { padding-top: 60px; }
 .institution-grid, .about-section { grid-template-columns: 1fr; }
 .institution-section { padding-bottom: 70px; }
 .about-section { padding: 60px 0 65px; gap: 20px; }
 .institution { min-height: 245px; }
 .registry-main { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
