/* Layout aligned with the supplied M7 reference. Original components are reused. */
:root { --paper: #fff; }
html { scroll-padding-top: 24px; }
.container { width: min(1320px, 85%); }
header { height: 88px; background: #fff; }
.brand-logo { width: 60px; height: 60px; }
.brand > span { font-size: 12px; letter-spacing: 2px; }
.button { border-radius: 6px; padding: 16px 26px; gap: 24px; }
.small { padding: 12px 21px; }
.hero { min-height: 0; height: clamp(470px, 36.2vw, 640px); }
.hero-art { inset: 0; opacity: 1; background: url('hero-laptop-m7.png') center / cover no-repeat; }
.hero-content { height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 20px; padding-bottom: 20px; }
.hero .eyebrow { font-size: 12px; letter-spacing: 3px; margin-bottom: 12px; }
.hero h1 { font-size: clamp(48px, 4.85vw, 76px); line-height: 1.04; letter-spacing: -3px; font-weight: 650; margin: 0 0 24px; }
.hero-bottom p { font-size: 20px; line-height: 1.45; color: #eee; margin-bottom: 28px; }
.hero-motto, .hero-values { position: absolute; right: 3%; font-size: 10px; letter-spacing: 2px; line-height: 1.8; color: #eee; margin: 0; }
.hero-motto { top: 9%; border-left: 1px solid #ddd; padding-left: 22px; }
.hero-values { bottom: 7%; }
.section { padding: 52px 0; }
.services .section-heading { gap: 30px; margin-bottom: 36px; }
.section-heading .eyebrow, .academy-heading .eyebrow { color: #b40817; margin-bottom: 8px; }
.services h2 { font-size: clamp(32px, 3.4vw, 54px); letter-spacing: -2px; }
.services .section-heading > p { font-size: 16px; flex-shrink: 0; line-height: 1.45; }
.service-grid { gap: 22px; }
.cover-card { aspect-ratio: 4 / 5; min-height: 0; border-radius: 9px; }
.cover-content { padding: 24px; }
.cover-index { top: 22px; left: 24px; }
.cover-card h3 { font-size: clamp(24px, 2.15vw, 34px); line-height: 1.12; font-weight: 600; margin-bottom: 12px; }
.cover-card p { font-size: 16px; line-height: 1.35; margin-bottom: 16px; max-width: none; }
.cover-card .card-category { margin-bottom: 12px; font-size: 10px; }
.cover-card .card-bottom { font-size: 13px; padding-top: 14px; }
.library { background: #efefef; border: 0; }
.academy-heading { margin-bottom: 32px; }
.academy-heading h2 { font-size: clamp(30px, 3.05vw, 48px); line-height: 1.2; letter-spacing: -1.7px; }
.academy-heading > p:last-child { font-size: 21px; color: #555; margin: 10px 0 0; }
.academy-materials { scroll-margin-top: 10px; }
.library-grid { gap: 24px; }
.library-card { border: 0; border-radius: 7px; }
.library-image { aspect-ratio: 6 / 5; }
.library-card-content { padding: 20px 23px 24px; }
.library-card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.55px; margin: 0 0 5px; }
.library-type { color: #666; font-weight: 400; font-size: 14px; letter-spacing: 0; margin-bottom: 10px; }
.library-card p { font-size: 16px; line-height: 1.35; margin-bottom: 14px; }
.library-badge { position: static; align-self: flex-start; margin-top: auto; border-radius: 30px; background: #e9e9e9; color: #181818; font-size: 13px; letter-spacing: 0; padding: 6px 17px; }
.academy-cta { display: flex; justify-content: center; margin-top: 30px; }
.academy-cta .button { padding: 16px 30px; }
footer { padding: 36px 0 30px; background: #080808; }
.footer-inner nav { font-size: 13px; gap: 34px; }
.footer-inner > a:last-child { font-size: 13px; border-left: 1px solid #666; padding-left: 28px; }
.footer-bottom { border: 0; margin-top: 26px; padding-top: 0; color: #bcbcbc; font-size: 12px; }
.footer-motto { font-size: 10px; letter-spacing: 2px; }
@media (max-width: 1100px) {
  header { height: 72px; }
  .brand-logo { width: 50px; height: 50px; }
  .brand > span { display: inline; font-size: 9px; }
  .header-inner { gap: 18px; }
  .header-inner nav { gap: 22px; font-size: 12px; }
  .header-inner nav a { font-size: 12px; }
  .header-inner .small { font-size: 12px; padding: 12px 18px; }
  .hero { height: 36.2vw; min-height: 360px; }
  .hero h1 { font-size: 48px; letter-spacing: -2px; margin-bottom: 18px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 2px; }
  .hero-bottom p { font-size: 16px; margin-bottom: 24px; }
  .hero-bottom .button { font-size: 13px; padding: 13px 20px; }
  .hero-motto, .hero-values { font-size: 8px; letter-spacing: 1.4px; }
  .section { padding: 40px 0; }
  .services h2 { font-size: 36px; letter-spacing: -1.5px; }
  .services .section-heading { gap: 20px; margin-bottom: 28px; }
  .services .section-heading > p { font-size: 12px; }
  .eyebrow { font-size: 10px; }
  .service-grid, .library-grid { gap: 16px; }
  .cover-content { padding: 18px; }
  .cover-card h3 { font-size: 25px; }
  .cover-card p { font-size: 12px; margin-bottom: 10px; }
  .cover-card .card-category { font-size: 8px; margin-bottom: 8px; }
  .cover-card .card-bottom { font-size: 10px; padding-top: 10px; }
  .cover-card .card-bottom span:last-child { width: 26px; height: 26px; }
  .cover-index { top: 17px; left: 18px; font-size: 9px; }
  .academy-heading h2 { font-size: 32px; letter-spacing: -1.2px; }
  .academy-heading > p:last-child { font-size: 17px; }
  .library-card-content { padding: 15px 17px 18px; }
  .library-card h3 { font-size: 17px; }
  .library-type { font-size: 12px; }
  .library-card p { font-size: 13px; }
  .library-badge { font-size: 11px; padding: 5px 14px; }
  .footer-inner nav { gap: 22px; font-size: 11px; }
  .footer-inner > a:last-child { font-size: 11px; padding-left: 15px; }
  .footer-motto { font-size: 8px; letter-spacing: 1.3px; }
}
@media (max-width: 850px) and (min-width: 761px) {
  .brand > span { display: none; }
  .services .section-heading { display: block; }
  .services .section-heading > p { margin-top: 12px; }
  .cover-content { padding: 15px; }
  .cover-card h3 { font-size: 23px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  header { height: 76px; }
  .brand > span { display: none; }
  .header-inner { gap: 12px; }
  .header-inner .small { font-size: 12px; padding: 11px; gap: 10px; }
  .hero { height: auto; min-height: 520px; }
  .hero-art { background-position: 61% center; opacity: .6; }
  .hero-content { min-height: 520px; padding: 55px 0; }
  .hero h1 { font-size: clamp(40px, 7.5vw, 56px); max-width: 530px; letter-spacing: -2px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.6px; }
  .hero-bottom p { max-width: 330px; font-size: 16px; }
  .hero-motto, .hero-values { display: none; }
  .section { padding: 42px 0; }
  .services h2 { font-size: 34px; }
  .services .section-heading > p { font-size: 15px; margin-top: 16px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-card { aspect-ratio: auto; min-height: 390px; }
  .cover-card h3 { font-size: 27px; }
  .cover-card p { font-size: 14px; }
  .cover-card .card-category { font-size: 9px; }
  .library-grid { grid-template-columns: 1fr; max-width: 510px; gap: 24px; }
  .academy-heading h2 { font-size: 32px; }
  .academy-heading > p:last-child { font-size: 16px; }
  .library-image { aspect-ratio: 4 / 3; }
  .library-card-content { padding: 22px; }
  .library-card h3 { font-size: 22px; }
  .library-card p { font-size: 16px; }
  .library-type { font-size: 14px; }
  .library-badge { font-size: 13px; }
  .academy-cta .button { width: 100%; max-width: 330px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner nav { display: flex; flex-wrap: wrap; width: 100%; order: 3; gap: 14px 25px; font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 14px; font-size: 11px; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; gap: 22px; }
  .cover-card { aspect-ratio: 4 / 5; min-height: 0; }
  .cover-content { padding: 24px; }
  .cover-card h3 { font-size: 31px; }
  .cover-card p { font-size: 15px; }
  .cover-card .card-category { font-size: 10px; }
  .cover-card .card-bottom { font-size: 12px; padding-top: 13px; }
  .cover-index { left: 24px; top: 22px; }
}
@media (max-width: 380px) {
  .header-inner { gap: 8px; }
  .brand-logo { width: 44px; height: 44px; }
  .header-inner .small { padding: 10px 8px; gap: 6px; font-size: 11px; }
  .library-mobile-link { font-size: 12px; }
  .hero .eyebrow { letter-spacing: 1px; }
  .hero h1 { font-size: 38px; }
  .cover-content { padding: 20px; }
  .cover-card h3 { font-size: 27px; }
  .cover-card p { font-size: 13px; }
}
