/* ==========================================================================
   RetailJobExpo.com - site stylesheet

   Contents
   1.  Design tokens (colors, fonts)  <- change the look of the site here
   2.  Base
   3.  Layout and section color bands
   4.  Top bar (next job fair)
   5.  Header, logo and navigation
   6.  Buttons and links
   7.  Heroes
   8.  Cards
   9.  Page sections
   10. Forms and embeds
   11. Resources and articles
   12. Legal page
   13. Footer
   14. Responsive
   15. Print and reduced motion

   Breakpoints: desktop 1024px and up, tablet 600-1023px, mobile 599px and below.
   ========================================================================== */


/* ---------- 1. Design tokens ---------- */

:root {
  --navy: #172544;
  --navy-deep: #0e1730;
  --blue: #3155d9;
  --blue-dark: #2443b3;
  --orange: #d95f08;
  --orange-light: #ffb673;

  --ink: #172544;
  --body: #364058;
  --muted: #58637d;

  --white: #ffffff;
  --mist: #f4f6fb;
  --sky: #e8eefa;
  --line: #dde3f0;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;

  --radius: 6px;
  --shadow-hover: 0 22px 40px -26px rgba(23, 37, 68, 0.45);
}


/* ---------- 2. Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

img,
iframe,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: var(--sans);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 8px;
}


/* ---------- 3. Layout and section color bands ----------
   Pages alternate backgrounds so content is easy to scan:
   .section (white) / .section-grey (light grey-blue) / .section-sky (light blue)
   / .section-blue (dark navy). */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-tight {
  padding-top: 56px;
}

.section-grey {
  background: var(--mist);
}

.section-sky {
  background: var(--sky);
}

.section-blue {
  background: var(--navy);
  color: #e4e9f5;
}

.section-blue h2,
.section-blue h3 {
  color: var(--white);
}

.section-blue .eyebrow {
  color: var(--orange-light);
}

.section-blue .lede {
  color: #d3dbee;
}

/* Cards that sit on the dark band keep dark text */
.section-blue .card h3,
.section-blue .event-card h3 {
  color: var(--ink);
}

.section-blue .event-card .eyebrow {
  color: var(--blue-dark);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-jobs,
.grid-fairs,
.grid-tips {
  grid-template-columns: repeat(3, 1fr);
}

.grid-audience,
.grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.grid-audience {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.grid-two {
  gap: 32px;
}

.grid-spaced {
  margin-bottom: 56px;
}

.section-head {
  margin-bottom: 40px;
}

.section-head h2,
.cta-band h2,
.magazine-text h2 {
  font-size: clamp(34px, 3.4vw, 48px);
}

.eyebrow {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--blue-dark);
}

.lede {
  margin-top: 20px;
  max-width: 62ch;
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
}

.lede + .lede {
  margin-top: 16px;
}


/* ---------- 4. Top bar (next job fair) ----------
   The date text is filled in by script.js; the HTML text is the fallback. */

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  line-height: 1.4;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}

.topbar-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-light);
}

.topbar-link {
  display: inline-block;
  padding: 6px 4px;
  font-weight: 600;
  text-underline-offset: 3px;
}

.topbar a:focus-visible {
  outline-color: var(--white);
}


/* ---------- 5. Header, logo and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

/* Logo: RETAIL JOB EXPO / MICHIGAN */
.brand {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
  color: #000000;
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
}


.brand-sub {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: #000000;
}

.primary-nav ul {
  display: flex;
  gap: 32px;
}

