/* ============================================================
   Inti Empire Group — style.css
   Palette: yellow #FFB400 · orange #FF7A00 / #E85D04 · charcoal #26262B · cream #FAF7F2
   ============================================================ */

:root {
  --yellow: #FFB400;
  --orange: #FF7A00;
  --orange-deep: #E85D04;
  --charcoal: #26262B;
  --charcoal-dark: #1d1d21;
  --cream: #FAF7F2;
  --cream-2: #F3EEE6;
  --ink-soft: #4b4a50;
  --header-h: 76px;
  --grad: linear-gradient(100deg, #FFB400, #FF7A00);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* safety net against accidental horizontal scroll */
}

img { max-width: 100%; display: block; }
.cover { width: 100%; height: 100%; object-fit: cover; }

a { color: var(--orange-deep); text-decoration: none; }

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

section[id] { scroll-margin-top: var(--header-h); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ---------- type helpers ---------- */
.eyebrow {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.eyebrow--light { color: var(--yellow); }

.h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
}

.lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.grad-text {
  background: linear-gradient(95deg, #FFB400, #FF7A00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  transition: box-shadow .25s ease, border-color .25s ease, color .25s ease;
}
.btn--primary {
  background: var(--grad);
  color: var(--charcoal);
  box-shadow: 0 8px 30px rgba(255, 122, 0, .4);
}
.btn--primary:hover { box-shadow: 0 10px 38px rgba(255, 122, 0, .6); color: var(--charcoal); }
.btn--lg { font-size: 17px; padding: 18px 36px; }
.btn--md { font-size: 16px; padding: 16px 32px; }
.btn--ghost {
  color: var(--cream);
  border: 2px solid rgba(250, 247, 242, .45);
  font-weight: 700;
}
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(38, 38, 43, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 180, 0, .18);
}
.site-header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* logo lockup placeholder — reserved space for the final logo (arrives Wed) */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 140px;
}
.logo__main { font-weight: 900; font-size: 26px; letter-spacing: .06em; color: var(--yellow); }
.logo__sub { font-weight: 600; font-size: 10px; letter-spacing: .34em; color: var(--cream); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: color .2s ease;
}
.nav-links a:not(.btn):hover { color: var(--yellow); }
.nav-links .btn { font-size: 14px; padding: 12px 22px; box-shadow: 0 4px 18px rgba(255, 122, 0, .35); }

.burger {
  display: none;
  background: none;
  border: 1px solid rgba(255, 180, 0, .4);
  border-radius: 6px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--yellow); transition: transform .25s ease, opacity .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--charcoal);
  padding: 12px 24px 24px;
  gap: 4px;
  border-top: 1px solid rgba(255, 180, 0, .18);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a:not(.btn) { color: var(--cream); font-size: 17px; font-weight: 600; padding: 12px 4px; }
