/* LDR Recruitment — design system */

:root {
  --ink: #0E1014;
  --ink-2: #16191F;
  --ink-3: #1F232B;
  --navy: #1F3251;
  --navy-2: #2A4068;
  --navy-deep: #15233A;
  --line: rgba(242, 239, 232, 0.12);
  --line-strong: rgba(242, 239, 232, 0.24);
  --bone: #F2EFE8;
  --bone-dim: #C9C4B7;
  --bone-mute: #8C887E;
  --amber: #FFB400;
  --amber-deep: #E69E00;
  --safety: #FF5A1F;
  --ok: #6BCB77;

  /* Light theme tokens (used on bone surfaces) */
  --on-bone-fg: #0E1014;
  --on-bone-fg-mute: #4A4D55;
  --on-bone-line: rgba(14, 16, 20, 0.12);

  --container: 1400px;
  --gutter: 32px;
  --radius-s: 4px;
  --radius-m: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

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

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

button { font-family: inherit; cursor: pointer; }

.display {
  font-family: "Space Grotesk", -apple-system, sans-serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.92;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--amber);
  display: inline-block;
}

/* CONTAINER */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 16, 20, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.brand-rule {
  width: 1px;
  height: 24px;
  background: var(--line);
}

.brand-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-mute);
  line-height: 1.4;
}
.brand-tag strong { color: var(--bone); font-weight: 500; display: block; }

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bone-dim);
  transition: color .2s var(--ease);
}

.nav-link:hover { color: var(--bone); }

.nav-link.active { color: var(--bone); }

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 4px;
  height: 1px;
  background: var(--amber);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  background: var(--bone);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform .2s var(--ease), background .2s var(--ease);
}

.nav-cta:hover { background: var(--amber); transform: translateY(-1px); }

.nav-cta .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(107, 203, 119, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(107, 203, 119, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(107, 203, 119, 0.05); }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--bone);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--bone);
  background: rgba(242, 239, 232, 0.04);
}

.btn-arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform .25s var(--ease);
}

.btn-primary .btn-arrow { background: var(--ink); color: var(--amber); }
.btn:hover .btn-arrow { transform: translate(2px, -2px); }

/* SECTION */
.section {
  padding: 120px 0;
  position: relative;
}

.section-bone {
  background: var(--bone);
  color: var(--on-bone-fg);
}
.section-bone .eyebrow { color: var(--on-bone-fg-mute); }
.section-bone .eyebrow::before { background: var(--ink); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.section-bone .section-head { border-bottom-color: var(--on-bone-line); }

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(40px, 5.5vw, 88px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-weight: 500;
  margin: 0;
}

.section-title em {
  font-style: italic;
  color: var(--amber);
  font-weight: 400;
}

.section-bone .section-title em { color: var(--safety); }

.section-lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--bone-dim);
  max-width: 56ch;
  margin: 0;
}

.section-bone .section-lede { color: var(--on-bone-fg-mute); }

/* MARQUEE */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}
.section-bone .marquee {
  border-color: var(--on-bone-line);
  background: var(--bone);
}

.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  padding: 22px 0;
  animation: marquee 50s linear infinite;
  width: max-content;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 64px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.marquee-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
}

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

/* FOOTER */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
  color: var(--bone-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.footer h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-mute);
  font-weight: 500;
  margin: 0 0 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a:hover { color: var(--bone); }

.footer-tag {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  color: var(--bone);
  letter-spacing: -0.02em;
  margin: 16px 0 24px;
  line-height: 1;
}

.footer-tag span { color: var(--amber); }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-mute);
}

.footer-base .legal { display: flex; gap: 32px; }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }

/* PHOTO FRAME */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo:hover img { transform: scale(1.04); }

.photo-caption {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  z-index: 2;
}
.photo-caption span { background: var(--ink); padding: 6px 8px; }

/* GRAIN */
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}

/* FORM */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-mute);
}
.input, .select, .textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  color: var(--bone);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .2s var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  border-bottom-color: var(--amber);
}
.section-bone .input, .section-bone .select, .section-bone .textarea {
  color: var(--ink);
  border-bottom-color: var(--on-bone-line);
}
.section-bone .input:focus { border-bottom-color: var(--ink); }

.textarea { resize: vertical; min-height: 80px; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9C4B7' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 24px;
}

.section-bone .select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4D55' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
}

/* TICKER */
.ticker {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s infinite;
}

/* CARD */
.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 32px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-num {
  position: absolute;
  top: 24px; right: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone-mute);
}

/* RESPONSIVE */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-base { flex-direction: column; gap: 16px; }
}
