/* ============ GINIA theme ============ */
:root {
	--navy: #0b2545;
	--navy-2: #13315c;
	--blue: #1d5fbf;
	--teal: #0fa3b1;
	--ink: #1b2430;
	--muted: #5a6677;
	--line: #e2e7ee;
	--tint: #f4f7fb;
	--white: #fff;
	--radius: 10px;
	--shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .06);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.screen-reader-text, .contact-form__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-block; padding: .75em 1.4em; border-radius: 6px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; cursor: pointer; line-height: 1.2; margin: 0 .4em .4em 0; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--blue); background: transparent; }
.btn--ghost:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--teal); color: #fff; }
.btn--block { display: block; text-align: center; margin: 1.2em 0 0; }

/* Top bar + header */
.topbar { background: var(--navy); color: #c9d6e8; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; margin-left: 18px; }
.topbar a:hover { text-decoration: underline; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wordmark__name { font-size: 1.85rem; font-weight: 800; letter-spacing: .32em; color: var(--navy); }
.wordmark__tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-top: 6px; font-weight: 600; }
.custom-logo { max-height: 56px; width: auto; display: block; }

.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav .menu > li { position: relative; }
.primary-nav a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 6px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--blue); background: var(--tint); }
.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; opacity: .6; }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { font-weight: 500; font-size: .92rem; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle__bar { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 110px); overflow-y: auto; }
	.primary-nav.is-open { display: block; }
	.primary-nav .menu { flex-direction: column; padding: 12px 24px 20px; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; min-width: 0; }
	.primary-nav .is-expanded > .sub-menu { display: block; }
	.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.topbar__inner > span:first-child { display: none; }
	.topbar a { margin: 0 18px 0 0; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(15, 163, 177, .35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #1a4480 100%); color: #e6eef8; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to left, #000, transparent 70%); pointer-events: none; }
.hero__inner { padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(64px, 10vw, 120px); position: relative; z-index: 1; max-width: var(--max); }
.hero__kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--teal); }
.hero__title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 24ch; margin-bottom: .5em; }
.hero__lead { font-size: 1.15rem; max-width: 60ch; color: #c9d6e8; }
.hero__actions { margin-top: 28px; }
.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Sections / cards */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 760px; margin-bottom: 36px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .5em; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; color: var(--ink); }
.card p { color: var(--muted); font-size: .97rem; }
.card--link { text-decoration: none; transition: transform .15s, border-color .15s; }
.card--link:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--ink); }
.card .icon { color: var(--blue); margin-bottom: 14px; }
.card__more { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--blue); text-decoration: none; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stats li { background: var(--tint); border-radius: var(--radius); padding: 22px; border-left: 4px solid var(--teal); }
.stats strong { display: block; font-size: 1.7rem; color: var(--navy); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .9rem; }

.news-card__date { font-size: .82rem; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.news-card__title { font-size: 1.12rem; }
.news-card__title a { color: var(--navy); text-decoration: none; }
.news-card__title a:hover { color: var(--blue); }

.cta { background: linear-gradient(120deg, var(--blue), var(--navy)); color: #e6eef8; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; }

/* Inner pages */
.page-banner { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0 48px; }
.page-banner__kicker { color: var(--teal); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; margin-bottom: .5em; }
.page-banner__title { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0; max-width: 28ch; }

.page-layout { padding-top: 56px; padding-bottom: 72px; }
.page-layout--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
@media (max-width: 900px) { .page-layout--sidebar { grid-template-columns: 1fr; } }
.entry { max-width: 820px; }
.page-layout--sidebar .entry { max-width: none; }
.entry-content > * + h2 { margin-top: 1.6em; }
.entry-content > * + h3 { margin-top: 1.3em; }
.entry-content ul { padding-left: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--teal); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry-content .grid { margin: 28px 0; }

.section-nav { position: sticky; top: 110px; background: var(--tint); border-radius: var(--radius); padding: 24px; }
.section-nav__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.section-nav ul { list-style: none; margin: 0; padding: 0; }
.section-nav li a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; border-left: 3px solid transparent; }
.section-nav li a:hover { background: #fff; }
.section-nav li.is-current a { background: #fff; border-left-color: var(--blue); color: var(--blue); font-weight: 600; }

.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-bottom: 40px; }
.contact-card { background: var(--tint); border-radius: var(--radius); padding: 26px; }
.contact-card h2 { font-size: 1.15rem; }
.contact-card p + h2 { margin-top: 1em; }
.contact-form { display: grid; gap: 16px; max-width: 720px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .contact-form__row { grid-template-columns: 1fr; } }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.contact-form input, .contact-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #c7d0dc; border-radius: 6px; width: 100%; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); outline: 2px solid rgba(29, 95, 191, .2); }
.contact-form button { justify-self: start; }
.notice { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-weight: 500; }
.notice--ok { background: #e6f6ef; color: #135c3a; border: 1px solid #b8e3cd; }
.notice--err { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c2c2; }

/* Certifications + footer */
.certs { background: var(--tint); border-top: 1px solid var(--line); }
.certs__inner { display: flex; justify-content: center; gap: 12px 32px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.cert { font-size: .85rem; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.cert::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.site-footer { background: var(--navy); color: #b8c6da; font-size: .94rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__h { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1em; }
.brand--footer .wordmark__name { color: #fff; }
.site-footer__blurb { margin-top: 16px; max-width: 36ch; }
.footer-menu { list-style: none; margin: 0 0 16px; padding: 0; }
.footer-menu li { margin-bottom: 6px; }
.social a { margin-right: 14px; font-weight: 600; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 18px; font-size: .84rem; }
.site-footer__bottom p { margin: 0; }

/* Home content wrapper: sections are full-width, no extra spacing. */
.home-content > * { margin: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
