/* Direction: careers magazine — crisp white paper, chunky grotesque, one tangerine accent */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f4f1;
  --border: #e5e4df;
  --border-strong: #b8b8b9;
  --ink: #121215;
  --muted: #5d5d66;
  --accent: #ea6713;
  --accent-hover: #c75810;
  --accent-ink: #121215;
  --accent-text: #b94a06;
  --accent-strong: #a84305;
  --accent-soft: #ffeedd;
  --accent-border: #f6bb95;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #e3f0e8;
  --success-strong: #137638;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f6eae1;
  --warning-strong: #a64c08;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f7e4e4;
  --danger-strong: #b91c1c;
  --chart-1: #ea6713;
  --chart-2: #9e9722;
  --chart-3: #0b926b;
  --chart-4: #1ea1c9;
  --chart-5: #7462dd;
  --chart-6: #e362b0;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.035em;
  --radius-card: 18px;
  --radius-btn: 999px;
  --radius-input: 14px;
  --card-pad: 1.5rem;
  --x-band: #141418;
  --x-on-photo: #ffffff;
  --x-tile-ink: #ffffff;
  --x-tile-1: #1f4ed8;
  --x-tile-2: #0f766e;
  --x-tile-3: #7c2d91;
  --x-tile-4: #b4231b;
  --x-tile-5: #1d5c3a;
  --x-tile-6: #2a2a7a;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #121215;
  --surface: #2a2a2c;
  --surface-2: #1e1e21;
  --border: #333336;
  --border-strong: #59595b;
  --ink: #ffffff;
  --muted: #a0a0a1;
  --accent: #ea6713;
  --accent-hover: #ed7e36;
  --accent-ink: #121215;
  --accent-text: #ec7326;
  --accent-strong: #ec7326;
  --accent-soft: #422515;
  --accent-border: #733814;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #132a1e;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #362012;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #371417;
  --danger-strong: #d16969;
  --chart-1: #ea6713;
  --chart-2: #beb51f;
  --chart-3: #16966f;
  --chart-4: #2dbae8;
  --chart-5: #7a69e6;
  --chart-6: #fb77c5;
}

@keyframes hw-page-in {
  from { transform: translateY(16px); }
  to { transform: translateY(0); }
}
@keyframes hw-fade-in {
  from { opacity: 0.4; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-page] {
  animation: hw-page-in 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.fade-in {
  animation: hw-fade-in 0.35s ease-out both;
}

.hw-rule {
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--border) 0,
    var(--border) 14px,
    transparent 14px,
    transparent 24px
  );
}

@keyframes hw-note-out {
  0% { opacity: 0.4; transform: translateY(6px); max-height: 10rem; }
  12%, 60% { opacity: 1; transform: translateY(0); max-height: 10rem; }
  100% {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    border-width: 0;
  }
}

.hw-note {
  overflow: hidden;
  animation: hw-note-out 2.8s ease-in-out both;
}

html.reduced-motion [data-page],
html.reduced-motion .fade-in {
  animation: none;
}

html.reduced-motion .hw-note {
  animation: none;
}