.mobile-menu .btn { font-size: 16px; padding: 14px 22px; margin-top: 8px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(38,38,43,.94) 0%, rgba(38,38,43,.78) 42%, rgba(232,93,4,.45) 100%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  top: -30%; right: -12%;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,180,0,.28) 0%, rgba(255,122,0,.10) 45%, transparent 70%);
  pointer-events: none;
  animation: ieg-glow 7s ease-in-out infinite;
}
.hero__inner {
  position: relative;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 100px;
}
.hero__content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: ieg-fade-up .9s ease both;
}
.hero__kicker { display: flex; align-items: center; gap: 12px; }
.hero__kicker-line { width: 36px; height: 3px; flex-shrink: 0; background: linear-gradient(90deg, #FFB400, #FF7A00); }
.hero__kicker span:last-child {
  color: var(--yellow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 82px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--cream);
  text-wrap: balance;
}
.hero__text {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(250, 247, 242, .85);
  max-width: 600px;
  text-wrap: pretty;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- about ---------- */
.about { background: var(--cream); padding: 110px 0; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.about__copy { display: flex; flex-direction: column; gap: 22px; }
.about__stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 8px; }
.about__stat { display: flex; flex-direction: column; gap: 4px; }
.about__stat-value { font-size: 34px; font-weight: 900; color: var(--orange); }
.about__stat-label { font-size: 14px; font-weight: 600; color: #8a857d; letter-spacing: .06em; text-transform: uppercase; }
.about__media { position: relative; }
.about__photo {
  width: 100%;
  height: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(38, 38, 43, .18);
}
.about__candid {
  position: absolute;
  bottom: -36px; left: -36px;
  width: 210px; height: 210px;
  border-radius: 12px;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: 0 16px 40px rgba(38, 38, 43, .22);
}
.about__spark {
  position: absolute;
  top: -22px; right: -22px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 0, .5), transparent 70%);
  pointer-events: none;
}

/* ---------- services ---------- */
.services { background: var(--cream-2); padding: 110px 0; position: relative; overflow: hidden; }
.services__beam {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 4px;
  background: linear-gradient(90deg, transparent, #FFB400, #FF7A00, transparent);
}
.services__inner { display: flex; flex-direction: column; gap: 56px; }
.services__head { max-width: 640px; display: flex; flex-direction: column; gap: 18px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 4px solid var(--yellow);
  box-shadow: 0 10px 34px rgba(38, 38, 43, .07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(38, 38, 43, .13); }
.service-card:nth-child(2) { border-top-color: var(--orange); }
.service-card:nth-child(3) { border-top-color: var(--orange-deep); }
.service-card h3 { font-size: 23px; font-weight: 800; }
.service-card p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- values ---------- */
.values { background: var(--charcoal); padding: 120px 0; position: relative; overflow: hidden; }
.values__glow {
  position: absolute;
  bottom: -40%; left: -10%;
  width: 55vw; height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, .14) 0%, transparent 65%);
  pointer-events: none;
}
.values__inner { position: relative; display: flex; flex-direction: column; gap: 60px; }
.values__head { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.values__head .h2 { color: var(--cream); }
.values__head p { font-size: 17px; line-height: 1.7; color: rgba(250, 247, 242, .65); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.value-card {
  border: 1px solid rgba(255, 180, 0, .25);
  border-radius: 12px;
  padding: 36px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(250, 247, 242, .03);
  transition: border-color .25s ease, background .25s ease;
}
.value-card:hover { border-color: var(--yellow); background: rgba(255, 180, 0, .06); }
.value-card__letter {
  font-size: 96px;
  font-weight: 900;
  line-height: .9;
  background: linear-gradient(160deg, #FFB400, #FF7A00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.value-card h3 { font-size: 21px; font-weight: 800; color: var(--cream); letter-spacing: .02em; }
.value-card p { font-size: 15px; line-height: 1.65; color: rgba(250, 247, 242, .7); text-wrap: pretty; }

/* ---------- careers ---------- */
.careers { background: var(--cream); padding: 120px 0; }
.careers__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.careers__media { display: flex; flex-direction: column; gap: 20px; }
.careers__photo-main {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(38, 38, 43, .16);
}
.careers__photo-overlap {
  width: 78%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin-left: auto;
  margin-top: -80px;
  border: 6px solid var(--cream);
  box-shadow: 0 16px 44px rgba(38, 38, 43, .2);
  position: relative;
}
.careers__copy { display: flex; flex-direction: column; gap: 22px; }
.careers__copy .h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.06; }
.checklist { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.checklist h3 {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.checklist__item { display: flex; align-items: center; gap: 12px; }
.checklist__item svg { flex-shrink: 0; }
.checklist__item span { font-size: 16px; font-weight: 600; color: #37363c; }

/* ---------- recognition ---------- */
.recognition { background: var(--cream-2); padding: 120px 0; }
.recognition__inner { display: flex; flex-direction: column; gap: 56px; }
.recognition__head { display: flex; flex-direction: column; gap: 18px; max-width: 680px; }
.motm {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  background: var(--charcoal);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(38, 38, 43, .2);
}
.motm__media { min-height: 440px; position: relative; }
.motm__body {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.motm__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: var(--charcoal);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
}
.motm__name { margin-top: 6px; font-size: 36px; font-weight: 900; color: var(--cream); }
.motm__role { font-size: 15px; font-weight: 700; color: var(--yellow); letter-spacing: .06em; text-transform: uppercase; }
.motm__bio { font-size: 16px; line-height: 1.7; color: rgba(250, 247, 242, .75); text-wrap: pretty; }
.motm__quote {
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 600;
  font-style: italic;
  color: var(--cream);
  border-left: 3px solid var(--orange);
  padding-left: 20px;
}
.performers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.performer {
  background: var(--cream);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(38, 38, 43, .08);
  display: flex;
  flex-direction: column;
}
.performer__media { height: 280px; }
.performer__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.performer__tag { font-size: 13px; font-weight: 800; color: var(--orange-deep); letter-spacing: .14em; text-transform: uppercase; }
.performer h3 { font-size: 21px; font-weight: 800; }
.performer p { font-size: 15px; color: var(--ink-soft); }

/* ---------- culture ---------- */
.culture { background: var(--cream); padding: 120px 0; }
.culture__inner { display: flex; flex-direction: column; gap: 56px; }
.culture__head { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.culture__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 16px;
}
.culture__tile { border-radius: 12px; overflow: hidden; }
.culture__tile--big { grid-column: span 2; grid-row: span 2; }
.culture__tile--wide { grid-column: span 2; }
.culture__tile img { transition: transform .45s ease; }
.culture__tile:hover img { transform: scale(1.04); }

/* ---------- apply / contact ---------- */
.apply { background: var(--charcoal); padding: 120px 0; position: relative; overflow: hidden; }
.apply__glow {
  position: absolute;
  top: -35%; right: -15%;
  width: 55vw; height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 0, .16) 0%, transparent 65%);
  pointer-events: none;
}
.apply__inner { position: relative; display: flex; flex-direction: column; gap: 56px; }
.apply__head { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.apply__head .h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; color: var(--cream); }
.apply__head p { font-size: 17px; line-height: 1.7; color: rgba(250, 247, 242, .7); }
.apply__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}
.apply__side { display: flex; flex-direction: column; gap: 24px; }
.indeed-card {
  background: rgba(250, 247, 242, .05);
  border: 1px solid rgba(255, 180, 0, .25);
  border-radius: 14px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.indeed-card h3 { font-size: 24px; font-weight: 800; color: var(--cream); }
.indeed-card p { font-size: 15px; line-height: 1.65; color: rgba(250, 247, 242, .7); }
.indeed-card .btn { align-self: flex-start; margin-top: 6px; }
.contact-lines { display: flex; flex-direction: column; gap: 14px; padding: 8px 4px; }
.contact-lines a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(250, 247, 242, .85);
  font-size: 16px;
  font-weight: 600;
  transition: color .2s ease;
}
.contact-lines a:hover { color: var(--yellow); }
.socials { display: flex; gap: 14px; margin-top: 6px; }
.socials a {
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 180, 0, .35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, background .2s ease;
}
.socials a:hover { border-color: var(--yellow); background: rgba(255, 180, 0, .1); }

.form-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 44px 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.form-card h3 { margin-bottom: 4px; font-size: 24px; font-weight: 800; }
.form-grid { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card textarea {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  padding: 15px 16px;
  border: 1.5px solid #ddd6ca;
  border-radius: 8px;
  background: #fff;
  color: var(--charcoal);
  width: 100%;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--orange); outline: none; }
.form-card ::placeholder { color: #9a948c; }
.form-card textarea { resize: vertical; }
.file-label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px dashed #d1a45a;
  border-radius: 8px;
  padding: 15px 16px;
  cursor: pointer;
  background: rgba(255, 180, 0, .06);
  transition: border-color .2s ease;
}
.file-label:hover { border-color: var(--orange); }
.file-label span { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.file-label input { display: none; }
.form-card button[type="submit"] {
  background: var(--grad);
  color: var(--charcoal);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 17px;
  padding: 17px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(255, 122, 0, .3);
  transition: box-shadow .25s ease;
}
.form-card button[type="submit"]:hover { box-shadow: 0 10px 34px rgba(255, 122, 0, .5); }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 10px;
}
.form-success h3 { font-size: 26px; font-weight: 900; }
.form-success p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.form-card.is-submitted .form-grid { display: none; }
.form-card.is-submitted .form-success { display: flex; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--charcoal-dark);
  padding: 64px 0 40px;
  border-top: 1px solid rgba(255, 180, 0, .15);
}
.site-footer__inner { display: flex; flex-direction: column; gap: 40px; }
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.site-footer .logo__main { font-size: 32px; }
.site-footer .logo__sub { font-size: 11px; margin-top: 4px; }
.site-footer__tagline {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 247, 242, .55);
  max-width: 300px;
}
.site-footer__nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.site-footer__nav a { color: rgba(250, 247, 242, .75); font-size: 14px; font-weight: 600; transition: color .2s ease; }
.site-footer__nav a:hover { color: var(--yellow); }
.site-footer__bottom {
  border-top: 1px solid rgba(250, 247, 242, .1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__bottom span { font-size: 13px; color: rgba(250, 247, 242, .4); }

/* ---------- loader ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal-dark);
  overflow: hidden;
  transition: transform .75s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .75s;
}
/* curtain exit: slides up revealing the hero */
.loader.is-hidden { transform: translateY(-101%); visibility: hidden; }
.loader__glow {
  position: absolute;
  left: 50%; top: 58%;
  width: 72vmin; height: 72vmin;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, .26) 0%, rgba(255, 180, 0, .08) 45%, transparent 68%);
  animation: ieg-glow 3.2s ease-in-out infinite;
  pointer-events: none;
}
.loader__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.loader__letters {
  display: flex;
  gap: clamp(8px, 2vw, 20px);
}
.loader__letter {
  font-size: clamp(64px, 14vw, 150px);
  font-weight: 900;
  line-height: .9;
  /* gradient with a bright "sun glint" stop that sweeps across via background-position */
  background: linear-gradient(100deg, #FFB400 0%, #FF7A00 38%, #FFE9B0 50%, #FF7A00 62%, #FFB400 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(42px) scale(.55) rotate(-8deg);
  animation:
    ieg-loader-in .65s cubic-bezier(.22, 1.4, .36, 1) forwards,
    ieg-loader-glint 1s ease-in-out forwards;
}
.loader__letter:nth-child(1) { animation-delay: .05s, .85s; }
.loader__letter:nth-child(2) { animation-delay: .17s, .93s; }
.loader__letter:nth-child(3) { animation-delay: .29s, 1.01s; }
.loader__letter:nth-child(4) { animation-delay: .41s, 1.09s; }
@keyframes ieg-loader-in {
  55% { opacity: 1; }
  to { opacity: 1; transform: none; }
}
@keyframes ieg-loader-glint {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}
.loader__tagline {
  font-size: clamp(11px, 1.6vw, 15px);
  font-weight: 600;
  color: var(--cream);
  opacity: 0;
  letter-spacing: .12em;
  animation: ieg-loader-tagline .8s ease .95s forwards;
}
@keyframes ieg-loader-tagline {
  to { opacity: .92; letter-spacing: .52em; margin-left: .52em; }
}
.loader__bar {
  width: 150px;
  height: 3px;
  border-radius: 3px;
  background: rgba(250, 247, 242, .12);
  overflow: hidden;
  opacity: 0;
  animation: ieg-loader-fade .5s ease .6s forwards;
}
@keyframes ieg-loader-fade { to { opacity: 1; } }
.loader__bar-fill {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 3px;
  background: var(--grad);
  animation: ieg-loader-sweep 1.05s ease-in-out infinite;
}
@keyframes ieg-loader-sweep {
  from { transform: translateX(-110%); }
  to { transform: translateX(370%); }
}

/* ---------- animation ---------- */
@keyframes ieg-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ieg-glow {
  0%, 100% { opacity: .55; }
  50% { opacity: .85; }
}
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].ieg-in { opacity: 1; transform: none; }
/* hero entrance waits behind the loader curtain */
.loader ~ .hero .hero__content { animation-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__content { animation: none; }
  .loader { transition: none; }
  .loader__glow { animation: none; opacity: .7; }
  .loader__letter { animation: none; opacity: 1; transform: none; background-position: 50% 0; }
  .loader__tagline { animation: none; opacity: .92; letter-spacing: .52em; margin-left: .52em; }
  .loader__bar { animation: none; opacity: 1; }
  .loader__bar-fill { animation: none; width: 100%; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .performers { gap: 20px; }
  .about__grid, .careers__grid { gap: 44px; }
}

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

  .nav-links { display: none; }
  .burger { display: flex; }

  .about, .services { padding: 72px 0; }
  .values, .careers, .recognition, .culture, .apply { padding: 80px 0; }

  .hero__inner { padding-top: 120px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(38px, 9vw, 56px); }
  .hero__text { font-size: 17px; }

  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { margin-bottom: 36px; }          /* room for the offset candid */
  .about__photo { height: 380px; }
  .about__candid { width: 160px; height: 160px; bottom: -28px; left: -6px; }  /* keep inside viewport */
  .about__spark { top: -14px; right: -8px; }

  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .values__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .careers__grid { grid-template-columns: minmax(0, 1fr); }
  .careers__photo-main { height: 300px; }
  .careers__photo-overlap { height: 180px; margin-top: -60px; }

  .motm { grid-template-columns: minmax(0, 1fr); }
  .motm__media { min-height: 360px; aspect-ratio: 4 / 3; }
  .motm__body { padding: 36px 28px 44px; }
  .motm__name { font-size: 30px; }

  .performers { grid-template-columns: minmax(0, 1fr); }
  .performer__media { height: 260px; }

  .culture__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-rows: 160px;
  }

  .apply__grid { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 32px 24px; }
  .indeed-card { padding: 32px 26px; }
}

@media (max-width: 560px) {
  .values__grid { grid-template-columns: minmax(0, 1fr); }
  .value-card__letter { font-size: 72px; }

  .about__stats { gap: 20px; }
  .about__stat-value { font-size: 26px; }

  .form-row { grid-template-columns: minmax(0, 1fr); }

  .culture__grid { grid-auto-rows: 130px; }

  .hero__cta .btn { width: 100%; }
  .indeed-card .btn { align-self: stretch; }

  .motm__quote { font-size: 17px; }
}
