@import './program-covers.css?v=3';

@font-face {
  font-family: Roboto;
  src: url('/assets/sager_academy/fonts/Roboto.woff2');
}
@font-face {
  font-family: Barlow;
  src: url('/assets/sager_academy/fonts/BarlowCondensed-600.woff2');
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f7f8f7;
  color: #172127;
  font-family: Roboto, Arial, sans-serif;
}
body > main {
  flex: 1;
}
a {
  color: inherit;
  text-decoration: none;
}
.public-header {
  height: 76px;
  background: #171b20;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 24px);
  gap: 20px;
}
.public-logo {
  width: 170px;
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.nav a:hover {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d90000;
  color: white;
  padding: 13px 22px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 14px;
}
.button:hover {
  background: #b90000;
  text-decoration: none !important;
}
.hero {
  min-height: 490px;
  position: relative;
  display: flex;
  align-items: center;
  background: #111b20;
  color: #fff;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 20, 24, 0.97) 0%,
    rgba(13, 20, 24, 0.78) 40%,
    rgba(13, 20, 24, 0.24) 100%
  ), url('/assets/sager_academy/images/academy-training.jpg') center / cover no-repeat;
}
[dir="rtl"] .hero:before {
  transform: scaleX(-1);
}
.hero-copy {
  position: relative;
  width: min(1280px, 90%);
  margin: auto;
  padding: 65px 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aab8be;
  font-weight: 600;
}
.hero h1 {
  font-family: Barlow, Arial, sans-serif;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 1.04;
  margin: 18px 0;
  max-width: 630px;
}
.accent {
  background: linear-gradient(180deg, transparent 60%, rgb(224 0 0 / 55%) 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero p {
  font-size: 17px;
  line-height: 1.6;
  color: #d4dfe1;
  max-width: 510px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  font-size: 14px;
}
.hero-actions a:not(.button) {
  border-bottom: 1px solid #aab8be;
  padding-bottom: 3px;
}
.content {
  width: min(1280px, 90%);
  margin: 0 auto;
  padding: 68px 0 80px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-head h2,
.detail h1,
.detail h2 {
  font-family: Barlow, Arial, sans-serif;
  margin: 0;
  color: #172127;
}
.section-head h2 {
  font-size: 36px;
}
.section-head p {
  color: #647278;
  margin: 8px 0 0;
  font-size: 14px;
}
.courses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.catalog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid #dbe0df;
  color: #647278;
  font-size: 14px;
  line-height: 1.6;
}
.course-card {
  background: #fff;
  border: 1px solid #dbe0df;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.course-card:hover {
  transform: translateY(-3px);
  border-color: #a6b4b1;
}
.course-card:focus-visible,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid #df292d;
  outline-offset: 3px;
}
.course-art {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #d8e4dc;
}
.card-body {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.category {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 10px;
  color: #53766c;
  font-weight: 700;
}
.course-card h3 {
  font-family: Barlow, Arial, sans-serif;
  font-size: 21px;
  line-height: 1.2;
  margin: 8px 0;
}
.course-card p {
  font-size: 13px;
  color: #617078;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-link {
  font-size: 12px;
  font-weight: 600;
  margin-top: auto;
  padding-top: 20px;
  color: #a31c20;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  flex-shrink: 0;
  background: #171b20;
  color: #bdc6c7;
  padding: 24px max(5%, calc((100% - 1280px) / 2));
  font-size: 13px;
  line-height: 1.5;
}
.detail {
  width: min(1100px, 90%);
  margin: auto;
  padding: 42px 0 90px;
}
.back {
  font-size: 13px;
  color: #65767b;
}
.detail-hero {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 400px);
  gap: 50px;
  align-items: center;
  margin: 32px 0 55px;
}
.detail-art {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 3px;
  background: #d8e4dc;
}
.detail h1 {
  font-size: 46px;
  line-height: 1.05;
  margin: 12px 0;
}
.detail p {
  color: #596b71;
  line-height: 1.7;
  font-size: 15px;
}
.detail .button {
  margin-top: 12px;
}
.details-content {
  border-top: 1px solid #d4ddda;
  padding-top: 35px;
  max-width: 820px;
}
.detail h2 {
  font-size: 28px;
}
.outline {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid #d9e0dd;
}
.outline li {
  padding: 15px 4px;
  border-bottom: 1px solid #d9e0dd;
  color: #344a4c;
  font-size: 14px;
}
.outline li span {
  color: #799188;
  display: inline-block;
  width: 35px;
  font-size: 12px;
}
.hint {
  font-size: 13px !important;
  margin-top: 14px;
}
.empty {
  padding: 60px 0;
}
.empty h1 {
  font-size: 38px;
}
@media (max-width: 700px) {
  .public-header {
    height: 66px;
    padding: 0 5%;
    gap: 12px;
  }
  .public-logo {
    width: clamp(112px, 28vw, 145px);
  }
  .nav {
    gap: 14px;
  }
  .nav .button {
    padding: 12px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
  .nav .nav-courses {
    display: none;
  }
  .hero-copy {
    padding: 32px 0 44px;
  }
  .hero h1 {
    font-size: clamp(38px, 10vw, 48px);
  }
  .hero-actions {
    gap: 16px 24px;
  }
  .content {
    padding: 48px 0 60px;
  }
  .detail-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }
  .detail h1 {
    font-size: 38px;
  }
  .courses {
    grid-template-columns: 1fr;
  }
}

.skip-link { position: absolute; inset: 8px auto auto 8px; z-index: 10; padding: 12px; background: #fff; color: #172127; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.content .eyebrow, .about-band .eyebrow { color: #65767b; }
.why-band { background: #fff; border-bottom: 1px solid #dbe0df; }
.why-grid, .about-layout { width: min(1280px, 90%); margin: auto; display: grid; gap: 40px; }
.why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 38px 0; }
.why-number { display: block; color: #a31c20; font-size: 12px; margin-bottom: 10px; }
.why-grid h2 { font-family: Barlow, Arial, sans-serif; font-size: 24px; margin: 0 0 8px; }
.why-grid p { font-size: 14px; line-height: 1.6; color: #617078; margin: 0; max-width: 340px; }
.program-section { padding-bottom: 0; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.text-link { font-size: 14px; font-weight: 600; color: #a31c20; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-head > .text-link { flex-shrink: 0; }
.about-band { background: #eaf0ec; }
.about-layout { grid-template-columns: 1fr 1fr; padding: 56px 0; gap: 60px; align-items: start; }
.about-layout h2 { font-family: Barlow, Arial, sans-serif; font-size: 36px; margin: 10px 0 0; line-height: 1.15; }
.about-layout p { font-size: 15px; line-height: 1.7; color: #405558; margin: 0; }
.about-layout .about-contact { margin-top: 24px; }
.about-contact a { display: inline-block; margin-top: 6px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a:hover { text-decoration: underline; }
.detail-header { background: #fff; color: #172127; border-bottom: 1px solid #dbe0df; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 20px 0; margin: -24px 0 38px; border-top: 1px solid #dbe0df; border-bottom: 1px solid #dbe0df; color: #405558; font-size: 14px; }
.course-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.course-detail-layout .details-content { padding-top: 0; border: 0; min-width: 0; }
.completion-note { margin-top: 30px; border-left: 2px solid #17814d; padding-left: 20px; }
.detail h3 { font-family: Barlow, Arial, sans-serif; font-size: 22px; margin: 0; }
.completion-note p { margin-bottom: 0; }
.outline-section { margin-top: 22px; }
.outline-section h3 { font-family: Roboto, Arial, sans-serif; font-size: 14px; line-height: 1.5; }
.outline { margin-top: 14px; }
.program-course-list { display: grid; gap: 16px; }
.program-course-row { display: flex; gap: 20px; align-items: center; border: 1px solid #dbe0df; background: #fff; padding: 20px; }
.program-course-row:hover { border-color: #a6b4b1; }
.program-course-row img { width: 130px; aspect-ratio: 16/9; object-fit: cover; }
.program-course-row > div { flex: 1; min-width: 0; }
.program-course-row h3 { margin-top: 6px; }
.program-course-row p { margin: 6px 0 0; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.step-number { font-size: 13px; color: #65767b; }
.row-arrow { color: #a31c20; }
@media (max-width: 900px) {
  .why-grid { gap: 24px; }
  .course-detail-layout { gap: 32px; }
}
@media (max-width: 700px) {
  .why-grid, .program-grid, .about-layout, .course-detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .why-grid { padding: 30px 0; }
  .why-grid > div { position: relative; padding-left: 36px; }
  .why-number { position: absolute; left: 0; top: 6px; }
  .why-grid p { max-width: none; }
  .hero:before {
    background-image: linear-gradient(90deg, rgba(13,20,24,.94), rgba(13,20,24,.68)),
      url('/assets/sager_academy/images/academy-training.jpg');
    background-position: center, 60% center;
  }
  .section-head { align-items: start; flex-direction: column; gap: 16px; }
  .program-section { padding-bottom: 0; }
  .about-layout { padding: 40px 0; }
  .detail-facts { margin-top: 0; }
  .program-course-row { padding: 16px; gap: 12px; flex-wrap: wrap; }
  .program-course-row img { width: 90px; }
  .program-course-row > div { flex-basis: calc(100% - 36px); }
  .row-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .course-card {
    transition: none;
  }
}

/* The desktop header overlays the hero; the wrapping phone header sits in flow. */
.landing-page .public-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  background: transparent;
}
.landing-page .hero {
  min-height: 566px;
  padding-top: 76px;
}
@media (max-width: 700px), (pointer: coarse) {
  .landing-page .public-header a,
  .landing-page .hero-actions a,
  .landing-page .section-head .text-link,
  .landing-page .footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (max-width: 700px) {
  .landing-page .public-header {
    position: static;
    background: #171b20;
  }
  .landing-page .hero {
    min-height: auto;
    padding-top: 0;
  }
  .hero-actions a:not(.button) {
    border: 0;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/* A quiet, factual summary and a single row of reasons to learn. */
.catalog-stats { background:#fff; border-bottom:1px solid #dbe0df; }
.catalog-stats dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); max-width:1280px; width:90%; margin:0 auto; }
.catalog-stats dl > div { display:grid; grid-template-rows:auto 1fr; justify-items:center; text-align:center; padding:30px 12px; border-inline-end:1px solid #e3e7e5; }
.catalog-stats dl > div:last-child { border:0; }
.catalog-stats dd { grid-row:1; direction:ltr; unicode-bidi:isolate; margin:0 0 4px; font-size:34px; font-weight:600; color:#d92d32; }
.catalog-stats dt { font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:#718084; }
.why-section { padding-top:0; }
.why-section .eyebrow { color:#c52c31; }
.reason-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.reason-grid article { border:1px solid #dbe0df; border-radius:12px; padding:26px; }
.reason-icon { display:flex; align-items:center; justify-content:center; width:44px; height:44px; color:#c52c31; background:#fceceb; border-radius:10px; margin-bottom:20px; }
.reason-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.reason-grid h3 { font-size:17px; margin:0 0 10px; }
.reason-grid p { color:#647278; font-size:14px; line-height:1.65; margin:0; }
.info-page { width:min(760px,90%); margin:0 auto; padding:48px 0 90px; }
.info-page > .eyebrow { color:#c52c31; }
.info-page h1 { font-family:Barlow,Arial,sans-serif; font-size:clamp(40px,5vw,60px); line-height:1.1; margin:16px 0 24px; }
.info-page p { font-size:16px; color:#566970; line-height:1.8; }
.info-page .info-lead { font-size:21px; color:#172127; line-height:1.5; }
.info-actions { display:flex; flex-wrap:wrap; gap:24px; align-items:center; margin-top:32px; }
.contact-card { margin:32px 0; border:1px solid #dbe0df; border-radius:10px; background:#fff; padding:26px; }
.contact-card > span { display:block; color:#647278; font-size:13px; margin-bottom:10px; }
.contact-card > a { font-size:clamp(18px,3vw,24px); color:#b92329; font-weight:600; overflow-wrap:anywhere; }
.contact-card p { font-size:14px; margin-bottom:0; }
@media(max-width:700px) {
 .catalog-stats dl > div { padding:24px 4px; }
 .catalog-stats dd { font-size:28px; }
 .catalog-stats dt { font-size:11px; letter-spacing:0; }
 .reason-grid { grid-template-columns:1fr; gap:16px; }
 .reason-grid article { padding:22px; }
 .info-page { padding-top:32px; }
}

.why-section { padding-top:54px; padding-bottom:0; }
.public-nav-link { color:inherit; font-size:13px; }
@media(max-width:700px) {
 .public-header { gap:12px; padding-inline:18px; flex-wrap:wrap; height:auto; min-height:76px; padding-block:16px; }
 .public-header .nav { gap:16px; flex-wrap:wrap; justify-content:flex-end; }
 .public-header .public-logo { width:125px; }
 .public-header .button { font-size:12px; padding:11px 13px; }
 .public-header .nav .public-nav-link { font-size:12px; }
 .why-section { padding-top:36px; }
}
@media (max-width: 480px) {
  .landing-page .public-header { row-gap: 0; padding-block: 6px; }
  .public-header .nav { flex: 1 1 100%; justify-content: flex-start; }
  .public-header .nav .button { margin-inline-start: auto; }
}

.about-principles { margin-top:42px; padding-top:34px; border-top:1px solid #dbe0df; }
.about-principles h2 { font-family:Barlow,Arial,sans-serif; font-size:32px; margin:10px 0 28px; }
.about-principles-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.about-principles-grid .reason-icon { width:38px; height:38px; margin-bottom:16px; }
.about-principles h3 { font-size:16px; margin:0 0 8px; }
.about-principles p { font-size:14px; line-height:1.65; margin:0; }
@media(max-width:700px) { .about-principles-grid { grid-template-columns:1fr; gap:26px; } }

.info-page.about-wide { width:min(1120px,90%); padding-top:56px; }
.academy-about-intro { display:grid; grid-template-columns:1.25fr 1fr; gap:64px; align-items:start; }
.academy-about-intro > div > .eyebrow,.academy-regional-vision > .eyebrow { color:#c52c31; }
.academy-about-intro h1 { font-size:clamp(40px,4.4vw,58px); }
.academy-regional-vision { padding:24px; border:1px solid #dbe0df; border-radius:12px; background:#fff; }
.academy-regional-vision h2 { font-family:Barlow,Arial,sans-serif; font-size:29px; margin:10px 0 16px; line-height:1.15; }
.academy-regional-vision img { display:block; width:100%; height:auto; border-radius:8px; }
.map-legend { display:flex; flex-wrap:wrap; gap:12px 20px; margin-top:14px; color:#566970; font-size:11px; }
.map-legend > span { display:inline-flex; align-items:center; gap:6px; }
.map-legend i { display:block; width:7px; height:7px; border-radius:50%; border:1.5px solid #c72c34; }
.map-current { background:#c72c34; }
@media(max-width:850px) { .academy-about-intro { grid-template-columns:1fr; gap:28px; } .academy-regional-vision img { max-height:310px; object-fit:contain; } .info-page.about-wide { width:min(760px,90%); padding-top:32px; } }

@media(min-width:851px) {
 .academy-about-intro { align-items:stretch; }
 .academy-regional-vision { display:flex; flex-direction:column; }
 .academy-regional-vision img { height:0; min-height:220px; flex:1; object-fit:cover; }
}
