/* Fisher Learning Design + Fisher Safety Innovations */
:root {
  --ink: #111111;
  --black: #000000;
  --charcoal: #2E2E36;
  --muted: #C9CBD1;
  --soft: #E4E4E8;
  --mist: #F6F5F8;
  --line: #E6E4EA;
  --line-dark: #44444C;
  --white: #FFFFFF;
  --coral: #FF5A5F;
  --orchid: #C94FA6;
  --violet: #8E52F5;
  --red: #F5002C;
  --red-text: #C70024;
  --red-on-dark: #FF6B82;
  --orange: #FF7A00;
  --orange-on-dark: #FF9A3D;
  --gradient: linear-gradient(90deg, #FF5A5F, #C94FA6, #8E52F5);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.bg-black { background: var(--black); color: var(--white); }
.bg-mist { background: var(--mist); }
.bg-black a:not(.btn) { color: var(--white); }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--white); color: var(--black); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--charcoal);
}
.bg-black .eyebrow { color: var(--muted); }
h1, h2, h3 { margin: 0; }
.display {
  font-weight: 800; text-transform: uppercase; line-height: 1.02;
  font-size: clamp(40px, 5.6vw, 76px);
}
.h2 { font-weight: 800; text-transform: uppercase; line-height: 1.1; font-size: clamp(30px, 4vw, 44px); }
.h3 { font-size: 22px; font-weight: 700; }
.lead { margin: 0; font-size: 20px; line-height: 1.6; color: var(--charcoal); max-width: 640px; }
.bg-black .lead { color: var(--soft); }
.body { margin: 0; font-size: 18px; line-height: 1.7; color: var(--charcoal); }
.bg-black .body { color: var(--soft); }
.small { margin: 0; font-size: 15px; line-height: 1.7; color: var(--charcoal); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 26px; }
.measure { max-width: 780px; }

.bar { width: 160px; height: 6px; background: var(--gradient); }
.bar--red { width: 120px; background: var(--red); }
.bar--split { width: 200px; display: flex; background: none; }
.bar--split span { flex: 1; height: 6px; }
.bar--split span:first-child { background: linear-gradient(90deg, #FF5A5F, #8E52F5); }
.bar--split span:last-child { background: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 28px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 17px; line-height: 1.3;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  text-align: center; min-height: 48px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover { background: var(--charcoal); color: var(--white); }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--soft); color: var(--black); }
.btn--outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--black); }
.btn--red { background: var(--red); color: var(--white); font-size: 19px; }
.btn--red:hover { background: var(--red-text); color: var(--white); }
.btn--sm { padding: 10px 20px; font-size: 16px; min-height: 44px; }
.btn--red.btn--sm { font-size: 16px; }

