/* ============================================================
   JDMS — Job Description Management Software — page styles
   Built on the HRIZONS design tokens (tokens.css).
   ============================================================ */

body { background: var(--hrz-paper); overflow-x: hidden; }
a { color: var(--hrz-orange); text-decoration: none; }
a:hover { color: var(--hrz-orange-deep); }
input, select, textarea { font-family: var(--hrz-font-body); }

.page { font-family: var(--hrz-font-body); color: var(--hrz-graphite); }

.wrap { max-width: var(--hrz-container); margin: 0 auto; padding: 0 var(--hrz-gutter); }

/* ---------- Reveal-on-scroll base state ---------- */
.reveal { opacity: 0; transform: translateY(28px); will-change: transform, opacity; }
.reveal-scale { opacity: 0; transform: scale(.94); will-change: transform, opacity; }
.no-gsap .reveal,
.no-gsap .reveal-scale { opacity: 1 !important; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hrz-mist);
  transition: box-shadow var(--hrz-dur-base) var(--hrz-ease-out);
}
.site-header.is-scrolled { box-shadow: 0 1px 2px rgba(15,27,45,.06), 0 8px 24px rgba(15,27,45,.06); }
.site-header__inner { padding: 14px var(--hrz-gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo { width: 150px; height: auto; display: block; }
.site-header__nav { display: flex; align-items: center; gap: 28px; }
.site-header__link { font-size: 14px; color: var(--hrz-slate); letter-spacing: .02em; }
.site-header__link:hover { color: var(--hrz-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--hrz-font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 17px 30px; border-radius: var(--hrz-radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: background var(--hrz-dur-fast) var(--hrz-ease-out),
              color var(--hrz-dur-fast) var(--hrz-ease-out),
              border-color var(--hrz-dur-fast) var(--hrz-ease-out),
              transform var(--hrz-dur-fast) var(--hrz-ease-out);
}
.btn--sm { padding: 13px 22px; font-size: 14px; }
.btn--primary { background: var(--hrz-orange); color: var(--hrz-paper); }
.btn--primary:hover { background: var(--hrz-orange-deep); color: var(--hrz-paper); }
.btn--ghost { background: transparent; color: var(--hrz-ink); border-color: var(--hrz-ink); }
.btn--ghost:hover { background: var(--hrz-ink); color: var(--hrz-paper); }
.btn--ghost-invert { background: transparent; color: var(--hrz-paper); border-color: var(--hrz-paper); }
.btn--ghost-invert:hover { background: var(--hrz-paper); color: var(--hrz-navy); }
.btn--ink { background: var(--hrz-ink); color: var(--hrz-paper); border: 0; }
.btn--ink:hover { background: var(--hrz-graphite); color: var(--hrz-paper); }
.btn--full { width: 100%; justify-content: center; }
.link--underline { display: inline-block; font-size: 16px; color: var(--hrz-orange); border-bottom: 1px solid currentColor; }
.link--underline:hover { color: var(--hrz-orange-deep); }

.eyebrow {
  font-family: var(--hrz-font-display); font-weight: 600; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--hrz-orange);
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hrz-bone); overflow: hidden; }
.hero__glow {
  position: absolute; left: 50%; bottom: -320px; transform: translateX(-50%);
  width: 900px; height: 900px; background: var(--hrz-sunrise);
  opacity: .16; filter: blur(30px); border-radius: 50%; pointer-events: none;
}
.hero__grid {
  position: relative; padding: 88px var(--hrz-gutter) 72px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
}
.hero__logo-chip {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.hero__logo-chip img { height: 34px; width: auto; display: block; }
.hero__title {
  margin: 0; font-family: var(--hrz-font-display); font-weight: 700;
  font-size: 56px; line-height: 1.05; letter-spacing: -.02em; color: var(--hrz-ink); text-wrap: balance;
}
.hero__sub {
  margin: 24px 0 0; font-family: var(--hrz-font-italic); font-style: italic;
  font-size: 22px; line-height: 1.6; color: var(--hrz-graphite); max-width: 40ch; text-wrap: pretty;
}
.hero__body { margin: 24px 0 0; font-size: 18px; line-height: 1.6; max-width: 58ch; text-wrap: pretty; }
.hero__body strong { color: var(--hrz-ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.video-card { position: relative; border-radius: var(--hrz-radius-md); overflow: hidden; box-shadow: var(--hrz-shadow-card); display: block; cursor: pointer; }
.video-card img { width: 100%; height: 340px; object-fit: cover; display: block; }
.video-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,27,45,.55), rgba(15,27,45,0) 55%); }
.video-card__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--hrz-paper); display: grid; place-items: center;
  box-shadow: var(--hrz-shadow-lift);
}
.video-card__play svg { margin-left: 4px; }
.video-card__label {
  position: absolute; left: 24px; bottom: 20px; color: var(--hrz-paper);
  font-family: var(--hrz-font-display); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- Intro statement ---------- */
.intro { padding: 96px var(--hrz-gutter); }
.intro__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.intro__title {
  margin: 20px 0 0; font-family: var(--hrz-font-display); font-weight: 700;
  font-size: 42px; line-height: 1.2; letter-spacing: -.02em; color: var(--hrz-ink); text-wrap: balance;
}
.intro__body { margin: 22px auto 0; font-size: 18px; line-height: 1.65; max-width: 68ch; text-wrap: pretty; }

.hrz-horizon-rule { max-width: var(--hrz-container); margin: 0 auto 96px; }

/* ---------- Benefits ---------- */
.benefits { max-width: var(--hrz-container); margin: 0 auto; padding: 0 var(--hrz-gutter); }
.benefits__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.benefits__title {
  margin: 20px 0 0; font-family: var(--hrz-font-display); font-weight: 700;
  font-size: 44px; line-height: 1.2; letter-spacing: -.02em; color: var(--hrz-ink); text-wrap: balance;
}
.benefits__note { margin: 24px 0 0; font-size: 16px; line-height: 1.6; color: var(--hrz-slate); max-width: 46ch; }

.benefit-list { display: grid; gap: 0; }
.benefit-item {
  display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: baseline;
  padding: 20px 0; border-top: 1px solid var(--hrz-mist); font-size: 17px; line-height: 1.5; color: var(--hrz-graphite);
}
.benefit-item:last-child { border-bottom: 1px solid var(--hrz-mist); }
.benefit-item__check { color: var(--hrz-orange); font-weight: 700; }

/* ---------- SAP SuccessFactors (navy) ---------- */
.sap-section { background: var(--hrz-navy); color: var(--hrz-on-navy); margin-top: 96px; }
.sap-section__inner { max-width: var(--hrz-container); margin: 0 auto; padding: 84px var(--hrz-gutter); }
.sap-section .eyebrow { color: var(--hrz-orange-glow); }
.sap-section__title {
  margin: 20px 0 0; font-family: var(--hrz-font-display); font-weight: 700;
  font-size: 40px; line-height: 1.2; letter-spacing: -.02em; color: var(--hrz-paper); max-width: 30ch; text-wrap: balance;
}
.sap-section__body { margin: 22px 0 0; font-size: 18px; line-height: 1.65; color: var(--hrz-on-navy-soft); max-width: 68ch; text-wrap: pretty; }
.sap-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.sap-feature { border-top: 1px solid rgba(232,236,242,.25); padding-top: 24px; }
.sap-feature__num { font-family: var(--hrz-font-display); font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--hrz-orange-glow); }
.sap-feature__body { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: var(--hrz-on-navy); }

