:root { font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; color: #33383d; background: #515355; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #515355 url('../images/original-bg.webp') 50% 0 no-repeat; }
img { max-width: 100%; }
a { color: #a50417; text-underline-offset: .18em; }
a:hover { color: #740412; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #a50417; outline-offset: 3px; }
.site-shell { display: flex; flex-direction: column; width: min(980px, 100%); min-height: calc(100vh - 12px); margin: 12px auto 0; background: #fff; background-clip: padding-box; border: 10px solid rgba(255, 255, 255, .52); box-shadow: 0 0 24px rgba(0, 0, 0, .2); }
.container { width: 100%; margin-inline: auto; }
.site-header { position: relative; z-index: 2; background: #e2e2e2 url('../images/original-header-bg.webp') 50% 0 repeat-x; }
.nav-wrap { display: flex; align-items: center; justify-content: flex-start; gap: 35px; min-height: 64px; padding: 0 18px; }
.brand { display: flex; flex: 0 0 200px; align-items: center; text-decoration: none; }
.brand img { display: block; width: 200px; height: auto; }
.primary-nav { display: flex; align-self: stretch; align-items: stretch; gap: 0; margin: 0; }
.primary-nav a { position: relative; display: flex; align-items: center; padding: 0 17px; color: #9b0618; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { background: #f0f0f0; color: #78000d; }
.primary-nav a[aria-current="page"] { z-index: 1; align-self: flex-start; height: 60px; margin-top: -8px; padding-top: 8px; background: linear-gradient(#b50a20 0, #a50417 18%, #960315 100%); color: #fff; clip-path: polygon(0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .18)); }
.menu-toggle { display: none; margin: 0; width: 44px; height: 44px; padding: 10px; border: 1px solid #d0d0d0; border-radius: 3px; background: #fff; color: #a50417; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 1.25rem; height: 2px; background: currentColor; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -.4rem; } .menu-icon::after { top: .4rem; }
.ribbon { position: relative; width: calc(100% + 20px); margin: 0 -10px; padding: 15px 10px 35px; background: #a50417 url('../images/original-showcase-bg.webp') 50% 0 repeat-y; }
.ribbon::before { position: absolute; top: 0; right: 0; left: 0; height: 10px; background: linear-gradient(to bottom, rgba(62, 0, 12, .24), transparent); content: ""; pointer-events: none; }
.ribbon img { display: block; width: 100%; height: 221px; object-fit: cover; object-position: center; }
.showcase-divider { position: relative; flex: none; height: 20px; margin-top: -20px; background: #fff url('../images/original-body-bg.webp') 50% 0 repeat-x; }
main.container { flex: 1; padding: 26px 20px 56px; }
.page-content { width: 100%; margin: 0; }
.page-content h1, .page-content h2, .page-content h3 { color: #343b40; line-height: 1.22; }
.page-content h1 { margin: 0 0 14px; font-size: clamp(27px, 3vw, 32px); font-weight: 700; letter-spacing: -.015em; }
.page-content h2 { margin: 32px 0 12px; font-size: clamp(21px, 2.3vw, 25px); font-weight: 700; }
.page-content h3 { margin: 24px 0 10px; font-size: 19px; }
.page-content p { margin: 0 0 18px; line-height: 1.65; }
.page-content ul, .page-content ol { margin: 0 0 22px; padding-left: 23px; }
.page-content li { margin: 5px 0; }
.breadcrumbs { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px; margin: -2px 0 26px; padding: 0 0 12px; border-bottom: 1px solid #e8e8e8; color: #777; font-size: 13px; line-height: 1.35; }
.breadcrumbs a { color: #666; text-decoration: none; }
.breadcrumbs a:hover { color: #a50417; text-decoration: underline; }
.lead { max-width: 760px; color: #555f65; font-size: 17px; line-height: 1.6; }
.eyebrow { color: #a50417; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-copy { padding: 12px 0 10px; }
.hero-copy h1 { max-width: 740px; margin: 8px 0 15px; font-size: clamp(30px, 3.5vw, 38px); line-height: 1.17; }
.feature-grid, .project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; margin: 20px 0 38px; }
.feature-card, .project-card { display: flex; min-width: 0; min-height: 220px; flex-direction: column; align-items: flex-start; padding: 18px; border: 1px solid #e1e1e1; border-radius: 3px; background: #fff; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.feature-card:hover, .project-card:hover { transform: translateY(-2px); border-color: #c7b0b3; box-shadow: 0 5px 18px rgba(0,0,0,.06); }
.feature-card img, .project-card img { width: auto; max-width: min(100%, 190px); height: 78px; object-fit: contain; object-position: left center; margin-bottom: 1rem; }
.feature-card h2, .project-card h2 { margin: 2px 0 8px; font-size: 19px; color: #33383d; }
.feature-card p, .project-card p { margin: 0; color: #596168; line-height: 1.55; }
.arrow-link { margin-top: auto; padding-top: 16px; font-weight: 700; color: #a50417; }
.split-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .65fr); align-items: center; gap: 30px; margin: 24px 0; padding: 24px; border: 1px solid #ededed; border-radius: 3px; background: #fafafa; }
.contact-panel { margin: 24px 0; padding: 24px; border: 1px solid #ededed; border-radius: 3px; background: #fafafa; }
.contact-panel h2 { margin: 4px 0 12px; }
.contact-panel p:last-child { margin-bottom: 0; }
.split-feature img { max-height: 230px; max-width: 100%; object-fit: contain; justify-self: center; }
.split-feature h2 { margin: 0 0 .75rem; }
.product-versions { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 1.2rem; margin: 1.5rem 0; }
.product-versions figure { margin: 0; padding: 16px; border: 1px solid #e1e1e1; border-radius: 3px; background: #fff; text-align: center; }
.product-versions img { max-width: 100%; max-height: 240px; object-fit: contain; }
.product-versions figcaption { margin-top: .8rem; color: #536770; font-size: .9rem; }
.project-list { padding-left: 1.2rem; }
.project-list li { margin-block: .8rem; }
.project-list a { font-weight: 650; }
.notice { border-left: 3px solid #a50417; padding: 12px 15px; background: #f7f7f7; color: #566a73; }
details { margin: 14px 0; padding: 12px 15px; border: 1px solid #e4e4e4; border-radius: 3px; }
summary { color: #a50417; font-weight: 700; cursor: pointer; }
details > :last-child { margin-bottom: 0; }
.site-footer { width: 100%; margin: auto 0 0; background: #e9e9e9; border-top: 1px solid #cecece; color: #606060; }
.footer-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 28px; font-size: 12px; line-height: 1.4; }
.footer-inner p { margin: 0; color: #656565; }
.footer-inner small { color: #656565; font-size: 12px; white-space: nowrap; }
.footer-brand { color: #a50417; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.skip-link, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link:focus { z-index: 10; top: .5rem; left: .5rem; width: auto; height: auto; clip: auto; padding: .7rem 1rem; background: #fff; }
@media (max-width: 760px) {
  .nav-wrap { min-height: 64px; justify-content: space-between; padding-inline: 12px; }
  .brand { flex-basis: 160px; }
  .brand img { width: 160px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .primary-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 9px 12px; background: #fff; border-bottom: 3px solid #a50417; box-shadow: 0 8px 15px rgba(0,0,0,.1); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { min-height: 44px; border-radius: 2px; }
  .primary-nav a[aria-current="page"] { align-self: stretch; height: auto; margin-top: 0; padding-top: 0; background: #a50417; clip-path: none; filter: none; }
  .feature-grid, .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { min-height: unset; align-items: flex-start; flex-direction: column; gap: 5px; padding: 18px; }
}
@media (max-width: 520px) {
  .site-shell { min-height: 100vh; margin-top: 0; border: 0; }
  .nav-wrap { width: 100%; }
  main.container { padding: 20px 16px 40px; }
  .breadcrumbs { margin-bottom: 21px; }
  .hero-copy { padding-top: 4px; }
  .hero-copy h1 { font-size: 29px; }
  .lead { font-size: 16px; }
  .feature-grid, .project-grid { grid-template-columns: 1fr; }
  .feature-card, .project-card { min-height: 180px; }
  .split-feature { grid-template-columns: 1fr; gap: 1rem; }
  .split-feature img { max-height: 180px; }
  .ribbon { width: 100%; margin: 0; padding: 12px 0 24px; }
  .ribbon::before { display: none; }
  .showcase-divider { height: 12px; margin-top: -12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