.primary-nav a {
  display: inline-block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle .bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle .bar:nth-child(1) {
  top: 14px;
}

.nav-toggle .bar:nth-child(2) {
  top: 21px;
}

.nav-toggle .bar:nth-child(3) {
  top: 28px;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ---------- 6. Buttons and links ---------- */

.btn {
  display: inline-block;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-secondary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-outline {
  width: 100%;
  background: transparent;
  border-color: #c3cde3;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--mist);
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-deep);
}

/* White button for dark backgrounds (photo heroes, navy bands) */
.btn-light,
.home-hero .btn-secondary,
.hero-bg .btn-secondary {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn-light:hover,
.home-hero .btn-secondary:hover,
.hero-bg .btn-secondary:hover {
  background: var(--sky);
  border-color: var(--sky);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn-row-center {
  justify-content: center;
  margin-top: 32px;
}

.link-arrow {
  display: inline-flex;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  color: var(--blue-dark);
}

.link-arrow:hover {
  text-decoration: underline;
}


/* ---------- 7. Heroes ---------- */

.home-hero,
.hero-bg {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.home-hero {
  min-height: 720px;
}

.hero-bg {
  min-height: 620px;
}

.home-hero::before,
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-hero::before {
  background-image: url("images/home-hero.jpg");
  background-position: center 42%;
}

.hero-jobs::before {
  background-image: url("images/fashion-boutique.jpg");
}

.hero-employers::before {
  background-image: url("images/hiring-booth.jpg");
  background-position: center 30%;
}

/* Scrim so white text stays readable on the photo */
.home-hero::after,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 23, 48, 0.3) 0%, rgba(14, 23, 48, 0.55) 42%, rgba(14, 23, 48, 0.88) 100%);
}

.home-hero-inner,
.hero-bg .hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 24px 4rem;
}

.home-hero h1,
.hero-bg h1 {
  max-width: 760px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.home-hero .hero-text p,
.hero-bg .hero-text p {
  max-width: 54ch;
  margin-top: 22px;
  font-size: 20px;
  line-height: 1.65;
  color: #f1f4fb;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.hero-bg .hero-text .eyebrow {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--orange-light);
  text-shadow: none;
}

.home-hero .btn-row,
.hero-bg .btn-row {
  margin-top: 30px;
}

.home-hero a:focus-visible,
.hero-bg a:focus-visible,
.page-hero a:focus-visible {
  outline-color: var(--white);
}

/* Banner heroes: Contact, Resources, Legal */
.page-hero {
  padding-top: 96px;
  padding-bottom: 96px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #243d7a 100%);
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  color: var(--white);
}

.page-hero p {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: 20px;
  line-height: 1.6;
  color: #e4e9f5;
}

.page-hero .eyebrow {
  color: var(--orange-light);
}

.page-hero .page-hero-meta {
  margin-top: 20px;
  font-size: 16px;
}


/* ---------- 8. Cards ---------- */

.card,
.event-card,
.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--body);
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  border-color: #c3cde3;
  box-shadow: var(--shadow-hover);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
}

.card-body h3 {
  font-size: 22px;
}

.card-body p {
  color: var(--muted);
}

.card-body .link-arrow {
  margin-top: 12px;
}

.card-photo {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card-logo {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: 230px;
  padding: 24px;
  object-fit: contain;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.card-horizontal {
  flex-direction: row;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.card-horizontal .card-logo {
  flex: 0 0 40%;
  width: 40%;
  height: auto;
  min-height: 200px;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}

.card-horizontal .card-body {
  justify-content: center;
}

.cards-heading {
  margin: 8px 0 32px;
  font-size: 28px;
}

.position-list li {
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--muted);
}

.position-list li:last-child {
  margin-bottom: 0;
}

/* Numbered cards (01 / 02 / 03) */
.tip {
  gap: 8px;
  padding: 28px;
}

.tip-num {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: var(--blue);
}

.tip h3 {
  font-size: 22px;
}

.tip > p:not(.tip-num) {
  flex: 1;
  margin-bottom: 12px;
  color: var(--muted);
}

.tip .link-arrow,
.tip .btn {
  align-self: flex-start;
}

.text-card {
  gap: 16px;
  padding: 36px;
}

.text-card h3 {
  font-size: 26px;
}

.text-card .btn {
  align-self: flex-start;
  margin-top: auto;
}


/* Job fair cards */
.event-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-top: 3px solid var(--blue);
}

.event-card h3 {
  font-size: 22px;
}

.event-card > p {
  color: var(--muted);
}

.event-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.event-details li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.event-details li:last-child {
  margin-bottom: 0;
}

.event-details svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--blue);
}

.event-details address {
  font-style: normal;
}


/* ---------- 9. Page sections ---------- */

.spotlight {
  padding-top: 56px;
  padding-bottom: 56px;
}

.partners {
  padding: 64px 0;
  background: var(--white);
  text-align: center;
}

.partners-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.partners .lede {
  max-width: 60ch;
  margin: 12px auto 0;
  font-size: 17px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 56px;
  margin-top: 32px;
}

.logos li {
  width: 180px;
  height: 64px;
}

.logos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.magazine-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 48px;
}

.magazine-split .embed-frame iframe {
  height: 520px;
}

.magazine-text p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}

.magazine-text .btn {
  margin-top: 24px;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.feature-split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.feature-split h2 {
  font-size: clamp(30px, 3vw, 40px);
}

.feature-split p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}

.feature-split .btn {
  margin-top: 24px;
}

.cta-center {
  text-align: center;
}

.cta-center h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.cta-center p {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 18px;
  color: var(--muted);
}

