/* =========================================================
   HiiRE Creative - Marketing Site
   ========================================================= */

:root {
  --navy: #15233F;
  --navy-dark: #0F1A30;
  --orange: #C45D2E;
  --cream: #F6F1E8;
  --white: #FFFFFF;
  --border-light: rgba(21, 35, 63, 0.08);
  --border-light-strong: rgba(21, 35, 63, 0.12);
  --text-muted-on-light: rgba(21, 35, 63, 0.7);
  --text-muted-on-dark: rgba(246, 241, 232, 0.75);
  --font-heading: "Archivo", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --space-section: clamp(5rem, 12vw, 9rem);
  --space-block: clamp(2.5rem, 6vw, 4.5rem);
  --measure: 65ch;
  --page-pad: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1120px;
  --header-offset: 5.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 1rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@media (min-width: 768px) {
  body {
    font-size: 19px;
  }
}

@media (min-width: 1100px) {
  body {
    font-size: 20px;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3,
p,
ul,
blockquote {
  margin: 0;
}

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

/* Reveal */
@keyframes rvl {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@supports (animation-timeline: view()) {
  [data-reveal] {
    animation: rvl 0.7s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 32%;
  }
}

@supports not (animation-timeline: view()) {
  html.js-reveal [data-reveal]:not(.is-revealed) {
    opacity: 0;
    transform: translateY(22px);
  }

  html.js-reveal [data-reveal].is-revealed {
    animation: rvl 0.7s ease both;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Type */
.display {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.35rem, 8.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.pull-quote {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.15rem, 7vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: min(18ch, 100%);
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.section,
.quote-band,
.display-band,
.closing {
  scroll-margin-top: calc(var(--header-offset) + 0.75rem);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0 0 1.25rem;
  scroll-margin-top: calc(var(--header-offset) + 0.75rem);
  max-width: 100%;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.lede {
  max-width: var(--measure);
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.prose {
  max-width: var(--measure);
}

.prose p {
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 1.35em;
}

.prose-gap {
  margin-top: 1.5rem;
}

.lede-follow {
  margin-top: 2rem;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: var(--orange);
  scroll-margin-top: calc(var(--header-offset) + 0.75rem);
}

.section--navy .eyebrow,
.hero--navy .eyebrow,
.quote-band--navy .eyebrow,
.display-band .eyebrow {
  color: rgba(246, 241, 232, 0.65);
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.site-header--over-dark {
  background: rgba(15, 26, 48, 0.72);
  border-bottom-color: rgba(246, 241, 232, 0.08);
}

.site-header--over-dark .wordmark,
.site-header--over-dark .nav-link,
.site-header--over-dark .nav-menu-btn {
  color: var(--cream);
}

.site-header--over-dark .nav-link:hover,
.site-header--over-dark .nav-link.is-active,
.site-header--over-dark .wordmark:hover {
  color: var(--orange);
}

.site-header--over-dark .nav-menu-btn {
  border-color: rgba(246, 241, 232, 0.35);
}

.nav {
  position: relative;
  max-width: calc(var(--max) + 2 * var(--page-pad));
  margin: 0 auto;
  padding: 1rem var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.wordmark:hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
}

.nav-menu-btn {
  display: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--border-light-strong);
  border-radius: 999px;
  min-height: 44px;
  min-width: 44px;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--orange);
}

.nav-link--login {
  color: var(--text-muted-on-light);
}

.site-header--over-dark .nav-link--login {
  color: rgba(246, 241, 232, 0.7);
}

@media (max-width: 860px) {
  .nav-menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    background: var(--cream);
    border-bottom: 1px solid var(--border-light-strong);
    padding: 0.75rem var(--page-pad) 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-sizing: border-box;
    z-index: 50;
  }

  .nav-links .nav-link {
    width: 100%;
    padding: 0.85rem 0;
    min-height: 44px;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links .nav-link:last-child {
    border-bottom: 0;
  }

  .site-header--over-dark .nav-links {
    background: var(--navy-dark);
  }

  .site-header--over-dark .nav-links .nav-link {
    border-bottom-color: rgba(246, 241, 232, 0.1);
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  min-height: 44px;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--navy);
  color: var(--cream);
}

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

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

.btn-on-dark {
  background: var(--cream);
  color: var(--navy);
}

.btn-on-dark:hover {
  background: var(--orange);
  color: var(--cream);
}

.btn-outline-on-dark {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 232, 0.45);
}

.btn-outline-on-dark:hover {
  border-color: var(--cream);
  color: var(--cream);
  background: rgba(246, 241, 232, 0.08);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Sections */
.section {
  padding: var(--space-section) var(--page-pad);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section--cream {
  background: var(--cream);
  color: var(--navy);
}

.section--white {
  background: var(--white);
  color: var(--navy);
}

.section--navy {
  background: var(--navy);
  color: var(--cream);
}

.split-copy {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 900px) {
  .split-copy {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

/* About story + modest portrait */
.story-with-portrait {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.story-portrait {
  margin: 0;
  justify-self: start;
}

.story-portrait img {
  width: min(100%, 280px);
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

@media (max-width: 799px) {
  .story-with-portrait {
    grid-template-columns: 1fr;
  }

  .story-portrait {
    order: -1;
  }

  .story-portrait img {
    width: min(100%, 240px);
  }
}

@media (min-width: 800px) {
  .story-with-portrait {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .story-portrait {
    justify-self: end;
    padding-top: 0.35rem;
  }

  .story-portrait img {
    width: 260px;
  }
}

@media (min-width: 1100px) {
  .story-portrait img {
    width: 300px;
  }
}

/* Deliberate image section break */
.image-break {
  background: var(--cream);
  padding: clamp(4rem, 10vw, 7.5rem) var(--page-pad);
}

.image-break-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.image-break img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 780px);
  object-fit: cover;
  object-position: center 30%;
}

/* Full-bleed display bands */
.display-band {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(4.5rem, 14vw, 9rem) var(--page-pad);
}

.display-band-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.display-band .display {
  max-width: min(16ch, 100%);
  color: var(--cream);
}

/* Quote bands */
.quote-band {
  padding: var(--space-section) var(--page-pad);
}

.quote-band-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.quote-band--cream {
  background: var(--cream);
  color: var(--navy);
}

.quote-band--navy {
  background: var(--navy);
  color: var(--cream);
}

.quote-band--orange {
  background: var(--orange);
  color: var(--cream);
}

.quote-band .pull-quote {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.quote-band .pull-quote--after {
  margin-top: clamp(3rem, 7vw, 5rem);
  margin-bottom: 0;
}

.quote-band .prose {
  max-width: var(--measure);
}

/* Small enough: two-column band */
.care-split {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.quote-band .care-copy .pull-quote {
  margin: 0 0 1rem;
  max-width: min(14ch, 100%);
}

.care-copy .prose {
  max-width: 36ch;
  text-wrap: pretty;
}

.care-copy .prose p + p {
  margin-top: 1em;
}

.care-photo {
  margin: 0;
}

.care-photo img {
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
}

@media (min-width: 800px) {
  .care-split {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: clamp(2rem, 4vw, 3rem);
    align-items: stretch;
  }

  .care-photo {
    justify-self: stretch;
    align-self: stretch;
    height: 100%;
    min-height: 0;
    display: block;
  }

  .care-photo img {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    aspect-ratio: unset;
    object-fit: cover;
    object-position: center 22%;
  }
}

@media (max-width: 799px) {
  .care-split {
    grid-template-columns: 1fr;
  }

  .care-photo {
    order: -1;
  }

  .care-photo img {
    width: 100%;
    max-width: none;
    max-height: 420px;
  }
}

/* ---------- Home: neon alongside (default) ---------- */
.hero-neon-stack {
  background: var(--navy-dark);
}

.hero-neon-media {
  width: 100%;
  max-height: min(78vh, 820px);
  overflow: hidden;
  background: #000;
}

.hero-neon-media img {
  width: 100%;
  height: min(78vh, 820px);
  object-fit: cover;
  object-position: center center;
}

.hero-neon-copy {
  background: var(--cream);
  color: var(--navy);
  padding: clamp(3rem, 8vw, 5.5rem) var(--page-pad);
}

.hero-neon-copy-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-neon-copy .display {
  margin: 0 0 1.5rem;
  max-width: min(14ch, 100%);
}

/* ---------- Home: neon overlay (preview) ---------- */
.hero-neon-overlay {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: #000;
}

.hero-neon-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-neon-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 26, 48, 0.92) 0%,
    rgba(15, 26, 48, 0.55) 42%,
    rgba(15, 26, 48, 0.25) 100%
  );
}

.hero-neon-overlay-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 6rem) var(--page-pad);
  width: 100%;
}

.hero-neon-overlay .display {
  color: var(--cream);
  max-width: 14ch;
  margin: 0 0 1.5rem;
}

.hero-neon-overlay .lede {
  color: rgba(246, 241, 232, 0.88);
}

/* ---------- Clients: chair with type in left space ---------- */
.hero-chair {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.hero-chair img {
  width: 100%;
  height: auto;
  min-height: 320px;
  max-height: min(78vh, 720px);
  object-fit: cover;
  object-position: right center;
}

.hero-chair-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) var(--page-pad);
  pointer-events: none;
}

.hero-chair-copy-inner {
  max-width: min(36rem, 60%);
  pointer-events: auto;
}

.hero-chair-copy .display {
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  margin: 0 0 1.25rem;
  max-width: none;
}

.hero-chair-copy .lede {
  color: var(--text-muted-on-light);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 36ch;
}

@media (max-width: 900px) {
  .hero-chair-copy-inner {
    max-width: min(30rem, 62%);
  }
}

@media (max-width: 700px) {
  .hero-chair {
    display: flex;
    flex-direction: column;
  }

  .hero-chair img {
    position: relative;
    max-height: 360px;
    min-height: 260px;
    order: 2;
    object-position: 75% center;
  }

  .hero-chair-copy {
    position: relative;
    inset: auto;
    order: 1;
    align-items: flex-start;
    padding: 2.25rem var(--page-pad) 1.75rem;
    background: var(--cream);
  }

  .hero-chair-copy-inner {
    max-width: none;
    width: 100%;
  }

  .hero-chair-copy .display {
    font-size: clamp(2.15rem, 9vw, 2.75rem);
    max-width: none;
  }

  .hero-chair-copy .lede {
    max-width: var(--measure);
  }
}

.chair-quote {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.chair-quote img {
  width: 100%;
  height: auto;
  min-height: 360px;
  max-height: 640px;
  object-fit: cover;
  object-position: right center;
}

.chair-quote-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) var(--page-pad);
}

.chair-quote-copy .pull-quote {
  color: var(--navy);
  max-width: min(14ch, 42vw);
}

/* ---------- Talent / About image heroes ---------- */
.hero {
  padding: clamp(3.5rem, 10vw, 7rem) var(--page-pad) clamp(4rem, 11vw, 8rem);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero--cream {
  background: var(--cream);
  color: var(--navy);
}

.hero--navy {
  background: var(--navy);
  color: var(--cream);
}

.hero .display {
  margin: 0 0 1.5rem;
  max-width: 14ch;
}

.talent-hero-grid,
.about-hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (max-width: 899px) {
  .talent-hero-grid,
  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .talent-photo,
  .about-photo {
    width: 100%;
    max-height: 480px;
  }
}

@media (min-width: 900px) {
  .talent-hero-grid,
  .about-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.talent-photo,
.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.talent-photo {
  object-position: center 20%;
}

.about-photo {
  object-position: center 25%;
}

/* Portal list */
.portal-list {
  margin: 2rem 0 0;
  max-width: 42rem;
  display: grid;
  gap: 0;
}

.portal-list li {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.45;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border-light-strong);
}

.portal-list li:last-child {
  border-bottom: 1px solid var(--border-light-strong);
}

.note {
  margin-top: 2rem;
  max-width: var(--measure);
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--border-light-strong);
  font-size: 0.95em;
  color: var(--text-muted-on-light);
}

/* Sectors */
.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
  max-width: 48rem;
}

.sector-chip {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(246, 241, 232, 0.28);
  color: var(--cream);
  border-radius: 999px;
}

/* Closing */
.closing {
  padding: var(--space-section) var(--page-pad);
  text-align: left;
}

.closing-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.closing .pull-quote {
  max-width: 22ch;
  margin-bottom: 2.5rem;
}

.closing .section-title {
  max-width: 18ch;
}

.closing .lede {
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 5rem) var(--page-pad) 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.footer-email {
  color: var(--cream);
  font-size: 1.05rem;
}

.footer-email:hover {
  color: var(--orange);
}

.footer-sectors {
  margin: 2.5rem 0;
  max-width: 40rem;
  color: var(--text-muted-on-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(246, 241, 232, 0.12);
}

.footer-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-links a:hover {
  color: var(--orange);
}

/* Preview note (overlay alt page only) */
.preview-banner {
  background: var(--orange);
  color: var(--cream);
  text-align: center;
  padding: 0.75rem var(--page-pad);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.preview-banner a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Jobs index + detail (build-time static pages) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jobs-hero {
  /* Hero already sits below the in-flow sticky header; keep intro compact */
  padding-top: clamp(2rem, 5vw, 3.25rem);
  padding-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.jobs-hero .display {
  max-width: 14ch;
  scroll-margin-top: calc(var(--header-offset) + 1rem);
}

.jobs-hero .lede {
  max-width: 36rem;
  margin-top: 1.25rem;
}

/* Cream-on-cream: drop the full section top pad or the gap looks empty */
.jobs-hero + .section {
  padding-top: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: var(--space-section);
}

.jobs-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1000px) {
  .jobs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.job-card {
  background: var(--white);
  border: 1px solid var(--border-light-strong);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(21, 35, 63, 0.1);
}

.job-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.35rem;
}

.job-card-title a {
  color: var(--navy);
}

.job-card-title a:hover {
  color: var(--orange);
}

.job-card-meta {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted-on-light);
}

.job-card-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.15rem;
}

.job-card-rate {
  margin: 0.35rem 0 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.job-card-link {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.job-card-link:hover {
  color: var(--navy);
}

.job-detail-hero {
  background: var(--cream);
  padding: clamp(2rem, 5vw, 3.25rem) var(--page-pad) clamp(2.5rem, 6vw, 4rem);
}

.job-detail-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.job-detail-hero .display {
  max-width: 18ch;
  text-wrap: balance;
  scroll-margin-top: calc(var(--header-offset) + 1rem);
}

.job-detail-hero .eyebrow a {
  color: var(--orange);
}

.job-detail-hero .eyebrow a:hover {
  color: var(--navy);
}

.job-detail-rate {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--navy);
}

.job-facts {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.job-facts li {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text-muted-on-light);
}

.job-facts strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.2rem;
}

.job-block + .job-block {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.job-block-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.job-apply-band {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--border-light-strong);
}

.job-apply-band .lede {
  max-width: 36rem;
  margin-top: 0.75rem;
}

.blog-card-excerpt {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted, #5c6678);
}

.blog-card-hero {
  margin: -1.75rem -1.5rem 0.35rem;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: #15233F;
}

.blog-card-hero svg {
  display: block;
  width: 100%;
  height: auto;
}

.blog-hero-card {
  margin: 0 0 1.5rem;
}

.blog-hero-card svg {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-light-strong);
}

.blog-byline {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--muted, #5c6678);
}

.blog-prose {
  max-width: 42rem;
}

/* FAQ */
.faq-hero {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.faq-hero .display {
  max-width: 8ch;
}

.faq-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 2rem;
}

.faq-jump a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.faq-jump a:hover {
  color: var(--navy);
}

.faq-section {
  max-width: var(--max);
}

.faq-section .section-title {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.faq-item + .faq-item {
  margin-top: clamp(2rem, 4.5vw, 2.75rem);
  padding-top: clamp(2rem, 4.5vw, 2.75rem);
  border-top: 1px solid var(--border-light-strong);
}

.faq-q {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: var(--navy);
  text-wrap: balance;
}

.faq-a {
  max-width: var(--measure);
}

.section--white .faq-q {
  color: var(--navy);
}

/* Legal (privacy / terms) */
.legal-hero {
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
}

.legal-hero .display {
  max-width: 12ch;
}

.legal-updated {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted-on-light);
}

.legal-toc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  margin-top: 2rem;
  max-width: var(--measure);
}

.legal-toc a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.15rem 0;
}

.legal-toc a:hover {
  color: var(--navy);
}

.legal-body {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: var(--space-section);
}

.legal-doc {
  max-width: var(--measure);
}

.legal-doc .lede,
.legal-intro {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  font-size: clamp(1.05rem, 2.2vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-muted-on-light);
}

.legal-section {
  margin: 0 0 clamp(2.75rem, 6vw, 4rem);
  scroll-margin-top: calc(var(--header-offset) + 1rem);
}

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

.legal-section .section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
}

.legal-sub {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin: 1.75rem 0 0.65rem;
  color: var(--navy);
}

.legal-doc .prose {
  max-width: none;
}

.legal-doc .prose p {
  margin: 0;
  line-height: 1.75;
}

.legal-doc .prose p + p {
  margin-top: 1.1rem;
}

.legal-doc .prose a {
  color: var(--orange);
  text-underline-offset: 3px;
}

.legal-doc .prose a:hover {
  color: var(--navy);
}

@media (max-width: 480px) {
  .legal-toc {
    gap: 0;
  }

  .legal-toc a {
    min-height: 44px;
  }
}
