:root {
  --ink: #111827;
  --muted: #667085;
  --line: #dde2e7;
  --soft: #f5f7f8;
  --paper: #ffffff;
  --accent: #c61f2b;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-row,
.footer-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
}
.brand-text { letter-spacing: -.01em; }
.header-help { font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }

.hero { padding: 86px 0 72px; background: var(--soft); }
.hero-inner { max-width: 900px; margin-inline: auto; text-align: center; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 0; font-size: clamp(38px, 6vw, 68px); line-height: 1.02; letter-spacing: -.045em; }
.hero-copy { max-width: 710px; margin: 24px auto 0; color: var(--muted); font-size: 19px; }

.section-nav { border-bottom: 1px solid var(--line); background: #fff; }
.section-nav-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.section-nav a {
  min-height: 74px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-nav a:nth-child(5n) { border-right: 0; }
.section-nav a:nth-last-child(-n + 5) { border-bottom: 0; }
.section-nav a:hover { background: var(--soft); }
.section-nav span { color: var(--accent); font-size: 12px; font-weight: 800; }

.library { padding-top: 12px; }
.asset-section { padding: 88px 0 96px; border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
.asset-section:last-child { border-bottom: 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-number { margin: 0 0 8px; color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .12em; }
h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.035em; line-height: 1.05; }
.section-heading p:last-child { margin: 12px 0 0; color: var(--muted); }
h3 { margin: 52px 0 22px; font-size: 13px; text-transform: uppercase; letter-spacing: .13em; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #2b3340; }

.image-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.image-card { border: 1px solid var(--line); background: #fff; }
.image-preview { display: block; background: var(--soft); aspect-ratio: 3/2; overflow: hidden; }
.image-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.image-preview:hover img { transform: scale(1.018); }
.image-card-body { padding: 16px; display: flex; flex-direction: column; min-height: 132px; justify-content: space-between; gap: 16px; }
h4 { margin: 0; font-size: 15px; line-height: 1.35; }
.image-card-body p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.text-link { width: fit-content; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 800; }

.document-list { border-top: 1px solid var(--line); }
.document-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 80px;
  padding: 13px 2px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.document-row:hover { background: var(--soft); padding-left: 12px; padding-right: 12px; }
.pdf-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--soft); color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .05em; }
.document-row strong { display: block; font-size: 15px; }
.document-row small { display: block; margin-top: 2px; color: var(--muted); }
.document-download { font-size: 13px; font-weight: 800; }
.back-top { display: inline-block; margin-top: 34px; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.back-top:hover { color: var(--ink); }

.site-footer { margin-top: 20px; background: var(--ink); color: #fff; }
.site-footer .footer-row { min-height: 130px; }
.site-footer p { margin: 0; font-size: 14px; }
.site-footer span { color: #aeb6c1; }
.site-footer a { color: #fff; }

@media (max-width: 920px) {
  .section-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .section-nav a:nth-child(5n) { border-right: 1px solid var(--line); }
  .section-nav a:nth-child(even) { border-right: 0; }
  .section-nav a:nth-last-child(-n + 5) { border-bottom: 1px solid var(--line); }
  .section-nav a:nth-last-child(-n + 2) { border-bottom: 0; }
  .image-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-row { min-height: 64px; }
  .brand-text { font-size: 14px; }
  .header-help { display: none; }
  .hero { padding: 58px 0 48px; }
  .hero-copy { font-size: 17px; }
  .section-nav-grid { grid-template-columns: 1fr; }
  .section-nav a { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; min-height: 58px; }
  .section-nav a:last-child { border-bottom: 0 !important; }
  .asset-section { padding: 64px 0 72px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 38px; }
  .button { width: 100%; }
  .image-grid { grid-template-columns: 1fr; }
  .image-card-body { min-height: 118px; }
  .document-row { grid-template-columns: auto 1fr; }
  .document-download { grid-column: 2; }
  .footer-row { align-items: flex-start; flex-direction: column; justify-content: center; }
}


/* Floating return-to-top control */
.to-top-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  min-width: 74px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
}
.to-top-button:hover { background: #2b3340; }
.to-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .to-top-button {
    right: 14px;
    bottom: 14px;
    min-width: 66px;
    min-height: 42px;
  }
}