/* ---------- Header / nav ---------- */
.site-header { background: var(--black); position: relative; z-index: 10; }
.nav {
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark {
  color: var(--white); text-decoration: none; font-weight: 700;
  letter-spacing: 0.28em; font-size: 15px;
}
.wordmark:hover { color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--soft); text-decoration: none; padding: 6px 0; }
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links a[aria-current="page"] {
  color: var(--white); font-weight: 600; border-bottom: 3px solid var(--coral);
}
.page-safety .nav-links a[aria-current="page"] { border-bottom-color: var(--red); }
.page-about .nav-links a[aria-current="page"] { border-bottom-color: var(--coral); }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--line-dark); color: var(--white);
  font: inherit; font-size: 15px; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  cursor: pointer; min-height: 44px;
}

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0 12px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .nav-links a[aria-current="page"] { border-bottom: 1px solid var(--line-dark); box-shadow: inset 4px 0 0 var(--coral); padding-left: 14px; }
  .page-safety .nav-links a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); }
  .nav-links .btn { margin-top: 16px; align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero__text { flex: 999 1 520px; min-width: 0; }
.hero__logo { flex: 1 1 320px; display: flex; justify-content: center; padding: 16px 0; }
.hero__logo img { width: 100%; max-width: 400px; height: auto; }
.hero--bordered { border-bottom: 1px solid var(--line); }

/* ---------- Problem list ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split__side { flex: 1 1 280px; }
.split__main { flex: 999 1 520px; min-width: 0; }
.problem-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.problem-list li { border-bottom: 1px solid var(--line-dark); padding-bottom: 18px; font-size: 21px; line-height: 1.5; }
.callout-coral { margin: 10px 0 0; font-size: 21px; font-weight: 700; color: var(--coral); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.card--top-coral { border-top: 6px solid var(--coral); }
.card--top-orchid { border-top: 6px solid var(--orchid); }
.card--top-violet { border-top: 6px solid var(--violet); }
.card--top-black { border-top: 6px solid var(--black); }
.card--top-red { border-top: 6px solid var(--red); }
.card--top-orange { border-top: 6px solid var(--orange); }
.card ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.9; color: var(--charcoal); }
.card p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--charcoal); }

.work-card { border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; }
.work-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--mist); }
.work-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.work-card h3 { font-size: 20px; font-weight: 800; text-transform: uppercase; }
.work-card p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--charcoal); }
.work-card a.more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 15px; }

/* ---------- Cross-promo strip ---------- */
.promo { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promo__row { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 56px 0; }
.promo__row img { width: 220px; max-width: 100%; height: auto; flex: 0 0 auto; }
.promo__text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.promo__text p:not(.eyebrow) { margin: 0; font-size: 19px; line-height: 1.6; }

/* ---------- Forms ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.form {
  flex: 999 1 440px; min-width: 0; background: var(--mist); padding: 36px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 16px; padding: 13px 14px;
  border: 1px solid #A9A6B2; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%;
}
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { justify-self: start; }
.hidden-field { position: absolute; left: -9999px; }
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; padding: 24px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--soft); }
.site-footer__row {
  max-width: var(--max); margin: 0 auto; padding: 48px 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 15px;
}
.site-footer a { color: var(--soft); }
.site-footer a:hover { color: var(--white); }
.site-footer__brand { display: flex; flex-direction: column; gap: 6px; }
.site-footer__brand strong { color: var(--white); letter-spacing: 0.28em; font-weight: 700; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

/* ---------- Safety page ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: 40px; font-weight: 800; line-height: 1.1; }
.stat span { font-size: 15px; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps li { background: var(--white); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-size: 15px; font-weight: 800; color: var(--red-text); }
.steps .title { font-size: 19px; font-weight: 700; }
.steps .desc { font-size: 15px; line-height: 1.6; color: var(--charcoal); }

.lang-block {
  flex: 1 1 260px; background: var(--black); color: var(--white); border-radius: 20px; padding: 44px;
  display: flex; flex-direction: column; gap: 10px;
}
.lang-block span { font-size: 64px; font-weight: 800; line-height: 1; }
.lang-block span + span { color: var(--red); }

.catalog-intro { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.catalog-intro img { flex: 0 1 260px; width: 260px; height: auto; border: 1px solid var(--line-dark); }
.catalog-intro__text { flex: 999 1 420px; min-width: 0; }
.lib-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px;
  border-bottom: 1px solid var(--line-dark); padding-bottom: 14px;
}
.lib-head h3 { font-size: 24px; font-weight: 800; text-transform: uppercase; }
.lib-head span { font-size: 15px; color: var(--muted); }
.section-card {
  border: 1px solid var(--line-dark); border-top: 4px solid var(--red);
  padding: 22px 24px; display: flex; flex-direction: column; gap: 8px;
}
.section-card--ca { border-top-color: var(--orange); }
.section-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.section-card__num { font-size: 14px; font-weight: 800; color: var(--red-on-dark); }
.section-card--ca .section-card__num { color: var(--orange-on-dark); }
.section-card__count { font-size: 13px; color: var(--muted); }
.section-card__name { font-size: 18px; font-weight: 700; }
.section-card__note { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about__photo { flex: 1 1 280px; max-width: 360px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-bottom: 6px solid var(--coral); }
.about__text { flex: 999 1 480px; min-width: 0; }
.cred { background: var(--white); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.cred span:first-child { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--charcoal); }
.cred span:last-child { font-size: 18px; font-weight: 700; }
.cred--violet { border-top: 6px solid var(--violet); }
.cred--orchid { border-top: 6px solid var(--orchid); }
.cred--coral { border-top: 6px solid var(--coral); }

.cta-band { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding: 80px 0; }
.cta-band h2 { flex: 999 1 480px; min-width: 0; }

/* ---------- Work samples page ---------- */
.work-section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.work-section:last-of-type { border-bottom: 0; }
.work-section__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; max-width: 760px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery a { display: block; border: 1px solid var(--line); background: var(--mist); }
.gallery a img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.gallery--wide a img { aspect-ratio: 16 / 10; object-position: center; }
.gallery figcaption { font-size: 15px; color: var(--charcoal); }
.video-wrap { max-width: 900px; }
.video-wrap video { width: 100%; height: auto; background: var(--black); }
.work-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.work-nav a {
  padding: 10px 18px; border: 2px solid var(--white); border-radius: 999px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center;
}
.work-nav a:hover { background: var(--white); color: var(--black); }

/* ---------- Thank-you ---------- */
.thanks { min-height: 55vh; display: flex; align-items: center; }

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .problem-list li, .callout-coral { font-size: 18px; }
  .lead { font-size: 18px; }
  .card { padding: 24px; }
  .lang-block span { font-size: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
