:root {
  --navy: #060c24;
  --red: #e10600;
  --green: #15c47e;
  --ink: #10162d;
  --muted: #657087;
  --surface: #f5f7fb;
  --line: #e4e8f0;
  --page-gutter: 24px;
  --section-space: 72px;
}

html { scroll-behavior: smooth; }
body { min-height: 100%; height: auto; }
.container { padding-left: var(--page-gutter); padding-right: var(--page-gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #f5bd35; outline-offset: 4px; }

.site-header { position: relative; z-index: 20; }
.site-header .logo { display: inline-flex; align-items: center; width: 180px; }
.site-header .right-actions { gap: 28px; }
.site-header .right-actions a { margin-left: 0; }
.site-header .right-actions .link[aria-current="page"] { color: #ff514c; }
.site-header .btn { width: auto; min-width: 140px; }
.menu-toggle { display: none; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; padding: 8px 12px; font: inherit; }

.home-page .bg-top { position: relative; min-height: 675px; }
.home-page .bg-top .text-box { max-width: 500px; }
.home-page .bg-top .text-box h1 { color: #fff; font: 600 48px/1.2 "Poppins", sans-serif; margin: 0 0 18px; }
.home-page .bg-top .text-box p { color: rgba(255,255,255,.8); }
.home-page .info-list .item img { width: 92px; height: 92px; object-fit: contain; }
.home-page .info-list .item h3 { font-size: 24px; line-height: 1.3; font-weight: 500; margin: 0 0 23px; }
.home-page .image-box img { display: block; margin: 0 auto; }
.home-page .footer { margin-top: 0; }

.page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 75% 5%, #23325c 0, var(--navy) 52%); padding: var(--section-space) 0 112px; }
.page-hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -70px; height: 120px; background: #fff; transform: rotate(-3deg); }
.page-hero .container { z-index: 1; }
.page-hero .eyebrow { color: #ff625d; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.page-hero h1 { max-width: 920px; margin: 10px 0 14px; font: 600 clamp(2.35rem, 6vw, 4.4rem)/1.06 "Poppins", sans-serif; }
.page-hero p { max-width: 740px; margin: 0; color: rgba(255,255,255,.8); font-size: 1.25rem; }

.content-section { padding: var(--section-space) 0; }
.content-section.soft { background: var(--surface); }
.prose { max-width: 820px; margin: 0 auto; color: #25304a; font-size: 1.08rem; line-height: 1.8; }
.prose h2, .prose h3 { color: var(--navy); font-family: "Poppins", sans-serif; line-height: 1.25; margin: 2.3rem 0 .75rem; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.35rem; }
.prose p { margin: 0 0 1.25rem; }
.prose ul, .prose ol { list-style: initial; margin: 0 0 1.5rem 1.4rem; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .55rem; }
.prose a { color: #b70500; text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.75rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 4px solid var(--red); color: #424c63; font-size: 1.15rem; }

.feature-grid, .team-grid, .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.leadership-section .prose { text-align: center; }
.leadership-section .prose h2 { margin-top: 0; }
.team-grid { max-width: 820px; margin: 0 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card, .team-card, .news-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(6,12,36,.07); overflow: hidden; }
.feature-card { padding: 30px; }
.feature-card h2 { font: 600 1.35rem/1.3 "Poppins", sans-serif; }
.team-card img { display: block; width: 160px; height: 160px; margin: 32px auto 0; border-radius: 50%; object-fit: cover; background: #eef1f7; }
.team-card .card-body, .news-card .card-body { padding: 26px; }
.team-card h2, .news-card h2 { margin: 0 0 8px; font: 600 1.35rem/1.35 "Poppins", sans-serif; }
.team-card p, .news-card p { color: var(--muted); line-height: 1.65; }
.news-card time { display: block; margin-bottom: 10px; color: var(--red); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.news-card h2 a { color: var(--ink); }
.news-card h2 a:hover { color: var(--red); }
.text-link { color: var(--red); font-weight: 700; }

.contact-card { width: calc(100% - (2 * var(--page-gutter))); max-width: 760px; margin: 0 auto; padding: 48px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(6,12,36,.08); text-align: center; }
.contact-card h2 { margin-top: 0; font: 600 2rem/1.25 "Poppins", sans-serif; }
.contact-card .btn { display: inline-block; width: auto; margin-top: 12px; }

.article-header { max-width: 1200px; }
.article-header time { color: #ff625d; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.article-header h1 { max-width: 820px; font-size: clamp(2.35rem, 4.5vw, 3.75rem); }
.article-layout { display: grid; grid-template-columns: minmax(0, 820px) 260px; gap: 64px; align-items: start; }
.article-layout > .prose { width: 100%; margin: 0; }
.article-aside { position: sticky; top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; }
.article-aside h2 { font: 600 1rem/1.4 "Poppins", sans-serif; }
.article-aside a { color: var(--red); font-weight: 700; }

.footer { margin-top: 0; padding: 0 0 72px; }
.footer .text-center { padding-top: 96px; }
.footer .divider { margin-top: 72px; }
.footer .right-section { flex-wrap: wrap; }
.footer .right-section .link { color: #fff; }
.footer .right-section .link:hover { color: #ff514c; }

.not-found { min-height: 55vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }

@media (max-width: 900px) {
  .feature-grid, .team-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-aside { position: static; }
}

@media (max-width: 767px) {
  :root { --page-gutter: 20px; --section-space: 56px; }
  .header { padding: 16px 0; }
  .site-header .container { align-items: center; flex-wrap: wrap; }
  .site-header .logo { width: 145px; }
  .menu-toggle { display: block; }
  .site-header .right-actions { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 0 4px; }
  .site-header .right-actions.is-open { display: flex; }
  .site-header .right-actions .link { display: block; padding: 12px 0; }
  .site-header .right-actions .btn { margin-top: 10px; }
  .home-page .bg-top { min-height: 560px; }
  .home-page .bg-top .text-box h1 { font-size: 36px; }
  .page-hero { padding: 52px 0 88px; }
  .feature-grid, .team-grid, .news-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 32px 22px; }
  .footer { padding-bottom: 48px; }
  .footer .text-center { padding-top: 64px; }
  .footer .divider { margin-top: 48px; }
  .footer .bottom-box { display: flex; align-items: center; flex-direction: column; text-align: center; }
  .footer .bottom-box .left-section { flex-direction: column; gap: 12px; margin-bottom: 28px; }
  .footer .bottom-box .copy { margin-left: 0; }
  .footer .right-section { align-items: center; flex-direction: column; }
}