/* ---------- Testimonials ---------- */
.testimonials { max-width: var(--hrz-container); margin: 96px auto 0; padding: 0 var(--hrz-gutter); }
.testimonials__intro { max-width: 640px; }
.testimonials__title {
  margin: 20px 0 0; font-family: var(--hrz-font-display); font-weight: 700;
  font-size: 44px; line-height: 1.2; letter-spacing: -.02em; color: var(--hrz-ink); text-wrap: balance;
}
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 56px; }
.testimonial-card {
  background: var(--hrz-bone); border-radius: var(--hrz-radius-md); overflow: hidden;
  box-shadow: var(--hrz-shadow-sm); display: flex; flex-direction: column;
}
.testimonial-card__photo { width: 100%; height: 200px; object-fit: cover; display: block; }
.testimonial-card__body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.testimonial-card__title { font-family: var(--hrz-font-display); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--hrz-ink); }
.testimonial-card__quote { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--hrz-graphite); flex: 1; }
.testimonial-card__attribution { margin-top: 20px; font-size: 14px; color: var(--hrz-slate); }
.testimonial-card__attribution strong { color: var(--hrz-ink); display: block; font-size: 15px; }
.testimonial-card .btn { margin-top: 20px; align-self: flex-start; }

/* ---------- Resources ---------- */
.resources { max-width: var(--hrz-container); margin: 96px auto 0; padding: 0 var(--hrz-gutter); }
.resources__title {
  margin: 20px 0 0; font-family: var(--hrz-font-display); font-weight: 700;
  font-size: 40px; line-height: 1.2; letter-spacing: -.02em; color: var(--hrz-ink); text-wrap: balance;
}
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.resource-card { display: block; border: 1px solid var(--hrz-mist); border-radius: var(--hrz-radius-md); overflow: hidden; transition: box-shadow var(--hrz-dur-base) var(--hrz-ease-out), transform var(--hrz-dur-base) var(--hrz-ease-out); }
.resource-card:hover { box-shadow: var(--hrz-shadow-card); transform: translateY(-2px); }
.resource-card__thumb { width: 100%; height: 170px; object-fit: cover; display: block; background: var(--hrz-bone); }
.resource-card__body { padding: 22px 24px; }
.resource-card__kind { font-family: var(--hrz-font-display); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--hrz-orange); }
.resource-card__title { margin: 8px 0 0; font-family: var(--hrz-font-display); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--hrz-ink); }