.cta-center .btn {
  margin-top: 24px;
}

.cta-band {
  text-align: center;
}

.cta-band .lede {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: 32px;
}

/* About */
.about-intro {
  padding-top: 72px;
  padding-bottom: 72px;
}

.page-title {
  margin-bottom: 40px;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.about-text {
  font-size: 24px;
  line-height: 1.4;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111111;
  border-radius: var(--radius);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.about-offer {
  padding-top: 96px;
  padding-bottom: 96px;
}

.about-offer h2,
.mission h2 {
  font-size: clamp(34px, 3.4vw, 48px);
}

.about-cards {
  margin-top: 40px;
}

.mission {
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.mission h2 {
  color: var(--white);
}

.mission .about-text {
  max-width: 900px;
  margin: 20px auto 0;
  color: #e4e9f5;
}

.about-serving-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 56px;
}

.about-serving .btn {
  margin-top: 24px;
}

.about-serving-badge img {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact */
.contact-info {
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  border-top: 3px solid var(--blue);
}

.contact-block h2 {
  font-size: 28px;
}

.contact-block p {
  margin-top: 12px;
  font-size: 18px;
  color: var(--muted);
}

.contact-block p:last-of-type {
  margin-bottom: 24px;
}

.contact-block strong {
  font-weight: 600;
  color: var(--ink);
}

.contact-block p a {
  color: var(--ink);
  text-decoration: underline;
}

.contact-block .btn {
  align-self: flex-start;
  margin-top: auto;
}


/* ---------- 10. Forms and embeds ---------- */

.section-form {
  padding-top: 96px;
  padding-bottom: 96px;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 2.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.form-intro {
  position: sticky;
  top: 110px;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-intro h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 36px);
}

.form-intro p {
  line-height: 1.7;
  color: var(--muted);
}

.form-embed {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border: 0;
}

.form-layout .form-embed iframe {
  height: 920px;
}

#pcrframe {
  height: 540px;
  background-color: transparent;
}

.cta-center + .form-embed {
  margin-top: 32px;
}

.embed-frame iframe {
  display: block;
  width: 100%;
  height: 700px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
}

.embed-note {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
}


/* ---------- 11. Resources and articles ---------- */

.resource-intro {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.resource-intro .lede {
  margin-left: auto;
  margin-right: auto;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 28px;
  transition: border-color 0.2s;
}

.article-card:hover {
  border-color: var(--blue);
}

.article-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue-dark);
}

.article-card h3 {
  margin: 14px 0 10px;
  font-size: 23px;
  line-height: 1.2;
}

.article-card p {
  margin-bottom: 20px;
  color: var(--muted);
}

.article-card a,
.article-nav a,
.related-articles a {
  font-weight: 600;
  text-decoration: none;
  color: var(--blue-dark);
}

.article-card a {
  margin-top: auto;
}

.article-card a:hover,
.article-nav a:hover,
.related-articles a:hover {
  text-decoration: underline;
}

.resource-cta {
  margin-top: 48px;
  padding: 40px;
  background: var(--sky);
  border-radius: var(--radius);
}

.resource-cta h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.resource-cta p {
  margin-top: 12px;
  color: var(--muted);
}

.article-layout {
  max-width: 860px;
  margin: 0 auto;
}

.article-meta {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.article-layout h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.article-deck {
  margin-bottom: 28px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

.article-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 36px;
  object-fit: cover;
  background: var(--sky);
  border-radius: var(--radius);
}

.article-copy {
  font-size: 18px;
  line-height: 1.85;
  color: #403f4f;
  overflow-wrap: anywhere;
}

.article-copy h2 {
  margin: 36px 0 12px;
  font-size: 30px;
}

.article-copy h3 {
  margin: 26px 0 8px;
  font-size: 22px;
}

.article-copy p {
  margin: 0 0 18px;
}

.article-copy ul {
  margin: 0 0 20px;
  padding-left: 24px;
  list-style: disc;
}

.article-copy li {
  margin: 0 0 9px;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 42px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.related-articles {
  padding: 28px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-articles h2 {
  margin-bottom: 14px;
  font-size: 26px;
}

.related-articles ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}


/* ---------- 12. Legal page ---------- */

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.legal-toc {
  position: sticky;
  top: 104px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.legal-toc h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

.legal-toc a {
  display: block;
  padding: 10px 12px;
  border-left: 3px solid transparent;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: var(--mist);
  border-left-color: var(--blue);
}

.legal-toc small {
  display: block;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.legal-content {
  min-width: 0;
}

.legal-panel {
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  scroll-margin-top: 96px;
}

.legal-panel h2 {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 3vw, 36px);
}

.legal-panel h3 {
  margin: 30px 0 8px;
  font-size: 20px;
}

.legal-panel p {
  margin: 0 0 14px;
  line-height: 1.75;
}

.legal-panel ul {
  margin: 8px 0 20px;
  padding-left: 24px;
  list-style: disc;
}

.legal-panel li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-panel p,
.legal-panel li {
  overflow-wrap: anywhere;
}

.legal-panel a {
  color: var(--blue-dark);
}

.legal-panel a.btn {
  color: var(--white);
  text-decoration: none;
}

.legal-box {
  margin: 20px 0;
  padding: 18px 22px;
  background: var(--mist);
  border-left: 4px solid var(--blue);
  border-radius: 0 4px 4px 0;
}

.legal-box p:last-child {
  margin-bottom: 0;
}


/* ---------- 13. Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #e4e9f5;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 40px;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand p {
  margin-top: 12px;
  line-height: 1.6;
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  color: var(--white);
}

.follow-label {
  margin-top: 24px;
  font-weight: 600;
  color: var(--white);
}

.social {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.social li:first-child a {
  margin-left: -11px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 40px;
}

.footer-cols h3 {
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.footer-cols a {
  display: inline-block;
  padding: 8px 0;
  text-decoration: none;
}

.site-footer a {
  color: #e4e9f5;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer a:focus-visible {
  outline-color: var(--white);
}

.footer-bottom {
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}


/* ---------- 14. Responsive ---------- */

@media (max-width: 1023px) {
  .section,
  .about-offer,
  .section-form,
  .contact-info {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-tight {
    padding-top: 48px;
  }

  .page-hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }

  .primary-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav li:last-child a {
    border-bottom: 0;
  }

  .home-hero {
    min-height: 600px;
  }

  .hero-bg {
    min-height: 520px;
  }

  .grid-jobs,
  .grid-fairs,
  .grid-tips {
    grid-template-columns: repeat(2, 1fr);
  }


  .magazine-split,
  .feature-split,
  .about-split,
  .about-serving-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-serving-badge img {
    margin-left: 0;
  }

  .contact-blocks {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-layout {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
  }

  .form-intro {
    padding: 26px;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-nav {
    flex-wrap: wrap;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand {
    max-width: none;
  }
}

@media (max-width: 599px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section,
  .about-offer,
  .section-form,
  .contact-info {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-tight {
    padding-top: 40px;
  }

  .page-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .lede,
  .page-hero p {
    font-size: 17px;
  }

  .brand-name {
    font-size: 20px;
  }

  .primary-nav ul {
    padding: 8px 20px 16px;
  }

  .home-hero,
  .hero-bg {
    min-height: 540px;
  }

  .home-hero-inner,
  .hero-bg .hero-inner {
    padding: 4rem 20px 2.5rem;
  }

  .home-hero h1,
  .hero-bg h1 {
    font-size: 38px;
  }

  .home-hero .hero-text p,
  .hero-bg .hero-text p {
    font-size: 17px;
  }

  .home-hero .btn-row,
  .hero-bg .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .grid-jobs,
  .grid-fairs,
  .grid-tips,
  .grid-audience,
  .grid-two {
    grid-template-columns: 1fr;
  }

  .card-horizontal {
    flex-direction: column;
  }

  .card-horizontal .card-logo {
    flex-basis: auto;
    width: 100%;
    height: 180px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .text-card,
  .event-card {
    padding: 24px;
  }

  .about-text {
    font-size: 20px;
  }

  .logos {
    gap: 24px 32px;
  }

  .logos li {
    width: 130px;
    height: 52px;
  }

  .magazine-split .embed-frame iframe {
    height: 420px;
  }

  .form-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-intro {
    position: static;
    padding: 24px;
  }

  .form-embed {
    padding: 6px;
  }

  .article-grid,
  .related-articles ul {
    grid-template-columns: 1fr;
  }

  .article-copy {
    font-size: 17px;
  }

  .article-nav {
    flex-direction: column;
  }

  .resource-cta {
    padding: 28px 24px;
  }

  .legal-toc nav {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding-top: 56px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}


/* ---------- 15. Print and reduced motion ---------- */

@media print {
  .topbar,
  .site-header,
  .legal-toc,
  .site-footer,
  .page-hero .eyebrow {
    display: none;
  }

  .legal-layout {
    display: block;
  }

  .legal-panel {
    padding: 0;
    border: 0;
    break-before: page;
  }

  .legal-panel:first-of-type {
    break-before: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
