/* ── HIRE UG — BASE ──────────────────────────────────────────────────────
   Reset · Google Fonts · HTML/Body defaults · Utilities · Keyframes
   ──────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --ink: #111010;
  --paper: #F5F0E8;
  --amber: #D4870A;
  --amber-lt: #F5A623;
  --rust: #B84C18;
  --cream: #FDFAF4;
  --muted: #7A6E5F;
  --white: #FFFFFF;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  /* margin: auto; */
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
}

#main-container, .jh-nav, #main, .jh-footer {
  max-width: 1290px;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

/* ── TYPOGRAPHY DEFAULTS ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ── UTILITIES ── */
.section-label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
}

.rule {
  border: none;
  border-top: 1px solid rgba(17, 16, 16, .12);
  margin: 0 4rem;
}

.see-all {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  padding-bottom: .15rem;
  font-family: 'DM Sans', sans-serif;
}

.see-all:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: .1s;
}

.reveal-d2 {
  transition-delay: .2s;
}

.reveal-d3 {
  transition-delay: .3s;
}

/* ── KEYFRAMES ── */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes checkDraw {
  from {
    stroke-dashoffset: 60;
    opacity: 0;
  }

  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes circlePop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  70% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-d1,
  .reveal-d2,
  .reveal-d3 {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ticker-track {
    animation: none;
  }

  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ── SECTION HEADER SHARED ── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 440px;
}

.section-header h2 em {
  font-style: italic;
  color: var(--amber);
}

@media (max-width: 1024px) {

  *,
  *::before,
  *::after {
    margin: auto;
  }
}

@media (max-width: 900px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .rule {
    margin: 0 1.5rem;
  }
}

.job_listing .hero-section {
	padding: 0 4rem;
}

@media only screen and (max-width: 900px) {
	.job_listing .hero-section {
	padding: 0 1.5rem;
	}
} 