/* ---------- CTA / contact ---------- */
.assessment { background: var(--hrz-paper); margin-top: 96px; }
.assessment__inner {
  max-width: var(--hrz-container); margin: 0 auto; padding: 96px var(--hrz-gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.assessment__title {
  margin: 20px 0 0; font-family: var(--hrz-font-display); font-weight: 700;
  font-size: 48px; line-height: 1.2; letter-spacing: -.02em; color: var(--hrz-ink); text-wrap: balance;
}
.assessment__sub {
  margin: 22px 0 0; font-family: var(--hrz-font-italic); font-style: italic;
  font-size: 20px; line-height: 1.6; color: var(--hrz-graphite); max-width: 46ch; text-wrap: pretty;
}
.assessment__note { margin: 28px 0 0; font-size: 15px; line-height: 1.6; color: var(--hrz-slate); max-width: 44ch; }

.form-panel { background: var(--hrz-bone); border-radius: var(--hrz-radius-md); padding: 40px; box-shadow: var(--hrz-shadow-sm); }
.form-panel__title { font-family: var(--hrz-font-display); font-weight: 700; font-size: 24px; color: var(--hrz-ink); }
.form-panel__intro { margin-top: 8px; font-size: 16px; color: var(--hrz-slate); }
.form-grid { display: grid; gap: 18px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field span { font-family: var(--hrz-font-display); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--hrz-slate); }
.field input, .field select {
  height: 46px; padding: 0 14px; font-size: 16px; color: var(--hrz-ink);
  background: var(--hrz-paper); border: 1px solid var(--hrz-mist); border-radius: var(--hrz-radius-sm);
}
.field textarea {
  padding: 12px 14px; font-size: 16px; line-height: 1.5; color: var(--hrz-ink);
  background: var(--hrz-paper); border: 1px solid var(--hrz-mist); border-radius: var(--hrz-radius-sm); resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--hrz-orange); box-shadow: 0 0 0 3px rgba(232,109,31,.14);
}
.form-disclaimer { font-size: 13px; line-height: 1.5; color: var(--hrz-fog); }

.thanks-panel { display: none; gap: 18px; padding: 40px 0; }
.thanks-panel.is-visible { display: grid; }
.thanks-panel__title { font-family: var(--hrz-font-display); font-weight: 700; font-size: 30px; line-height: 1.2; color: var(--hrz-ink); }
.thanks-panel__body { margin: 0; font-size: 17px; line-height: 1.6; color: var(--hrz-graphite); max-width: 42ch; }
.thanks-panel .btn { justify-self: start; }
.sunburst { width: 90px; aspect-ratio: 1; border-radius: 50% 50% 0 0 / 100% 100% 0 0; clip-path: inset(0 0 50% 0); background: var(--hrz-sunrise); }

/* ---------- Footer ---------- */
.site-footer { background: var(--hrz-navy); color: var(--hrz-on-navy); margin-top: 96px; }
.site-footer__grid { max-width: var(--hrz-container); margin: 0 auto; padding: 72px var(--hrz-gutter) 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; }
.site-footer__logo { width: 170px; height: auto; display: block; }
.site-footer__blurb { margin: 22px 0 0; font-size: 15px; line-height: 1.6; color: var(--hrz-on-navy-soft); max-width: 44ch; }
.site-footer__col { display: grid; gap: 10px; align-content: start; }
.site-footer__col .eyebrow { color: var(--hrz-orange-glow); }
.site-footer__col a { font-size: 15px; color: var(--hrz-on-navy); }
.site-footer__col a:hover { color: var(--hrz-orange-glow); }
.site-footer__bottom { max-width: var(--hrz-container); margin: 0 auto; padding: 0 var(--hrz-gutter) 48px; }
.site-footer__rule { height: 1px; background: linear-gradient(to right, transparent 0%, rgba(232,236,242,.4) 18%, rgba(232,236,242,.4) 82%, transparent 100%); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: 13px; color: var(--hrz-on-navy-soft); }
.site-footer__legal-links { display: flex; gap: 24px; }
.site-footer__legal-links a { color: var(--hrz-on-navy-soft); }
.site-footer__legal-links a:hover { color: var(--hrz-orange-glow); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid, .benefits__grid, .assessment__inner { grid-template-columns: 1fr; }
  .hero__grid { padding-top: 56px; }
  .video-card { order: -1; }
  .sap-features { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .hero__title { font-size: 38px; }
  .benefits__title, .assessment__title { font-size: 32px; }
  .intro__title, .sap-section__title, .testimonials__title, .resources__title { font-size: 28px; }
  .hero__sub, .assessment__sub { font-size: 18px; }
  .site-header__link { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-panel { padding: 28px; }
}
